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 37

Question 360

An elastic pool reaches its shared CPU ceiling during a coordinated monthly batch and individual databases start timing out despite spare storage. Which observable result BEST proves the database administration requirement is satisfied?

  1. The chosen tier or pool absorbs expected peaks with measured response times while avoiding waste from persistently idle dedicated allocations.
  2. The migration plan explicitly maps each source feature to a supported destination behavior and documented remediation before cutover.
  3. The destination is consistent at an accepted cutover point, applications use the intended endpoint, and rollback criteria are documented before retirement of source.
  4. Queries and retention maintenance operate on intended partitions with predictable execution plans, storage growth and acceptable CPU overhead.

Explanation

Correct Answer

A:

The chosen tier or pool absorbs expected peaks with measured response times while avoiding waste from persistently idle dedicated allocations. This is the observable database and application outcome rather than merely a saved setting. Elastic pools share resources across eligible Azure SQL databases; adding a pool cannot eliminate an individual database's workload or resource configuration limits.

Incorrect Answers

B:

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 chosen tier or pool absorbs expected peaks with measured response times while avoiding waste from persistently idle dedicated allocations.

C:

The destination is consistent at an accepted cutover point, applications use the intended endpoint, and rollback criteria are documented before retirement of source. This would validate Online migration with controlled cutover and validation, but it does not establish the required outcome here. Verify instead: The chosen tier or pool absorbs expected peaks with measured response times while avoiding waste from persistently idle dedicated allocations.

D:

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 chosen tier or pool absorbs expected peaks with measured response times while avoiding waste from persistently idle dedicated allocations.

Question 361

A retail platform permits only a ten-minute maintenance window but engineers select a one-time offline backup restore that takes several hours. Which Azure SQL or SQL Server administrative approach is MOST appropriate?

  1. 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.
  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 a current migration assessment to inventory database dependencies, unsupported features, downtime constraints and target platform compatibility before moving data.
  4. Size Managed Instance and SQL Server VM compute, storage latency and throughput using performance evidence, including correct storage-layout and platform support limits.

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 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.

C:

Use a current migration assessment to inventory database dependencies, unsupported features, downtime constraints and target platform compatibility before moving data. This addresses Azure SQL migration assessment and feature compatibility, not the controlling requirement here. Successful schema import does not prove that instance-level jobs, security identities and linked dependencies survive a migration. 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:

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 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 362

An operator creates a SQL login in master on Managed Instance yet finds the user has no access to a target user database. Which Azure SQL or SQL Server administrative approach is MOST appropriate?

  1. Protect targeted sensitive objects through supported SQL encryption functions, key hierarchy and application threat model while distinguishing column encryption from network and storage encryption.
  2. Configure supported Microsoft Entra authentication and database users or contained identities for Azure SQL, ensuring the application principal receives only required permissions.
  3. Select Entra or SQL authentication deliberately for Azure SQL Database, Managed Instance and SQL Server VMs based on platform support, application constraints and security controls.
  4. Enable supported Transparent Data Encryption and choose managed or customer-managed protectors based on compliance, rotating keys without losing the ability to decrypt database backups.

Explanation

Correct Answer

C:

Select Entra or SQL authentication deliberately for Azure SQL Database, Managed Instance and SQL Server VMs based on platform support, application constraints and security controls. This is the supported administration mechanism for the described workload. A login defined in one SQL Server instance is not automatically a contained user in another database or a globally valid Entra identity. Verify with: Inspect login/user mapping, server principals, password policy, Entra admin configuration, directory identity, database containment and connection string authentication mode.

Incorrect Answers

A:

Protect targeted sensitive objects through supported SQL encryption functions, key hierarchy and application threat model while distinguishing column encryption from network and storage encryption. This addresses Object-level encryption and database cryptographic controls, not the controlling requirement here. SQL object encryption can protect selected values, but compromised key access or overly broad SQL privileges undermine the intended isolation. Prefer: Select Entra or SQL authentication deliberately for Azure SQL Database, Managed Instance and SQL Server VMs based on platform support, application constraints and security controls.

B:

Configure supported Microsoft Entra authentication and database users or contained identities for Azure SQL, ensuring the application principal receives only required permissions. This addresses Microsoft Entra authentication with contained service identity, not the controlling requirement here. A successful token request is not sufficient if the database principal, scope or permissions are missing or the token targets the wrong resource. Prefer: Select Entra or SQL authentication deliberately for Azure SQL Database, Managed Instance and SQL Server VMs based on platform support, application constraints and security controls.

D:

