cert
cert-1
cert-2

Pass Microsoft DP-300 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
DP-300 Exam - Verified By Experts
DP-300 Premium Bundle
$29.98

DP-300 Premium Bundle

$79.99
$109.97
  • Premium File 470 Questions & Answers. Last update: Nov 10, 2026
  • Training Course 130 Video Lectures
  • Study Guide 672 Pages
 
$109.97
$79.99
accept 43 downloads in last 7 days
block-screenshots
Purchase Microsoft DP-300 Exam Training Products Individually
Microsoft DP-300 Premium File
Premium File 470 Q&A
$76.99$69.99
Microsoft DP-300 Video Training Course
Training Course 130 Lectures
$21.99 $19.99
Microsoft DP-300 PDF Study Guide
Study Guide 672 Pages
$21.99 $19.99
Microsoft DP-300 Practice Test 12

Question 110

An app requires consistent millisecond latency during unpredictable bursts and the team chooses a serverless auto-pause configuration without checking resume latency. Which Azure SQL or SQL Server administrative approach is MOST appropriate?

  1. Choose database vCore or DTU purchasing models, compute tier and elastic-pool membership from measured resource patterns, isolation needs and predictable workload peaks.
  2. Size Managed Instance and SQL Server VM compute, storage latency and throughput using performance evidence, including correct storage-layout and platform support limits.
  3. Choose a supported online migration path with ongoing data synchronization when a tight outage window requires it, and plan explicit final cutover, validation and rollback checkpoints.
  4. Deploy governed Azure SQL resources with repeatable infrastructure templates and evaluate Azure SQL Database in Fabric for supported analytics-connected workflows rather than assuming all workloads are equivalent.

Explanation

Correct Answer

A:

Choose database vCore or DTU purchasing models, compute tier and elastic-pool membership from measured resource patterns, isolation needs and predictable workload peaks. This is the supported administration mechanism for the described workload. Elastic pools share resources across eligible Azure SQL databases; adding a pool cannot eliminate an individual database's workload or resource configuration limits. Verify with: Inspect CPU, data IO, log write, storage, concurrent sessions, DTU/vCore utilization, pool-level pressure and per-database limits.

Incorrect Answers

B:

Size Managed Instance and SQL Server VM compute, storage latency and throughput using performance evidence, including correct storage-layout and platform support limits. This addresses Managed Instance and SQL VM compute storage scaling, not the controlling requirement here. Increasing CPU cannot fix a saturated log throughput budget or a storage path with high sustained write latency. Prefer: Choose database vCore or DTU purchasing models, compute tier and elastic-pool membership from measured resource patterns, isolation needs and predictable workload peaks.

C:

Choose a supported online migration path with ongoing data synchronization when a tight outage window requires it, and plan explicit final cutover, validation and rollback checkpoints. This addresses Online migration with controlled cutover and validation, not the controlling requirement here. Online migration reduces downtime but is not automatically zero-downtime; final synchronization, traffic redirection and application tests still matter. Prefer: Choose database vCore or DTU purchasing models, compute tier and elastic-pool membership from measured resource patterns, isolation needs and predictable workload peaks.

D:

Deploy governed Azure SQL resources with repeatable infrastructure templates and evaluate Azure SQL Database in Fabric for supported analytics-connected workflows rather than assuming all workloads are equivalent. This addresses Azure SQL deployment automation and Fabric SQL integration boundary, not the controlling requirement here. Using Fabric with Azure SQL does not remove operational security responsibilities or grant unsupported cross-service transactional semantics. Prefer: Choose database vCore or DTU purchasing models, compute tier and elastic-pool membership from measured resource patterns, isolation needs and predictable workload peaks.

Question 111

An administrator enables readable secondary queries but a batch process attempts INSERT statements against the read-only replica during nightly ETL. Which TWO complementary actions provide the appropriate response AND evidence to verify it? Select TWO.

  1. Inspect Windows Server failover cluster or supported Linux HA configuration, availability replica state, listener IP/DNS, synchronization health, AG endpoint port and failover readiness.
  2. Inspect replication state, endpoint listeners, failover policy, allowed data loss, application reconnect errors, secondary region capacity and DNS cache behavior.
  3. Configure SQL Server log shipping across supported instances with reliable log backup, copy and restore schedules, delay and standby policies, then test manual recovery and ownership of jobs.
  4. Configure supported active geo-replication or Azure SQL failover groups with clear primary-secondary roles, read-only routing, connection listeners and manual/automatic recovery procedures.
  5. A recoverable backup is stored under controlled access and a real restore exercise proves the chain, keys and application consistency requirements.

