Free DP-300 Practice Test Questions and Answers (2026)

View Mode
Q: 1

HOTSPOT You are performing exploratory analysis of bus fare data in an Azure Data Lake Storage Gen2 account by using an Azure Synapse Analytics serverless SQL pool. You execute the Transact-SQL query shown in the following exhibit. DP-300 question Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic. DP-300 question

Your Answer
32 comments in the community discussion
6
CSV files starting with tripdata_2020 only, header row assumed.
6
Yeah, only CSV files named tripdata_2020*.csv in that folder and header row assumed.
Q: 2

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. DP-300 question

Your Answer
23 comments in the community discussion
6
MICROSOFT.SQL/MANAGEDINSTANCES and [parameters('virtualNetworkName')], since cross-db queries need Managed Instance not regular SQL Server.
3
MICROSOFT.SQL/MANAGEDINSTANCES and [parameters('virtualNetworkName')].
Q: 3
Which audit log destination should you use to meet the monitoring requirements?
Options
32 comments in the community discussion
6
Makes sense to pick C for monitoring, Log Analytics is designed for analysis and alerting. Haven't seen anyone use B for this.
4
Business Critical, Gen5. Business Critical gives lower latency and Gen5 offers the best memory per vCore. Think that's what Microsoft wants here but open to debate if anyone's seen a different combo.
Q: 4

DRAG DROP You have an Azure SQL database named DB1. DB1 contains a table that has a column named Col1. You need to encrypt the data in Col1. Which four actions should you perform for DB1 in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. DP-300 question

Drag & Drop
27 comments in the community discussion
5
Create database master key, then certificate, next symmetric key, finally update Col1. If you picked column master/column encryption key steps, that's for Always Encrypted not cell-level encryption. Azure SQL's cell-level flow always needs that root (DBMK), then cert to protect the symmetric key. Almost got caught out
5
Not quite, I think the sequence is create DB master key, then certificate, next symmetric key, and finally update Col1. Easy to pick column master key by accident, but that’s for Always Encrypted not TDE/cell in this case.
Q: 5

DRAG DROP You have an instance of SQL Server on Azure Virtual Machines named SQL1. SQL1 contains a database named DB1. You need to enable Transparent Data Encryption (TDE) for DB1. Which three objects should you create in sequence? To answer, move the appropriate objects from the list of objects to the answer area and arrange them in the correct order. DP-300 question

Drag & Drop
34 comments in the community discussion
9
Private endpoint for DB1.
6
I don’t think you need a master key or cert in DB1 for standard TDE setup-those go in the master database. It's always master key in master, certificate in master, then database encryption key in DB1. The option with certificate in DB1 is a common trap. Agree?
Q: 6

HOTSPOT You have a 50-TB Microsoft SQL Server database named DB1. You need to reduce the time it takes to perform database consistency checks of DB1. Which Transact-SQL command should you run? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. DP-300 question

Your Answer
30 comments in the community discussion
5
Had something like this in a mock, went with NOINDEX and PHYSICAL_ONLY.
5
Respectfully disagree, I think PHYSICAL_ONLY is the right call here. NOINDEX and PHYSICAL_ONLY together really cut execution time for huge DBs by skipping logical checks and nonclustered indexes. DATA_PURITY is a trap if speed's the concern. Thoughts?
Q: 7

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. DP-300 question

Drag & Drop
34 comments in the community discussion
6
Create a resource pool → create a workload group → user-defined classifier function → modify Resource Governor. You have to make the pool first since groups are tied to pools, then write the classifier so RG knows which sessions go where, and finally update RG with the new function. Pretty sure this matches Azure SQL p
4
Create a resource pool, then workload group, classifier function, finally modify Resource Governor. Saw a similar question in exam practice sets.
Q: 8
You have an instance of SQL Server on Azure Virtual Machine named SQL1. You need to monitor SQL1 and query the metrics by using Kusto query language. The solution must minimize administrative effort. Where should you store the metrics?
Options
30 comments in the community discussion
6
Option A is right here. Log Analytics workspace is built for Kusto queries and makes monitoring SQL on VMs straightforward. Event Hubs (B) isn’t really for metric analysis, more for streaming events. Anyone disagree?
3
Seriously, Microsoft loves shoving everything into Log Analytics these days. Option A since it's KQL native and way less hassle than piping to Event Hubs or rolling custom storage. Let me know if I'm missing something but pretty confident here.
Q: 9

