Microsoft Administering Relational Databases on Microsoft Azure (DP-300 Korean Version) - DP-300 Korean Exam Practice Test

Question 1
시뮬레이션
sql12345678 데이터베이스의 사용되지 않는 인덱스가 자동으로 제거되도록 해야 합니다.
이 작업을 완료하려면 가상 머신에 로그인해야 합니다. SQL Server Management Studio와 Azure 포털이 필요할 수 있습니다.
Correct Answer:
You can go to Azure portal, and enable Azure SQL Database to automatically create or drop indexes:
Step 1: To enable automatic tuning on a server in Azure SQL Database, navigate to the server in the Azure portal. [Here navigate to sql12345678] Step 2: Select Automatic tuning in the menu.

Step 3: Change the setting for "Drop Index" to On.

Reference:
https://techcommunity.microsoft.com/t5/azure-sql-blog/automatic-index-management-in-azure-sql-database/ba-p/386140
https://learn.microsoft.com/en-us/azure/azure-sql/database/automatic-tuning-enable?
Question 2
사례 연구 1 - 리트웨어 주식회사
개요
Litware, Inc.는 보스턴에 본사를 둔 재생 에너지 회사입니다. 본사에는 영업 부서와 회사의 주요 데이터 센터가 있습니다.
물리적 위치
기존 환경
Litware는 보스턴 인근에 제조 사무소와 연구 사무소를 별도로 운영하고 있습니다. 각 사무소는 자체 데이터 센터와 인터넷 연결을 갖추고 있습니다.
제조 및 연구 데이터센터는 VPN을 사용하여 기본 데이터센터에 연결됩니다.
네트워크 환경
기본 데이터센터는 Microsoft 피어링과 프라이빗 피어링을 모두 사용하는 ExpressRoute 연결을 사용합니다. 프라이빗 피어링은 HubVNet이라는 Azure 가상 네트워크에 연결됩니다.
신원 환경
Litware는 litwareinc.com이라는 도메인을 사용하는 하이브리드 Azure Active Directory(Azure AD) 배포 환경을 갖추고 있습니다. 모든 Azure 구독은 litwareinc.com Azure AD 테넌트에 연결되어 있습니다.
데이터베이스 환경
영업 부서의 데이터베이스 작업량은 다음과 같습니다.
* 온프레미스 서버 SERVER1에는 Microsoft SQL Server 2012 인스턴스와 1TB 데이터베이스 두 개가 호스팅됩니다.
* SalesSrv01A라는 이름의 논리 서버에는 SalesSQLDb1이라는 이름의 지리적으로 복제된 Azure SQL 데이터베이스가 있습니다. SalesSQLDb1은 SalesSQLDb1Pool이라는 이름의 탄력적 풀에 있습니다. SalesSQLDb1은 데이터베이스 방화벽 규칙과 포함된 데이터베이스 사용자를 사용합니다.
* SalesSQLDb1App1이라는 애플리케이션이 SalesSQLDb1을 사용합니다.
제조 사무실에는 SERVER2와 SERVER3이라는 이름의 온프레미스 SQL Server 2016 서버 두 대가 있습니다. 이 서버들은 동일한 Always On 가용성 그룹의 노드입니다. 가용성 그룹에는 ManufacturingSQLDb1이라는 데이터베이스가 있습니다. 데이터베이스 관리자는 HubVnet에 있는 VM1과 VM2라는 이름의 Windows Server 2019 기반 Azure 가상 머신 두 대를 사용하여 모든 Azure 데이터베이스를 관리합니다.
라이선스 계약
Litware는 Microsoft 볼륨 라이선싱 고객이며, 소프트웨어 보증을 통해 라이선스 이동성을 확보하고 있습니다.
현재의 문제점
SalesSQLDb1에서 성능 문제가 발생하는데, 이는 최신 정보가 아닌 통계와 잦은 차단 쿼리 때문인 것으로 추정됩니다.
요구 사항
계획된 변경 사항
Litware는 다음과 같은 변경 사항을 적용할 계획입니다.
* 사용 패턴이 다양한 시간 제약이 있는 제조 애플리케이션에서 사용할 30개의 새 데이터베이스를 Azure에 구현합니다. 각 데이터베이스의 크기는 약 20GB입니다.
* ResearchSrv01이라는 논리 서버에 ResearchDB1이라는 이름의 새 Azure SQL 데이터베이스를 생성합니다. ResearchDB1에는 개인 식별 정보(PII) 데이터가 저장됩니다.
* 연구 부서에서 ResearchDB1에 데이터를 입력하고 접근하는 데 사용할 ResearchApp1이라는 앱을 개발합니다.
* ManufacturingSQLDb1을 Azure 가상 머신 플랫폼으로 마이그레이션합니다.
* SERVER1 데이터베이스를 Azure SQL Database 플랫폼으로 마이그레이션합니다.
기술 요구사항
Litware는 다음과 같은 기술 요구 사항을 제시합니다.
* 유지보수 작업은 자동화되어야 합니다.
* 새로 추가되는 30개의 데이터베이스는 자동으로 확장되어야 합니다.
* 온프레미스 인프라 사용은 최소화해야 합니다.
* Azure SQL Database 배포 시에는 Azure 하이브리드 사용 이점을 활용해야 합니다.
* CPU 및 스토리지 사용량과 제한과 관련된 모든 SQL Server 및 Azure SQL Database 메트릭은 Azure 내장 기능을 사용하여 분석해야 합니다.
보안 및 규정 준수 요구 사항
Litware는 다음과 같은 보안 및 규정 준수 요구 사항을 제시합니다.
* 암호화 키는 Azure Key Vault에 저장합니다.
* 개인 식별 정보(PII) 백업본을 2개월 동안 보관하십시오.
* 개인 식별 정보(PII)는 저장 시, 전송 시, 사용 시 모두 암호화해야 합니다.
* 가능한 한 최소 권한의 원칙을 준수하십시오.
Active Directory 자격 증명을 사용하여 데이터베이스 사용자를 인증합니다.
* 데이터베이스 수준 방화벽 규칙을 사용하여 Azure SQL Database 인스턴스를 보호하십시오.
* Azure에 호스팅된 모든 데이터베이스가 공용 엔드포인트에 의존하지 않고 VM1 및 VM2에서 액세스할 수 있는지 확인하십시오.
비즈니스 요구사항
Litware는 다음과 같은 비즈니스 요구 사항을 파악했습니다.
* 모든 Azure 배포에 대해 99.99% 가용성 SLA를 충족합니다.
* SERVER1 데이터베이스 마이그레이션 중 다운타임을 최소화합니다.
* 워크로드를 Azure로 마이그레이션할 때 Azure 하이브리드 사용 이점을 활용하세요.
* 모든 요구 사항이 충족되면 가능한 한 비용을 최소화하십시오.
핫스팟 질문
SERVER1 데이터베이스 마이그레이션을 계획하고 있습니다. 솔루션은 비즈니스 요구 사항을 충족해야 합니다.
마이그레이션 계획에 무엇을 포함해야 할까요? 답변하려면 답변 영역에서 적절한 옵션을 선택하세요.
참고: 정답 하나당 1점입니다.
Correct Answer:

Explanation:
Box 1: Premium 4-VCore
Scenario:
An on-premises named SERVER1 hosts an instance of Microsoft SQL Server 2012 and two 1-TB databases.
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.
Incorrect Answers:
The Standard pricing tier suits most small- to medium- business workloads, but it supports offline migration only.
Box 2: A virtual network that has service endpoints
Scenario: The primary datacenter has an ExpressRoute connection that uses both Microsoft peering and private peering.
You need to create a Microsoft Azure Virtual Network for the Azure Database Migration Service by using the Azure Resource Manager deployment model, which provides site-to-site connectivity to your on-premises source servers by using either ExpressRoute or VPN.
Note: During virtual network setup, if you use ExpressRoute with network peering to Microsoft, add the following service endpoints to the subnet in which the service will be provisioned:
Target database endpoint (for example, SQL endpoint, Cosmos DB endpoint, and so on) Storage endpoint Service bus endpoint This configuration is necessary because Azure Database Migration Service lacks internet connectivity.
Reference:
https://azure.microsoft.com/pricing/details/database-migration/
https://docs.microsoft.com/en-us/azure/dms/tutorial-sql-server-azure-sql-online
Question 3
핫스팟 질문
여러분은 온프레미스 앱을 Azure로 마이그레이션하는 Project1과 Project2라는 두 개의 프로젝트를 진행하고 있습니다. Project1은 다음 요구 사항을 충족해야 합니다.
- 앱을 호스팅하는 데이터베이스 서버의 운영 체제에 접근할 수 있어야 합니다.
- 25TB의 저장 용량을 보유하고 있습니다.
Project2는 다음 요구 사항을 충족해야 합니다.
- 변경 데이터 캡처(CDC) 기능을 활성화하십시오.
- 인스턴스 수준의 SQL 감사 기능을 지원합니다.
- 관리형 백업을 지원합니다.
- 10TB의 저장 용량을 보유하고 있습니다.
- 보고서 오프로드.
프로젝트에 적합한 Azure SQL 솔루션을 추천해 주셔야 합니다. 솔루션은 비용을 최소화해야 합니다.
각 프로젝트에 대한 권장 사항에는 무엇을 포함해야 할까요? 답변하려면 답변란에서 적절한 옵션을 선택하세요.
참고: 정답 하나당 1점입니다.
Correct Answer:

Explanation:
Box 1: SQL Server on Azure Virtual Machines
Project1 must meet the following requirements:
Have access to the operating system of the database server that hosts the app.
Have 25 TB of storage.
* SQL Server on Azure Virtual Machines
If your application needs access to the operating system (OS) of the database server, you should use Azure SQL Server on Azure Virtual Machines. This solution allows you to install and manage SQL Server within a virtual machine, giving you complete control over the OS and database engine.
Box 2: Azure SQL Managed Instance General Purpose Service
Project2 must meet the following requirements:
Have change data capture (CDC) enabled.
Support instance-level SQL auditing.
Support managed backups.
Have 10 TB of storage.
Offload reports.
Azure SQL Database and Azure SQL Managed Instance are Azure database solutions that support managed backups.
Azure SQL Managed Instance and Azure SQL Database Hyperscale both support 10 TB of storage. Azure SQL Managed Instance can store up to 32 TB, while Hyperscale can scale to 100 TB.
Azure SQL Managed Instance Max instance reserved storage
*-> General Purpose: up to 32 TB
Business Critical: up to 4 TB
Hardware generations have different characteristics, as described in the following table from
2025:

For Change Data Capture (CDC) within Azure, Azure SQL Database is a suitable choice, particularly when using Azure Data Factory or Azure Synapse Analytics. Both Azure SQL Database and SQL Server offer native CDC support.
Reference:
https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/sql-server-on-azure-vm-iaas-what-is-overview
https://learn.microsoft.com/en-us/azure/virtual-machines/disks-types
https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/resource-limits
Question 4
DB1이라는 Microsoft SQL Server 2019 데이터베이스와 SQLMI1이라는 Azure SQL 관리형 인스턴스가 있습니다.
SQL Server 에이전트 작업을 DB1에서 SQLMI1로 이동해야 합니다.
SQLMI1에서 지원되지 않는 작업 속성은 무엇입니까?

Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 5
드래그 앤 드롭 질문
Server1이라는 Azure 가상 머신이 있고, 그 안에 SQL1이라는 이름의 Microsoft SQL Server 2022 인스턴스가 있습니다.
SQL1에는 DB1과 DB2라는 두 개의 데이터베이스가 있습니다.
DB1과 DB2의 스냅샷 백업을 수행해야 합니다. 이 백업은 백업 체인을 중단시키거나 다른 데이터베이스에 영향을 주어서는 안 됩니다.
어떤 네 가지 Transact-SQL 명령어를 순서대로 실행해야 합니까? 정답을 선택하려면 명령어 목록에서 해당 명령어를 답란으로 옮기고 올바른 순서대로 배열하십시오.
Correct Answer:

Explanation:
Note: There is also another older very similar question with three steps, instead of four.
Unfreeze in two steps in this version.
Step 1: ALTER SERVER CONFIGURATION SET SUSPEND_FOR_SNAPSHOT_BACKUP = ON (GROUP = (DB1, DB2), MODE = COPY_ONLY); ALTER SERVER CONFIGURATION ... GROUP = (DB1, DB2): Freezes the write I/O on multiple specified databases simultaneously. This keeps other databases on the server unaffected, which rules out BACKUP SERVER or instance-wide alternatives.
Suspend multiple user databases for snapshot backup
If multiple databases on the same underlying disk, you could suspend multiple databases with the following command.
ALTER SERVER CONFIGURATION
SET SUSPEND_FOR_SNAPSHOT_BACKUP = ON
(GROUP = (testdb1, testdb2));
Step 2: BACKUP GROUP DB1, DB2 TO DISK = 'D:\Backups\GroupSnapshot.bkm' WITH METADATA_ONLY, FORMAT; Perform snapshots of multiple databases simultaneously with the new BACKUP GROUP and BACKUP SERVER commands. With this option, snapshots can be performed at the snapshot granularity of the underlying storage, eliminating the need to perform a snapshot of the same disk multiple times.
Step 3: ALTER DATABASE DB1
SET SUSPEND_FOR_SNAPSHOT_BACKUP = OFF
Resume write I/O on the DB1 to unfreeze the databases for normal operation.
In SQL Server 2022, the command ALTER DATABASE databasename SET
SUSPEND_FOR_SNAPSHOT_BACKUP = OFF unfreezes a database's write I/O operations and resumes normal database processing. It explicitly cancels or ends a manual database freeze state that was previously initiated for a storage-level backup.
Step 4: ALTER DATABASE DB2
SET SUSPEND_FOR_SNAPSHOT_BACKUP = OFF
Resume write I/O on the DB2 to unfreeze the databases for normal operation.
Reference:
https://learn.microsoft.com/en-us/sql/relational-databases/backup-restore/create-a-transact-sql-snapshot-backup
Question 6
귀사에는 pass4testdb라는 Azure SQL 데이터베이스가 있습니다. 아래는 자동 튜닝을 위해 데이터베이스에 설정된 구성 설정입니다.

귀사는 Azure 가상 머신에서 호스팅되는 SQL Server 2019 인스턴스를 보유하고 있습니다. 해당 가상 머신은 Windows Server 2019를 실행하며, 4개의 vCPU와 28GB의 메모리를 갖추고 있습니다.
이제 가상 머신을 16개의 vCPU와 64GB의 메모리로 확장해야 합니다.
tempdb 데이터베이스에 대해 최소한의 지연 시간을 제공해야 합니다.
tempdb용 데이터 파일 2개를 생성하기로 결정했습니다.
이것이 요구 사항을 충족할까요?

Correct Answer: A
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 7
핫스팟 질문
온프레미스 Microsoft SQL Server 2016 서버(Server1)가 있으며, 이 서버에는 DB1이라는 데이터베이스가 있습니다.
Azure Database Migration Service를 사용하여 DB1을 Azure SQL Database 관리형 인스턴스로 온라인 마이그레이션해야 합니다.
DB1의 백업을 어떻게 구성해야 합니까? 답변하려면 답변 영역에서 적절한 옵션을 선택하십시오.
참고: 정답 하나당 1점입니다.
Correct Answer:

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.
Incorrect Answers:
NOINIT Indicates that the backup set is appended to the specified media set, preserving existing backup sets. If a media password is defined for the media set, the password must be supplied.
NOINIT is the default.
UNLOAD
Specifies that the tape is automatically rewound and unloaded when the backup is finished.
UNLOAD is the default when a session begins.
Reference:
https://docs.microsoft.com/en-us/azure/dms/known-issues-azure-sql-db-managed-instance-online
Question 8
귀사는 Microsoft Azure 가상 머신에 호스팅된 Microsoft SQL Server 데이터베이스를 보유하고 있습니다. 해당 데이터베이스의 데이터를 표시하는 여러 보고서를 생성했는데, 사용자들이 보고서의 데이터 표시 속도가 느리다고 보고하고 있습니다.
인덱스를 생성합니다.
보고서 성능이 크게 향상되는지 여부를 파악해야 합니다.
어떤 도구를 사용해야 할까요?

Correct Answer: D
Question 9
Azure SQL 데이터베이스가 있습니다.
다음 요구 사항을 충족하는 재해 복구 솔루션을 구현해야 합니다.
- 데이터센터 장애 발생 시 데이터베이스 복구에 소요되는 시간을 최소화합니다.
실패
- 행정적 노력을 최소화합니다
해결책에 무엇을 포함해야 할까요?

