Exam Information
Free practice questions with explanations
Microsoft DP-300 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 14
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Implement a secure environment
An auditor requires that all connections to a logical SQL Server must come only from the company's on-premises network through an ExpressRoute private peering, and that the SQL endpoint must not be reachable from the public internet, even though the DBA team also needs to connect from a managed virtual network in Azure. The DBA wants a solution that uses private connectivity and does not require opening any new public IP addresses. Which configuration should the DBA apply to the logical server?
Correct Answer: AExplanationPrivate endpoints give the server a private IP in the chosen virtual network, which is reachable from on-premises over ExpressRoute private peering and from the Azure VNet, and disabling public network access removes internet reachability. Firewall rules on public peering would still expose a public endpoint. Service endpoints keep the public endpoint reachable and do not extend private addressing to on-premises. Entra-only authentication addresses identity, not network reachability.
-
2 Question 2 Single choice Plan and implement data platform resources
A SaaS vendor hosts 300 tenant databases in a single elastic pool on Azure SQL Database. Recently, tenant data volumes grew, and the team plans to move the largest tenants into dedicated databases while keeping the remaining tenants in the pool. The DBA must also ensure that the shard map can route tenants correctly after the move without application redeployment. Which approach best meets these requirements?
Correct Answer: BExplanationThe Elastic Database client library with a shard map manager lets the application resolve tenant keys to shard locations dynamically, and split-merge tooling moves tenant data between databases while updating the map, so no redeployment is needed. Hardcoded mappings require redeployment and violate the requirement. A logical server per tenant is excessive and manual DNS changes are error prone. Table partitioning within one database does not move data to separate databases and does not solve scaling for the largest tenants.
-
3 Question 3 Multiple choice Monitor, configure, and optimize database resources
A DBA is preparing an operational performance baseline for an Azure SQL Database that serves an order-processing API. The baseline must capture typical CPU, log write, and data IO behaviour so future regressions can be detected. Which actions should the DBA take together to build this baseline with the least disruption? (Choose two.)
Correct Answer: C, DExplanationAzure Monitor resource metrics such as CPU, log write, and data IO percentages captured across representative periods form the core of a usable baseline, and Query Store runtime stats let the DBA compare query-level consumption across time. Running CHECKDB during business hours is disruptive and does not measure performance. Shrinking the log is harmful and distorts the baseline. Disabling automatic statistics updates would make the baseline unrepresentative of how the system is actually tuned.
-
4 Question 4 Multiple choice Configure and manage automation of tasks
A DBA team manages a set of Bicep templates that deploy Azure SQL resources to multiple subscriptions through a CI/CD pipeline. The pipeline occasionally deploys successfully but the database is missing the configured firewall rules after deployment. The team wants to automate the deployment while making failures visible and repeatable. Which two actions should the team take? (Choose two.)
Correct Answer: C, DExplanationDeclaring firewall rules as child resources of the server makes the ownership and ordering explicit, which prevents them being attempted before the server exists. Reviewing deployment operations in Azure shows which resources failed or were skipped, making failures visible and diagnosable. Manual portal changes break repeatability. Complete mode can delete unrelated resources and is risky. Tying firewall rules to a storage account dependency is unrelated to their creation.
-
5 Question 5 Single choice Configure and manage automation of tasks
A retail company runs 40 Azure SQL Database single databases in a single elastic pool. The operations team needs a nightly index maintenance routine that runs against every database in the pool, retries transient failures, and records per-database outcomes in a central table for audit. The solution must not require any on-premises infrastructure, and the team wants to avoid maintaining scheduler VMs. Which approach should the DBA implement?
Correct Answer: AExplanationElastic jobs are the native Azure SQL Database mechanism for running T-SQL across many databases on a schedule, and a target group can reference an elastic pool so every member is covered. Results are recorded in the job database, which gives the central audit trail, and retries are configurable on the job step. A SQL Server Agent job on a VM would need the VM to be maintained and linked servers do not fit the single-database model. Azure Automation scheduled per database misses the pool-wide scope and needs per-database management. SQL Server Agent is not available on Azure SQL Database, so a Managed Instance option does not apply to these databases.
-
6 Question 6 Single choice Implement a secure environment
A healthcare provider uses Azure SQL Database with Microsoft Entra ID authentication. A data engineering team member needs to create a user for an Entra security group named dataops-readers so that all current and future members can read the sales schema. The DBA must follow least privilege and avoid granting any write permissions or server-level roles. Which T-SQL should the DBA run in the user database?
Correct Answer: CExplanationIn Azure SQL Database, a contained database user created FROM EXTERNAL PROVIDER maps to the Entra group, so future members inherit access without per-user work. Granting SELECT on the schema scopes the permission to read-only on sales. A login-based user requires a server login and is not the Entra group mapping in this context. Adding db_owner violates least privilege. Creating a password-based user ignores Entra integration, and DATABASE:: is not a valid securable for a schema-level read grant.
-
7 Question 7 Single choice Monitor, configure, and optimize database resources
An ISV runs a SaaS application on Azure SQL Database. Customers report intermittent slowness, and the DBA suspects plan regression after a recent statistics update. The DBA wants to identify queries whose duration increased after a specific plan change and force the previously good plan without modifying application code. The Query Store is already enabled with read-write mode. Which action should the DBA take first?
Correct Answer: CExplanationQuery Store retains plan history per query, so regressions can be located by comparing runtime statistics across plans, and sp_query_store_force_plan pins a known-good plan without changing application code. Wait statistics do not identify the plan change and index rebuilds do not address a plan regression directly. Clearing the plan cache is a blunt measure that does not retain history and does not force the good plan. Automatic tuning with FORCE_LAST_GOOD_PLAN does eventually do something similar, but the DBA is asked for the first action to diagnose and act now, and the 24-hour wait is not a diagnostic step.
-
8 Question 8 Single choice Plan and configure a high availability and disaster recovery (HA/DR) environment
A financial services firm runs a critical Azure SQL Database with a recovery point objective of 5 seconds and a recovery time objective of 30 minutes. The company requires the secondary to be readable for reporting and must allow the application to fail over automatically to a secondary region with a single connection endpoint that does not change. Cost must be kept lower than deploying a full Business Critical tier in two regions with manual scripting. Which configuration best meets these requirements?
Correct Answer: CExplanationFailover groups provide automatic failover with a stable read-write listener endpoint, and the secondary can serve read-only workloads through the read-only listener. Active geo-replication lacks automatic failover and forces connection string changes, which violates the single endpoint requirement. Long-term backup retention cannot meet a 30-minute RTO because restores take far longer. Zone redundancy protects within a region only, and nightly copies cannot satisfy a 5-second RPO.
-
9 Question 9 Single choice Plan and implement data platform resources
A logistics company is migrating a 4 TB SQL Server 2016 database that supports a 24/7 warehouse system. The business allows only a 4-hour cutover window and needs the source to remain the system of record until final validation. The team is choosing between a native backup and restore, Azure Database Migration Service in online mode, and an export to BACPAC. Which migration approach best satisfies the requirements?
Correct Answer: CExplanationOnline migration with Azure Database Migration Service replicates ongoing changes while the source stays live, so the cutover reduces to a brief synchronization and switchover. A BACPAC export requires a consistent, offline snapshot and a long import for 4 TB, which exceeds the window. Restoring a backup to Managed Instance during cutover without continuous sync and then applying differentials leaves a gap and cannot be done in 4 hours. Stopping the application for the entire migration breaks the 4-hour limit and the 24/7 requirement.
-
10 Question 10 Single choice Configure and manage automation of tasks
A DBA uses an ARM template to deploy an Azure SQL logical server and database. The deployment fails with a message indicating the server name is already taken in the global namespace. The team uses Bicep for new templates and wants to keep the same resource name for DNS consistency across environments. Which change should the DBA make to the deployment?
Correct Answer: CExplanationAzure SQL logical server names must be unique across all of Azure because they form part of the FQDN, so the name must change, and parameterizing it with a uniqueness-producing value is the standard fix. Switching to Complete mode would not resolve a global namespace collision and could delete resources. A dependsOn entry does not affect name availability. Firewall and endpoint settings are unrelated to the naming conflict.
-
11 Question 11 Single choice Implement a secure environment
A bank stores customer account numbers in an Azure SQL Database. Developers must be able to run equality searches on account numbers from the application, but database administrators must never see plaintext values, even when querying the table directly through SSMS. The compliance team also requires that the encryption keys remain under the bank's control in Azure Key Vault. Which feature should the DBA implement?
Correct Answer: AExplanationAlways Encrypted keeps plaintext from the database engine and DBAs, and deterministic encryption preserves equality comparisons so the application can search. The column master key held in Azure Key Vault satisfies the key control requirement. TDE protects data at rest but DBAs querying the table see plaintext. Dynamic data masking hides values from unprivileged users but does not protect against DBAs with sufficient permissions. Randomized encryption prevents equality search, and storing the column master key inside the database defeats the key control requirement.
-
12 Question 12 Single choice Monitor, configure, and optimize database resources
A DBA receives reports that a nightly batch job on an Azure SQL Managed Instance is slow. Using Extended Events, the DBA captures an event session that filters on sqlserver.lock_deadlock and sqlserver.sql_statement_completed events. The DBA needs to capture only the blocking chains that last longer than 10 seconds without creating a heavy event overhead. Which approach best meets this goal?
Correct Answer: AExplanationThe blocked process report is emitted only when a blocking condition exceeds the configured blocked process threshold, which is set through sp_configure in seconds, so the threshold of 10 seconds filters exactly the needed chains with low overhead. Capturing all statement completions creates heavy overhead and filtering later defeats the purpose. A full Profiler trace is the pattern Microsoft recommends against for production due to overhead. Polling DMVs every second misses short-lived blocks and adds its own load.
-
13 Question 13 Single choice Plan and configure a high availability and disaster recovery (HA/DR) environment
A company runs a SQL Server 2019 Always On availability group on Azure virtual machines in a single region with a cluster and a cloud witness. The business now requires that the database be recoverable to any point in the last 7 days and to a specific point from 2 years ago for audit. Backups must be stored in a separate region to survive regional outages. The DBA wants the lowest administrative overhead. Which configuration should the DBA implement?
Correct Answer: AExplanationAzure Backup for SQL Server running on Azure VMs provides log-based point-in-time recovery within the short-term window and supports long-term retention policies with geo-redundant storage for regional resilience, all managed centrally. An availability group replica is not a backup and replicates corruption and accidental deletes. Local disk backups do not survive regional outages and are high overhead. Migrating to Azure SQL Database would be a platform change and is not required to meet retention on a SQL Server VM.
-
14 Question 14 Single choice Configure and manage automation of tasks
A DBA created a SQL Server Agent job that runs a backup and sends an email alert on failure using Database Mail. Since last Tuesday, no failure emails have been received even though the job log shows failed runs. The Database Mail profile is configured correctly and a test email succeeds. The job's notification is set to notify on failure via the operator. Which step should the DBA take to resolve the problem?
Correct Answer: AExplanationSQL Server Agent sends job failure notifications through the operator attached to the job, and the operator's email address must be enabled and reachable through the Database Mail profile configured for Agent. Verifying the operator and checking the Agent error log reveals whether the notification step is being skipped or failing. Ole Automation has no role in Agent notifications. Output file paths only capture step output. Job history retention affects log size, not whether notifications fire.
These are 14 of the 422 questions in the full DP-300 pack.
Get All 422 QuestionsGet all 422 questions & answers
Full access options for Microsoft DP-300
Self-study
PDF Version
- 422 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 422 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 422 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the DP-300 Exam (Administering Microsoft Azure SQL Solutions) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.