DRAG DROP You have SQL Server 2019 on an Azure virtual machine that contains an SSISDB database. A recent failure causes the master database to be lost. You discover that all Microsoft SQL Server integration Services (SSIS) packages fail to run on the virtual machine. Which four actions should you perform in sequence to resolve the issue? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct. DP-300 question

Drag & Drop
41 comments in the community discussion
6
Attach SSISDB, open master key, encrypt master key with service master key, set TRUSTWORTHY/CLR. Not TDE, that's a trap.
5
Attach SSISDB > Open master key > Encrypt DMK with service master key > Set TRUSTWORTHY/CLR. That order makes sense after losing the master db, since you have to re-establish encryption then set required properties for SSIS packages to work. I think that's how Microsoft doc outlines it, but open to corrections
Q: 10

DRAG DROP You have SQL Server on an Azure virtual machine that contains a database named DB1. DB1 is 30 TB and has a 1-GB daily rate of change. You back up the database by using a Microsoft SQL Server Agent job that runs Transact-SQL commands. You perform a weekly full backup on Sunday, daily differential backups at 01:00, and transaction log backups every five minutes. The database fails on Wednesday at 10:00. Which three backups should you restore in sequence? To answer, move the appropriate backups from the list of backups to the answer area and arrange them in the correct order. DP-300 question

Drag & Drop
33 comments in the community discussion
6
full backup → Wednesday differential backup → Wednesday log backups. You don’t need the Monday or Tuesday differentials since SQL Server’s differentials are cumulative, not incremental. Lots of people get tripped up by that trap option, I think this sequence matches what’s expected unless the question says otherwise.
6
full backup → Wednesday differential backup → Wednesday log backups. Pretty sure that's the right sequence since SQL Server uses cumulative differentials, so only the latest diff after full is needed before applying logs. Lots of similar practice test examples suggest this route, but always double check with official d
Q: 11

HOTSPOT You plan to migrate on-premises Microsoft SQL Server databases to Azure. You need to identify which deployment and resiliency options meet the following requirements: Support user-initiated backups. Support multiple automatically replicated instances across Azure regions. Minimize administrative effort to implement and maintain business continuity. What should you identify? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. DP-300 question

Your Answer
10 comments in the community discussion
5
Seen almost exactly the same combo in official practice tests: Azure SQL Managed Instance and auto-failover group.
5
Managed Instance and Auto-failover group. Geo-replication's a trap here since it doesn't support user-initiated backups easily.
Q: 12

DRAG DROP You plan to create a table in an Azure Synapse Analytics dedicated SQL pool. Data in the table will be retained for five years. Once a year, data that is older than five years will be deleted. You need to ensure that the data is distributed evenly across partitions. The solutions must minimize the amount of time required to delete old data. How should you complete the Transact-SQL statement? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. DP-300 question

Drag & Drop
8 comments in the community discussion
4
Had something like this in a mock. HASH goes in Bucket 1 and OrderDateKey in Bucket 2. Partitioning by OrderDateKey lets you drop old partitions each year fast, matches the requirement. Pretty sure that's what they're after but open to other views.
3
Yeah, seen similar on exam dumps. Go with HASH for Bucket 1 and OrderDateKey for Bucket 2. Date-based partitioning speeds up those yearly deletes a lot.
Q: 13
You have an Azure virtual machine named VM1 that runs Windows Server 2022 and hosts a Microsoft SQL Server 2019 instance named SQL1. You need to configure SQL1 to use mixed mode authentication. Which procedure should you run?
Options
8 comments in the community discussion
3
Option D Saw a similar question in a practice set, xp_instance_regwrite is the one for changing registry values like authentication mode.
2
Don’t think it’s C. xp_grant_login (B) seems like it could work since it's related to logins, but I’m pretty sure that one doesn’t handle authentication mode config, just permissions.
Q: 14

