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 33

Question 320

An app passes database row-count checks but its connection pool still sends writes to the legacy on-premises server after the planned cutover. Which diagnostic evidence should the database administrator check FIRST?

  1. Collect source version, compatibility level, blockers, logins, SQL Agent jobs, linked servers, TDE key dependencies, storage size and application integration map.
  2. Inspect migration replication health, source change rate, lag, database compatibility, authentication, connection-string cutover and residual transaction state.
  3. Inspect predicate selectivity, partition elimination, split/merge plans, aligned indexes, compression CPU overhead and real data size reduction.
  4. Compare database offering capabilities, deployment parameters, identity, networking, Fabric integration support, source control and tenant governance before provisioning.

Explanation

Correct Answer

B:

Inspect migration replication health, source change rate, lag, database compatibility, authentication, connection-string cutover and residual transaction state. This is the discriminating system or configuration evidence for the case. Online migration reduces downtime but is not automatically zero-downtime; final synchronization, traffic redirection and application tests still matter. Corresponding approach: 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.

Incorrect Answers

A:

Collect source version, compatibility level, blockers, logins, SQL Agent jobs, linked servers, TDE key dependencies, storage size and application integration map. These checks primarily test Azure SQL migration assessment and feature compatibility instead of the critical system behavior in this case. Examine: Inspect migration replication health, source change rate, lag, database compatibility, authentication, connection-string cutover and residual transaction state.

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: Inspect migration replication health, source change rate, lag, database compatibility, authentication, connection-string cutover and residual transaction state.

D:

Compare database offering capabilities, deployment parameters, identity, networking, Fabric integration support, source control and tenant governance before provisioning. These checks primarily test Azure SQL deployment automation and Fabric SQL integration boundary instead of the critical system behavior in this case. Examine: Inspect migration replication health, source change rate, lag, database compatibility, authentication, connection-string cutover and residual transaction state.

Question 321

A DBA disables intelligent query processing globally because one query regressed after a compatibility-level change, without isolating the affected feature. Which observable result BEST proves the database administration requirement is satisfied?

  1. A representative mix of small and large parameter executions achieves stable resource use, with intelligent feature effects monitored over time.
  2. Operators detect regressions against representative baseline periods and can link database symptoms to trustworthy collected performance evidence.
  3. Long blocking chains shorten and transaction correctness remains valid after safe tuning, with deadlock retry policy and consistency requirements addressed.
  4. Alerts fire for meaningful sustained database risk while log delivery and missing-metric gaps are independently observable.

Explanation

Correct Answer

A:

A representative mix of small and large parameter executions achieves stable resource use, with intelligent feature effects monitored over time. This is the observable database and application outcome rather than merely a saved setting. Intelligent recommendations require contextual validation; SQL intelligent query processing features depend on engine version, database compatibility and workload shape.

Incorrect Answers

B:

Operators detect regressions against representative baseline periods and can link database symptoms to trustworthy collected performance evidence. This would validate Database watcher and Azure SQL monitoring baseline, but it does not establish the required outcome here. Verify instead: A representative mix of small and large parameter executions achieves stable resource use, with intelligent feature effects monitored over time.

C:

Long blocking chains shorten and transaction correctness remains valid after safe tuning, with deadlock retry policy and consistency requirements addressed. This would validate Blocking deadlocks and isolation strategy, but it does not establish the required outcome here. Verify instead: A representative mix of small and large parameter executions achieves stable resource use, with intelligent feature effects monitored over time.

D:

Alerts fire for meaningful sustained database risk while log delivery and missing-metric gaps are independently observable. This would validate Azure Monitor alerts diagnostics and resource metrics, but it does not establish the required outcome here. Verify instead: A representative mix of small and large parameter executions achieves stable resource use, with intelligent feature effects monitored over time.

Question 322