Enable supported Transparent Data Encryption and choose managed or customer-managed protectors based on compliance, rotating keys without losing the ability to decrypt database backups. This addresses Transparent data encryption keys and protector lifecycle, not the controlling requirement here. TDE encrypts storage at rest but does not hide column values from authorized SQL queries or replace end-to-end TLS. Prefer: Select Entra or SQL authentication deliberately for Azure SQL Database, Managed Instance and SQL Server VMs based on platform support, application constraints and security controls.

Question 363

A finance application permits under five minutes of data loss and must recover region-wide outages within an hour, but the chosen solution has no tested secondary region. Which diagnostic evidence should the database administrator check FIRST?

  1. Inspect recovery objectives, replication modes, failure domains, backup frequencies, availability SLA, network and DNS cutover plus application dependency map.
  2. Inspect Windows Server failover cluster or supported Linux HA configuration, availability replica state, listener IP/DNS, synchronization health, AG endpoint port and failover readiness.
  3. Inspect database recovery model, complete backup-chain LSNs, log backup cadence, backup checksums, database state and recovery target.
  4. Examine failover runbook owner, replica health, DNS and application retry time, last confirmed transaction, validation queries and restore evidence.

Explanation

Correct Answer

A:

Inspect recovery objectives, replication modes, failure domains, backup frequencies, availability SLA, network and DNS cutover plus application dependency map. This is the discriminating system or configuration evidence for the case. High availability reduces some outages but cannot substitute for recoverable backups after corruption or human deletion; RPO and RTO are separate targets. Corresponding approach: Select a supported HA and disaster recovery architecture from business-defined RPO, RTO, region failure assumptions, planned failover steps and service-specific capabilities.

Incorrect Answers

B:

Inspect Windows Server failover cluster or supported Linux HA configuration, availability replica state, listener IP/DNS, synchronization health, AG endpoint port and failover readiness. These checks primarily test Always On availability groups on SQL Server VMs and SQL MI links instead of the critical system behavior in this case. Examine: Inspect recovery objectives, replication modes, failure domains, backup frequencies, availability SLA, network and DNS cutover plus application dependency map.

C:

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 recovery objectives, replication modes, failure domains, backup frequencies, availability SLA, network and DNS cutover plus application dependency map.

D:

Examine failover runbook owner, replica health, DNS and application retry time, last confirmed transaction, validation queries and restore evidence. These checks primarily test HA DR tabletop and destructive failure testing instead of the critical system behavior in this case. Examine: Inspect recovery objectives, replication modes, failure domains, backup frequencies, availability SLA, network and DNS cutover plus application dependency map.

Question 364

A DBA enables the broad Allow Azure services setting to fix a single application's connectivity problem without evaluating its expanded trust boundary. Which TWO complementary actions provide the appropriate response AND evidence to verify it? Select TWO.

  1. Clients establish the intended authentication method without insecure credential sharing, and failed sign-ins can be tied to the correct principal and database.
  2. Enable supported Transparent Data Encryption and choose managed or customer-managed protectors based on compliance, rotating keys without losing the ability to decrypt database backups.
  3. Design Azure SQL firewall policies and Private Link or approved service endpoints at the required scope, enforcing TLS and minimizing public endpoint exposure.
  4. Inspect server-level and database-level firewall rules, private endpoint approval and DNS, VNet/subnet routing, public network access status and certificate validation.
  5. Inspect SESSION_CONTEXT usage, predicate function logic, policy state, object permissions, execution plans and cross-tenant test accounts.

Explanation

Correct Answers

C:

Design Azure SQL firewall policies and Private Link or approved service endpoints at the required scope, enforcing TLS and minimizing public endpoint exposure. This is the supported administration mechanism for the described workload. A Private Endpoint does not provide correct DNS records automatically in every custom network; name resolution and access policy require separate verification. Verify with: Inspect server-level and database-level firewall rules, private endpoint approval and DNS, VNet/subnet routing, public network access status and certificate validation. It supplies the implementation portion of this complementary answer.

D:

Inspect server-level and database-level firewall rules, private endpoint approval and DNS, VNet/subnet routing, public network access status and certificate validation. This is the discriminating system or configuration evidence for the case. A Private Endpoint does not provide correct DNS records automatically in every custom network; name resolution and access policy require separate verification. Corresponding approach: Design Azure SQL firewall policies and Private Link or approved service endpoints at the required scope, enforcing TLS and minimizing public endpoint exposure. It supplies the evidence portion of this complementary answer.

Incorrect Answers

A:

Clients establish the intended authentication method without insecure credential sharing, and failed sign-ins can be tied to the correct principal and database. This choice pertains to SQL authentication versus Entra and managed-instance principals, not the needed response/evidence pair. Use: Design Azure SQL firewall policies and Private Link or approved service endpoints at the required scope, enforcing TLS and minimizing public endpoint exposure. Check: Inspect server-level and database-level firewall rules, private endpoint approval and DNS, VNet/subnet routing, public network access status and certificate validation.

B:

Enable supported Transparent Data Encryption and choose managed or customer-managed protectors based on compliance, rotating keys without losing the ability to decrypt database backups. This choice pertains to Transparent data encryption keys and protector lifecycle, not the needed response/evidence pair. Use: Design Azure SQL firewall policies and Private Link or approved service endpoints at the required scope, enforcing TLS and minimizing public endpoint exposure. Check: Inspect server-level and database-level firewall rules, private endpoint approval and DNS, VNet/subnet routing, public network access status and certificate validation.

E:

Inspect SESSION_CONTEXT usage, predicate function logic, policy state, object permissions, execution plans and cross-tenant test accounts. This choice pertains to Row-level security and ownership predicates, not the needed response/evidence pair. Use: Design Azure SQL firewall policies and Private Link or approved service endpoints at the required scope, enforcing TLS and minimizing public endpoint exposure. Check: Inspect server-level and database-level firewall rules, private endpoint approval and DNS, VNet/subnet routing, public network access status and certificate validation.

Question 365

An elastic pool reaches its shared CPU ceiling during a coordinated monthly batch and individual databases start timing out despite spare storage. Which TWO complementary actions provide the appropriate response AND evidence to verify it? Select TWO.

  1. The migrated service opens with consistent data, working identities and restored application workflows within the agreed maintenance period.
  2. Inspect predicate selectivity, partition elimination, split/merge plans, aligned indexes, compression CPU overhead and real data size reduction.
  3. Size Managed Instance and SQL Server VM compute, storage latency and throughput using performance evidence, including correct storage-layout and platform support limits.
  4. Choose database vCore or DTU purchasing models, compute tier and elastic-pool membership from measured resource patterns, isolation needs and predictable workload peaks.
  5. Inspect CPU, data IO, log write, storage, concurrent sessions, DTU/vCore utilization, pool-level pressure and per-database limits.

Explanation

Correct Answers

D:

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. It supplies the implementation portion of this complementary answer.

E:

Inspect CPU, data IO, log write, storage, concurrent sessions, DTU/vCore utilization, pool-level pressure and per-database limits. This is the discriminating system or configuration evidence for the case. Elastic pools share resources across eligible Azure SQL databases; adding a pool cannot eliminate an individual database's workload or resource configuration limits. Corresponding approach: Choose database vCore or DTU purchasing models, compute tier and elastic-pool membership from measured resource patterns, isolation needs and predictable workload peaks. It supplies the evidence portion of this complementary answer.

Incorrect Answers

A:

The migrated service opens with consistent data, working identities and restored application workflows within the agreed maintenance period. This choice pertains to Offline migration and post-migration verification, not the needed response/evidence pair. Use: Choose database vCore or DTU purchasing models, compute tier and elastic-pool membership from measured resource patterns, isolation needs and predictable workload peaks. Check: Inspect CPU, data IO, log write, storage, concurrent sessions, DTU/vCore utilization, pool-level pressure and per-database limits.

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: Choose database vCore or DTU purchasing models, compute tier and elastic-pool membership from measured resource patterns, isolation needs and predictable workload peaks. Check: Inspect CPU, data IO, log write, storage, concurrent sessions, DTU/vCore utilization, pool-level pressure and per-database limits.

C:

Size Managed Instance and SQL Server VM compute, storage latency and throughput using performance evidence, including correct storage-layout and platform support limits. This choice pertains to Managed Instance and SQL VM compute storage scaling, not the needed response/evidence pair. Use: Choose database vCore or DTU purchasing models, compute tier and elastic-pool membership from measured resource patterns, isolation needs and predictable workload peaks. Check: Inspect CPU, data IO, log write, storage, concurrent sessions, DTU/vCore utilization, pool-level pressure and per-database limits.

Question 366

A maintenance script reports success on index rebuilds but never runs a database integrity check after repeated storage-layer errors. Which observable result BEST proves the database administration requirement is satisfied?

  1. Competing workloads respect their configured limits and critical requests retain service within documented platform and resource constraints.
  2. Performance improvements persist under measured production workloads and failed recommendations are reversed or disabled according to policy.
  3. Access paths and estimates remain healthy with acceptable maintenance duration, transaction log growth and production concurrency.
  4. A problematic query recovers representative execution time without forcing a plan that fails under other parameter or schema conditions.