HOTSPOT You have an Azure SQL database. You are reviewing a slow performing query as shown in the following exhibit. DP-300 question 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. DP-300 question

Your Answer
4 comments in the community discussion
2
Nah, not B. Should be Live Query Statistics and Key Lookup here, plenty of folks miss the Key Lookup trap.
Probably B
Q: 15
You need to recommend a solution to meet the security requirements and the business requirements for DB3. What should you recommend as the first step of the solution?
Options
8 comments in the community discussion
4
Option D, these Azure questions always want automatic tuning. Seen similar in practice sets, pretty sure it's D.
Definitely C here.
Q: 16
What should you do after a failover of SalesSQLDb1 to ensure that the database remains accessible to SalesSQLDb1App1?
Options
8 comments in the community discussion
1
Probably B since after failover, the app needs the new DB location in its connection string. Pretty standard for geo-replication setups.
BYeah, after failover the app's old connection string points to the wrong server. Unless you have a failover group with an endpoint, you have to update the connection string manually so SalesSQLDb1App1 can see the new primary. Happens a lot with active geo-replication. Let me know if you think C makes sense but I’m
Q: 17

HOTSPOT You have an Azure subscription. You plan to migrate 10 on-premises Microsoft SQL Server instances to Azure. You need to ensure that the migrated environment can be managed by using multiserver administration and supports master/target (MSX/TSX) jobs. The solution must minimize administrative effort. Which SQL deployment options should you select as the master server (MSX) and the target server (TSX)? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. DP-300 question

Your Answer
13 comments in the community discussion
6
You'd have to choose SQL Virtual Machines for both MSX and TSX here. MSX/TSX jobs rely on full SQL Server Agent, which isn't supported on Managed Instance or Azure SQL. Easy to miss if you assume PaaS is always better.
1
SQL Virtual Machines for both MSX and TSX. Only way to get multi-server job support here, I think.
Q: 18

DRAG DROP You have SQL Server on an Azure virtual machine named SQL1. SQL1 has an agent job to back up all databases. You add a user named dbadmin1 as a SQL Server Agent operator. You need to ensure that dbadmin1 receives an email alert if a job fails. Which three 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. DP-300 question

Drag & Drop
13 comments in the community discussion
5
Enable Database Mail → Enable Agent email settings → Create job notification. Alerts is a trap here, notifications are for job failure emails. Seen similar question in practice, so pretty confident in this order.
3
Enable Database Mail → Enable Agent email settings → Create job notification. Job alert is only right if it's asking for errors, not just failures.
Q: 19
You need to recommend a backup solution to restore DB3. The solution must meet the availability requirements. Which type of backup should you use?
Options
8 comments in the community discussion
9
Set up Database Mail profile, configure SQL Agent operators, then set the job notification. This order matches the requirements.
1
I think configure Database Mail, add operator, then set job notification is right. The operator step trips people up.
Q: 20
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 an Azure Synapse Analytics dedicated SQL pool that contains a table named Table1. You have files that are ingested and loaded into an Azure Data Lake Storage Gen2 container named container1. You plan to insert data from the files into Table1 and transform the data. Each row of data in the files will produce one row in the serving layer of Table1. You need to ensure that when the source data files are loaded to container1, the DateTime is stored as an additional column in Table1. Solution: You use an Azure Synapse Analytics serverless SQL pool to create an external table that has an additional DateTime column. Does this meet the goal?
Options
13 comments in the community discussion
1
A, I thought external tables in Synapse serverless can do it because you can just add the extra column.
Man, Microsoft loves to word these Synapse questions so tricky. A tbh, because creating an external table with a DateTime column feels like it solves it. You can define the schema and just query with the extra field, right? Unless they're looking for a physical insert into Table1 (dedicated pool) not just metadata.
Question 1 of 20

What's covered in this practice questions set

1: Plan and implement data platform resources · 6 questions

📖 About this Domain

