DP-300 Korean 無料問題集「Microsoft Administering Relational Databases on Microsoft Azure (DP-300 Korean Version)」
VNet1이라는 가상 네트워크에 VM1이라는 Azure 가상 머신이 있습니다. VM1에서 인터넷으로의 아웃바운드 트래픽이 차단됩니다.
SqlSrv1이라는 논리 서버에 SqlDb1이라는 Azure SQL 데이터베이스가 있습니다.
다음 요구 사항을 충족하려면 VM1과 SqlDb1 간의 연결을 구현해야 합니다.
- VM1이 이외의 Azure SQL Server에 연결할 수 없는지 확인합니다.
SQLSrv1.
- SqlSrv1에 대한 네트워크 연결을 제한합니다.
VNet1에서 무엇을 만들어야 합니까?
SqlSrv1이라는 논리 서버에 SqlDb1이라는 Azure SQL 데이터베이스가 있습니다.
다음 요구 사항을 충족하려면 VM1과 SqlDb1 간의 연결을 구현해야 합니다.
- VM1이 이외의 Azure SQL Server에 연결할 수 없는지 확인합니다.
SQLSrv1.
- SqlSrv1에 대한 네트워크 연결을 제한합니다.
VNet1에서 무엇을 만들어야 합니까?
正解:B
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
RG1과 RG2라는 두 개의 리소스 그룹이 있습니다. RG1에는 DB1이라는 데이터베이스를 호스팅하는 MM이라는 Azure SQL 관리 인스턴스가 있습니다. RG2에는 MI2라는 SQL 관리 인스턴스가 있습니다.
다음 PowerShell 스크립트를 실행합니다.


다음 PowerShell 스크립트를 실행합니다.


正解:

Explanation:

Basic Concept: This question tests plan and implement data platform resources in the DP-300 exam context.
The correct choice is determined by the exact service boundary and operational requirement stated in the scenario.
Why the selected answer is Correct: The selected values fit this scenario because they apply the required Azure SQL configuration at the correct scope and sequence: You have two resource groups named RG1 and RG2.
Why the alternate choices are Wrong: The alternate selections apply to different administrative stages or different scopes. In a hotspot or drag-drop task, order and scope are part of the answer, so a technically valid Azure feature can still be wrong if it is placed in the wrong step.
온프레미스 Microsoft SQL Server 2016 서버(Server1)가 있으며, 이 서버에는 DB1이라는 데이터베이스가 있습니다.
Azure Database Migration Service를 사용하여 DB1을 Azure SQL Database 관리형 인스턴스로 온라인 마이그레이션해야 합니다.
DB1의 백업을 어떻게 구성해야 합니까? 답변하려면 답변 영역에서 적절한 옵션을 선택하십시오.
참고: 정답 하나당 1점입니다.

Azure Database Migration Service를 사용하여 DB1을 Azure SQL Database 관리형 인스턴스로 온라인 마이그레이션해야 합니다.
DB1의 백업을 어떻게 구성해야 합니까? 답변하려면 답변 영역에서 적절한 옵션을 선택하십시오.
참고: 정답 하나당 1점입니다.

正解:

Explanation:

Box 1: Full and log backups only
Make sure to take every backup on a separate backup media (backup files). Azure Database Migration Service doesn ' t support backups that are appended to a single backup file. Take full backup and log backups to separate backup files.
Box 2: WITH CHECKSUM
Azure Database Migration Service uses the backup and restore method to migrate your on-premises databases to SQL Managed Instance. Azure Database Migration Service only supports backups created using checksum.
Reference:
https://docs.microsoft.com/en-us/azure/dms/known-issues-azure-sql-db-managed-instance-online Basic Concept: This question tests choosing the correct Azure migration approach by matching the source platform, target service, downtime tolerance, and administrative effort.
Why the selected answer is Correct: The selected values fit this scenario because they apply the required Azure SQL configuration at the correct scope and sequence: You need to perform an online migration of DB1 to an Azure SQL Database managed instance by using Azure Database Migration Service.
Why the alternate choices are Wrong: The alternate selections would either use a migration tier that does not match the downtime requirement, choose a network resource that does not support the migration path, or add an unnecessary deployment component.
SQL1 및 SQL2라는 두 개의 온프레미스 Microsoft SQL Server 2019 인스턴스가 있습니다.
SQL1에서 호스팅되는 데이터베이스를 Azure로 마이그레이션해야 합니다. 솔루션은 다음 요구 사항을 충족해야 합니다.
- 마이그레이션된 데이터베이스를 호스팅하는 서비스는 다음을 수행할 수 있어야 합니다.
연결된 서버 연결을 사용하여 SQL2와 통신합니다.
- 행정적인 노력을 최소화해야 합니다.
데이터베이스를 호스팅하려면 무엇을 사용해야 합니까?
SQL1에서 호스팅되는 데이터베이스를 Azure로 마이그레이션해야 합니다. 솔루션은 다음 요구 사항을 충족해야 합니다.
- 마이그레이션된 데이터베이스를 호스팅하는 서비스는 다음을 수행할 수 있어야 합니다.
연결된 서버 연결을 사용하여 SQL2와 통신합니다.
- 행정적인 노력을 최소화해야 합니다.
데이터베이스를 호스팅하려면 무엇을 사용해야 합니까?
正解:C
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
과제 3
사용자가 Azure 포털에서 실수로 db1을 삭제하는 것을 방지해야 합니다. 이를 위해 SQL Server Management Studio와 Azure 포털을 함께 사용해야 할 수도 있습니다.
사용자가 Azure 포털에서 실수로 db1을 삭제하는 것을 방지해야 합니다. 이를 위해 SQL Server Management Studio와 Azure 포털을 함께 사용해야 할 수도 있습니다.
正解:
See the explanation part for the complete Solution.
Explanation:
Apply an Azure Resource Manager Delete lock / CanNotDelete lock directly to the Azure SQL database resource db1.
Microsoft states that Azure resource locks can be applied at subscription, resource group, or resource scope to protect resources from accidental deletion or modification. In the Azure portal, the lock types are shown as Delete and Read-only; in CLI/PowerShell, they are called CanNotDelete and ReadOnly. A CanNotDelete
/Delete lock allows users to read and modify the resource, but prevents deletion.
Azure Portal Method - Recommended for Simulation
Step 1: Open the database resource
Sign in to the Azure portal.
In the search bar, search for SQL databases.
Select the database named db1.
Make sure you select the database resource itself, not only the SQL logical server.
Step 2: Open Locks
In the left menu of db1, scroll to Settings.
Select Locks.
Select Add.
Step 3: Create the delete lock
Configure the lock as follows:
Setting
Value
Lock name
PreventDelete-db1
Lock type
Delete
Notes
Prevent accidental deletion of db1
Then select OK or Save.
In the portal, choose Delete, not Read-only. A Read-only lock is too restrictive because it can block management updates. For this task, the requirement is only to stop accidental deletion, so Delete / CanNotDelete is the correct lock type. Microsoft confirms that CanNotDelete prevents deletion but still permits reading and modifying the resource.
Step 4: Verify the lock
Stay on the db1 database page.
Go back to Locks.
Confirm the lock exists with:
Name: PreventDelete-db1
Lock type: Delete
The task is complete once db1 has a Delete lock applied.
PowerShell Method
Use this if the lab provides Azure PowerShell.
New-AzResourceLock `
-LockLevel CanNotDelete `
-LockName " PreventDelete-db1 " `
-LockNotes " Prevent accidental deletion of db1 " `
-ResourceGroupName " < resource-group-name > " `
-ResourceName " < sql-server-name > /db1 " `
-ResourceType " Microsoft.Sql/servers/databases "
Microsoft's New-AzResourceLock documentation includes an Azure SQL Database example using resource type Microsoft.Sql/servers/databases and resource name format serverName/databaseName.
Example format:
New-AzResourceLock `
-LockLevel CanNotDelete `
-LockName " PreventDelete-db1 " `
-LockNotes " Prevent accidental deletion of db1 " `
-ResourceGroupName " RG1 " `
-ResourceName " sql60152867/db1 " `
-ResourceType " Microsoft.Sql/servers/databases "
Replace RG1 and sql60152867 with the actual resource group and SQL logical server that hosts db1.
Azure CLI Method
Use Azure CLI only if the lab gives Cloud Shell and you know the full resource ID.
First get the database resource ID:
az sql db show \
--resource-group < resource-group-name > \
--server < sql-server-name > \
--name db1 \
--query id \
--output tsv
Then create the lock:
az resource lock create \
--name PreventDelete-db1 \
--lock-type CanNotDelete \
--resource < database-resource-id > \
--notes " Prevent accidental deletion of db1 "
Azure CLI supports resource-level lock creation with --lock-type CanNotDelete or ReadOnly.
SSMS / T-SQL Clarification
SSMS is not the correct tool for this task.
A delete lock is an Azure Resource Manager control-plane setting, not a SQL data-plane setting. SQL Server Management Studio can manage database objects and run T-SQL, but it cannot create Azure portal deletion protection locks for an Azure SQL Database.
Explanation:
Apply an Azure Resource Manager Delete lock / CanNotDelete lock directly to the Azure SQL database resource db1.
Microsoft states that Azure resource locks can be applied at subscription, resource group, or resource scope to protect resources from accidental deletion or modification. In the Azure portal, the lock types are shown as Delete and Read-only; in CLI/PowerShell, they are called CanNotDelete and ReadOnly. A CanNotDelete
/Delete lock allows users to read and modify the resource, but prevents deletion.
Azure Portal Method - Recommended for Simulation
Step 1: Open the database resource
Sign in to the Azure portal.
In the search bar, search for SQL databases.
Select the database named db1.
Make sure you select the database resource itself, not only the SQL logical server.
Step 2: Open Locks
In the left menu of db1, scroll to Settings.
Select Locks.
Select Add.
Step 3: Create the delete lock
Configure the lock as follows:
Setting
Value
Lock name
PreventDelete-db1
Lock type
Delete
Notes
Prevent accidental deletion of db1
Then select OK or Save.
In the portal, choose Delete, not Read-only. A Read-only lock is too restrictive because it can block management updates. For this task, the requirement is only to stop accidental deletion, so Delete / CanNotDelete is the correct lock type. Microsoft confirms that CanNotDelete prevents deletion but still permits reading and modifying the resource.
Step 4: Verify the lock
Stay on the db1 database page.
Go back to Locks.
Confirm the lock exists with:
Name: PreventDelete-db1
Lock type: Delete
The task is complete once db1 has a Delete lock applied.
PowerShell Method
Use this if the lab provides Azure PowerShell.
New-AzResourceLock `
-LockLevel CanNotDelete `
-LockName " PreventDelete-db1 " `
-LockNotes " Prevent accidental deletion of db1 " `
-ResourceGroupName " < resource-group-name > " `
-ResourceName " < sql-server-name > /db1 " `
-ResourceType " Microsoft.Sql/servers/databases "
Microsoft's New-AzResourceLock documentation includes an Azure SQL Database example using resource type Microsoft.Sql/servers/databases and resource name format serverName/databaseName.
Example format:
New-AzResourceLock `
-LockLevel CanNotDelete `
-LockName " PreventDelete-db1 " `
-LockNotes " Prevent accidental deletion of db1 " `
-ResourceGroupName " RG1 " `
-ResourceName " sql60152867/db1 " `
-ResourceType " Microsoft.Sql/servers/databases "
Replace RG1 and sql60152867 with the actual resource group and SQL logical server that hosts db1.
Azure CLI Method
Use Azure CLI only if the lab gives Cloud Shell and you know the full resource ID.
First get the database resource ID:
az sql db show \
--resource-group < resource-group-name > \
--server < sql-server-name > \
--name db1 \
--query id \
--output tsv
Then create the lock:
az resource lock create \
--name PreventDelete-db1 \
--lock-type CanNotDelete \
--resource < database-resource-id > \
--notes " Prevent accidental deletion of db1 "
Azure CLI supports resource-level lock creation with --lock-type CanNotDelete or ReadOnly.
SSMS / T-SQL Clarification
SSMS is not the correct tool for this task.
A delete lock is an Azure Resource Manager control-plane setting, not a SQL data-plane setting. SQL Server Management Studio can manage database objects and run T-SQL, but it cannot create Azure portal deletion protection locks for an Azure SQL Database.