Explanation

Correct Answer

C:

Access paths and estimates remain healthy with acceptable maintenance duration, transaction log growth and production concurrency. This is the observable database and application outcome rather than merely a saved setting. Small index fragmentation percentages do not automatically justify full rebuild; large rebuilds consume log space and can block workloads.

Incorrect Answers

A:

Competing workloads respect their configured limits and critical requests retain service within documented platform and resource constraints. This would validate Resource Governor and scoped compute configuration, but it does not establish the required outcome here. Verify instead: Access paths and estimates remain healthy with acceptable maintenance duration, transaction log growth and production concurrency.

B:

Performance improvements persist under measured production workloads and failed recommendations are reversed or disabled according to policy. This would validate Automatic tuning and intelligent query processing guardrails, but it does not establish the required outcome here. Verify instead: Access paths and estimates remain healthy with acceptable maintenance duration, transaction log growth and production concurrency.

D:

A problematic query recovers representative execution time without forcing a plan that fails under other parameter or schema conditions. This would validate Query Store plan regressions and forced plans, but it does not establish the required outcome here. Verify instead: Access paths and estimates remain healthy with acceptable maintenance duration, transaction log growth and production concurrency.

Question 367

A 2 TB OLTP database rebuilds all indexes nightly, filling its transaction log and delaying morning transactions without measured benefit. Which TWO complementary actions provide the appropriate response AND evidence to verify it? Select TWO.

  1. Long blocking chains shorten and transaction correctness remains valid after safe tuning, with deadlock retry policy and consistency requirements addressed.
  2. 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.
  3. Compare CPU versus runnable tasks, WRITELOG, PAGEIOLATCH, resource governance, connection counts, tempdb usage, storage latency and times of workload change.
  4. Schedule integrity checks, index and statistics maintenance based on measured fragmentation, modification rates and SLA rather than indiscriminately rebuilding every object each night.
  5. Inspect index page counts, fragmentation relevance, row modification counters, statistics age, update thresholds, DBCC CHECKDB results and blocking windows.

Explanation

Correct Answers

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 is the supported administration mechanism for the described workload. Small index fragmentation percentages do not automatically justify full rebuild; large rebuilds consume log space and can block workloads. Verify with: Inspect index page counts, fragmentation relevance, row modification counters, statistics age, update thresholds, DBCC CHECKDB results and blocking windows. It supplies the implementation portion of this complementary answer.

E:

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. It supplies the evidence portion of this complementary answer.

Incorrect Answers

A:

Long blocking chains shorten and transaction correctness remains valid after safe tuning, with deadlock retry policy and consistency requirements addressed. This choice pertains to Blocking deadlocks and isolation strategy, not the needed response/evidence pair. Use: Schedule integrity checks, index and statistics maintenance based on measured fragmentation, modification rates and SLA rather than indiscriminately rebuilding every object each night. Check: Inspect index page counts, fragmentation relevance, row modification counters, statistics age, update thresholds, DBCC CHECKDB results and blocking windows.

B:

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: Schedule integrity checks, index and statistics maintenance based on measured fragmentation, modification rates and SLA rather than indiscriminately rebuilding every object each night. Check: Inspect index page counts, fragmentation relevance, row modification counters, statistics age, update thresholds, DBCC CHECKDB results and blocking windows.

C:

Compare CPU versus runnable tasks, WRITELOG, PAGEIOLATCH, resource governance, connection counts, tempdb usage, storage latency and times of workload change. This choice pertains to SQL operational baseline across waits locks and storage, not the needed response/evidence pair. Use: Schedule integrity checks, index and statistics maintenance based on measured fragmentation, modification rates and SLA rather than indiscriminately rebuilding every object each night. Check: Inspect index page counts, fragmentation relevance, row modification counters, statistics age, update thresholds, DBCC CHECKDB results and blocking windows.

Question 368

A technician removes explicit GRANT rights but fails to notice that a broad database role still allows unrestricted updates. Which TWO complementary actions provide the appropriate response AND evidence to verify it? Select TWO.

  1. Each authorized tenant sees only its records through SQL and API queries, while unauthorized predicate bypass attempts return no rows.
  2. Grant database and object rights to explicit roles, distinguish server-level from database permissions, and avoid applying sysadmin or db_owner as a workaround for every access error.
  3. Inspect server-level and database-level firewall rules, private endpoint approval and DNS, VNet/subnet routing, public network access status and certificate validation.
  4. Check effective permission using EXECUTE AS, user/database role membership, ownership chain, DENY overrides, T-SQL GRANT statements and precise failed operation.
  5. Distinguish authentication from authorization using SQL error context, Entra membership and database principal mapping before changing firewall or granting elevated roles.