This domain covers the deployment and configuration of relational data platform resources on Azure. It focuses on provisioning SQL Server on Azure VMs, Azure SQL Database, and Azure SQL Managed Instance. The core tasks involve resource deployment and initial configuration to meet technical requirements.

🎓 What You Will Learn

  • You will learn to deploy SQL Server on Azure Virtual Machines (IaaS) and configure underlying storage for optimal performance.
  • You will learn to configure Azure SQL Database and Managed Instance resources, including compute tiers like vCore, DTU, and Serverless.
  • You will learn to implement secure access to the database using authentication methods, firewalls, and private endpoints.
  • You will learn to configure high availability and disaster recovery (HADR) strategies, including failover groups and geo-replication.

🛠️ Skills You Will Build

  • You will build skills to deploy SQL Server on Azure VMs using marketplace images and ARM templates.
  • You will gain proficiency in configuring Azure SQL Database and Managed Instance service tiers for specific workload requirements.
  • You will develop competence in securing database endpoints with firewalls, VNet rules, and Azure AD authentication.
  • You will be able to implement and manage HADR solutions like Always On availability groups and geo-backups.

💡 Top Tips to Prepare

  • Master the key differentiators between IaaS (SQL on VM) and PaaS (Azure SQL DB, SQL MI) deployment models.
  • Practice resource deployment using the Azure portal, Azure CLI, and PowerShell to understand automation options.
  • Understand database connectivity configuration, including VNet integration, private link, and service endpoints.
  • Review the capabilities and limitations of different service tiers like General Purpose, Business Critical, and Hyperscale.

2: Implement a secure environment · 4 questions

📖 About this Domain

This domain covers configuring a secure environment for Azure data platforms. It focuses on authentication, authorization, data encryption, and implementing compliance controls. You will learn to safeguard data from unauthorized access and meet security requirements.

🎓 What You Will Learn

  • You will learn to configure authentication using Azure AD principals and SQL logins, including contained database users.
  • You will learn to configure database authorization by assigning permissions to securables using fixed and user-defined database roles.
  • You will learn to implement security for data at rest using Transparent Data Encryption (TDE) and Always Encrypted.
  • You will learn to implement compliance controls like database auditing, data classification, and dynamic data masking.

🛠️ Skills You Will Build

  • You will build skills to create and manage security principals like logins, users, and roles using T-SQL and the Azure Portal.
  • You will build skills to implement a least privilege security model by granting, denying, and revoking permissions on database objects.
  • You will build skills to configure and manage encryption for data at rest and in transit, including BYOK scenarios for TDE.
  • You will build skills to configure server and database audits and apply data protection features for sensitive data columns.

💡 Top Tips to Prepare

  • Practice creating Azure AD and SQL authenticated users and assigning them to database roles using T-SQL.
  • Understand the difference between server-level roles and database-level roles and their permission scopes.
  • Master the configuration of Transparent Data Encryption (TDE) and the process for using customer-managed keys from Azure Key Vault.
  • Review the implementation steps for SQL Auditing, Data Classification, and Dynamic Data Masking in the Azure Portal.

3: Monitor, configure, and optimize database resources · 4 questions

📖 About this Domain

This domain covers operational database administration for Azure SQL. You will monitor performance, troubleshoot bottlenecks, and optimize database objects and server configuration. It emphasizes proactive and reactive performance tuning using built-in and Azure-specific tools.

🎓 What You Will Learn

  • Monitor database activity and performance using Dynamic Management Views (DMVs), Extended Events, and Query Store.
  • Implement performance-related maintenance tasks such as index rebuilds, reorganizations, and statistics updates.
  • Troubleshoot performance issues by analyzing query execution plans and identifying blocking scenarios.
  • Configure server and database-scoped settings, including MAXDOP, cost threshold for parallelism, and memory configurations.

🛠️ Skills You Will Build

  • Analyzing query performance and identifying regressions using Query Store and execution plans.
  • Implementing robust indexing strategies, including columnstore, filtered, and covering indexes.
  • Configuring and interpreting telemetry from Azure Monitor, Log Analytics, and performance dashboards.
  • Managing resource contention and workload isolation using Resource Governor.