A near-complete online migration is cut over while the data replication lag remains high and recent orders are missing on the destination. Which diagnostic evidence should the database administrator check FIRST?

  1. Inspect predicate selectivity, partition elimination, split/merge plans, aligned indexes, compression CPU overhead and real data size reduction.
  2. Collect source version, compatibility level, blockers, logins, SQL Agent jobs, linked servers, TDE key dependencies, storage size and application integration map.
  3. Inspect backup format, target offering limits, export size, authentication mapping, integrity checks, DBCC findings, workload baselines and cutover test results.
  4. Inspect migration replication health, source change rate, lag, database compatibility, authentication, connection-string cutover and residual transaction state.

Explanation

Correct Answer

D:

Inspect migration replication health, source change rate, lag, database compatibility, authentication, connection-string cutover and residual transaction state. This is the discriminating system or configuration evidence for the case. Online migration reduces downtime but is not automatically zero-downtime; final synchronization, traffic redirection and application tests still matter. Corresponding approach: 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.

Incorrect Answers

A:

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: Inspect migration replication health, source change rate, lag, database compatibility, authentication, connection-string cutover and residual transaction state.

B:

Collect source version, compatibility level, blockers, logins, SQL Agent jobs, linked servers, TDE key dependencies, storage size and application integration map. These checks primarily test Azure SQL migration assessment and feature compatibility instead of the critical system behavior in this case. Examine: Inspect migration replication health, source change rate, lag, database compatibility, authentication, connection-string cutover and residual transaction state.

C:

Inspect backup format, target offering limits, export size, authentication mapping, integrity checks, DBCC findings, workload baselines and cutover test results. These checks primarily test Offline migration and post-migration verification instead of the critical system behavior in this case. Examine: Inspect migration replication health, source change rate, lag, database compatibility, authentication, connection-string cutover and residual transaction state.

Question 323

A DBA adds a dozen covering indexes from DMV hints and discovers each write now updates many indexes while response time barely improves. Which Azure SQL or SQL Server administrative approach is MOST appropriate?

  1. Configure supported metrics, diagnostic settings and alerts for Azure SQL resources to detect real performance or availability regressions with correct thresholds and missing-data treatment.
  2. Distinguish compute, data IO, log IO, memory and blocking contention using correlated counters, wait types and workload-specific thresholds before changing resources.
  3. 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.
  4. Review actual execution plans, predicate sargability, cardinality estimates and suitable index designs before adding indexes or scaling hardware.

Explanation

Correct Answer

D:

Review actual execution plans, predicate sargability, cardinality estimates and suitable index designs before adding indexes or scaling hardware. This is the supported administration mechanism for the described workload. A missing-index suggestion is a starting hypothesis, not a license to create every suggested index; SARGable predicates and accurate estimates matter. Verify with: Inspect scans/seeks, key lookup counts, implicit conversions, estimated-versus-actual rows, missing-index recommendations and write amplification.

Incorrect Answers

A:

Configure supported metrics, diagnostic settings and alerts for Azure SQL resources to detect real performance or availability regressions with correct thresholds and missing-data treatment. This addresses Azure Monitor alerts diagnostics and resource metrics, not the controlling requirement here. A low CPU value does not mean an app is healthy; incorrect aggregation or missing telemetry can hide blocked sessions and failures. Prefer: Review actual execution plans, predicate sargability, cardinality estimates and suitable index designs before adding indexes or scaling hardware.

B:

Distinguish compute, data IO, log IO, memory and blocking contention using correlated counters, wait types and workload-specific thresholds before changing resources. This addresses SQL operational baseline across waits locks and storage, not the controlling requirement here. One wait type alone is not a universal diagnosis; waits, plan behavior, request duration and resource data must be read together. Prefer: Review actual execution plans, predicate sargability, cardinality estimates and suitable index designs before adding indexes or scaling hardware.

C:

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 addresses Query Store plan regressions and forced plans, not the controlling requirement here. Forcing a historical plan can mitigate a regression but does not make poor statistics or parameter sensitivity disappear and may fail after schema changes. Prefer: Review actual execution plans, predicate sargability, cardinality estimates and suitable index designs before adding indexes or scaling hardware.

Question 324

