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 38

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.

Question 371

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 Azure SQL or SQL Server administrative approach is MOST appropriate?

  1. 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.
  2. Plan full, differential and transaction-log backups using appropriate SQL Server recovery model and restore order for the intended point-in-time objective.
  3. 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.
  4. Use supported SQL Server failover cluster instances on Azure virtual machines with compatible shared storage and cluster quorum instead of treating FCIs as data-replication AGs.

Explanation

Correct Answer

C:

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.

Incorrect Answers

A:

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 addresses Log shipping health and recovery orchestration, not the controlling requirement here. Log shipping is backup-copy-restore orchestration, not synchronous automatic database failover or a substitute for manual application cutover. Prefer: 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.

B:

Plan full, differential and transaction-log backups using appropriate SQL Server recovery model and restore order for the intended point-in-time objective. This addresses SQL Server native backup chain and recovery model, not the controlling requirement here. A full backup without subsequent transaction-log backups cannot recover every later transaction; SIMPLE recovery changes log backup support. Prefer: 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.

D:

Use supported SQL Server failover cluster instances on Azure virtual machines with compatible shared storage and cluster quorum instead of treating FCIs as data-replication AGs. This addresses SQL Server failover cluster instances shared storage constraints, not the controlling requirement here. An FCI moves SQL Server instance ownership over shared storage but does not automatically provide a separate cross-region copy of database files. Prefer: 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.

Question 372

A DBA enables the broad Allow Azure services setting to fix a single application's connectivity problem without evaluating its expanded trust boundary. Which Azure SQL or SQL Server administrative approach is MOST appropriate?

  1. Configure database auditing for activity accountability, select Change Tracking or Change Data Capture for supported data-change synchronization, and use ledger only when tamper-evidence requirements justify it.
  2. 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.
  3. Use Always Encrypted to protect selected columns with client-side cryptography and evaluate secure enclaves for supported confidential computations and richer query operations.
  4. Design Azure SQL firewall policies and Private Link or approved service endpoints at the required scope, enforcing TLS and minimizing public endpoint exposure.

Explanation

Correct Answer

D:

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.

Incorrect Answers

A:

Configure database auditing for activity accountability, select Change Tracking or Change Data Capture for supported data-change synchronization, and use ledger only when tamper-evidence requirements justify it. This addresses Azure SQL auditing ledger and change tracking distinctions, not the controlling requirement here. SQL auditing, change tracking, CDC and ledger answer different questions; enabling one does not guarantee identical transaction history or immutable external evidence. Prefer: Design Azure SQL firewall policies and Private Link or approved service endpoints at the required scope, enforcing TLS and minimizing public endpoint exposure.

B:

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 addresses SQL authentication versus Entra and managed-instance principals, not the controlling requirement here. A login defined in one SQL Server instance is not automatically a contained user in another database or a globally valid Entra identity. Prefer: Design Azure SQL firewall policies and Private Link or approved service endpoints at the required scope, enforcing TLS and minimizing public endpoint exposure.

C:

Use Always Encrypted to protect selected columns with client-side cryptography and evaluate secure enclaves for supported confidential computations and richer query operations. This addresses Always Encrypted client-side protection and enclaves, not the controlling requirement here. Always Encrypted is distinct from TDE; queries and operations may be constrained without supported enclave capabilities and drivers. Prefer: Design Azure SQL firewall policies and Private Link or approved service endpoints at the required scope, enforcing TLS and minimizing public endpoint exposure.

Question 373

A security policy is deployed in disabled state and a test suite validates only the web UI rather than direct SQL access. Which diagnostic evidence should the database administrator check FIRST?

  1. Review sign-in error number and state, selected database, Entra token principal, group claims, CREATE USER scope, role membership and firewall reachability.
  2. Inspect SESSION_CONTEXT usage, predicate function logic, policy state, object permissions, execution plans and cross-tenant test accounts.
  3. Review key hierarchy, certificate availability, encrypted payload format, authorized decryption path, T-SQL function usage, rotation and backup procedures.
  4. Inspect sensitivity labels, masking expressions, UNMASK permissions, privileged role membership and direct query behavior across application identities.

Explanation

Correct Answer

B:

Inspect SESSION_CONTEXT usage, predicate function logic, policy state, object permissions, execution plans and cross-tenant test accounts. This is the discriminating system or configuration evidence for the case. Client-side WHERE filters are not a database security boundary, and incorrectly scoped predicates can leak cross-tenant data. Corresponding approach: Implement Row-Level Security with a carefully tested predicate function and security policy for each tenant or business boundary, independent of form-level filtering.