💡 Top Tips to Prepare

  • Gain practical experience with DMVs like sys.dm_exec_requests and sys.dm_os_wait_stats to diagnose live issues.
  • Understand the differences between actual and estimated execution plans and their key operators.
  • Practice forcing and unforcing plans within the Query Store to mitigate performance regressions.
  • Review Azure SQL's automatic tuning options for index management and query plan correction.

4: Configure and manage automation · 3 questions

📖 About this Domain

This domain focuses on automating routine DBA tasks using built-in SQL Server and Azure SQL features. You will learn to configure SQL Agent jobs, manage database mail for notifications, and set up alerts for specific database events. It also covers automating database deployments to streamline development and operational workflows.

🎓 What You Will Learn

  • Learn to create, configure, and manage SQL Agent jobs, job steps, schedules, and proxies for task automation.
  • Understand how to configure Database Mail profiles and accounts to send email notifications from SQL Server.
  • Discover how to create and manage alerts and notifications based on performance conditions, errors, and events.
  • Explore methods for automating the deployment of database resources using DACPACs and BACPACs.

🛠️ Skills You Will Build

  • You will build the skill to implement automated maintenance plans and custom T-SQL scripts using SQL Agent jobs.
  • You will gain proficiency in setting up a robust notification system using Database Mail and SQL Server Agent alerts.
  • You will develop the ability to automate database schema and data deployments across different environments.
  • You will be able to manage job outcomes, troubleshoot failed jobs, and configure operator notifications for proactive monitoring.

💡 Top Tips to Prepare

  • Practice creating multi-step SQL Agent jobs with different subsystems like T-SQL, PowerShell, and SSIS in a lab environment.
  • Master the configuration of Database Mail, including profiles, accounts, and troubleshooting common send failures using sysmail views.
  • Focus on creating alerts for specific error numbers, severity levels, and performance counter thresholds using sp_add_alert.
  • Get hands-on experience with the SqlPackage.exe command-line utility to deploy DACPAC and BACPAC files for automated deployments.

5: Plan and configure a high availability and disaster recovery (HA/DR) environment · 3 questions

📖 About this Domain

This domain covers the critical processes for ensuring business continuity for your data platform solutions. You will focus on recommending and implementing high availability and disaster recovery strategies using Azure SQL and SQL Server features.

🎓 What You Will Learn

  • You will learn to recommend a database offering based on Service Level Agreements (SLAs), Recovery Point Objective (RPO), and Recovery Time Objective (RTO).
  • You will learn to plan and implement a backup and restore strategy, including full, differential, and transaction log backups.
  • You will learn to configure Always On availability groups and failover cluster instances for SQL Server.
  • You will learn to configure geo-replication and auto-failover groups for Azure SQL Database and Azure SQL Managed Instance.

🛠️ Skills You Will Build

  • You will build skills to perform database backups and restores using T-SQL and other management tools.
  • You will build skills to configure and manage Always On availability groups, including listeners and read-only routing.
  • You will build skills to implement and test failover procedures for both on-premises and Azure SQL environments.
  • You will build skills to evaluate and recommend HA/DR solutions like log shipping, failover clustering, and Azure Site Recovery.

💡 Top Tips to Prepare

  • Master the concepts of RPO and RTO and how they map to specific HA/DR technologies like availability groups and geo-replication.
  • Practice backup and restore scenarios using T-SQL commands, including point-in-time recovery (PITR).
  • Understand the key differences and use cases for Azure SQL Database service tiers, geo-replication, and auto-failover groups.
  • Gain hands-on experience configuring a Windows Server Failover Cluster (WSFC) and an Always On availability group in a lab environment.

Premium Access Includes

  • Quiz Simulator
  • Exam Mode
  • Progress Tracking
  • Question Saving
  • Flash Cards
  • Drag & Drops
  • 3 Months Access
  • PDF Downloads
Get Premium Access
Scroll to Top

FLASH OFFER

Days
Hours
Minutes
Seconds

avail 10% DISCOUNT on YOUR PURCHASE