Explanation

Correct Answers

B:

Inspect replication state, endpoint listeners, failover policy, allowed data loss, application reconnect errors, secondary region capacity and DNS cache behavior. This is the discriminating system or configuration evidence for the case. Geo-replication is normally asynchronous and does not guarantee all uncommitted or recently committed data survives a forced regional failover. Corresponding approach: Configure supported active geo-replication or Azure SQL failover groups with clear primary-secondary roles, read-only routing, connection listeners and manual/automatic recovery procedures. It supplies the evidence portion of this complementary answer.

D:

Configure supported active geo-replication or Azure SQL failover groups with clear primary-secondary roles, read-only routing, connection listeners and manual/automatic recovery procedures. This is the supported administration mechanism for the described workload. Geo-replication is normally asynchronous and does not guarantee all uncommitted or recently committed data survives a forced regional failover. Verify with: Inspect replication state, endpoint listeners, failover policy, allowed data loss, application reconnect errors, secondary region capacity and DNS cache behavior. It supplies the implementation portion of this complementary answer.

Incorrect Answers

A:

Inspect Windows Server failover cluster or supported Linux HA configuration, availability replica state, listener IP/DNS, synchronization health, AG endpoint port and failover readiness. This choice pertains to Always On availability groups on SQL Server VMs and SQL MI links, not the needed response/evidence pair. Use: Configure supported active geo-replication or Azure SQL failover groups with clear primary-secondary roles, read-only routing, connection listeners and manual/automatic recovery procedures. Check: Inspect replication state, endpoint listeners, failover policy, allowed data loss, application reconnect errors, secondary region capacity and DNS cache behavior.

C:

Configure SQL Server log shipping across supported instances with reliable log backup, copy and restore schedules, delay and standby policies, then test manual recovery and ownership of jobs. This choice pertains to Log shipping health and recovery orchestration, not the needed response/evidence pair. Use: Configure supported active geo-replication or Azure SQL failover groups with clear primary-secondary roles, read-only routing, connection listeners and manual/automatic recovery procedures. Check: Inspect replication state, endpoint listeners, failover policy, allowed data loss, application reconnect errors, secondary region capacity and DNS cache behavior.

E:

A recoverable backup is stored under controlled access and a real restore exercise proves the chain, keys and application consistency requirements. This choice pertains to Backup to Azure Blob URL and tested cloud restore, not the needed response/evidence pair. Use: Configure supported active geo-replication or Azure SQL failover groups with clear primary-secondary roles, read-only routing, connection listeners and manual/automatic recovery procedures. Check: Inspect replication state, endpoint listeners, failover policy, allowed data loss, application reconnect errors, secondary region capacity and DNS cache behavior.

Question 112

A stored procedure uses highly skewed customer IDs and the DBA forces one plan based on a tiny tenant without evaluating larger tenants. Which TWO complementary actions provide the appropriate response AND evidence to verify it? Select TWO.

  1. Correlate Azure SQL Intelligent Insights or Query Store evidence with parameter sensitivity and memory grant patterns, selecting documented plan or query changes instead of blindly upgrading SKU.
  2. Check automatic tuning mode, automatic plan correction state, index create/drop recommendations, plan verification, workload compatibility level and rollback events.
  3. Alerts fire for meaningful sustained database risk while log delivery and missing-metric gaps are independently observable.
  4. Inspect Query Store capture mode, runtime statistics, plan IDs, compatibility level, force-plan failure reasons and workload parameter distributions.
  5. Use Query Store to compare query runtime and plan history, identify a genuine plan regression, and force a known suitable plan only with ongoing validation and rollback.

Explanation

Correct Answers

D:

Inspect Query Store capture mode, runtime statistics, plan IDs, compatibility level, force-plan failure reasons and workload parameter distributions. This is the discriminating system or configuration evidence for the case. Forcing a historical plan can mitigate a regression but does not make poor statistics or parameter sensitivity disappear and may fail after schema changes. Corresponding approach: Use Query Store to compare query runtime and plan history, identify a genuine plan regression, and force a known suitable plan only with ongoing validation and rollback. It supplies the evidence portion of this complementary answer.