A deployment job has Contributor on an Azure resource group but fails its SQL table modifications because no database principal was granted access. Which diagnostic evidence should the database administrator check FIRST?

  1. Inspect job history return status, Database Mail profile, operator assignment, alert severity, retry steps, failure branching and delivery errors.
  2. Inspect SQL Agent service state, job owner, proxy or credential, step subsystem, schedules, permissions, execution history and target database.
  3. Review subscription context, service principal or managed identity, Azure RBAC role, API response, database resource state and script error handling.
  4. Inspect template parameters, deployment scope, what-if output, module dependencies, identity role assignments and post-deploy effective configuration.

Explanation

Correct Answer

C:

Review subscription context, service principal or managed identity, Azure RBAC role, API response, database resource state and script error handling. This is the discriminating system or configuration evidence for the case. Azure RBAC permissions to create an Azure SQL server do not imply arbitrary T-SQL data access to every user database. Corresponding approach: Use Az PowerShell or Azure CLI in authenticated deployment workflows with the minimum Azure RBAC rights and explicit resource/subscription selection to manage approved SQL resources.

Incorrect Answers

A:

Inspect job history return status, Database Mail profile, operator assignment, alert severity, retry steps, failure branching and delivery errors. These checks primarily test SQL Agent alerts operators and failure notifications instead of the critical system behavior in this case. Examine: Review subscription context, service principal or managed identity, Azure RBAC role, API response, database resource state and script error handling.

B:

Inspect SQL Agent service state, job owner, proxy or credential, step subsystem, schedules, permissions, execution history and target database. These checks primarily test SQL Server Agent schedules and job ownership instead of the critical system behavior in this case. Examine: Review subscription context, service principal or managed identity, Azure RBAC role, API response, database resource state and script error handling.

D:

Inspect template parameters, deployment scope, what-if output, module dependencies, identity role assignments and post-deploy effective configuration. These checks primarily test ARM and Bicep declarative Azure SQL provisioning instead of the critical system behavior in this case. Examine: Review subscription context, service principal or managed identity, Azure RBAC role, API response, database resource state and script error handling.

Question 325

A SQL Server VM runs ETL and latency-sensitive OLTP together, and a batch report monopolizes CPU during business hours. Which TWO complementary actions provide the appropriate response AND evidence to verify it? Select TWO.

  1. Inspect supported platform, classifier function, workload groups, CPU and memory caps, connection routing, database-scoped settings and compute metrics.
  2. 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.
  3. Inspect scans/seeks, key lookup counts, implicit conversions, estimated-versus-actual rows, missing-index recommendations and write amplification.
  4. Use supported Azure SQL automatic tuning or IQP features with monitoring and safety controls; verify supported recommendations and their observed effect before treating them as universal fixes.
  5. A problematic query recovers representative execution time without forcing a plan that fails under other parameter or schema conditions.

Explanation

Correct Answers

A:

Inspect supported platform, classifier function, workload groups, CPU and memory caps, connection routing, database-scoped settings and compute metrics. This is the discriminating system or configuration evidence for the case. 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. Corresponding approach: 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. It supplies the evidence portion of this complementary answer.

B:

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 is the supported administration mechanism for the described workload. 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. Verify with: Inspect supported platform, classifier function, workload groups, CPU and memory caps, connection routing, database-scoped settings and compute metrics. It supplies the implementation portion of this complementary answer.

Incorrect Answers

C:

Inspect scans/seeks, key lookup counts, implicit conversions, estimated-versus-actual rows, missing-index recommendations and write amplification. This choice pertains to Execution plans cardinality and indexing improvements, not the needed response/evidence pair. Use: 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. Check: Inspect supported platform, classifier function, workload groups, CPU and memory caps, connection routing, database-scoped settings and compute metrics.

D:

Use supported Azure SQL automatic tuning or IQP features with monitoring and safety controls; verify supported recommendations and their observed effect before treating them as universal fixes. This choice pertains to Automatic tuning and intelligent query processing guardrails, not the needed response/evidence pair. Use: 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. Check: Inspect supported platform, classifier function, workload groups, CPU and memory caps, connection routing, database-scoped settings and compute metrics.

