| Exam Code | DP-300 |
| Exam Name | Administering Microsoft Azure SQL Solutions |
| Vendor | Microsoft |
| Total Questions | 408 |
| Last Updated | 26-Oct, 2026 |
- Latest & Verified Questions
- Detailed Explanations
- Regular Updates
- Full-Length Practice Tests
- Boost Your Exam Confidence
PDF Study Materials
Downloadable guides and resources
Practice Tests
Full-length tests with real exam experience
Progress Tracking
Monitor your performance and improvement
Study Anywhere
Access on desktop, tablet, and mobile
Free DP-300 Practice Questions
Explore 24 free practice questions for the Microsoft DP-300 exam and review the answers and explanations to support your preparation.
-
Question 1
Drag & DropYou need to recommend a configuration for ManufacturingSQLDb1 after the migration to Azure. The
solution must meet the business requirements.
What should you include in the recommendation? To answer, select the appropriate options in the
answer area.
NOTE: Each correct selection is worth one point.Show Answer & Explanation Hide Answer & Explanation
Correct Answer

Explanation

Scenario: Business Requirements
Litware identifies business requirements include: meet an SLA of 99.99% availability for all Azure
deployments.
Box 1: Cloud witness
If you have a Failover Cluster deployment, where all nodes can reach the internet (by extension of
Azure), it is recommended that you configure a Cloud Witness as your quorum witness resource.
Box 2: Azure Basic Load Balancer
Microsoft guarantees that a Load Balanced Endpoint using Azure Standard Load Balancer, serving two
or more Healthy Virtual Machine Instances, will be available 99.99% of the time.
Note: There are two main options for setting up your listener: external (public) or internal. The
external (public) listener uses an internet facing load balancer and is associated with a public Virtual
IP (VIP) that is accessible over the internet. An internal listener uses an internal load balancer and
only supports clients within the same Virtual Network. -
Question 2
Multiple answersYou need to identify the cause of the performance issues on SalesSQLDb1.
Which two dynamic management views should you use? Each correct answer presents part of the
solution.
NOTE: Each correct selection is worth one point.-
Option A:Correct
sys.dm_pdw_nodes_tran_locks
-
Option B:Correct
sys.dm_exec_compute_node_errors
-
Option C:Correct
sys.dm_exec_requests
-
Option D:Correct
sys.dm_cdc_errors
-
Option E:Correct
sys.dm_pdw_nodes_os_wait_stats
-
Option F:Correct
sys.dm_tran_locks
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A, E
Explanation
SalesSQLDb1 experiences performance issues that are likely due to out-of-date statistics and
frequent blocking queries.
A: Use sys.dm_pdw_nodes_tran_locks instead of sys.dm_tran_locks from Azure Synapse Analytics
(SQL Data Warehouse) or Parallel Data Warehouse.
E: Example:
The following query will show blocking information.
SELECT
t1.resource_type,
t1.resource_database_id,
t1.resource_associated_entity
_id, t1.request_mode,
t1.request_session_id,
t2.blocking_session_id
FROM sys.dm_tran_locks as t1
INNER JOIN sys.dm_os_waiting_tasks as t2
ON t1.lock_owner_address = t2.resource_address;
Note: Depending on the system you’re working with you can access these wait statistics from one of
three locations: sys.dm_os_wait_stats: for SQL Server
sys.dm_db_wait_stats: for Azure SQL Database
sys.dm_pdw_nodes_os_wait_stats: for Azure SQL Data Warehouse
Incorrect Answers:
F: sys.dm_tran_locks returns information about currently active lock manager resources in SQL
Server 2019 (15.x). Each row represents a currently active request to the lock manager for a lock that
has been granted or is waiting to be granted.
Instead use sys.dm_pdw_nodes_tran_locks. -
-
Question 3
Drag & DropYou need to implement the monitoring of SalesSQLDb1. The solution must meet the technical
requirements.
How should you collect and stream metrics? To answer, select the appropriate options in the answer
areaNOTE: Each correct selection is worth one point.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer

Explanation