Incorrect Answers

A:

Review sign-in error number and state, selected database, Entra token principal, group claims, CREATE USER scope, role membership and firewall reachability. These checks primarily test Diagnosing login failure and group-based access instead of the critical system behavior in this case. Examine: Inspect SESSION_CONTEXT usage, predicate function logic, policy state, object permissions, execution plans and cross-tenant test accounts.

C:

Review key hierarchy, certificate availability, encrypted payload format, authorized decryption path, T-SQL function usage, rotation and backup procedures. These checks primarily test Object-level encryption and database cryptographic controls instead of the critical system behavior in this case. Examine: Inspect SESSION_CONTEXT usage, predicate function logic, policy state, object permissions, execution plans and cross-tenant test accounts.

D:

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

Question 374

A database is deleted and the recovery team has not verified whether its restore point is still within configured retention or whether required permissions remain available. Which TWO complementary actions provide the appropriate response AND evidence to verify it? Select TWO.

  1. Plan full, differential and transaction-log backups using appropriate SQL Server recovery model and restore order for the intended point-in-time objective.
  2. Use Azure SQL automated backups and configured point-in-time retention or long-term retention policy for supported managed offerings, choosing the correct restore workflow and retention costs.
  3. Inspect replication state, endpoint listeners, failover policy, allowed data loss, application reconnect errors, secondary region capacity and DNS cache behavior.
  4. A documented exercise demonstrates recovery within measured time and data-loss objectives and reveals unmet application dependencies before production emergencies.
  5. Check service tier, available restore points, retention setting, logical server and database permissions, LTR vault policy and restore destination.

Explanation

Correct Answers

B:

Use Azure SQL automated backups and configured point-in-time retention or long-term retention policy for supported managed offerings, choosing the correct restore workflow and retention costs. This is the supported administration mechanism for the described workload. Point-in-time restore usually creates a separate database and does not undo production writes in place; retention is constrained by service-specific limits. Verify with: Check service tier, available restore points, retention setting, logical server and database permissions, LTR vault policy and restore destination. It supplies the implementation portion of this complementary answer.

E:

Check service tier, available restore points, retention setting, logical server and database permissions, LTR vault policy and restore destination. This is the discriminating system or configuration evidence for the case. Point-in-time restore usually creates a separate database and does not undo production writes in place; retention is constrained by service-specific limits. Corresponding approach: Use Azure SQL automated backups and configured point-in-time retention or long-term retention policy for supported managed offerings, choosing the correct restore workflow and retention costs. It supplies the evidence portion of this complementary answer.

Incorrect Answers

A:

Plan full, differential and transaction-log backups using appropriate SQL Server recovery model and restore order for the intended point-in-time objective. This choice pertains to SQL Server native backup chain and recovery model, not the needed response/evidence pair. Use: Use Azure SQL automated backups and configured point-in-time retention or long-term retention policy for supported managed offerings, choosing the correct restore workflow and retention costs. Check: Check service tier, available restore points, retention setting, logical server and database permissions, LTR vault policy and restore destination.

C:

Inspect replication state, endpoint listeners, failover policy, allowed data loss, application reconnect errors, secondary region capacity and DNS cache behavior. This choice pertains to Azure SQL Database active geo replication and failover groups, not the needed response/evidence pair. Use: Use Azure SQL automated backups and configured point-in-time retention or long-term retention policy for supported managed offerings, choosing the correct restore workflow and retention costs. Check: Check service tier, available restore points, retention setting, logical server and database permissions, LTR vault policy and restore destination.

D:

A documented exercise demonstrates recovery within measured time and data-loss objectives and reveals unmet application dependencies before production emergencies. This choice pertains to HA DR tabletop and destructive failure testing, not the needed response/evidence pair. Use: Use Azure SQL automated backups and configured point-in-time retention or long-term retention policy for supported managed offerings, choosing the correct restore workflow and retention costs. Check: Check service tier, available restore points, retention setting, logical server and database permissions, LTR vault policy and restore destination.

Question 375

A finance app uses cross-database three-part queries and proposed migration assessments cover only table and stored-procedure counts. Which observable result BEST proves the database administration requirement is satisfied?

  1. The migration plan explicitly maps each source feature to a supported destination behavior and documented remediation before cutover.
  2. Administrators can view authorized hybrid SQL inventory and policy findings while database files remain in their existing managed locations.
  3. The migrated service opens with consistent data, working identities and restored application workflows within the agreed maintenance period.
  4. Queries and retention maintenance operate on intended partitions with predictable execution plans, storage growth and acceptable CPU overhead.