Explanation

Correct Answers

B:

Grant database and object rights to explicit roles, distinguish server-level from database permissions, and avoid applying sysadmin or db_owner as a workaround for every access error. This is the supported administration mechanism for the described workload. GRANT on one schema or stored procedure does not automatically confer arbitrary permissions on all underlying cross-database resources. Verify with: Check effective permission using EXECUTE AS, user/database role membership, ownership chain, DENY overrides, T-SQL GRANT statements and precise failed operation. It supplies the implementation portion of this complementary answer.

D:

Check effective permission using EXECUTE AS, user/database role membership, ownership chain, DENY overrides, T-SQL GRANT statements and precise failed operation. This is the discriminating system or configuration evidence for the case. GRANT on one schema or stored procedure does not automatically confer arbitrary permissions on all underlying cross-database resources. Corresponding approach: Grant database and object rights to explicit roles, distinguish server-level from database permissions, and avoid applying sysadmin or db_owner as a workaround for every access error. It supplies the evidence portion of this complementary answer.

Incorrect Answers

A:

Each authorized tenant sees only its records through SQL and API queries, while unauthorized predicate bypass attempts return no rows. This choice pertains to Row-level security and ownership predicates, not the needed response/evidence pair. Use: Grant database and object rights to explicit roles, distinguish server-level from database permissions, and avoid applying sysadmin or db_owner as a workaround for every access error. Check: Check effective permission using EXECUTE AS, user/database role membership, ownership chain, DENY overrides, T-SQL GRANT statements and precise failed operation.

C:

Inspect server-level and database-level firewall rules, private endpoint approval and DNS, VNet/subnet routing, public network access status and certificate validation. This choice pertains to Azure SQL private endpoints firewall and TLS boundary, not the needed response/evidence pair. Use: Grant database and object rights to explicit roles, distinguish server-level from database permissions, and avoid applying sysadmin or db_owner as a workaround for every access error. Check: Check effective permission using EXECUTE AS, user/database role membership, ownership chain, DENY overrides, T-SQL GRANT statements and precise failed operation.

E:

Distinguish authentication from authorization using SQL error context, Entra membership and database principal mapping before changing firewall or granting elevated roles. This choice pertains to Diagnosing login failure and group-based access, not the needed response/evidence pair. Use: Grant database and object rights to explicit roles, distinguish server-level from database permissions, and avoid applying sysadmin or db_owner as a workaround for every access error. Check: Check effective permission using EXECUTE AS, user/database role membership, ownership chain, DENY overrides, T-SQL GRANT statements and precise failed operation.

Question 369

A database enables automatic index creation and the team assumes all generated indexes are optimal without watching write overhead or reversal events. Which Azure SQL or SQL Server administrative approach is MOST appropriate?

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

Explanation

Correct Answer

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 is the supported administration mechanism for the described workload. Automatic tuning may need time to evaluate evidence and can reverse actions; feature availability is platform and compatibility-level dependent. Verify with: Check automatic tuning mode, automatic plan correction state, index create/drop recommendations, plan verification, workload compatibility level and rollback events.

Incorrect Answers

A:

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: 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.

B:

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: 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.

C:

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: 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.

Question 370

A recurring statistics update job overlaps itself during peak hours because the prior execution exceeded the scheduling interval. 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 template parameters, deployment scope, what-if output, module dependencies, identity role assignments and post-deploy effective configuration.
  3. Inspect step command, proxy token, connection defaults, deadlocks, Agent history output, last success timestamp and job rerun behavior.
  4. Inspect SQL Agent service state, job owner, proxy or credential, step subsystem, schedules, permissions, execution history and target database.

Explanation

Correct Answer

C:

Inspect step command, proxy token, connection defaults, deadlocks, Agent history output, last success timestamp and job rerun behavior. This is the discriminating system or configuration evidence for the case. Retrying a failed job without tracking committed work can create duplicate actions; application and SQL job state must be reconciled. Corresponding approach: Investigate SQL Agent job-step execution context, timing and dependencies before retrying, and make destructive maintenance operations safe for partial reruns.

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: Inspect step command, proxy token, connection defaults, deadlocks, Agent history output, last success timestamp and job rerun behavior.

B:

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: Inspect step command, proxy token, connection defaults, deadlocks, Agent history output, last success timestamp and job rerun behavior.

D:

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: Inspect step command, proxy token, connection defaults, deadlocks, Agent history output, last success timestamp and job rerun behavior.

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