E:

A problematic query recovers representative execution time without forcing a plan that fails under other parameter or schema conditions. This choice pertains to Query Store plan regressions and forced plans, not the needed response/evidence pair. Use: 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. Check: Inspect supported platform, classifier function, workload groups, CPU and memory caps, connection routing, database-scoped settings and compute metrics.

Question 326

A nightly workload deadlocks with an online update because two procedures acquire shared resources in opposite orders. Which diagnostic evidence should the database administrator check FIRST?

  1. Inspect diagnostic recommendations, Query Store plan variability, runtime skew, parameter compilation, memory grant feedback and database compatibility settings.
  2. Inspect blocker/waiter SPIDs, wait_resource, open transactions, deadlock XML, isolation level, lock escalation and transaction duration.
  3. Check automatic tuning mode, automatic plan correction state, index create/drop recommendations, plan verification, workload compatibility level and rollback events.
  4. Inspect event session predicates, event fields, ring buffer or event file targets, dropped events, blocked process reports and collection overhead.

Explanation

Correct Answer

B:

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

Incorrect Answers

A:

Inspect diagnostic recommendations, Query Store plan variability, runtime skew, parameter compilation, memory grant feedback and database compatibility settings. These checks primarily test Intelligent Insights and parameter-sensitive query analysis instead of the critical system behavior in this case. Examine: Inspect blocker/waiter SPIDs, wait_resource, open transactions, deadlock XML, isolation level, lock escalation and transaction duration.

C:

Check automatic tuning mode, automatic plan correction state, index create/drop recommendations, plan verification, workload compatibility level and rollback events. These checks primarily test Automatic tuning and intelligent query processing guardrails instead of the critical system behavior in this case. Examine: Inspect blocker/waiter SPIDs, wait_resource, open transactions, deadlock XML, isolation level, lock escalation and transaction duration.

D:

Inspect event session predicates, event fields, ring buffer or event file targets, dropped events, blocked process reports and collection overhead. These checks primarily test Extended Events and workload-specific incident evidence instead of the critical system behavior in this case. Examine: Inspect blocker/waiter SPIDs, wait_resource, open transactions, deadlock XML, isolation level, lock escalation and transaction duration.

Question 327

A nightly ingestion pipeline reports slow commits with high WRITELOG waits while the team recommends rebuilding unrelated nonclustered indexes first. Which Azure SQL or SQL Server administrative approach is MOST appropriate?

  1. 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.
  2. Distinguish compute, data IO, log IO, memory and blocking contention using correlated counters, wait types and workload-specific thresholds before changing resources.
  3. 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.
  4. Schedule integrity checks, index and statistics maintenance based on measured fragmentation, modification rates and SLA rather than indiscriminately rebuilding every object each night.

Explanation

Correct Answer

B:

Distinguish compute, data IO, log IO, memory and blocking contention using correlated counters, wait types and workload-specific thresholds before changing resources. This is the supported administration mechanism for the described workload. One wait type alone is not a universal diagnosis; waits, plan behavior, request duration and resource data must be read together. Verify with: Compare CPU versus runnable tasks, WRITELOG, PAGEIOLATCH, resource governance, connection counts, tempdb usage, storage latency and times of workload change.

Incorrect Answers

A:

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 addresses Query Store plan regressions and forced plans, not the controlling requirement here. Forcing a historical plan can mitigate a regression but does not make poor statistics or parameter sensitivity disappear and may fail after schema changes. Prefer: Distinguish compute, data IO, log IO, memory and blocking contention using correlated counters, wait types and workload-specific thresholds before changing resources.

C:

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: Distinguish compute, data IO, log IO, memory and blocking contention using correlated counters, wait types and workload-specific thresholds before changing resources.

D:

Schedule integrity checks, index and statistics maintenance based on measured fragmentation, modification rates and SLA rather than indiscriminately rebuilding every object each night. This addresses Index and statistics maintenance with targeted cadence, not the controlling requirement here. Small index fragmentation percentages do not automatically justify full rebuild; large rebuilds consume log space and can block workloads. Prefer: Distinguish compute, data IO, log IO, memory and blocking contention using correlated counters, wait types and workload-specific thresholds before changing resources.

