Administering Microsoft Azure SQL Solutions DP-300 Practice Test 29
Question 280
A database administrator must resolve this Azure SQL or SQL Server issue: A database connection encrypts packets but ignores server certificate validation. What action BEST meets the requirement?
- Configure supported customer-managed key integration with Azure Key Vault or Managed HSM and rotation controls
- Choose supported cell or object-level encryption and arrange secure key protection
- Update the client drivers and require appropriate supported SQL TLS settings
- Configure a driver to require encryption and validate the trusted server certificate
Explanation
Correct Answer
D:Configure a driver to require encryption and validate the trusted server certificate. The deciding requirement in this SQL platform scenario is addressed because tLS confidentiality without endpoint identity validation can permit interception by a spoofed server. Without the change, trustServerCertificate enabled indiscriminately can bypass important hostname or chain validation. Confirm the outcome through a controlled validation where a valid host connects and a mismatched certificate endpoint is rejected.
Incorrect Answers
A:Configure supported customer-managed key integration with Azure Key Vault or Managed HSM and rotation controls would instead apply to another SQL platform issue, such as when a payment database has a customer-managed TDE protector requirement. The present requirement calls for configure a driver to require encryption and validate the trusted server certificate; this alternative changes a different control and does not directly resolve the stated database issue.
B:Choose supported cell or object-level encryption and arrange secure key protection would instead apply to another SQL platform issue, such as when a finance database stores a small API token column that requires SQL-side encryption using managed secrets. The present requirement calls for configure a driver to require encryption and validate the trusted server certificate; this alternative changes a different control and does not directly resolve the stated database issue.
C:Update the client drivers and require appropriate supported SQL TLS settings would instead apply to another SQL platform issue, such as when a hybrid application has configured TLS for Azure SQL but legacy clients still negotiate unsupported encryption behavior. The present requirement calls for configure a driver to require encryption and validate the trusted server certificate; this alternative changes a different control and does not directly resolve the stated database issue.
Question 281
An Azure database operations team observes the following condition: A reporting workload makes poor cardinality estimates after a significant bulk load. Which change is MOST appropriate?
- Refresh relevant SQL statistics and review sampled versus fullscan needs
- Correlate service objective changes with connection retry logic and database performance metrics
- Apply a documented ALTER DATABASE SCOPED CONFIGURATION setting after compatibility review
- Schedule DBCC CHECKDB using an approved resource and response plan
Explanation
Correct Answer
A:Refresh relevant SQL statistics and review sampled versus fullscan needs. The deciding requirement in this SQL platform scenario is addressed because statistics guide optimizer row-count estimates and may need updates after distribution changes. Without the change, increasing SQL max memory alone cannot fix incorrect cardinality histograms. Confirm the outcome through a controlled validation where a post-load execution plan has realistic estimates and improved read efficiency.
Incorrect Answers
B:Correlate service objective changes with connection retry logic and database performance metrics would instead apply to another SQL platform issue, such as when a tenant workload sees unpredictable latency after compute resize and needs to check connection behavior. The present requirement calls for refresh relevant SQL statistics and review sampled versus fullscan needs; this alternative changes a different control and does not directly resolve the stated database issue.
C:Apply a documented ALTER DATABASE SCOPED CONFIGURATION setting after compatibility review would instead apply to another SQL platform issue, such as when a database-scoped setting needs to enable a supported optimizer behavior without changing all databases on an instance. The present requirement calls for refresh relevant SQL statistics and review sampled versus fullscan needs; this alternative changes a different control and does not directly resolve the stated database issue.
D:Schedule DBCC CHECKDB using an approved resource and response plan would instead apply to another SQL platform issue, such as when a DBA needs to detect corruption regularly on a SQL Server virtual machine. The present requirement calls for refresh relevant SQL statistics and review sampled versus fullscan needs; this alternative changes a different control and does not directly resolve the stated database issue.
Question 282
Given the Azure SQL condition "A SQL Server on Azure VM has poor parallel query performance because MAXDOP differs from workload needs", the proposed change is "Review MAXDOP and cost threshold settings with representative plan and CPU testing". Which explanation BEST supports the change?
- Database scoped configuration controls selected engine behaviors at database granularity
- Parallelism settings affect SQL Server optimizer decisions and scheduler resource distribution
- Azure SQL service objectives can bound transaction log generation and write throughput
- Azure SQL automatic tuning can identify and revert certain plan regressions when enabled
Explanation
Correct Answer
B:Parallelism settings affect SQL Server optimizer decisions and scheduler resource distribution. This is the mechanism that makes the proposed change, review MAXDOP and cost threshold settings with representative plan and CPU testing, appropriate to the database environment described. The key limitation is that setting MAXDOP to the highest CPU count without workload testing can increase contention. A concrete confirmation is that parallel query waits and overall throughput improve under the approved configuration.
Incorrect Answers
A:Database scoped configuration controls selected engine behaviors at database granularity is a valid distinction for a different database situation, for example when a database-scoped setting needs to enable a supported optimizer behavior without changing all databases on an instance. Here the determining mechanism is that parallelism settings affect SQL Server optimizer decisions and scheduler resource distribution. The alternative does not explain why the selected solution addresses this requirement.
C:Azure SQL service objectives can bound transaction log generation and write throughput is a valid distinction for a different database situation, for example when an Azure SQL workload reaches a high transaction-log rate under sustained updates. Here the determining mechanism is that parallelism settings affect SQL Server optimizer decisions and scheduler resource distribution. The alternative does not explain why the selected solution addresses this requirement.
D:Azure SQL automatic tuning can identify and revert certain plan regressions when enabled is a valid distinction for a different database situation, for example when an Azure SQL Database sees repeated plan regressions and automatic tuning is available. Here the determining mechanism is that parallelism settings affect SQL Server optimizer decisions and scheduler resource distribution. The alternative does not explain why the selected solution addresses this requirement.
Question 283
For the requirement "An auditor needs a catalog of columns containing personal identifiers across an Azure SQL estate", the proposed remediation is "Apply supported sensitivity classification labels to relevant schema columns". Which result BEST demonstrates success?
- A controlled privileged DDL change appears in the approved audit stream
- A minimally privileged account cannot query unauthorized data beyond approved presentation
- A classification report lists the intended columns with approved sensitivity labels
- A documented query produces a searchable audit event in the designated destination
Explanation
Correct Answer
C:A classification report lists the intended columns with approved sensitivity labels. This observation tests the actual effect of apply supported sensitivity classification labels to relevant schema columns instead of assuming that a configuration change alone was successful. The underlying database behavior is that data classification metadata helps organize discovery and handling of sensitive columns. The control matters because leaving personal columns unclassified can prevent appropriate audit prioritization.
Incorrect Answers
A:A controlled privileged DDL change appears in the approved audit stream could validate a separate fix, for example when a regulator asks for proof that all privileged SQL statements in a target database are recorded. Here the required proof is that a classification report lists the intended columns with approved sensitivity labels. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
B:A minimally privileged account cannot query unauthorized data beyond approved presentation could validate a separate fix, for example when a customer service account can bypass a UI mask by joining tables and evaluating sensitive data. Here the required proof is that a classification report lists the intended columns with approved sensitivity labels. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
D:A documented query produces a searchable audit event in the designated destination could validate a separate fix, for example when a security dashboard shows Azure SQL auditing enabled but no events arrive at its target storage. Here the required proof is that a classification report lists the intended columns with approved sensitivity labels. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
Question 284
A database administrator must resolve this Azure SQL or SQL Server issue: A development team confuses a geo-redundant backup with a hot readable secondary in Azure SQL. What action BEST meets the requirement?
- Translate the business requirement into an RPO of five minutes and an RTO of one hour
- Combine appropriate backup retention with availability replicas and access safeguards
- Choose a supported zone-redundant Azure SQL service configuration when required
- Differentiate geo-restore from active geo-replication or a failover group
Explanation
Correct Answer
D:Differentiate geo-restore from active geo-replication or a failover group. The deciding requirement in this SQL platform scenario is addressed because geo-redundant backups support restoration after disaster but are not continuously queryable replicas. Without the change, planning read-only reporting against backup storage rather than a replica will fail. Confirm the outcome through a controlled validation where the DR architecture explicitly identifies backup-restore versus live-secondary capabilities.
Incorrect Answers
A:Translate the business requirement into an RPO of five minutes and an RTO of one hour would instead apply to another SQL platform issue, such as when a payments platform requires no more than five minutes of lost transactions and one hour of outage. The present requirement calls for differentiate geo-restore from active geo-replication or a failover group; this alternative changes a different control and does not directly resolve the stated database issue.
B:Combine appropriate backup retention with availability replicas and access safeguards would instead apply to another SQL platform issue, such as when a recovery strategy needs to protect against operator deletion as well as infrastructure outage. The present requirement calls for differentiate geo-restore from active geo-replication or a failover group; this alternative changes a different control and does not directly resolve the stated database issue.
C:Choose a supported zone-redundant Azure SQL service configuration when required would instead apply to another SQL platform issue, such as when a database runs in one Azure Availability Zone and must survive a datacenter power failure. The present requirement calls for differentiate geo-restore from active geo-replication or a failover group; this alternative changes a different control and does not directly resolve the stated database issue.
Question 285
An Azure SQL review identifies this gap: A large customer database must move from SQL Server with only minutes of planned downtime. Which consequence BEST explains why it must be addressed?
- An offline backup alone can lose accepted writes after the backup point
- Running an online synchronization process unnecessarily can increase complexity and cost
- Blindly restoring an incompatible database can break required objects after migration
- Changing the connection string before the target is transactionally ready can lose access
Explanation
Correct Answer
A:An offline backup alone can lose accepted writes after the backup point. This concern directly arises because online migration minimizes cutover downtime by replicating changes while source operations continue. The appropriate remediation is to use an applicable online migration workflow with continuous change synchronization. A successful control check would show that a rehearsal achieves the measured cutover RPO and business downtime target.
Incorrect Answers
B:Running an online synchronization process unnecessarily can increase complexity and cost can matter in a separate case, such as when a payroll database permits weekend downtime and requires a low-complexity transfer to Azure SQL. In this question, the principal consequence is that an offline backup alone can lose accepted writes after the backup point. That different risk does not best characterize the missing control in the given scenario.
C:Blindly restoring an incompatible database can break required objects after migration can matter in a separate case, such as when a SQL Server 2017 application uses features that differ from Azure SQL Database. In this question, the principal consequence is that an offline backup alone can lose accepted writes after the backup point. That different risk does not best characterize the missing control in the given scenario.
D:Changing the connection string before the target is transactionally ready can lose access can matter in a separate case, such as when a tenant database must move from one Azure SQL logical server to another with minimal application disruption. In this question, the principal consequence is that an offline backup alone can lose accepted writes after the backup point. That different risk does not best characterize the missing control in the given scenario.
Question 286
Following an approved fix for "A SQL Server VM runs nightly full backups but daily transaction logs are missing from the recovery plan", what observation BEST confirms that it works?
- A test backup reaches the approved blob and RESTORE VERIFYONLY or restore completes
- A test restore applies the complete log chain and meets the specified point of recovery
- The recovered database contains the committed records before the deletion event
- A report shows both configured PITR days and the required LTR backup history
Explanation
Correct Answer
B:A test restore applies the complete log chain and meets the specified point of recovery. This observation tests the actual effect of configure a supported full differential and log backup schedule consistent with RPO instead of assuming that a configuration change alone was successful. The underlying database behavior is that sQL Server native backup chains can combine full differential and transaction log backups. The control matters because a daily full backup by itself can leave up to a day of accepted transactions unrecoverable.
Incorrect Answers
A:A test backup reaches the approved blob and RESTORE VERIFYONLY or restore completes could validate a separate fix, for example when a DBA needs to copy a supported SQL Server full backup directly to Azure Blob without local disk staging. Here the required proof is that a test restore applies the complete log chain and meets the specified point of recovery. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
C:The recovered database contains the committed records before the deletion event could validate a separate fix, for example when an Azure SQL Database must be restored to the state it held shortly before accidental deletion at 14:00. Here the required proof is that a test restore applies the complete log chain and meets the specified point of recovery. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
D:A report shows both configured PITR days and the required LTR backup history could validate a separate fix, for example when a disaster recovery plan assumes Azure SQL automated point-in-time backups exist for unlimited years. Here the required proof is that a test restore applies the complete log chain and meets the specified point of recovery. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
Question 287
For the requirement "A SQL Server VM hosts large databases but application outage tolerance is lower than backup-restore time", the proposed remediation is "Choose an availability architecture such as supported AGs rather than relying on backups alone". Which result BEST demonstrates success?
- The test application follows the listener to the surviving SQL instance after failover
- An approved failover drill reconnects clients to the failover group listener in the secondary Region
- A failover exercise meets the required application connection recovery time
- The continuity plan records tested lag and realistic RPO under simulated regional failure
Explanation
Correct Answer
C:A failover exercise meets the required application connection recovery time. This observation tests the actual effect of choose an availability architecture such as supported AGs rather than relying on backups alone instead of assuming that a configuration change alone was successful. The underlying database behavior is that backups enable restoration but do not automatically provide low-RTO service failover. The control matters because a nightly full backup cannot by itself guarantee recovery within seconds of an instance failure.
Incorrect Answers
A:The test application follows the listener to the surviving SQL instance after failover could validate a separate fix, for example when an application uses SQL on Azure VMs and has a Windows Server Failover Cluster but no listener for clients. Here the required proof is that a failover exercise meets the required application connection recovery time. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
B:An approved failover drill reconnects clients to the failover group listener in the secondary Region could validate a separate fix, for example when a business requires access to Azure SQL during a primary Region failure with minimal DNS changes. Here the required proof is that a failover exercise meets the required application connection recovery time. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
D:The continuity plan records tested lag and realistic RPO under simulated regional failure could validate a separate fix, for example when a regional disaster recovery plan promises zero data loss using asynchronous geo-replication. Here the required proof is that a failover exercise meets the required application connection recovery time. The alternative tests another database behavior and cannot establish whether the stated issue was corrected.
Question 288
A database administrator must resolve this Azure SQL or SQL Server issue: An Azure SQL deployment needs a secret but pipeline logs show the administrator password in plain text. What action BEST meets the requirement?
- Declare resource dependencies so partner SQL servers exist before dependent failover resources
- Include connectivity and authentication smoke tests after infrastructure deployment
- Add policy checks for approved public network access and firewall settings in IaC
- Use secure template parameters or managed identity and protected secret retrieval
Explanation
Correct Answer
D:Use secure template parameters or managed identity and protected secret retrieval. The deciding requirement in this SQL platform scenario is addressed because azure deployment secrets should avoid plaintext command arguments and committed files. Without the change, a successful deployment does not mean that sensitive template input was handled securely. Confirm the outcome through a controlled validation where pipeline logs and generated artifacts reveal no reusable administrator secret.
Incorrect Answers
A:Declare resource dependencies so partner SQL servers exist before dependent failover resources would instead apply to another SQL platform issue, such as when a multi-region Bicep template creates a failover group before the partner server is deployed. The present requirement calls for use secure template parameters or managed identity and protected secret retrieval; this alternative changes a different control and does not directly resolve the stated database issue.
B:Include connectivity and authentication smoke tests after infrastructure deployment would instead apply to another SQL platform issue, such as when an Azure SQL deployment returns Succeeded but applications fail because a private DNS link was skipped. The present requirement calls for use secure template parameters or managed identity and protected secret retrieval; this alternative changes a different control and does not directly resolve the stated database issue.
C:Add policy checks for approved public network access and firewall settings in IaC would instead apply to another SQL platform issue, such as when an automation workflow creates a database but accidentally exposes its logical server publicly. The present requirement calls for use secure template parameters or managed identity and protected secret retrieval; this alternative changes a different control and does not directly resolve the stated database issue.
Question 289
A database administrator selects "Inspect role membership and effective database object permissions before changing access" after observing "An Azure SQL user can connect but receives SELECT permission denied on a single schema". What mechanism makes it appropriate?
- Authentication success is separate from database authorization over securables
- Microsoft Entra authentication allows supported Azure SQL services to validate enterprise identities
- SQL Server IaaS can use the host domain authentication model when connectivity and trust exist
- Database object-level GRANT and role membership support narrowly scoped SQL access
Explanation
Correct Answer
A:Authentication success is separate from database authorization over securables. This is the mechanism that makes the proposed change, inspect role membership and effective database object permissions before changing access, appropriate to the database environment described. The key limitation is that changing firewall rules cannot fix a denied object-level SQL permission after login. A concrete confirmation is that the approved user reads the intended schema without being granted unrelated objects.
Incorrect Answers
B:Microsoft Entra authentication allows supported Azure SQL services to validate enterprise identities is a valid distinction for a different database situation, for example when an application administrator wants employees to sign in to Azure SQL using corporate identities without storing SQL passwords. Here the determining mechanism is that authentication success is separate from database authorization over securables. The alternative does not explain why the selected solution addresses this requirement.
C:SQL Server IaaS can use the host domain authentication model when connectivity and trust exist is a valid distinction for a different database situation, for example when a SQL Server on an Azure VM must continue to use Windows integrated logins for existing intranet applications. Here the determining mechanism is that authentication success is separate from database authorization over securables. The alternative does not explain why the selected solution addresses this requirement.
D:Database object-level GRANT and role membership support narrowly scoped SQL access is a valid distinction for a different database situation, for example when a service identity must query one reporting view but not update the underlying finance table. Here the determining mechanism is that authentication success is separate from database authorization over securables. The alternative does not explain why the selected solution addresses this requirement.
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.