E:

Use Query Store to compare query runtime and plan history, identify a genuine plan regression, and force a known suitable plan only with ongoing validation and rollback. This is the supported administration mechanism for the described workload. Forcing a historical plan can mitigate a regression but does not make poor statistics or parameter sensitivity disappear and may fail after schema changes. Verify with: Inspect Query Store capture mode, runtime statistics, plan IDs, compatibility level, force-plan failure reasons and workload parameter distributions. It supplies the implementation portion of this complementary answer.

Incorrect Answers

A:

Correlate Azure SQL Intelligent Insights or Query Store evidence with parameter sensitivity and memory grant patterns, selecting documented plan or query changes instead of blindly upgrading SKU. This choice pertains to Intelligent Insights and parameter-sensitive query analysis, not the needed response/evidence pair. Use: Use Query Store to compare query runtime and plan history, identify a genuine plan regression, and force a known suitable plan only with ongoing validation and rollback. Check: Inspect Query Store capture mode, runtime statistics, plan IDs, compatibility level, force-plan failure reasons and workload parameter distributions.

B:

Check automatic tuning mode, automatic plan correction state, index create/drop recommendations, plan verification, workload compatibility level and rollback events. This choice pertains to Automatic tuning and intelligent query processing guardrails, not the needed response/evidence pair. Use: Use Query Store to compare query runtime and plan history, identify a genuine plan regression, and force a known suitable plan only with ongoing validation and rollback. Check: Inspect Query Store capture mode, runtime statistics, plan IDs, compatibility level, force-plan failure reasons and workload parameter distributions.

C:

Alerts fire for meaningful sustained database risk while log delivery and missing-metric gaps are independently observable. This choice pertains to Azure Monitor alerts diagnostics and resource metrics, not the needed response/evidence pair. Use: Use Query Store to compare query runtime and plan history, identify a genuine plan regression, and force a known suitable plan only with ongoing validation and rollback. Check: Inspect Query Store capture mode, runtime statistics, plan IDs, compatibility level, force-plan failure reasons and workload parameter distributions.

Question 113

An engineer hardcodes the production database server name inside a staging deployment template and creates resources in the wrong subscription. Which diagnostic evidence should the database administrator check FIRST?

  1. Compare database offering capabilities, deployment parameters, identity, networking, Fabric integration support, source control and tenant governance before provisioning.
  2. Inspect installed Arc agent/extensions, SQL resource inventory, policy assignments, supported assessment features, connectivity and data residency needs.
  3. Inspect predicate selectivity, partition elimination, split/merge plans, aligned indexes, compression CPU overhead and real data size reduction.
  4. Inspect CPU, data IO, log write, storage, concurrent sessions, DTU/vCore utilization, pool-level pressure and per-database limits.

Explanation

Correct Answer

A:

Compare database offering capabilities, deployment parameters, identity, networking, Fabric integration support, source control and tenant governance before provisioning. This is the discriminating system or configuration evidence for the case. Using Fabric with Azure SQL does not remove operational security responsibilities or grant unsupported cross-service transactional semantics. Corresponding approach: Deploy governed Azure SQL resources with repeatable infrastructure templates and evaluate Azure SQL Database in Fabric for supported analytics-connected workflows rather than assuming all workloads are equivalent.

Incorrect Answers

B:

Inspect installed Arc agent/extensions, SQL resource inventory, policy assignments, supported assessment features, connectivity and data residency needs. These checks primarily test Azure Arc-enabled SQL and hybrid fleet governance instead of the critical system behavior in this case. Examine: Compare database offering capabilities, deployment parameters, identity, networking, Fabric integration support, source control and tenant governance before provisioning.

C:

Inspect predicate selectivity, partition elimination, split/merge plans, aligned indexes, compression CPU overhead and real data size reduction. These checks primarily test Table partitioning compression and scale-out tradeoffs instead of the critical system behavior in this case. Examine: Compare database offering capabilities, deployment parameters, identity, networking, Fabric integration support, source control and tenant governance before provisioning.

D:

Inspect CPU, data IO, log write, storage, concurrent sessions, DTU/vCore utilization, pool-level pressure and per-database limits. These checks primarily test Azure SQL Database service tiers and elastic pools instead of the critical system behavior in this case. Examine: Compare database offering capabilities, deployment parameters, identity, networking, Fabric integration support, source control and tenant governance before provisioning.