Question 328

An external vendor with UNMASK privileges sees complete account numbers even though the query results were masked during user acceptance tests. Which diagnostic evidence should the database administrator check FIRST?

  1. Inspect SESSION_CONTEXT usage, predicate function logic, policy state, object permissions, execution plans and cross-tenant test accounts.
  2. Inspect tenant and server Entra administrator settings, token audience, user mapping, group membership, service principal, role grants and sign-in failures.
  3. Inspect sensitivity labels, masking expressions, UNMASK permissions, privileged role membership and direct query behavior across application identities.
  4. Inspect server-level and database-level firewall rules, private endpoint approval and DNS, VNet/subnet routing, public network access status and certificate validation.

Explanation

Correct Answer

C:

Inspect sensitivity labels, masking expressions, UNMASK permissions, privileged role membership and direct query behavior across application identities. This is the discriminating system or configuration evidence for the case. Dynamic Data Masking is not encryption or a complete defense against inference; administrators and UNMASK principals can still access original values. Corresponding approach: Classify sensitive columns, apply supported Dynamic Data Masking only for presentation control, and use encryption or RLS when stronger confidentiality is required.

Incorrect Answers

A:

Inspect SESSION_CONTEXT usage, predicate function logic, policy state, object permissions, execution plans and cross-tenant test accounts. These checks primarily test Row-level security and ownership predicates instead of the critical system behavior in this case. Examine: Inspect sensitivity labels, masking expressions, UNMASK permissions, privileged role membership and direct query behavior across application identities.

B:

Inspect tenant and server Entra administrator settings, token audience, user mapping, group membership, service principal, role grants and sign-in failures. These checks primarily test Microsoft Entra authentication with contained service identity instead of the critical system behavior in this case. Examine: Inspect sensitivity labels, masking expressions, UNMASK permissions, privileged role membership and direct query behavior across application identities.

D:

Inspect server-level and database-level firewall rules, private endpoint approval and DNS, VNet/subnet routing, public network access status and certificate validation. These checks primarily test Azure SQL private endpoints firewall and TLS boundary instead of the critical system behavior in this case. Examine: Inspect sensitivity labels, masking expressions, UNMASK permissions, privileged role membership and direct query behavior across application identities.

Question 329

An unattended PowerShell script prompts interactively for credentials and hangs when run inside a headless CI runner. Which TWO complementary actions provide the appropriate response AND evidence to verify it? Select TWO.

  1. Monitor Azure resource deployments and resolve failed dependencies or policy denials using logs and change review, with safe rollback plans for data-bearing SQL resources.
  2. Use Az PowerShell or Azure CLI in authenticated deployment workflows with the minimum Azure RBAC rights and explicit resource/subscription selection to manage approved SQL resources.
  3. Inspect step command, proxy token, connection defaults, deadlocks, Agent history output, last success timestamp and job rerun behavior.
  4. Review subscription context, service principal or managed identity, Azure RBAC role, API response, database resource state and script error handling.
  5. The maintenance job executes on the approved cadence with least-privilege identity and traceable execution logs without depending on a personal admin login.

Explanation

Correct Answers

B:

Use Az PowerShell or Azure CLI in authenticated deployment workflows with the minimum Azure RBAC rights and explicit resource/subscription selection to manage approved SQL resources. This is the supported administration mechanism for the described workload. Azure RBAC permissions to create an Azure SQL server do not imply arbitrary T-SQL data access to every user database. Verify with: Review subscription context, service principal or managed identity, Azure RBAC role, API response, database resource state and script error handling. It supplies the implementation portion of this complementary answer.

D:

Review subscription context, service principal or managed identity, Azure RBAC role, API response, database resource state and script error handling. This is the discriminating system or configuration evidence for the case. Azure RBAC permissions to create an Azure SQL server do not imply arbitrary T-SQL data access to every user database. Corresponding approach: Use Az PowerShell or Azure CLI in authenticated deployment workflows with the minimum Azure RBAC rights and explicit resource/subscription selection to manage approved SQL resources. It supplies the evidence portion of this complementary answer.