Correct Answer: C
Question 10
시뮬레이션
db1에 대한 고가용성을 구성해야 합니다. 솔루션은 데이터 손실이나 애플리케이션 연결 문자열 수정 없이 Azure 데이터 센터 장애를 견딜 수 있어야 합니다.
이 작업을 완료하려면 가상 머신에 로그인해야 합니다. SQL Server Management Studio와 Azure 포털이 필요할 수 있습니다.
Correct Answer:
Configure a license-free standby replica (preview) for Azure SQL Database You can save on licensing costs by designating your secondary disaster recovery (DR) database for standby when using Azure SQL Database.
Configure a standby replica
You can designate a replica for standby when you configure a new active geo-replication relationship by using the Azure portal, PowerShell, or the Azure CLI.
To create a new active geo-replication relationship and designate your secondary database for standby in the Azure portal, follow these steps:
Step 1: Go to your SQL database [Here db1] resource in the Azure portal.
Step 2: Choose Replicas under Data management from the resource menu, and then select + Create replica to open the Create SQL Database - Geo Replica page.

Step 3: On the Create SQL Database - Geo Replica page, select Standby replica for Replica type under Replica configuration. Check the box to confirm you'll use the replica for standby.

Step 4: Provide a new or existing server for the new standby database and then use Review + create to do a final validation of your database and server details.
Step 5: Use Create to confirm your settings and create your new standby database replica.
Reference:
https://learn.microsoft.com/en-us/azure/azure-sql/database/standby-replica-how-to-configure
Question 11
사례 연구 4 - A.Datum
개요
ADatum Corporation은 소매점과 웹사이트라는 두 가지 판매 채널을 통해 제품을 판매하는 소매업체입니다.
기존 환경
ADatum은 Microsoft SQL Server 2016이 설치된 데이터베이스 서버를 하나 보유하고 있습니다. 이 서버에는 SALESDB, DOCDB, REPORTINGDB라는 세 개의 핵심 데이터베이스가 호스팅되어 있습니다.
SALESDB는 매장과 웹사이트에서 데이터를 수집합니다.
DOCDB에는 SALESDB의 판매 데이터와 연결되는 문서가 저장됩니다. 이 문서들은 판매 채널에 따라 두 가지 서로 다른 JSON 형식으로 저장됩니다.
REPORTINGDB는 보고 데이터를 저장하며 여러 개의 컬럼스토어 인덱스를 포함합니다. 매일 실행되는 프로세스는 SALESDB의 데이터를 기반으로 REPORTINGDB에 보고 데이터를 생성합니다. 이 프로세스는 SALESDB의 저장 프로시저를 실행하는 SQL Server Integration Services(SSIS) 패키지로 구현됩니다.
요구 사항
계획된 변경 사항
ADatum은 현재 데이터 인프라를 Azure로 이전할 계획입니다. 새로운 인프라는 다음과 같은 요구 사항을 충족해야 합니다.
* SALESDB 및 REPORTINGDB를 Azure SQL 데이터베이스로 마이그레이션합니다.
* DOCDB를 Azure Cosmos DB로 마이그레이션합니다.
* JSON 형식의 문서를 포함한 판매 데이터는 도착하는 즉시 수집하여 Azure Stream Analytics를 사용하여 온라인으로 분석해야 합니다. 분석 프로세스는 누락이나 중복 없이 지속적으로 집계 작업을 수행해야 합니다.
* 모든 판매 문서는 JSON 형식으로 도착하는 즉시 하나의 일관된 형식으로 변환되어야 합니다.
* Azure Data Factory는 SALESDB에서 REPORTINGDB로 데이터를 복사하는 SSIS 프로세스를 대체합니다.
기술 요구사항
새로운 Azure 데이터 인프라는 다음과 같은 기술 요구 사항을 충족해야 합니다.
* SALESDB의 데이터는 투명 데이터 암호화(TDE)를 사용하여 암호화해야 합니다. 암호화에는 자체 키를 사용해야 합니다.
* SALESDB는 지난 3주 이내의 어느 특정 시점으로든 복원할 수 있어야 합니다.
* 실제 사용 패턴에 따라 작업 부하가 적절하게 조정되도록 실시간 처리를 모니터링해야 합니다.
* REPORTINGDB에 필요한 인덱스가 누락된 경우 자동으로 생성해야 합니다.
SALESDB의 경우 디스크 I/O, CPU 및 메모리 사용량을 모니터링해야 합니다.
기술적 요구사항을 충족하기 위해 실시간 처리에 어떤 카운터를 모니터링해야 할까요?

Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).