Question 114

A team migrates a database from an on-premises SQL instance to Azure SQL Database and discovers after cutover that an essential SQL Agent job never moved. Which observable result BEST proves the database administration requirement is satisfied?

  1. The migrated service opens with consistent data, working identities and restored application workflows within the agreed maintenance period.
  2. Queries and retention maintenance operate on intended partitions with predictable execution plans, storage growth and acceptable CPU overhead.
  3. The migration plan explicitly maps each source feature to a supported destination behavior and documented remediation before cutover.
  4. After resizing or tuning storage, relevant workload bottlenecks improve without breaching instance compatibility, availability or maintenance requirements.

Explanation

Correct Answer

C:

The migration plan explicitly maps each source feature to a supported destination behavior and documented remediation before cutover. This is the observable database and application outcome rather than merely a saved setting. Successful schema import does not prove that instance-level jobs, security identities and linked dependencies survive a migration.

Incorrect Answers

A:

The migrated service opens with consistent data, working identities and restored application workflows within the agreed maintenance period. This would validate Offline migration and post-migration verification, but it does not establish the required outcome here. Verify instead: The migration plan explicitly maps each source feature to a supported destination behavior and documented remediation before cutover.

B:

Queries and retention maintenance operate on intended partitions with predictable execution plans, storage growth and acceptable CPU overhead. This would validate Table partitioning compression and scale-out tradeoffs, but it does not establish the required outcome here. Verify instead: The migration plan explicitly maps each source feature to a supported destination behavior and documented remediation before cutover.

D:

After resizing or tuning storage, relevant workload bottlenecks improve without breaching instance compatibility, availability or maintenance requirements. This would validate Managed Instance and SQL VM compute storage scaling, but it does not establish the required outcome here. Verify instead: The migration plan explicitly maps each source feature to a supported destination behavior and documented remediation before cutover.

Question 115

A disconnected factory needs compliance reporting for on-premises SQL Server and must design supported Arc connectivity without exposing production databases publicly. Which TWO complementary actions provide the appropriate response AND evidence to verify it? Select TWO.

  1. Use Azure Arc-enabled SQL Server to inventory and govern supported SQL Server instances outside Azure without assuming Arc moves their databases or turns them into PaaS.
  2. Inspect predicate selectivity, partition elimination, split/merge plans, aligned indexes, compression CPU overhead and real data size reduction.
  3. The chosen tier or pool absorbs expected peaks with measured response times while avoiding waste from persistently idle dedicated allocations.
  4. Inspect installed Arc agent/extensions, SQL resource inventory, policy assignments, supported assessment features, connectivity and data residency needs.
  5. Deploy governed Azure SQL resources with repeatable infrastructure templates and evaluate Azure SQL Database in Fabric for supported analytics-connected workflows rather than assuming all workloads are equivalent.

Explanation

Correct Answers

A:

Use Azure Arc-enabled SQL Server to inventory and govern supported SQL Server instances outside Azure without assuming Arc moves their databases or turns them into PaaS. This is the supported administration mechanism for the described workload. Azure Arc projects management and governance into Azure; Arc onboarding is not equivalent to migration or replacing SQL Server backups and patching. Verify with: Inspect installed Arc agent/extensions, SQL resource inventory, policy assignments, supported assessment features, connectivity and data residency needs. It supplies the implementation portion of this complementary answer.

D:

Inspect installed Arc agent/extensions, SQL resource inventory, policy assignments, supported assessment features, connectivity and data residency needs. This is the discriminating system or configuration evidence for the case. Azure Arc projects management and governance into Azure; Arc onboarding is not equivalent to migration or replacing SQL Server backups and patching. Corresponding approach: Use Azure Arc-enabled SQL Server to inventory and govern supported SQL Server instances outside Azure without assuming Arc moves their databases or turns them into PaaS. It supplies the evidence portion of this complementary answer.

Incorrect Answers

B:

Inspect predicate selectivity, partition elimination, split/merge plans, aligned indexes, compression CPU overhead and real data size reduction. This choice pertains to Table partitioning compression and scale-out tradeoffs, not the needed response/evidence pair. Use: Use Azure Arc-enabled SQL Server to inventory and govern supported SQL Server instances outside Azure without assuming Arc moves their databases or turns them into PaaS. Check: Inspect installed Arc agent/extensions, SQL resource inventory, policy assignments, supported assessment features, connectivity and data residency needs.