Incorrect Answers

A:

Monitor Azure resource deployments and resolve failed dependencies or policy denials using logs and change review, with safe rollback plans for data-bearing SQL resources. This choice pertains to Deployment monitoring rollback and drift reconciliation, not the needed response/evidence pair. Use: Use Az PowerShell or Azure CLI in authenticated deployment workflows with the minimum Azure RBAC rights and explicit resource/subscription selection to manage approved SQL resources. Check: Review subscription context, service principal or managed identity, Azure RBAC role, API response, database resource state and script error handling.

C:

Inspect step command, proxy token, connection defaults, deadlocks, Agent history output, last success timestamp and job rerun behavior. This choice pertains to SQL Agent job troubleshooting and idempotent maintenance, not the needed response/evidence pair. Use: Use Az PowerShell or Azure CLI in authenticated deployment workflows with the minimum Azure RBAC rights and explicit resource/subscription selection to manage approved SQL resources. Check: Review subscription context, service principal or managed identity, Azure RBAC role, API response, database resource state and script error handling.

E:

The maintenance job executes on the approved cadence with least-privilege identity and traceable execution logs without depending on a personal admin login. This choice pertains to SQL Server Agent schedules and job ownership, not the needed response/evidence pair. Use: Use Az PowerShell or Azure CLI in authenticated deployment workflows with the minimum Azure RBAC rights and explicit resource/subscription selection to manage approved SQL resources. Check: Review subscription context, service principal or managed identity, Azure RBAC role, API response, database resource state and script error handling.

Question 330

A maintenance script reports success on index rebuilds but never runs a database integrity check after repeated storage-layer errors. Which diagnostic evidence should the database administrator check FIRST?

  1. Check automatic tuning mode, automatic plan correction state, index create/drop recommendations, plan verification, workload compatibility level and rollback events.
  2. Inspect Query Store capture mode, runtime statistics, plan IDs, compatibility level, force-plan failure reasons and workload parameter distributions.
  3. Inspect index page counts, fragmentation relevance, row modification counters, statistics age, update thresholds, DBCC CHECKDB results and blocking windows.
  4. Inspect scans/seeks, key lookup counts, implicit conversions, estimated-versus-actual rows, missing-index recommendations and write amplification.

Explanation

Correct Answer

C:

Inspect index page counts, fragmentation relevance, row modification counters, statistics age, update thresholds, DBCC CHECKDB results and blocking windows. This is the discriminating system or configuration evidence for the case. Small index fragmentation percentages do not automatically justify full rebuild; large rebuilds consume log space and can block workloads. Corresponding approach: Schedule integrity checks, index and statistics maintenance based on measured fragmentation, modification rates and SLA rather than indiscriminately rebuilding every object each night.

Incorrect Answers

A:

Check automatic tuning mode, automatic plan correction state, index create/drop recommendations, plan verification, workload compatibility level and rollback events. These checks primarily test Automatic tuning and intelligent query processing guardrails instead of the critical system behavior in this case. Examine: Inspect index page counts, fragmentation relevance, row modification counters, statistics age, update thresholds, DBCC CHECKDB results and blocking windows.

B:

Inspect Query Store capture mode, runtime statistics, plan IDs, compatibility level, force-plan failure reasons and workload parameter distributions. These checks primarily test Query Store plan regressions and forced plans instead of the critical system behavior in this case. Examine: Inspect index page counts, fragmentation relevance, row modification counters, statistics age, update thresholds, DBCC CHECKDB results and blocking windows.

D:

Inspect scans/seeks, key lookup counts, implicit conversions, estimated-versus-actual rows, missing-index recommendations and write amplification. These checks primarily test Execution plans cardinality and indexing improvements instead of the critical system behavior in this case. Examine: Inspect index page counts, fragmentation relevance, row modification counters, statistics age, update thresholds, DBCC CHECKDB results and blocking windows.

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