Administering Microsoft Azure SQL Solutions DP-300 Practice Test 30
Question 290
Given the Azure SQL condition "A DBA needs to copy a supported SQL Server full backup directly to Azure Blob without local disk staging", the proposed change is "Use BACKUP TO URL with appropriate storage access and documented verification". Which explanation BEST supports the change?
- SQL Server RESTORE sequence must preserve log sequence continuity until final recovery
- Native SQL Server backup to URL can write supported backup artifacts into Azure object storage
- Recoverability requires demonstrating that retained backups can produce a usable database
- Managed Azure SQL backups enable point-in-time recovery within the configured retention window
Explanation
Correct Answer
B:Native SQL Server backup to URL can write supported backup artifacts into Azure object storage. This is the mechanism that makes the proposed change, use BACKUP TO URL with appropriate storage access and documented verification, appropriate to the database environment described. The key limitation is that a configured Azure storage account does not grant SQL Server automatic write authorization. A concrete confirmation is that a test backup reaches the approved blob and RESTORE VERIFYONLY or restore completes.
Incorrect Answers
A:SQL Server RESTORE sequence must preserve log sequence continuity until final recovery is a valid distinction for a different database situation, for example when a DBA must restore a database from a full backup plus several log backups after a server failure. Here the determining mechanism is that native SQL Server backup to URL can write supported backup artifacts into Azure object storage. The alternative does not explain why the selected solution addresses this requirement.
C:Recoverability requires demonstrating that retained backups can produce a usable database is a valid distinction for a different database situation, for example when a database uses append-only financial tables but a failed restore would violate the recovery objective. Here the determining mechanism is that native SQL Server backup to URL can write supported backup artifacts into Azure object storage. The alternative does not explain why the selected solution addresses this requirement.
D:Managed Azure SQL backups enable point-in-time recovery within the configured retention window is a valid distinction for a different database situation, for example when an Azure SQL Database must be restored to the state it held shortly before accidental deletion at 14:00. Here the determining mechanism is that native SQL Server backup to URL can write supported backup artifacts into Azure object storage. The alternative does not explain why the selected solution addresses this requirement.
Question 291
A SQL platform owner finds this gap: An Azure SQL Database deployment needs recurring processing but does not support SQL Server Agent. Which supported remedy BEST addresses it?
- Review elastic job execution history and apply supported retry semantics safely
- Review agent concurrency capacity and adjust tier or schedule as supported
- Choose elastic jobs or an approved external scheduler rather than an in-database SQL Agent service
- Use explicit target exclusions and reviewable safety gates for elastic job target groups
Explanation
Correct Answer
C:Choose elastic jobs or an approved external scheduler rather than an in-database SQL Agent service. The deciding requirement in this SQL platform scenario is addressed because azure SQL Database PaaS uses alternate job automation capabilities in place of SQL Server Agent. Without the change, attempting to enable the msdb SQL Agent service on an Azure SQL logical server is unsupported. Confirm the outcome through a controlled validation where a supported task scheduler performs the stored procedure and records execution status.
Incorrect Answers
A:Review elastic job execution history and apply supported retry semantics safely would instead apply to another SQL platform issue, such as when a DBA needs to rerun only failed SQL elastic job targets after a network interruption. The present requirement calls for choose elastic jobs or an approved external scheduler rather than an in-database SQL Agent service; this alternative changes a different control and does not directly resolve the stated database issue.
B:Review agent concurrency capacity and adjust tier or schedule as supported would instead apply to another SQL platform issue, such as when a SQL elastic job is configured with too many parallel target databases for its agent tier. The present requirement calls for choose elastic jobs or an approved external scheduler rather than an in-database SQL Agent service; this alternative changes a different control and does not directly resolve the stated database issue.
D:Use explicit target exclusions and reviewable safety gates for elastic job target groups would instead apply to another SQL platform issue, such as when an elastic job includes a destructive schema step that must not run against production tenants by accident. The present requirement calls for choose elastic jobs or an approved external scheduler rather than an in-database SQL Agent service; this alternative changes a different control and does not directly resolve the stated database issue.
Question 292
After remediating "A daily report sorts millions of rows into tempdb because the selected index cannot support its ORDER BY", which evidence BEST shows the intended outcome was achieved?
- The query reuses the approved plan and performance recovery is measured
- The prior good plan and new slow plan are correlated with the deployment timestamp
- The new plan reduces lookup count and overall resource usage under representative traffic
- The optimized execution plan avoids the prior large sort and spills are eliminated
Explanation
Correct Answer
D:The optimized execution plan avoids the prior large sort and spills are eliminated. This observation tests the actual effect of assess an ordered covering index and query design against write costs instead of assuming that a configuration change alone was successful. The underlying database behavior is that an appropriate ordered index can avoid expensive sorts under matching predicate conditions. The control matters because increasing tempdb files alone cannot remove an unnecessary logical sort operation.
Incorrect Answers
A:The query reuses the approved plan and performance recovery is measured could validate a separate fix, for example when a production change caused a query regression and its last known good Query Store plan is available. Here the required proof is that the optimized execution plan avoids the prior large sort and spills are eliminated. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
B:The prior good plan and new slow plan are correlated with the deployment timestamp could validate a separate fix, for example when a deployment causes a query to become ten times slower despite unchanged row counts. Here the required proof is that the optimized execution plan avoids the prior large sort and spills are eliminated. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
C:The new plan reduces lookup count and overall resource usage under representative traffic could validate a separate fix, for example when a query has excessive key lookups after a nonclustered index seek on a hot table. Here the required proof is that the optimized execution plan avoids the prior large sort and spills are eliminated. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
Question 293
A database administrator selects "Run a documented feature assessment before choosing Azure SQL Managed Instance or SQL on an Azure VM" after observing "An application team must reduce the operational patch burden but retains legacy SQL Server features". What mechanism makes it appropriate?
- Platform selection balances compatibility requirements against administrator ownership of engine and host
- Sharding divides logical application data across independent databases and needs routing coordination
- Table partitioning divides large table or index data into manageable physical partitions by key range
- Serverless compute can scale according to demand and may offer auto-pause under supported conditions
Explanation
Correct Answer
A:Platform selection balances compatibility requirements against administrator ownership of engine and host. This is the mechanism that makes the proposed change, run a documented feature assessment before choosing Azure SQL Managed Instance or SQL on an Azure VM, appropriate to the database environment described. The key limitation is that assuming managed PaaS always supports every SQL Server extension can create migration blockers. A concrete confirmation is that the chosen offering passes a feature-by-feature compatibility checklist for the application.
Incorrect Answers
B:Sharding divides logical application data across independent databases and needs routing coordination is a valid distinction for a different database situation, for example when a large SaaS system needs each tenant placed on independent database capacity without losing tenant routing. Here the determining mechanism is that platform selection balances compatibility requirements against administrator ownership of engine and host. The alternative does not explain why the selected solution addresses this requirement.
C:Table partitioning divides large table or index data into manageable physical partitions by key range is a valid distinction for a different database situation, for example when a warehouse database contains a massive history table and monthly retention must avoid long row-delete scans. Here the determining mechanism is that platform selection balances compatibility requirements against administrator ownership of engine and host. The alternative does not explain why the selected solution addresses this requirement.
D:Serverless compute can scale according to demand and may offer auto-pause under supported conditions is a valid distinction for a different database situation, for example when a platform architect must choose between Azure SQL Database serverless and provisioned compute for intermittent work. Here the determining mechanism is that platform selection balances compatibility requirements against administrator ownership of engine and host. The alternative does not explain why the selected solution addresses this requirement.
Question 294
Following an approved fix for "A finance team needs a multi-database application with minimal SQL Server management and interdatabase queries", what observation BEST confirms that it works?
- Representative customer spikes remain within pool resource limits and chargeback is predictable
- The tested application executes its approved cross-database transactions after migration
- A test monthly data lifecycle task targets the correct partition boundary
- A supported service operates on the SQL virtual machine and patch compliance is monitored
Explanation
Correct Answer
B:The tested application executes its approved cross-database transactions after migration. This observation tests the actual effect of assess Azure SQL Managed Instance when instance-level cross-database behavior is an explicit requirement instead of assuming that a configuration change alone was successful. The underlying database behavior is that managed Instance supports broad SQL Server instance features including supported cross-database queries. The control matters because splitting tightly coupled databases into isolated single-database services can require application redesign.
Incorrect Answers
A:Representative customer spikes remain within pool resource limits and chargeback is predictable could validate a separate fix, for example when a small business needs to isolate databases across customers while keeping a common managed compute budget. Here the required proof is that the tested application executes its approved cross-database transactions after migration. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
C:A test monthly data lifecycle task targets the correct partition boundary could validate a separate fix, for example when a warehouse database contains a massive history table and monthly retention must avoid long row-delete scans. Here the required proof is that the tested application executes its approved cross-database transactions after migration. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
D:A supported service operates on the SQL virtual machine and patch compliance is monitored could validate a separate fix, for example when a vendor application requires full host-level control over SQL Server and a supported Windows service. Here the required proof is that the tested application executes its approved cross-database transactions after migration. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
Question 295
For the case "An Azure SQL Database application needs nightly index and statistics updates on dozens of separate databases", the team chooses "Configure an elastic job agent with approved target groups and scheduled T-SQL steps". Which database behavior justifies that choice?
- Azure SQL Database PaaS uses alternate job automation capabilities in place of SQL Server Agent
- Elastic job schedules use UTC and require deliberate handling of daylight-saving transitions
- Azure SQL elastic jobs can execute scheduled T-SQL across multiple Azure SQL databases
- Elastic jobs can resolve target databases when jobs run under a supported target group definition
Explanation
Correct Answer
C:Azure SQL elastic jobs can execute scheduled T-SQL across multiple Azure SQL databases. This is the mechanism that makes the proposed change, configure an elastic job agent with approved target groups and scheduled T-SQL steps, appropriate to the database environment described. The key limitation is that expecting ordinary SQL Server Agent to run inside Azure SQL Database PaaS will fail. A concrete confirmation is that a scheduled elastic job completes across all approved target databases.
Incorrect Answers
A:Azure SQL Database PaaS uses alternate job automation capabilities in place of SQL Server Agent is a valid distinction for a different database situation, for example when an Azure SQL Database deployment needs recurring processing but does not support SQL Server Agent. Here the determining mechanism is that azure SQL elastic jobs can execute scheduled T-SQL across multiple Azure SQL databases. The alternative does not explain why the selected solution addresses this requirement.
B:Elastic job schedules use UTC and require deliberate handling of daylight-saving transitions is a valid distinction for a different database situation, for example when a production SQL elastic job appears enabled but its schedule is set to an unintended UTC hour. Here the determining mechanism is that azure SQL elastic jobs can execute scheduled T-SQL across multiple Azure SQL databases. The alternative does not explain why the selected solution addresses this requirement.
D:Elastic jobs can resolve target databases when jobs run under a supported target group definition is a valid distinction for a different database situation, for example when a platform team schedules one task across an elastic pool that gains new tenant databases weekly. Here the determining mechanism is that azure SQL elastic jobs can execute scheduled T-SQL across multiple Azure SQL databases. The alternative does not explain why the selected solution addresses this requirement.
Question 296
A database administrator must resolve this Azure SQL or SQL Server issue: A database-scoped setting needs to enable a supported optimizer behavior without changing all databases on an instance. What action BEST meets the requirement?
- Assess index usage DMVs and Query Store before safely consolidating redundant indexes
- Compare row and page compression using a tested subset of representative queries and writes
- Assess compute tier and transaction-log throughput limits alongside query and index design
- Apply a documented ALTER DATABASE SCOPED CONFIGURATION setting after compatibility review
Explanation
Correct Answer
D:Apply a documented ALTER DATABASE SCOPED CONFIGURATION setting after compatibility review. The deciding requirement in this SQL platform scenario is addressed because database scoped configuration controls selected engine behaviors at database granularity. Without the change, changing a server-wide setting may affect unrelated databases unnecessarily. Confirm the outcome through a controlled validation where only the target database reflects the new configuration and query behavior is measured.
Incorrect Answers
A:Assess index usage DMVs and Query Store before safely consolidating redundant indexes would instead apply to another SQL platform issue, such as when a storage-constrained Azure SQL Database has many old indexes unused by production queries. The present requirement calls for apply a documented ALTER DATABASE SCOPED CONFIGURATION setting after compatibility review; this alternative changes a different control and does not directly resolve the stated database issue.
B:Compare row and page compression using a tested subset of representative queries and writes would instead apply to another SQL platform issue, such as when a large OLTP table needs compression but frequent updates raise CPU usage. The present requirement calls for apply a documented ALTER DATABASE SCOPED CONFIGURATION setting after compatibility review; this alternative changes a different control and does not directly resolve the stated database issue.
C:Assess compute tier and transaction-log throughput limits alongside query and index design would instead apply to another SQL platform issue, such as when an Azure SQL workload reaches a high transaction-log rate under sustained updates. The present requirement calls for apply a documented ALTER DATABASE SCOPED CONFIGURATION setting after compatibility review; this alternative changes a different control and does not directly resolve the stated database issue.
Question 297
An Azure SQL review identifies this gap: A customer service account can bypass a UI mask by joining tables and evaluating sensitive data. Which consequence BEST explains why it must be addressed?
- Granting broad SELECT while relying solely on masks can still expose confidential patterns
- Enabling change tracking alone does not automatically store every old column value
- A configured audit toggle alone does not prove that relevant SQL activity was stored
- Enabling a narrow login-only auditing group can miss sensitive data modifications
Explanation
Correct Answer
A:Granting broad SELECT while relying solely on masks can still expose confidential patterns. This concern directly arises because dynamic data masking is not a security boundary against inference by arbitrary SQL queries. The appropriate remediation is to treat dynamic data masking as a presentation control and add enforceable data access restrictions. A successful control check would show that a minimally privileged account cannot query unauthorized data beyond approved presentation.
Incorrect Answers
B:Enabling change tracking alone does not automatically store every old column value can matter in a separate case, such as when a compliance report needs to identify which customer fields changed between two audit periods. In this question, the principal consequence is that granting broad SELECT while relying solely on masks can still expose confidential patterns. That different risk does not best characterize the missing control in the given scenario.
C:A configured audit toggle alone does not prove that relevant SQL activity was stored can matter in a separate case, such as when a security dashboard shows Azure SQL auditing enabled but no events arrive at its target storage. In this question, the principal consequence is that granting broad SELECT while relying solely on masks can still expose confidential patterns. That different risk does not best characterize the missing control in the given scenario.
D:Enabling a narrow login-only auditing group can miss sensitive data modifications can matter in a separate case, such as when a regulator asks for proof that all privileged SQL statements in a target database are recorded. In this question, the principal consequence is that granting broad SELECT while relying solely on masks can still expose confidential patterns. That different risk does not best characterize the missing control in the given scenario.
Question 298
Following an approved fix for "A company needs to restore an Azure SQL database after the primary Azure Region becomes inaccessible", what observation BEST confirms that it works?
- A sandbox restores the encrypted backup using retrieved protected key material
- A disaster recovery drill completes restoration into a permitted surviving Region
- A backup retention listing confirms the designated annual backup survives the required period
- The target database comes online after supported backup restore and validation
Explanation
Correct Answer
B:A disaster recovery drill completes restoration into a permitted surviving Region. This observation tests the actual effect of plan geo-restore using a supported geo-redundant backup configuration instead of assuming that a configuration change alone was successful. The underlying database behavior is that geo-redundant backup storage can support cross-region restoration when no live secondary is available. The control matters because locally redundant backup storage does not automatically create a cross-region geo-restore copy.
Incorrect Answers
A:A sandbox restores the encrypted backup using retrieved protected key material could validate a separate fix, for example when a backup succeeds on SQL Server VM but the team cannot recover because the encryption certificate was lost. Here the required proof is that a disaster recovery drill completes restoration into a permitted surviving Region. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
C:A backup retention listing confirms the designated annual backup survives the required period could validate a separate fix, for example when a regulator requires Azure SQL database backup copies retained for seven years. Here the required proof is that a disaster recovery drill completes restoration into a permitted surviving Region. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
D:The target database comes online after supported backup restore and validation could validate a separate fix, for example when a SQL Managed Instance receives a native backup file in Azure Blob Storage for approved migration. Here the required proof is that a disaster recovery drill completes restoration into a permitted surviving Region. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
Question 299
For the requirement "A PaaS SQL server allows public network access from every IPv4 address despite private connectivity policy", the proposed remediation is "Disable unnecessary public connectivity and configure an approved private endpoint". Which result BEST demonstrates success?
- Packet and connection tests show supported encryption for every approved client
- A controlled restore succeeds using the protected backup and required key material
- The application connects using private DNS while prohibited public sources cannot reach the SQL endpoint
- DNS queries return the intended private endpoint and a secured SQL connection succeeds
Explanation
Correct Answer
C:The application connects using private DNS while prohibited public sources cannot reach the SQL endpoint. This observation tests the actual effect of disable unnecessary public connectivity and configure an approved private endpoint instead of assuming that a configuration change alone was successful. The underlying database behavior is that azure SQL Private Link exposes a private network endpoint with controlled VNet reachability. The control matters because a public 0.0.0.0 firewall exception can bypass intended network isolation.
Incorrect Answers
A:Packet and connection tests show supported encryption for every approved client could validate a separate fix, for example when a hybrid application has configured TLS for Azure SQL but legacy clients still negotiate unsupported encryption behavior. Here the required proof is that the application connects using private DNS while prohibited public sources cannot reach the SQL endpoint. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
B:A controlled restore succeeds using the protected backup and required key material could validate a separate fix, for example when a SQL Server VM backup encryption configuration is missing from a regulated recovery process. Here the required proof is that the application connects using private DNS while prohibited public sources cannot reach the SQL endpoint. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
D: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 the application connects using private DNS while prohibited public sources cannot reach the SQL endpoint. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
Question 300
This database condition remains unresolved: An Azure SQL Database must be restored to the state it held shortly before accidental deletion at 14:00. What is the MOST direct operational or security risk?
- A backup file's existence does not guarantee it is restorable after key loss
- A green backup job that was never restored cannot prove recovery time or data integrity
- A daily full backup by itself can leave up to a day of accepted transactions unrecoverable
- Restoring only the newest backup may retain the destructive change
Explanation
Correct Answer
D:Restoring only the newest backup may retain the destructive change. This concern directly arises because managed Azure SQL backups enable point-in-time recovery within the configured retention window. The appropriate remediation is to use supported point-in-time restore to create the recovery database at a chosen earlier timestamp. A successful control check would show that the recovered database contains the committed records before the deletion event.
Incorrect Answers
A:A backup file's existence does not guarantee it is restorable after key loss can matter in a separate case, such as when a backup succeeds on SQL Server VM but the team cannot recover because the encryption certificate was lost. In this question, the principal consequence is that restoring only the newest backup may retain the destructive change. That different risk does not best characterize the missing control in the given scenario.
B:A green backup job that was never restored cannot prove recovery time or data integrity can matter in a separate case, such as when a database uses append-only financial tables but a failed restore would violate the recovery objective. In this question, the principal consequence is that restoring only the newest backup may retain the destructive change. That different risk does not best characterize the missing control in the given scenario.
C:A daily full backup by itself can leave up to a day of accepted transactions unrecoverable can matter in a separate case, such as when a SQL Server VM runs nightly full backups but daily transaction logs are missing from the recovery plan. In this question, the principal consequence is that restoring only the newest backup may retain the destructive change. That different risk does not best characterize the missing control in the given scenario.