C:

The chosen tier or pool absorbs expected peaks with measured response times while avoiding waste from persistently idle dedicated allocations. This choice pertains to Azure SQL Database service tiers and elastic pools, not the needed response/evidence pair. Use: Use Azure Arc-enabled SQL Server to inventory and govern supported SQL Server instances outside Azure without assuming Arc moves their databases or turns them into PaaS. Check: Inspect installed Arc agent/extensions, SQL resource inventory, policy assignments, supported assessment features, connectivity and data residency needs.

E:

Deploy governed Azure SQL resources with repeatable infrastructure templates and evaluate Azure SQL Database in Fabric for supported analytics-connected workflows rather than assuming all workloads are equivalent. This choice pertains to Azure SQL deployment automation and Fabric SQL integration boundary, not the needed response/evidence pair. Use: Use Azure Arc-enabled SQL Server to inventory and govern supported SQL Server instances outside Azure without assuming Arc moves their databases or turns them into PaaS. Check: Inspect installed Arc agent/extensions, SQL resource inventory, policy assignments, supported assessment features, connectivity and data residency needs.

Question 116

A disaster exercise expects the log-shipping secondary to accept writes automatically after the primary VM becomes unavailable without a recovery step. Which diagnostic evidence should the database administrator check FIRST?

  1. Inspect database recovery model, complete backup-chain LSNs, log backup cadence, backup checksums, database state and recovery target.
  2. Inspect backup URL, SAS or managed identity support by SQL version, container permissions, encryption/certificate material, backup headers and RESTORE VERIFYONLY caveats.
  3. Inspect monitor-server history, last backup/copied/restored times, log chain continuity, share access, standby mode and restore delay.
  4. Inspect shared disk or supported file-share topology, Windows cluster validation, storage permissions, listener name, resource ownership and node failover tests.

Explanation

Correct Answer

C:

Inspect monitor-server history, last backup/copied/restored times, log chain continuity, share access, standby mode and restore delay. This is the discriminating system or configuration evidence for the case. Log shipping is backup-copy-restore orchestration, not synchronous automatic database failover or a substitute for manual application cutover. Corresponding approach: Configure SQL Server log shipping across supported instances with reliable log backup, copy and restore schedules, delay and standby policies, then test manual recovery and ownership of jobs.

Incorrect Answers

A:

Inspect database recovery model, complete backup-chain LSNs, log backup cadence, backup checksums, database state and recovery target. These checks primarily test SQL Server native backup chain and recovery model instead of the critical system behavior in this case. Examine: Inspect monitor-server history, last backup/copied/restored times, log chain continuity, share access, standby mode and restore delay.

B:

Inspect backup URL, SAS or managed identity support by SQL version, container permissions, encryption/certificate material, backup headers and RESTORE VERIFYONLY caveats. These checks primarily test Backup to Azure Blob URL and tested cloud restore instead of the critical system behavior in this case. Examine: Inspect monitor-server history, last backup/copied/restored times, log chain continuity, share access, standby mode and restore delay.

D:

Inspect shared disk or supported file-share topology, Windows cluster validation, storage permissions, listener name, resource ownership and node failover tests. These checks primarily test SQL Server failover cluster instances shared storage constraints instead of the critical system behavior in this case. Examine: Inspect monitor-server history, last backup/copied/restored times, log chain continuity, share access, standby mode and restore delay.

Question 117

A near-complete online migration is cut over while the data replication lag remains high and recent orders are missing on the destination. Which Azure SQL or SQL Server administrative approach is MOST appropriate?

  1. Use Azure Arc-enabled SQL Server to inventory and govern supported SQL Server instances outside Azure without assuming Arc moves their databases or turns them into PaaS.
  2. Choose a supported online migration path with ongoing data synchronization when a tight outage window requires it, and plan explicit final cutover, validation and rollback checkpoints.
  3. Use supported backup/restore, BACPAC or database-copy methods based on source/target compatibility and offline downtime budget, then validate security, consistency and performance after migration.
  4. Implement supported partition functions and aligned partition schemes for lifecycle-aware large tables, and choose row, page or columnstore compression only after measuring query and maintenance effects.

Explanation

Correct Answer

B:

Choose a supported online migration path with ongoing data synchronization when a tight outage window requires it, and plan explicit final cutover, validation and rollback checkpoints. This is the supported administration mechanism for the described workload. Online migration reduces downtime but is not automatically zero-downtime; final synchronization, traffic redirection and application tests still matter. Verify with: Inspect migration replication health, source change rate, lag, database compatibility, authentication, connection-string cutover and residual transaction state.

Incorrect Answers

A:

Use Azure Arc-enabled SQL Server to inventory and govern supported SQL Server instances outside Azure without assuming Arc moves their databases or turns them into PaaS. This addresses Azure Arc-enabled SQL and hybrid fleet governance, not the controlling requirement here. Azure Arc projects management and governance into Azure; Arc onboarding is not equivalent to migration or replacing SQL Server backups and patching. Prefer: Choose a supported online migration path with ongoing data synchronization when a tight outage window requires it, and plan explicit final cutover, validation and rollback checkpoints.

C:

Use supported backup/restore, BACPAC or database-copy methods based on source/target compatibility and offline downtime budget, then validate security, consistency and performance after migration. This addresses Offline migration and post-migration verification, not the controlling requirement here. A BACPAC export captures schema and data for applicable databases but is not an instance backup that automatically recreates all server features and jobs. Prefer: Choose a supported online migration path with ongoing data synchronization when a tight outage window requires it, and plan explicit final cutover, validation and rollback checkpoints.

D:

Implement supported partition functions and aligned partition schemes for lifecycle-aware large tables, and choose row, page or columnstore compression only after measuring query and maintenance effects. This addresses Table partitioning compression and scale-out tradeoffs, not the controlling requirement here. Partitioning alone does not make every query faster; indexes and predicate alignment determine pruning and compression may trade CPU for IO. Prefer: Choose a supported online migration path with ongoing data synchronization when a tight outage window requires it, and plan explicit final cutover, validation and rollback checkpoints.

Question 118

A new SaaS app needs isolated managed databases and automated patching but a team proposes maintaining full SQL Server VMs for every tenant. Which observable result BEST proves the database administration requirement is satisfied?

  1. The deployed database meets compatibility and service-management requirements without unnecessary virtual-machine maintenance or unsupported instance features.
  2. New environment deployments match approved SKU, networking and identities while Fabric access follows supported synchronization and permission boundaries.
  3. Administrators can view authorized hybrid SQL inventory and policy findings while database files remain in their existing managed locations.
  4. The migration plan explicitly maps each source feature to a supported destination behavior and documented remediation before cutover.

Explanation

Correct Answer

A:

The deployed database meets compatibility and service-management requirements without unnecessary virtual-machine maintenance or unsupported instance features. This is the observable database and application outcome rather than merely a saved setting. A managed database offering does not necessarily expose every SQL Server instance feature; platform responsibility differs from SQL Server on a VM.

Incorrect Answers

B:

New environment deployments match approved SKU, networking and identities while Fabric access follows supported synchronization and permission boundaries. This would validate Azure SQL deployment automation and Fabric SQL integration boundary, but it does not establish the required outcome here. Verify instead: The deployed database meets compatibility and service-management requirements without unnecessary virtual-machine maintenance or unsupported instance features.

C:

Administrators can view authorized hybrid SQL inventory and policy findings while database files remain in their existing managed locations. This would validate Azure Arc-enabled SQL and hybrid fleet governance, but it does not establish the required outcome here. Verify instead: The deployed database meets compatibility and service-management requirements without unnecessary virtual-machine maintenance or unsupported instance features.

D:

The migration plan explicitly maps each source feature to a supported destination behavior and documented remediation before cutover. This would validate Azure SQL migration assessment and feature compatibility, but it does not establish the required outcome here. Verify instead: The deployed database meets compatibility and service-management requirements without unnecessary virtual-machine maintenance or unsupported instance features.

Question 119

A nightly workload deadlocks with an online update because two procedures acquire shared resources in opposite orders. Which Azure SQL or SQL Server administrative approach is MOST appropriate?

  1. Use Resource Governor on supported SQL Server platforms for workload classification and resource controls, while choosing Azure SQL compute tier and database-scoped settings appropriately for PaaS.
  2. Use Extended Events sessions to capture targeted SQL events and wait/blocking evidence with bounded collection and a safe target rather than enabling excessive full-query traces in production.
  3. Review actual execution plans, predicate sargability, cardinality estimates and suitable index designs before adding indexes or scaling hardware.
  4. Diagnose blocked and deadlocked sessions using live DMVs and deadlock graphs, then fix transaction scope, indexing or isolation behavior with concurrency tests.