Box 2: Azure Event hubs
Scenario: Migrate ManufacturingSQLDb1 to the Azure virtual machine platform.
Event hubs are able to handle custom metrics.
Incorrect Answers:
Azure Log Analytics
Azure metric and log data are sent to Azure Monitor Logs, previously known as Azure Log Analytics,
directly by Azure. Azure SQL Analytics is a cloud only monitoring solution supporting streaming of
diagnostics telemetry for all of your Azure SQL databases.
However, because Azure SQL Analytics does not use agents to connect to Azure Monitor, it does not
support monitoring of SQL Server hosted on-premises or in virtual machines -
Question 4
Drag & DropHOTSPOTYou are provisioning an Azure SQL database in the Azure portal as shown in the following exhibit.
Use the drop-down menus to select the answer choice that completes each statement based on theinformation presented in the graphic.NOTE: Each correct selection is worth one point.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer

Explanation
Reference:https://docs.microsoft.com/en-us/azure/azure-sql/database/serverless-tier-overview -
Question 5
Single answerYou plan to deploy an app that includes an Azure SQL database and an Azure web app. The app hasthe following requirements:The web app must be hosted on an Azure virtual network.The Azure SQL database must be assigned a private IP address.The Azure SQL database must allow connections only from the virtual network.You need to recommend a solution that meets the requirements.What should you include in the recommendation?-
Option A:CorrectAzure Private Link
-
Option B:Correcta network security group (NSG)
-
Option C:Correcta database-level firewall
-
Option D:Correcta server-level firewall
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
Reference:https://docs.microsoft.com/en-us/azure/azure-sql/database/private-endpoint-overview -
-
Question 6
Single answerYou are planning a solution that will use Azure SQL Database. Usage of the solution will peak fromOctober 1 to January 1 each year.During peak usage, the database will require the following:24 cores500 GB of storage124 GB of memoryMore than 50,000 IOPSDuring periods of off-peak usage, the service tier of Azure SQL Database will be set to Standard.Which service tier should you use during peak usage?-
Option A:CorrectBusiness Critical
-
Option B:CorrectPremium
-
Option C:CorrectHyperscale
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
Reference:https://docs.microsoft.com/en-us/azure/azure-sql/database/resource-limits-vcore-singledatabases#business-critical---provisioned-compute---gen4 -
-
Question 7
Drag & DropHOTSPOTYou have an Azure subscription.You need to deploy an Azure SQL resource that will support cross database queries by using an AzureResource Manager (ARM) template.How should you complete the ARM template? To answer, select the appropriate options in theanswer area.NOTE: Each correct selection is worth one point.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer

Explanation
Reference:https://docs.microsoft.co -
Question 8
Drag & DropHOTSPOTYou have the following Azure Resource Manager template.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.NOTE: Each correct selection is worth one point.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer

Explanation
Reference:https://docs.microsoft.com/en-us/azure/azure-sql/database/purchasing-modelshttps://docs.microsoft.com/en-us/azure/azure-sql/database/single-database-create-arm-templatequickstart -
Question 9
Drag & DropHOTSPOTYou have an on-premises Microsoft SQL Server 2019 instance that hosts a database named DB1.You plan to perform an online migration of DB1 to an Azure SQL managed instance by using theAzure Database Migration Service.You need to create a backup of DB1 that is accessible to the Azure Database Migration Service.What should you run for the backup and where should you store the backup? To answer, select theappropriate options in the answer area.NOTE: Each correct selection is worth one point.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer

Explanation
Reference:https://docs.microsoft.com/en-us/azure/dms/tutorial-sql-server-managed-instance-online -
Question 10
Single answerYou have an Azure subscription that contains a server named Server1. Server1 hosts two Azure SQLdatabases named DB1 and DB2.You plan to deploy a Windows app named App1 that will authenticate to DB2 by using SQL authentication.You need to ensure that App1 can access DB2. The solution must meet the following requirements:App1 must be able to view only DB2.Administrative effort must be minimized.What should you create?-
Option A:Correcta contained database user for App1 on DB2
-
Option B:Correcta login for App1 on Server1
-
Option C:Correcta contained database user from an external provider for App1 on DB2
-
Option D:Correcta contained database user from a Windows login for App1 on DB2
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: D
Explanation
Reference:https://docs.microsoft.com/en-us/sql/relational-databases/security/contained-database-usersmakingyour-database-portable?view=sql-server-ver15 -
-
Question 11
Single answerYou create five Azure SQL Database instances on the same logical server.In each database, you create a user for an Azure Active Directory (Azure AD) user named User1.User1 attempts to connect to the logical server by using Azure Data Studio and receives a login error.You need to ensure that when User1 connects to the logical server by using Azure Data Studio, User1can see all the databases.What should you do?-
Option A:CorrectCreate User1 in the master database.
-
Option B:CorrectAssign User1 the db_datareader role for the master database.
-
Option C:CorrectAssign User1 the db_datareader role for the databases that Userl creates.
-
Option D:CorrectGrant select on sys.databases to public in the master database.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
Reference:https://docs.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage -
-
Question 12
Drag & DropDRAG DROPYou have an Azure SQL managed instance named SQLMI1 that has Resource Governor enabled and isused by two apps named App1 and App2.You need to configure SQLMI1 to limit the CPU and memory resources that can be allocated to App1.Which four actions should you perform in sequence? To answer, move the appropriate actions fromthe list of actions to the answer area and arrange them in the correct order.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer

Explanation
Explanation:Reference:https://docs.microsoft.com/en-us/sql/relational-databases/resource-governor/resourcegovernor?view=sql-server-ver15https://docs.microsoft.com/en-us/sql/relational-databases/resource-governor/create-and-test-aclassifieruser-defined-function?view=sql-server-ver15 -
Question 13
True / FalseNote: This question is part of a series of questions that present the same scenario. Each question inthe series contains a unique solution that might meet the stated goals. Some question sets mighthave more than one correct solution, while others might not have a correct solution.After you answer a question in this section, you will NOT be able to return to it. As a result, thesequestions will not appear in the review screen.You have SQL Server 2019 on an Azure virtual machine.You are troubleshooting performance issues for a query in a SQL Server instance.To gather more information, you query sys.dm_exec_requests and discover that the wait type isPAGELATCH_UP and the wait_resource is 2:3:905856.You need to improve system performance.Solution: You shrink the transaction log file.Does this meet the goal?datab-
Option A: TrueCorrect
-
Option B: FalseCorrect
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: B
Explanation
Explanation:Reference:https://docs.microsoft.com/en-US/troubleshoot/sql/performance/recommendations-reduceallocationcontention -
-
Question 14
True / FalseNote: This question is part of a series of questions that present the same scenario. Each question inthe series contains a unique solution that might meet the stated goals. Some question sets mighthave more than one correct solution, while others might not have a correct solution.After you answer a question in this section, you will NOT be able to return to it. As a result, thesequestions will not appear in the review screen.You have SQL Server 2019 on an Azure virtual machine.You are troubleshooting performance issues for a query in a SQL Server instance.To gather more information, you query sys.dm_exec_requests and discover that the wait type isPAGELATCH_UP and the wait_resource is 2:3:905856.You need to improve system performance.Solution: You change the data file for the master database to autogrow by 10 percent.Does this meet the goal?-
Option A: TrueCorrect
-
Option B: FalseCorrect
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: B
Explanation
Reference:https://docs.microsoft.com/en-US/troubleshoot/sql/performance/recommendations-reduceallocationcontention -
-
Question 15
True / FalseNote: This question is part of a series of questions that present the same scenario. Each question inthe series contains a unique solution that might meet the stated goals. Some question sets mighthave more than one correct solution, while others might not have a correct solution.After you answer a question in this section, you will NOT be able to return to it. As a result, thesequestions will not appear in the review screen.You have SQL Server 2019 on an Azure virtual machine.You are troubleshooting performance issues for a query in a SQL Server instance.To gather more information, you query sys.dm_exec_requests and discover that the wait type isPAGELATCH_UP and the wait_resource is 2:3:905856.You need to improve system performance.Solution: You reduce the use of table variables and temporary tables.Does this meet the goal?-
Option A: TrueCorrect
-
Option B: FalseCorrect
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
Reference:https://docs.microsoft.com/en-US/troubleshoot/sql/performance/recommendations-reduceallocationcontention -
-
Question 16
Single answerYou have an Azure SQL database named db1 on a server named server1.You need to modify the MAXDOP settings for db1.What should you do?-
Option A:CorrectConnect to db1 and run the sp_configure command.
-
Option B:CorrectConnect to the master database of server1 and run the sp_configure command.
-
Option C:CorrectConfigure the extended properties of db1.
-
Option D:CorrectModify of db1.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: D
Explanation
Reference:https://docs.microsoft.com/en-us/azure/azure-sql/database/configure-max-degree-of-parallelism -
-
Question 17
True / FalseNote: This question is part of a series of questions that present the same scenario. Each question inthe series contains a unique solution that might meet the stated goals. Some question sets mighthave more than one correct solution, while others might not have a correct solution.After you answer a question in this section, you will NOT be able to return to it. As a result, thesequestions will not appear in the review screen.You have SQL Server 2019 on an Azure virtual machine.You are troubleshooting performance issues for a query in a SQL Server instance.To gather more information, you query sys.dm_exec_requests and discover that the wait type isPAGELATCH_UP and the wait_resource is 2:3:905856.You need to improve system performance.Solution: You create additional tempdb files.Does this meet the goal?-
Option A: TrueCorrect
-
Option B: FalseCorrect
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
Reference:https://docs.microsoft.com/en-US/troubleshoot/sql/performance/recommendations-reduceallocationcontention -
-
Question 18
Single answerYou have SQL Server on an Azure virtual machine.You need to add a 4-TB volume that meets the following requirements:Maximizes IOPsUses premium solid state drives (SSDs)What should you do?-
Option A:CorrectAttach two mirrored 4-TB SSDs.
-
Option B:CorrectAttach a stripe set that contains four 1-TB SSDs.
-
Option C:CorrectAttach a RAID-5 array that contains five 1-TB SSDs.
-
Option D:CorrectAttach a single 4-TB SSD.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: B
Explanation
Reference:https://docs.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/storageconfiguration?tabs=windows2016 -
-
Question 19
Single answerYou have an Azure SQL database named db1 on a server named server1.The Intelligent Insights diagnostics log identifies that several tables are missing indexes.You need to ensure that indexes are created for the tables.What should you do?-
Option A:CorrectRuntheDBCC SQLPERF command.
-
Option B:CorrectRun the dbcc dbreindex command.
-
Option C:CorrectModify the automatic tuning settings for db1.
-
Option D:CorrectModify the Query Store settings for db1.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: C
Explanation
Reference:https://docs.microsoft.com/en-us/azure/azure-sql/database/automatic-tuning-overview -
-
Question 20
Multiple answersYou have an Azure SQL managed instance named SQL1 and two Azure web apps named App1 and App2.You need to limit the number of IOPs that App2 queries generate on SQL1.Which two actions should you perform on SQL1? Each correct answer presents part of the solution.NOTE: Each correct selection is worth one point.-
Option A:CorrectEnable query optimizer fixes.
-
Option B:CorrectEnable Resource Governor.
-
Option C:CorrectEnable parameter sniffing
-
Option D:CorrectCreate a workload group.
-
Option E:CorrectConfigure In-memory OLTP.
-
Option F:CorrectRun the Database Engine Tuning Advisor.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: B, D
Explanation
Reference:https://docs.microsoft.com/en-us/sql/relational-databases/resource-governor/resourcegovernor?view=sql-server-ver15 -
-
Question 21
Drag & DropHOTSPOTYou have an Azure SQL database.You are reviewing a slow performing query as shown in the following exhibit.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer

Explanation
Reference:https://docs.microsoft.com/en-us/sql/relational-databases/performance/live-querystatistics?view=sql-server-ver15 -
Question 22
Single answerYou have an Azure SQL managed instance.You need to gather the last execution of a query plan and its runtime statistics. The solution mustminimize the impact on currently running queries.What should you do?-
Option A:CorrectGenerate an estimated execution plan.
-
Option B:CorrectGenerate an actual execution plan.
-
Option C:CorrectRun sys.dm_exec_query_plan_stats.
-
Option D:CorrectGenerate Live Query Statistics.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: C
Explanation
Reference:https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-managementviews/sys-dm-exec-query-plan-stats-transact-sql?view=sql-server-ver15 -
-
Question 23
Drag & DropHOTSPOTYou have an Azure SQL database named db1 on a server named server1.You use Query Performance Insight to monitor db1.You need to modify the Query Store configuration to ensure that performance monitoring data isavailable as soon as possible.Which configuration setting should you modify and which value should you configure? To answer,select the appropriate options in the answer area.NOTE: Each correct selection is worth one point.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer

-
Question 24
Single answerYou have an Azure SQL Database managed instance.The instance starts experiencing performance issues.You need to identify which query is causing the issue and retrieve the execution plan for the query.The solution must minimize administrative effort.What should you use?-
Option A:Correctthe Azure portal
-
Option B:CorrectExtended Events
-
Option C:CorrectQuery Store
-
Option D:Correctdynamic management views
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: D
Explanation
Reference:https://docs.microsoft.com/en-us/sql/relational-databases/performance/monitoring-performancebyusing-the-query-store?view=sql-server-ver15 -