CertsPoint
See all results for ""
Exams About Us
Sign In Get Started
Exam Overview
Exam Code DP-300
Exam Name Administering Microsoft Azure SQL Solutions
Vendor Microsoft
Total Questions 408
Last Updated 26-Oct, 2026
Why CertsPoint?
  • 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

Excellent
4.6 (398 Up Votes)
Secure Payment Privacy Protected Money Back Guarantee

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.

  1. Question 1

    Drag & Drop

    You 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.
  2. Question 2

    Multiple answers

    You 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:
      sys.dm_pdw_nodes_tran_locks
      Correct
    • Option B:
      sys.dm_exec_compute_node_errors
      Correct
    • Option C:
      sys.dm_exec_requests
      Correct
    • Option D:
      sys.dm_cdc_errors
      Correct
    • Option E:
      sys.dm_pdw_nodes_os_wait_stats

      Correct
    • Option F:
      sys.dm_tran_locks
      Correct
    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.
  3. Question 3

    Drag & Drop

    You 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
    area

    NOTE: 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
  4. Question 4

    Drag & Drop
    HOTSPOT
    You 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 the
    information 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 
  5. Question 5

    Single answer
    You plan to deploy an app that includes an Azure SQL database and an Azure web app. The app has
    the 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:
      Azure Private Link
      Correct
    • Option B:
      a network security group (NSG)
      Correct
    • Option C:
      a database-level firewall
      Correct
    • Option D:
      a server-level firewall
      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: A

    Explanation

    Reference:
    https://docs.microsoft.com/en-us/azure/azure-sql/database/private-endpoint-overview 
  6. Question 6

    Single answer
    You are planning a solution that will use Azure SQL Database. Usage of the solution will peak from
    October 1 to January 1 each year.
    During peak usage, the database will require the following:
    24 cores
    500 GB of storage
    124 GB of memory
    More than 50,000 IOPS
    During 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:
      Business Critical
      Correct
    • Option B:
      Premium
      Correct
    • Option C:
      Hyperscale
      Correct
    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 
  7. Question 7

    Drag & Drop
    HOTSPOT
    You have an Azure subscription.
    You need to deploy an Azure SQL resource that will support cross database queries by using an Azure
    Resource Manager (ARM) template.
    How should you complete the ARM template? 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

    Reference:
    https://docs.microsoft.co
  8. Question 8

    Drag & Drop
    HOTSPOT
    You 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-models
    https://docs.microsoft.com/en-us/azure/azure-sql/database/single-database-create-arm-templatequickstart 
  9. Question 9

    Drag & Drop
    HOTSPOT
    You 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 the
    Azure 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 the
    appropriate 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 
  10. Question 10

    Single answer
    You have an Azure subscription that contains a server named Server1. Server1 hosts two Azure SQL
    databases 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:
      a contained database user for App1 on DB2
      Correct
    • Option B:
      a login for App1 on Server1
      Correct
    • Option C:
      a contained database user from an external provider for App1 on DB2
      Correct
    • Option D:
      a contained database user from a Windows login for App1 on DB2
      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: D

    Explanation

    Reference:
    https://docs.microsoft.com/en-us/sql/relational-databases/security/contained-database-usersmaking
    your-database-portable?view=sql-server-ver15 
  11. Question 11

    Single answer
    You 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, User1
    can see all the databases.
    What should you do? 
    • Option A:
      Create User1 in the master database.
      Correct
    • Option B:
      Assign User1 the db_datareader role for the master database.
      Correct
    • Option C:
      Assign User1 the db_datareader role for the databases that Userl creates.
      Correct
    • Option D:
      Grant select on sys.databases to public in the master database.
      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: A

    Explanation

    Reference:
    https://docs.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage 
  12. Question 12

    Drag & Drop
    DRAG DROP
    You have an Azure SQL managed instance named SQLMI1 that has Resource Governor enabled and is
    used 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 from
    the 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-ver15
    https://docs.microsoft.com/en-us/sql/relational-databases/resource-governor/create-and-test-aclassifier
    user-defined-function?view=sql-server-ver15 
  13. Question 13

    True / False
    Note: This question is part of a series of questions that present the same scenario. Each question in
    the series contains a unique solution that might meet the stated goals. Some question sets might
    have 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, these
    questions 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 is
    PAGELATCH_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: True
      Correct
    • Option B: False
      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: B

    Explanation

    Explanation:
    Reference:
    https://docs.microsoft.com/en-US/troubleshoot/sql/performance/recommendations-reduceallocation
    contention 
  14. Question 14

    True / False
    Note: This question is part of a series of questions that present the same scenario. Each question in
    the series contains a unique solution that might meet the stated goals. Some question sets might
    have 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, these
    questions 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 is
    PAGELATCH_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: True
      Correct
    • Option B: False
      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: B

    Explanation

    Reference:
    https://docs.microsoft.com/en-US/troubleshoot/sql/performance/recommendations-reduceallocation
    contention 
  15. Question 15

    True / False
    Note: This question is part of a series of questions that present the same scenario. Each question in
    the series contains a unique solution that might meet the stated goals. Some question sets might
    have 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, these
    questions 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 is
    PAGELATCH_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: True
      Correct
    • Option B: False
      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: A

    Explanation

    Reference:
    https://docs.microsoft.com/en-US/troubleshoot/sql/performance/recommendations-reduceallocation
    contention 
  16. Question 16

    Single answer
    You 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:
      Connect to db1 and run the sp_configure command.
      Correct
    • Option B:
      Connect to the master database of server1 and run the sp_configure command.
      Correct
    • Option C:
      Configure the extended properties of db1.
      Correct
    • Option D:
      Modify of db1.
      Correct
    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 
  17. Question 17

    True / False
    Note: This question is part of a series of questions that present the same scenario. Each question in
    the series contains a unique solution that might meet the stated goals. Some question sets might
    have 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, these
    questions 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 is
    PAGELATCH_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: True
      Correct
    • Option B: False
      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: A

    Explanation

    Reference:
    https://docs.microsoft.com/en-US/troubleshoot/sql/performance/recommendations-reduceallocation
    contention 
  18. Question 18

    Single answer
    You have SQL Server on an Azure virtual machine.
    You need to add a 4-TB volume that meets the following requirements:
    Maximizes IOPs
    Uses premium solid state drives (SSDs)
    What should you do? 
    • Option A:
      Attach two mirrored 4-TB SSDs.
      Correct
    • Option B:
      Attach a stripe set that contains four 1-TB SSDs.
      Correct
    • Option C:
      Attach a RAID-5 array that contains five 1-TB SSDs.
      Correct
    • Option D:
      Attach a single 4-TB SSD.
      Correct
    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 
  19. Question 19

    Single answer
    You 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:
      RuntheDBCC SQLPERF command.
      Correct
    • Option B:
      Run the dbcc dbreindex command.
      Correct
    • Option C:
      Modify the automatic tuning settings for db1.
      Correct
    • Option D:
      Modify the Query Store settings for db1.
      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: C

    Explanation

    Reference:
    https://docs.microsoft.com/en-us/azure/azure-sql/database/automatic-tuning-overview 
  20. Question 20

    Multiple answers
    You 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:
      Enable query optimizer fixes.
      Correct
    • Option B:
      Enable Resource Governor.
      Correct
    • Option C:
      Enable parameter sniffing
      Correct
    • Option D:
      Create a workload group.
      Correct
    • Option E:
      Configure In-memory OLTP.
      Correct
    • Option F:
      Run the Database Engine Tuning Advisor.
      Correct
    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 
  21. Question 21

    Drag & Drop
    HOTSPOT
    You 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 
  22. Question 22

    Single answer
    You have an Azure SQL managed instance.
    You need to gather the last execution of a query plan and its runtime statistics. The solution must
    minimize the impact on currently running queries.
    What should you do? 
    • Option A:
      Generate an estimated execution plan.
      Correct
    • Option B:
      Generate an actual execution plan.
      Correct
    • Option C:
      Run sys.dm_exec_query_plan_stats.
      Correct
    • Option D:
      Generate Live Query Statistics.
      Correct
    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
  23. Question 23

    Drag & Drop
    HOTSPOT
    You 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 is
    available 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


  24. Question 24

    Single answer
    You 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:
      the Azure portal
      Correct
    • Option B:
      Extended Events
      Correct
    • Option C:
      Query Store
      Correct
    • Option D:
      dynamic management views
      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: D

    Explanation

    Reference:
    https://docs.microsoft.com/en-us/sql/relational-databases/performance/monitoring-performanceby
    using-the-query-store?view=sql-server-ver15