Administering Microsoft Azure SQL Solutions DP-300 Practice Test 27
Question 260
The team plans to Plan a cross-region failover group and application listener use under relevant service support in response to "A business requires access to Azure SQL during a primary Region failure with minimal DNS changes". Which technical principle BEST explains this approach?
- Failover groups can coordinate failover for multiple eligible databases and expose listener endpoints
- Availability groups protect database replicas while failover cluster instances protect a shared-instance failover model
- Geo-redundant backups support restoration after disaster but are not continuously queryable replicas
- Failover groups provide stable read-write listener names and managed geo-replication orchestration
Explanation
Correct Answer
D:Failover groups provide stable read-write listener names and managed geo-replication orchestration. This is the mechanism that makes the proposed change, plan a cross-region failover group and application listener use under relevant service support, appropriate to the database environment described. The key limitation is that hard-coding the primary regional SQL hostname can delay application recovery during failover. A concrete confirmation is that an approved failover drill reconnects clients to the failover group listener in the secondary Region.
Incorrect Answers
A:Failover groups can coordinate failover for multiple eligible databases and expose listener endpoints is a valid distinction for a different database situation, for example when a multi-tenant system has several independent Azure SQL databases but wants one regional failover policy. Here the determining mechanism is that failover groups provide stable read-write listener names and managed geo-replication orchestration. The alternative does not explain why the selected solution addresses this requirement.
B:Availability groups protect database replicas while failover cluster instances protect a shared-instance failover model is a valid distinction for a different database situation, for example when a SQL Server VM solution needs automatic local availability across cluster nodes using existing Windows clustering. Here the determining mechanism is that failover groups provide stable read-write listener names and managed geo-replication orchestration. The alternative does not explain why the selected solution addresses this requirement.
C:Geo-redundant backups support restoration after disaster but are not continuously queryable replicas is a valid distinction for a different database situation, for example when a development team confuses a geo-redundant backup with a hot readable secondary in Azure SQL. Here the determining mechanism is that failover groups provide stable read-write listener names and managed geo-replication orchestration. The alternative does not explain why the selected solution addresses this requirement.
Question 261
An Azure SQL review identifies this gap: A new Azure SQL database watcher deployment collects metrics but no records arrive in its store. Which consequence BEST explains why it must be addressed?
- Enabling watcher without granting target collection permissions can produce missing monitoring data
- Scaling virtual CPUs without identifying the limiting resource can waste money
- Restarting the SQL instance before recording evidence destroys the active blocking context
- Assuming every backup pauses all managed SQL writes can lead to unjustified conclusions
Explanation
Correct Answer
A:Enabling watcher without granting target collection permissions can produce missing monitoring data. This concern directly arises because database watcher periodically collects supported database telemetry into a configured data store. The appropriate remediation is to check database watcher targets identity data-store configuration and permissions. A successful control check would show that a monitored database produces new samples in the approved watcher destination.
Incorrect Answers
B:Scaling virtual CPUs without identifying the limiting resource can waste money can matter in a separate case, such as when an Azure SQL Database reports higher latency while CPU utilization remains low. In this question, the principal consequence is that enabling watcher without granting target collection permissions can produce missing monitoring data. That different risk does not best characterize the missing control in the given scenario.
C:Restarting the SQL instance before recording evidence destroys the active blocking context can matter in a separate case, such as when a DBA needs to examine long-lived SQL blocking chains during a workload spike. In this question, the principal consequence is that enabling watcher without granting target collection permissions can produce missing monitoring data. That different risk does not best characterize the missing control in the given scenario.
D:Assuming every backup pauses all managed SQL writes can lead to unjustified conclusions can matter in a separate case, such as when a large migration runs slowly only when an automatic platform backup overlaps it. In this question, the principal consequence is that enabling watcher without granting target collection permissions can produce missing monitoring data. That different risk does not best characterize the missing control in the given scenario.
Question 262
Following an approved fix for "A database administrator wants to avoid storing sensitive passwords in Azure deployment scripts", what observation BEST confirms that it works?
- The login accesses only intended databases and cannot read unrelated instances
- Deployment logs expose no reusable password and the approved identity can connect
- The assigned administrator connects and can create an appropriately scoped database principal
- The job completes its allowed step and an unrelated privileged action is denied
Explanation
Correct Answer
B:Deployment logs expose no reusable password and the approved identity can connect. This observation tests the actual effect of use Microsoft Entra workload identity or secured secret references for SQL connections where supported instead of assuming that a configuration change alone was successful. The underlying database behavior is that secretless or managed-identity authentication reduces the exposure of reusable database credentials. The control matters because passing a SQL administrative password in script command-line history can leak the secret.
Incorrect Answers
A:The login accesses only intended databases and cannot read unrelated instances could validate a separate fix, for example when an Azure SQL Managed Instance needs a login with instance scope for several approved databases. Here the required proof is that deployment logs expose no reusable password and the approved identity can connect. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
C:The assigned administrator connects and can create an appropriately scoped database principal could validate a separate fix, for example when a database team needs a security administrator to configure the Entra administrator for a logical SQL server. Here the required proof is that deployment logs expose no reusable password and the approved identity can connect. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
D:The job completes its allowed step and an unrelated privileged action is denied could validate a separate fix, for example when a scheduled SQL Managed Instance job authenticates with an identity that has too many server privileges. Here the required proof is that deployment logs expose no reusable password and the approved identity can connect. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
Question 263
For the case "A vendor application requires full host-level control over SQL Server and a supported Windows service", the team chooses "Deploy SQL Server on an Azure virtual machine with managed disks and explicit patching ownership". Which database behavior justifies that choice?
- Azure SQL Database manages the underlying SQL engine patching and infrastructure while exposing a logical database
- Declarative templates support repeatable Azure SQL resource provisioning under source review
- An IaaS SQL virtual machine exposes operating system and instance management that managed PaaS cannot offer
- Managed Instance preserves broad SQL Server instance compatibility while operating as a managed Azure service
Explanation
Correct Answer
C:An IaaS SQL virtual machine exposes operating system and instance management that managed PaaS cannot offer. This is the mechanism that makes the proposed change, deploy SQL Server on an Azure virtual machine with managed disks and explicit patching ownership, appropriate to the database environment described. The key limitation is that choosing Azure SQL Database for host-level requirements may make installation and OS changes impossible. A concrete confirmation is that a supported service operates on the SQL virtual machine and patch compliance is monitored.
Incorrect Answers
A:Azure SQL Database manages the underlying SQL engine patching and infrastructure while exposing a logical database is a valid distinction for a different database situation, for example when a retail startup needs a fully managed SQL database without managing operating systems or SQL Server instances. Here the determining mechanism is that an IaaS SQL virtual machine exposes operating system and instance management that managed PaaS cannot offer. The alternative does not explain why the selected solution addresses this requirement.
B:Declarative templates support repeatable Azure SQL resource provisioning under source review is a valid distinction for a different database situation, for example when a bank requests reproducible Azure SQL deployments across multiple subscriptions with policy gates. Here the determining mechanism is that an IaaS SQL virtual machine exposes operating system and instance management that managed PaaS cannot offer. The alternative does not explain why the selected solution addresses this requirement.
D:Managed Instance preserves broad SQL Server instance compatibility while operating as a managed Azure service is a valid distinction for a different database situation, for example when an ERP migration requires near-instance compatibility including SQL Agent jobs and cross-database features. Here the determining mechanism is that an IaaS SQL virtual machine exposes operating system and instance management that managed PaaS cannot offer. The alternative does not explain why the selected solution addresses this requirement.
Question 264
A database administrator must resolve this Azure SQL or SQL Server issue: A production change caused a query regression and its last known good Query Store plan is available. What action BEST meets the requirement?
- Evaluate INCLUDE columns or a covering index using measured query and write costs
- Inspect query plan cardinality and statistics before changing join hints
- Update statistics using supported maintenance policy and measure plan stability
- Use supported Query Store plan forcing or regression remediation after validation
Explanation
Correct Answer
D:Use supported Query Store plan forcing or regression remediation after validation. The deciding requirement in this SQL platform scenario is addressed because plan forcing can stabilize a query when a validated plan performs better than a newly chosen plan. Without the change, forcing a plan without checking data distribution and compatibility can become stale. Confirm the outcome through a controlled validation where the query reuses the approved plan and performance recovery is measured.
Incorrect Answers
A:Evaluate INCLUDE columns or a covering index using measured query and write costs would instead apply to another SQL platform issue, such as when a query has excessive key lookups after a nonclustered index seek on a hot table. The present requirement calls for use supported Query Store plan forcing or regression remediation after validation; this alternative changes a different control and does not directly resolve the stated database issue.
B:Inspect query plan cardinality and statistics before changing join hints would instead apply to another SQL platform issue, such as when a join between two large tables shows a wrong estimated row count and memory grant spills. The present requirement calls for use supported Query Store plan forcing or regression remediation after validation; this alternative changes a different control and does not directly resolve the stated database issue.
C:Update statistics using supported maintenance policy and measure plan stability would instead apply to another SQL platform issue, such as when a query is repeatedly recompiled after statistics become stale on a rapidly changing table. The present requirement calls for use supported Query Store plan forcing or regression remediation after validation; this alternative changes a different control and does not directly resolve the stated database issue.
Question 265
An Azure SQL review identifies this gap: A failover group between Azure SQL Regions remains healthy but application logins fail after an actual failover. Which consequence BEST explains why it must be addressed?
- Assuming network redirection moves all server-level identity configuration can interrupt clients
- Bypassing managed role transitions to write to a stale secondary can break recovery alignment
- Moving the FCI role without required shared storage leaves SQL unable to mount its database files
- Backup generation on the primary alone does not ensure the secondary stays current
Explanation
Correct Answer
A:Assuming network redirection moves all server-level identity configuration can interrupt clients. This concern directly arises because database geo-replication alone does not guarantee every external authentication dependency is available. The appropriate remediation is to replicate or configure target-side login and security dependencies appropriately and test end-to-end. A successful control check would show that the recovered application authenticates and runs its business queries after regional switchover.
Incorrect Answers
B:Bypassing managed role transitions to write to a stale secondary can break recovery alignment can matter in a separate case, such as when a SQL Server disaster recovery replica cannot recover because its availability databases have diverged after unsupported manual writes. In this question, the principal consequence is that assuming network redirection moves all server-level identity configuration can interrupt clients. That different risk does not best characterize the missing control in the given scenario.
C:Moving the FCI role without required shared storage leaves SQL unable to mount its database files can matter in a separate case, such as when a SQL Server VM FCI stops during cluster failover because shared storage is unavailable on the survivor. In this question, the principal consequence is that assuming network redirection moves all server-level identity configuration can interrupt clients. That different risk does not best characterize the missing control in the given scenario.
D:Backup generation on the primary alone does not ensure the secondary stays current can matter in a separate case, such as when a SQL Server log shipping secondary stopped restoring transaction log backups after a shared folder change. In this question, the principal consequence is that assuming network redirection moves all server-level identity configuration can interrupt clients. That different risk does not best characterize the missing control in the given scenario.
Question 266
Given the Azure SQL condition "A job step connecting to customer databases fails with a permission error under its current credential", the proposed change is "Configure approved target database authentication with required restricted job permissions". Which explanation BEST supports the change?
- Elastic jobs record target execution outcomes and can retry failed operations under configuration
- Elastic jobs authenticate separately to each target database to execute T-SQL
- External schedulers can invoke SQL workloads when identity permissions and timeouts are handled
- Azure SQL elastic jobs can execute scheduled T-SQL across multiple Azure SQL databases
Explanation
Correct Answer
B:Elastic jobs authenticate separately to each target database to execute T-SQL. This is the mechanism that makes the proposed change, configure approved target database authentication with required restricted job permissions, appropriate to the database environment described. The key limitation is that assigning a job owner in a central resource group does not automatically grant database access. A concrete confirmation is that only approved database maintenance commands succeed under the job execution identity.
Incorrect Answers
A:Elastic jobs record target execution outcomes and can retry failed operations under configuration is a valid distinction for a different database situation, for example when a DBA needs to rerun only failed SQL elastic job targets after a network interruption. Here the determining mechanism is that elastic jobs authenticate separately to each target database to execute T-SQL. The alternative does not explain why the selected solution addresses this requirement.
C:External schedulers can invoke SQL workloads when identity permissions and timeouts are handled is a valid distinction for a different database situation, for example when a small database estate runs SQL automation from Azure Functions using a managed identity. Here the determining mechanism is that elastic jobs authenticate separately to each target database to execute T-SQL. The alternative does not explain why the selected solution addresses this requirement.
D:Azure SQL elastic jobs can execute scheduled T-SQL across multiple Azure SQL databases is a valid distinction for a different database situation, for example when an Azure SQL Database application needs nightly index and statistics updates on dozens of separate databases. Here the determining mechanism is that elastic jobs authenticate separately to each target database to execute T-SQL. The alternative does not explain why the selected solution addresses this requirement.
Question 267
For the requirement "A staging SQL database was restored from production and contains confidential values", the proposed remediation is "Apply environment-specific access boundaries and validate encryption and data masking requirements". Which result BEST demonstrates success?
- Approved workloads connect privately and an unrelated network cannot reach the SQL service
- The application connects using private DNS while prohibited public sources cannot reach the SQL endpoint
- Only approved testers can access the protected restored data under reviewed controls
- The workload reaches only its approved private SQL endpoint and SQL permissions still deny other data
Explanation
Correct Answer
C:Only approved testers can access the protected restored data under reviewed controls. This observation tests the actual effect of apply environment-specific access boundaries and validate encryption and data masking requirements instead of assuming that a configuration change alone was successful. The underlying database behavior is that restoring data carries sensitive content into the target security boundary unless separately controlled. The control matters because assuming a restored test database is harmless can expose production personal information.
Incorrect Answers
A:Approved workloads connect privately and an unrelated network cannot reach the SQL service could validate a separate fix, for example when a security team wants a database rule that allows only approved application subnets over Azure SQL private networking. Here the required proof is that only approved testers can access the protected restored data under reviewed controls. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
B:The application connects using private DNS while prohibited public sources cannot reach the SQL endpoint could validate a separate fix, for example when a PaaS SQL server allows public network access from every IPv4 address despite private connectivity policy. Here the required proof is that only approved testers can access the protected restored data under reviewed controls. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
D:The workload reaches only its approved private SQL endpoint and SQL permissions still deny other data could validate a separate fix, for example when an Azure SQL Database requires different outbound connectivity policy for a private application network. Here the required proof is that only approved testers can access the protected restored data under reviewed controls. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
Question 268
After remediating "An analytics filter must compare sensitive Always Encrypted values without exposing keys to the engine", which evidence BEST shows the intended outcome was achieved?
- DNS queries return the intended private endpoint and a secured SQL connection succeeds
- Approved workloads connect privately and an unrelated network cannot reach the SQL service
- A negative external network test fails while the approved source still connects
- A supported encrypted predicate executes under enclave validation without exposing raw client keys
Explanation
Correct Answer
D:A supported encrypted predicate executes under enclave validation without exposing raw client keys. This observation tests the actual effect of evaluate Always Encrypted with secure enclaves and compatible operations instead of assuming that a configuration change alone was successful. The underlying database behavior is that secure enclaves support selected confidential computations on protected columns under supported conditions. The control matters because assuming ordinary randomized column encryption supports arbitrary server-side comparisons is unsafe.
Incorrect Answers
A:DNS queries return the intended private endpoint and a secured SQL connection succeeds could validate a separate fix, for example when an application moves to a private endpoint but still resolves the SQL hostname to the public address. Here the required proof is that a supported encrypted predicate executes under enclave validation without exposing raw client keys. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
B:Approved workloads connect privately and an unrelated network cannot reach the SQL service could validate a separate fix, for example when a security team wants a database rule that allows only approved application subnets over Azure SQL private networking. Here the required proof is that a supported encrypted predicate executes under enclave validation without exposing raw client keys. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
C:A negative external network test fails while the approved source still connects could validate a separate fix, for example when a SQL logical server permits a broad IP firewall rule used during a former migration. Here the required proof is that a supported encrypted predicate executes under enclave validation without exposing raw client keys. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
Question 269
A database administrator selects "Disable unnecessary public connectivity and configure an approved private endpoint" after observing "A PaaS SQL server allows public network access from every IPv4 address despite private connectivity policy". What mechanism makes it appropriate?
- Azure SQL Private Link exposes a private network endpoint with controlled VNet reachability
- Secure enclaves support selected confidential computations on protected columns under supported conditions
- Always Encrypted moves sensitive column decryption to authorized clients instead of the SQL engine
- Restoring data carries sensitive content into the target security boundary unless separately controlled
Explanation
Correct Answer
A:Azure SQL Private Link exposes a private network endpoint with controlled VNet reachability. This is the mechanism that makes the proposed change, disable unnecessary public connectivity and configure an approved private endpoint, appropriate to the database environment described. The key limitation is that a public 0.0.0.0 firewall exception can bypass intended network isolation. A concrete confirmation is that the application connects using private DNS while prohibited public sources cannot reach the SQL endpoint.
Incorrect Answers
B:Secure enclaves support selected confidential computations on protected columns under supported conditions is a valid distinction for a different database situation, for example when an analytics filter must compare sensitive Always Encrypted values without exposing keys to the engine. Here the determining mechanism is that azure SQL Private Link exposes a private network endpoint with controlled VNet reachability. The alternative does not explain why the selected solution addresses this requirement.
C:Always Encrypted moves sensitive column decryption to authorized clients instead of the SQL engine is a valid distinction for a different database situation, for example when a healthcare application must keep patient identifiers encrypted even from a database administrator. Here the determining mechanism is that azure SQL Private Link exposes a private network endpoint with controlled VNet reachability. The alternative does not explain why the selected solution addresses this requirement.
D:Restoring data carries sensitive content into the target security boundary unless separately controlled is a valid distinction for a different database situation, for example when a staging SQL database was restored from production and contains confidential values. Here the determining mechanism is that azure SQL Private Link exposes a private network endpoint with controlled VNet reachability. The alternative does not explain why the selected solution addresses this requirement.
Question 270
Following an approved fix for "A SQL Server disaster recovery replica cannot recover because its availability databases have diverged after unsupported manual writes", what observation BEST confirms that it works?
- A new log backup is copied and restored and secondary delay returns within policy
- A supported reseed rejoins the replica and synchronization health is restored
- The recovered application authenticates and runs its business queries after regional switchover
- Measured commit latency and failover behavior meet the documented local and remote objectives
Explanation
Correct Answer
B:A supported reseed rejoins the replica and synchronization health is restored. This observation tests the actual effect of investigate replication health and restore or reseed the secondary using supported procedures instead of assuming that a configuration change alone was successful. The underlying database behavior is that hA secondaries require a consistent data movement state and controlled role ownership. The control matters because bypassing managed role transitions to write to a stale secondary can break recovery alignment.
Incorrect Answers
A:A new log backup is copied and restored and secondary delay returns within policy could validate a separate fix, for example when a SQL Server log shipping secondary stopped restoring transaction log backups after a shared folder change. Here the required proof is that a supported reseed rejoins the replica and synchronization health is restored. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
C:The recovered application authenticates and runs its business queries after regional switchover could validate a separate fix, for example when a failover group between Azure SQL Regions remains healthy but application logins fail after an actual failover. Here the required proof is that a supported reseed rejoins the replica and synchronization health is restored. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
D:Measured commit latency and failover behavior meet the documented local and remote objectives could validate a separate fix, for example when an on-premises SQL Server AG requires synchronous local replicas but uses a distant remote region for disaster recovery. Here the required proof is that a supported reseed rejoins the replica and synchronization health is restored. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.