Explanation

Correct Answer

D:

Diagnose blocked and deadlocked sessions using live DMVs and deadlock graphs, then fix transaction scope, indexing or isolation behavior with concurrency tests. This is the supported administration mechanism for the described workload. Raising an app timeout does not remove a blocking root cause; snapshot isolation can reduce some reader/writer contention but changes version-store behavior. Verify with: Inspect blocker/waiter SPIDs, wait_resource, open transactions, deadlock XML, isolation level, lock escalation and transaction duration.

Incorrect Answers

A:

Use Resource Governor on supported SQL Server platforms for workload classification and resource controls, while choosing Azure SQL compute tier and database-scoped settings appropriately for PaaS. This addresses Resource Governor and scoped compute configuration, not the controlling requirement here. Resource Governor is not uniformly offered on every Azure SQL service, and workload isolation cannot be achieved simply by setting an unrelated database-scoped knob. Prefer: Diagnose blocked and deadlocked sessions using live DMVs and deadlock graphs, then fix transaction scope, indexing or isolation behavior with concurrency tests.

B:

Use Extended Events sessions to capture targeted SQL events and wait/blocking evidence with bounded collection and a safe target rather than enabling excessive full-query traces in production. This addresses Extended Events and workload-specific incident evidence, not the controlling requirement here. Extended Events supports focused diagnostic collection; an unfiltered high-volume session can itself increase production overhead and leak query text. Prefer: Diagnose blocked and deadlocked sessions using live DMVs and deadlock graphs, then fix transaction scope, indexing or isolation behavior with concurrency tests.

C:

Review actual execution plans, predicate sargability, cardinality estimates and suitable index designs before adding indexes or scaling hardware. This addresses Execution plans cardinality and indexing improvements, not the controlling requirement here. A missing-index suggestion is a starting hypothesis, not a license to create every suggested index; SARGable predicates and accurate estimates matter. Prefer: Diagnose blocked and deadlocked sessions using live DMVs and deadlock graphs, then fix transaction scope, indexing or isolation behavior with concurrency tests.

Question 120

A SaaS database has a geo-secondary but its client continues writing to the old primary after failover because the connection string uses a fixed server endpoint. Which observable result BEST proves the database administration requirement is satisfied?

  1. Measured failover and restoration exercises meet agreed data loss and recovery time limits without confusing uptime redundancy with recoverability.
  2. After a planned or forced failover the intended database endpoint serves valid writes and read-only workloads under documented consistency limits.
  3. The secondary replays the intended log sequence and can be recovered with documented RPO/RTO and acceptable data loss when primary fails.
  4. The application reconnects through the intended endpoint after a tested supported failover, with documented possible data loss and read/write behavior.

Explanation

Correct Answer

B:

After a planned or forced failover the intended database endpoint serves valid writes and read-only workloads under documented consistency limits. This is the observable database and application outcome rather than merely a saved setting. Geo-replication is normally asynchronous and does not guarantee all uncommitted or recently committed data survives a forced regional failover.

Incorrect Answers

A:

Measured failover and restoration exercises meet agreed data loss and recovery time limits without confusing uptime redundancy with recoverability. This would validate RPO RTO strategy and availability versus recovery, but it does not establish the required outcome here. Verify instead: After a planned or forced failover the intended database endpoint serves valid writes and read-only workloads under documented consistency limits.

C:

The secondary replays the intended log sequence and can be recovered with documented RPO/RTO and acceptable data loss when primary fails. This would validate Log shipping health and recovery orchestration, but it does not establish the required outcome here. Verify instead: After a planned or forced failover the intended database endpoint serves valid writes and read-only workloads under documented consistency limits.

D:

The application reconnects through the intended endpoint after a tested supported failover, with documented possible data loss and read/write behavior. This would validate Azure SQL failover groups versus active geo replication decisions, but it does not establish the required outcome here. Verify instead: After a planned or forced failover the intended database endpoint serves valid writes and read-only workloads under documented consistency limits.

Administering Microsoft Azure SQL Solutions (DP-300) Practice Tests