DP-300 Korean試験無料問題集「Microsoft Administering Relational Databases on Microsoft Azure (DP-300 Korean Version) 認定」

ResearchDB1에 대한 데이터 보존을 구성하기 위한 구현 계획을 제공해야 합니다. 솔루션은 보안 및 규정 준수 요구 사항을 충족해야 합니다.
계획에 무엇을 포함해야 하나요?

解説: (GoShiken メンバーにのみ表示されます)
Azure 구독이 있습니다.
Azure Resource Manager(ARM) 템플릿을 사용하여 데이터베이스 간 쿼리를 지원하는 Azure SQL 리소스를 배포해야 합니다.
ARM 템플릿을 어떻게 작성해야 합니까? 답변하려면 답변 영역에서 적절한 옵션을 선택하세요.
참고사항: 정답 하나당 1점입니다.
正解:

Explanation:

Reference:
https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/create-template-quickstart?tabs=azure- powershell
거래 데이터를 위한 분석 저장 솔루션을 설계해야 합니다. 솔루션은 판매 거래 데이터 세트 요구 사항을 충족해야 합니다.
솔루션에 무엇을 포함해야 합니까? 대답하려면 답변 영역에서 적절한 옵션을 선택하세요.
참고사항: 정답 하나당 1점입니다.
正解:

Explanation:

Box 1: Hash
Scenario:
Ensure that queries joining and filtering sales transaction records based on product ID complete as quickly as possible.
A hash distributed table can deliver the highest query performance for joins and aggregations on large tables.
Box 2: Round-robin
Scenario:
You plan to create a promotional table that will contain a promotion ID. The promotion ID will be associated to a specific product. The product will be identified by a product ID. The table will be approximately 5 GB.
A round-robin table is the most straightforward table to create and delivers fast performance when used as a staging table for loads. These are some scenarios where you should choose Round robin distribution:
* When you cannot identify a single key to distribute your data.
* If your data doesn't frequently join with data from other tables.
* When there are no obvious keys to join.
Reference:
https://rajanieshkaushikk.com/2020/09/09/how-to-choose-right-data-distribution-strategy-for-azure-synapse/
동일한 논리 서버에 Azure SQL Database 인스턴스 5개를 만듭니다.
각 데이터베이스에서 Azure Active Directory(Azure AD) 사용자인 User1을 만듭니다.
User1은 Azure Data Studio를 사용하여 논리 서버에 연결을 시도하다가 로그인 오류가 발생합니다.
User1이 Azure Data Studio를 사용하여 논리 서버에 연결할 때 User1이 모든 데이터베이스를 볼 수 있는지 확인해야 합니다.
어떻게 해야 할까요?

解説: (GoShiken メンバーにのみ表示されます)
Azure Stream Analytics 작업이 있습니다.
작업에 충분한 스트리밍 단위가 프로비저닝되어 있는지 확인해야 합니다.
SU % Utilization 지표의 모니터링을 구성합니다.
어떤 두 가지 추가 지표를 모니터링해야 합니까? 각 정답은 솔루션의 일부를 나타냅니다.
참고: 올바른 선택은 각각 1점의 가치가 있습니다.

解説: (GoShiken メンバーにのみ表示されます)
과제 10
sql37006S95의 모든 데이터베이스를 SQL 주입 공격으로부터 보호해야 합니다.
正解:
See the explanation part for the complete Solution.
Explanation:
SQL injection attacks are a type of cyberattack that exploit a vulnerability in the application code that interacts with the database. An attacker can inject malicious SQL statements into the user input, such as a form field or a URL parameter, and execute them on the database server, resulting in data theft, corruption, or unauthorized access1.
To protect all the databases on sql37006S95 from SQL injection attacks, you need to follow some best practices for securing your application and database layers. Here are some of the recommended steps:
* Use parameterized queries or stored procedures to separate the SQL code from the user input. This will prevent the user input from being interpreted as part of the SQL statement and avoid SQL injection23.
* Validate and sanitize the user input before passing it to the database. This will ensure that the input conforms to the expected format and type, and remove any potentially harmful characters or keywords4.
* Implement least privilege access for the database users and roles. This will limit the permissions and actions that the application can perform on the database, and reduce the impact of a successful SQL injection attack5.
* Enable Advanced Threat Protection for Azure SQL Database. This is a feature that detects and alerts you of anomalous activities and potential threats on your database, such as SQL injection, brute force attacks, or unusual access patterns. You can configure the alert settings and notifications using the Azure portal or PowerShell.
These are some of the steps to protect all the databases on sql37006S95 from SQL injection attacks.
과제 12
dbl에 대한 고가용성을 구성해야 합니다. 솔루션은 데이터 손실이나 애플리케이션 연결 문자열을 수정할 필요 없이 Azure 데이터 센터의 손실을 허용해야 합니다.
正解:
See the explanation part for the complete Solution.
Explanation:
To configure high availability for dbl, you can use the failover groups feature of Azure SQL Database. Failover groups allow you to manage the replication and failover of a group of databases across different regions with the same connection strings1. You can choose all, or a subset of, user databases in a logical server to be replicated to another logical server in a different region. You can also specify the failover policy, such as manual or automatic, and the grace period for data loss.
Here are the steps to create a failover group for dbl:
* Using the Azure portal:
* Go to the Azure portal and select your Azure SQL Database server that hosts dbl.
* Select Failover groups in the left menu and click on Add group.
* Enter a name for the failover group and select a secondary region that is different from the primary region.
* Click on Create a new server and enter the details for the secondary server, such as server name, admin login, password, and subscription.
* Click on Select existing database(s) and choose dbl from the list of databases on the primary server.
* Click on Configure failover policy and select the failover mode, grace period, and read-write failover endpoint mode according to your preferences.
* Click on Create to create the failover group and start the replication of dbl to the secondary server.
* Using PowerShell commands:
* Install the Azure PowerShell module and log in with your Azure account.
* Run the following command to create a new server in the secondary region: New-AzSqlServer - ResourceGroupName <your-resource-group-name> -ServerName <your-secondary-server-name>
-Location "<secondary-region-name>" -SqlAdministratorCredentials $(New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "<your-admin-login>",
$(ConvertTo-SecureString -String "<your-password>" -AsPlainText -Force))
* Run the following command to create a new failover group with dbl: New- AzSqlDatabaseFailoverGroup -ResourceGroupName <your-resource-group-name> -ServerName
<your-primary-server-name> -PartnerResourceGroupName <your-resource-group-name> - PartnerServerName <your-secondary-server-name> -FailoverGroupName <your-failover-group- name> -Database dbl -FailoverPolicy <manual-or-automatic> -GracePeriodWithDataLossHours
<grace-period-in-hours> -ReadWriteFailoverEndpoint "<enabled-or-disabled>"
* You can modify the parameters of the command according to your preferences, such as the failover policy, grace period, and read-write failover endpoint mode.
These are the steps to create a failover group for dbl
SERVER1 데이터베이스의 마이그레이션을 계획하고 있습니다. 솔루션은 비즈니스 요구 사항을 충족해야 합니다.
마이그레이션 계획에 무엇을 포함해야 합니까? 답변하려면 답변 영역에서 적절한 옵션을 선택하세요.
참고사항: 정답 하나당 1점입니다.
正解:

Explanation:

Azure Database Migration service
Box 1: Premium 4-VCore
Scenario: Migrate the SERVER1 databases to the Azure SQL Database platform.
* Minimize downtime during the migration of the SERVER1 databases.
Premimum 4-vCore is for large or business critical workloads. It supports online migrations, offline migrations, and faster migration speeds.
Reference:
https://azure.microsoft.com/pricing/details/database-migration/
https://docs.microsoft.com/en-us/azure/dms/tutorial-sql-server-azure-sql-online
Azure 구독이 있습니다.
Always On 가용성 그룹을 사용할 고가용성 구성에서 Azure 가상 머신에 SQL Server의 두 인스턴스를 배포해야 합니다. 솔루션은 다음 요구 사항을 충족해야 합니다.
* 장애 조치에 걸리는 시간을 최소화합니다.
* 장애 조치 중에 기본 복제본에 대한 기존 연결을 유지합니다.
어떻게 해야 할까요?

Azure Synapse Analytics 전용 SQL 풀에 테이블을 만들 계획입니다.
테이블의 데이터는 5년간 보관됩니다. 1년에 한 번, 5년 이상 된 데이터는 삭제됩니다.
데이터가 여러 파티션에 고르게 분산되도록 해야 합니다. 솔루션은 오래된 데이터를 삭제하는 데 필요한 시간을 최소화해야 합니다.
Transact-SQL 문을 어떻게 완성해야 합니까? 대답하려면 적절한 값을 올바른 대상에 끌어다 놓으세요. 각 값은 한 번, 두 번 이상 또는 전혀 사용되지 않을 수 있습니다.
콘텐츠를 보려면 창 사이의 분할 막대를 끌거나 스크롤해야 할 수도 있습니다.
참고사항: 정답 하나당 1점입니다.
正解:

Explanation:

Box 1: HASH
Box 2: OrderDateKey
In most cases, table partitions are created on a date column.
A way to eliminate rollbacks is to use Metadata Only operations like partition switching for data management.
For example, rather than execute a DELETE statement to delete all rows in a table where the order_date was in October of 2001, you could partition your data early. Then you can switch out the partition with data for an empty partition from another table.
Reference:
https://docs.microsoft.com/en-us/sql/t-sql/statements/create-table-azure-sql-data-warehouse
https://docs.microsoft.com/en-us/azure/synapse-analytics/sql/best-practices-dedicated-sql-pool
온프레미스 데이터센터에 Microsoft SQL Server 2019 인스턴스가 있습니다. 인스턴스에는 DB1이라는 4TB 데이터베이스가 포함되어 있습니다.
DB1을 Azure SQL Database 관리형 인스턴스로 마이그레이션하려고 합니다.
마이그레이션 중에 가동 중지 시간과 데이터 손실을 최소화하려면 무엇을 사용해야 합니까?

참고: 이 질문은 동일한 시나리오를 제시하는 일련의 질문의 일부입니다. 시리즈의 각 질문에는 명시된 목표를 달성할 수 있는 고유한 솔루션이 포함되어 있습니다. 일부 질문 세트에는 정답이 두 개 이상 있을 수 있지만 다른 질문 세트에는 정답이 없을 수도 있습니다.
이 섹션의 질문에 답변한 후에는 해당 질문으로 돌아갈 수 없습니다. 결과적으로 이러한 질문은 검토 화면에 표시되지 않습니다.
Sales라는 Azure SQL 데이터베이스가 있습니다.
다음 요구 사항을 충족하려면 영업에 대한 재해 복구를 구현해야 합니다.
- 정상 작동 중에는 읽을 수 있는 사본을 2개 이상 제공하세요.
매상.
- 데이터 센터에 장애가 발생하더라도 판매가 계속 가능한지 확인하십시오.
해결 방법: 범용 서비스 계층 및 장애 조치 그룹을 사용하는 Azure SQL 데이터베이스를 배포합니다.
이것이 목표를 달성합니까?

解説: (GoShiken メンバーにのみ表示されます)