Explanation

Correct Answer

A:

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

B:

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 migration plan explicitly maps each source feature to a supported destination behavior and documented remediation before cutover.

C:

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.

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 migration plan explicitly maps each source feature to a supported destination behavior and documented remediation before cutover.

Question 376

A 2 TB OLTP database rebuilds all indexes nightly, filling its transaction log and delaying morning transactions without measured benefit. 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. Review actual execution plans, predicate sargability, cardinality estimates and suitable index designs before adding indexes or scaling hardware.
  3. Schedule integrity checks, index and statistics maintenance based on measured fragmentation, modification rates and SLA rather than indiscriminately rebuilding every object each night.
  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

C:

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.

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: Schedule integrity checks, index and statistics maintenance based on measured fragmentation, modification rates and SLA rather than indiscriminately rebuilding every object each night.

B:

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: Schedule integrity checks, index and statistics maintenance based on measured fragmentation, modification rates and SLA rather than indiscriminately rebuilding every object each night.

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 addresses Automatic tuning and intelligent query processing guardrails, not the controlling requirement here. Automatic tuning may need time to evaluate evidence and can reverse actions; feature availability is platform and compatibility-level dependent. Prefer: Schedule integrity checks, index and statistics maintenance based on measured fragmentation, modification rates and SLA rather than indiscriminately rebuilding every object each night.

Question 377

An Azure SQL Database hits its connection worker ceiling while management claims the absence of CPU pressure rules out database resource limits. Which TWO complementary actions provide the appropriate response AND evidence to verify it? Select TWO.

  1. 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.
  2. Queries use appropriate access paths under representative parameters while maintenance and write overhead remain acceptable.
  3. Distinguish compute, data IO, log IO, memory and blocking contention using correlated counters, wait types and workload-specific thresholds before changing resources.
  4. Compare CPU versus runnable tasks, WRITELOG, PAGEIOLATCH, resource governance, connection counts, tempdb usage, storage latency and times of workload change.
  5. Check automatic tuning mode, automatic plan correction state, index create/drop recommendations, plan verification, workload compatibility level and rollback events.

Explanation

Correct Answers

C:

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

D:

Compare CPU versus runnable tasks, WRITELOG, PAGEIOLATCH, resource governance, connection counts, tempdb usage, storage latency and times of workload change. This is the discriminating system or configuration evidence for the case. One wait type alone is not a universal diagnosis; waits, plan behavior, request duration and resource data must be read together. Corresponding approach: Distinguish compute, data IO, log IO, memory and blocking contention using correlated counters, wait types and workload-specific thresholds before changing resources. It supplies the evidence portion of this complementary answer.

Incorrect Answers

A:

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 choice pertains to Extended Events and workload-specific incident evidence, not the needed response/evidence pair. Use: Distinguish compute, data IO, log IO, memory and blocking contention using correlated counters, wait types and workload-specific thresholds before changing resources. Check: Compare CPU versus runnable tasks, WRITELOG, PAGEIOLATCH, resource governance, connection counts, tempdb usage, storage latency and times of workload change.

B:

Queries use appropriate access paths under representative parameters while maintenance and write overhead remain acceptable. This choice pertains to Execution plans cardinality and indexing improvements, not the needed response/evidence pair. Use: Distinguish compute, data IO, log IO, memory and blocking contention using correlated counters, wait types and workload-specific thresholds before changing resources. Check: Compare CPU versus runnable tasks, WRITELOG, PAGEIOLATCH, resource governance, connection counts, tempdb usage, storage latency and times of workload change.

E:

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: Distinguish compute, data IO, log IO, memory and blocking contention using correlated counters, wait types and workload-specific thresholds before changing resources. Check: Compare CPU versus runnable tasks, WRITELOG, PAGEIOLATCH, resource governance, connection counts, tempdb usage, storage latency and times of workload change.

Question 378

An unattended PowerShell script prompts interactively for credentials and hangs when run inside a headless CI runner. Which observable result BEST proves the database administration requirement is satisfied?

  1. A real job failure triggers one useful notification to the right team and its history records sufficient context for a safe repair or retry.
  2. The automation updates only intended database resources and produces repeatable audit evidence of changes and failures without storing plaintext passwords.
  3. A failed deployment is diagnosed without deleting productive data, and the corrected infrastructure remains consistent with reviewed desired state.
  4. 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 Answer

B:

The automation updates only intended database resources and produces repeatable audit evidence of changes and failures without storing plaintext passwords. This is the observable database and application outcome rather than merely a saved setting. Azure RBAC permissions to create an Azure SQL server do not imply arbitrary T-SQL data access to every user database.

Incorrect Answers

A:

A real job failure triggers one useful notification to the right team and its history records sufficient context for a safe repair or retry. This would validate SQL Agent alerts operators and failure notifications, but it does not establish the required outcome here. Verify instead: The automation updates only intended database resources and produces repeatable audit evidence of changes and failures without storing plaintext passwords.

C:

A failed deployment is diagnosed without deleting productive data, and the corrected infrastructure remains consistent with reviewed desired state. This would validate Deployment monitoring rollback and drift reconciliation, but it does not establish the required outcome here. Verify instead: The automation updates only intended database resources and produces repeatable audit evidence of changes and failures without storing plaintext passwords.

D:

The maintenance job executes on the approved cadence with least-privilege identity and traceable execution logs without depending on a personal admin login. This would validate SQL Server Agent schedules and job ownership, but it does not establish the required outcome here. Verify instead: The automation updates only intended database resources and produces repeatable audit evidence of changes and failures without storing plaintext passwords.

Question 379

A stored procedure uses highly skewed customer IDs and the DBA forces one plan based on a tiny tenant without evaluating larger tenants. 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. Queries use appropriate access paths under representative parameters while maintenance and write overhead remain acceptable.
  3. The identified bottleneck has a specific measured cause, and the chosen corrective action changes the relevant metric under representative load.
  4. A problematic query recovers representative execution time without forcing a plan that fails under other parameter or schema conditions.

Explanation

Correct Answer

D:

A problematic query recovers representative execution time without forcing a plan that fails under other parameter or schema conditions. This is the observable database and application outcome rather than merely a saved setting. Forcing a historical plan can mitigate a regression but does not make poor statistics or parameter sensitivity disappear and may fail after schema changes.

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: A problematic query recovers representative execution time without forcing a plan that fails under other parameter or schema conditions.

B:

Queries use appropriate access paths under representative parameters while maintenance and write overhead remain acceptable. This would validate Execution plans cardinality and indexing improvements, but it does not establish the required outcome here. Verify instead: A problematic query recovers representative execution time without forcing a plan that fails under other parameter or schema conditions.

C:

The identified bottleneck has a specific measured cause, and the chosen corrective action changes the relevant metric under representative load. This would validate SQL operational baseline across waits locks and storage, but it does not establish the required outcome here. Verify instead: A problematic query recovers representative execution time without forcing a plan that fails under other parameter or schema conditions.

Question 380

An application encrypts selected customer fields using a database symmetric key but grants key-opening privileges to every reporting identity. Which Azure SQL or SQL Server administrative approach is MOST appropriate?

  1. 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.
  2. Protect targeted sensitive objects through supported SQL encryption functions, key hierarchy and application threat model while distinguishing column encryption from network and storage encryption.
  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. Classify sensitive columns, apply supported Dynamic Data Masking only for presentation control, and use encryption or RLS when stronger confidentiality is required.

Explanation

Correct Answer

B:

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 is the supported administration mechanism for the described workload. SQL object encryption can protect selected values, but compromised key access or overly broad SQL privileges undermine the intended isolation. Verify with: Review key hierarchy, certificate availability, encrypted payload format, authorized decryption path, T-SQL function usage, rotation and backup procedures.

Incorrect Answers

A:

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 addresses Least-privilege SQL roles and ownership chaining, not the controlling requirement here. GRANT on one schema or stored procedure does not automatically confer arbitrary permissions on all underlying cross-database resources. Prefer: Protect targeted sensitive objects through supported SQL encryption functions, key hierarchy and application threat model while distinguishing column encryption from network and storage encryption.

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 addresses Azure SQL private endpoints firewall and TLS boundary, not the controlling requirement here. A Private Endpoint does not provide correct DNS records automatically in every custom network; name resolution and access policy require separate verification. Prefer: Protect targeted sensitive objects through supported SQL encryption functions, key hierarchy and application threat model while distinguishing column encryption from network and storage encryption.

D:

Classify sensitive columns, apply supported Dynamic Data Masking only for presentation control, and use encryption or RLS when stronger confidentiality is required. This addresses Dynamic data masking classification and permission differences, not the controlling requirement here. Dynamic Data Masking is not encryption or a complete defense against inference; administrators and UNMASK principals can still access original values. Prefer: Protect targeted sensitive objects through supported SQL encryption functions, key hierarchy and application threat model while distinguishing column encryption from network and storage encryption.

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