Question 340
Workload context: A SQL deployment needs fine-grained protection against direct account credentials and requires Microsoft Entra integrated authorization for users. The implemented remedy is: Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles. Which ongoing practice most specifically prevents recurrence of this failure: Shared SQL login credentials remain embedded in application settings and cannot be individually revoked.?
- Track Managed Instance version compatibility and validate legacy SQL features after migrations.
- Test failover-group listeners and replication health after planned infrastructure changes.
- Audit Entra group membership and database role mappings after team changes.
- Review key lifecycle, permissions and vault availability before CMK rotations.
Explanation
Correct Answer
C:The key follow-up control is: Audit Entra group membership and database role mappings after team changes. It avoids recurrence of the scenario in which: Shared SQL login credentials remain embedded in application settings and cannot be individually revoked. It addresses: Identity-based database authorization was not implemented for users and workloads.
Incorrect Answers
A:That safeguard manages another risk: A single managed database model was selected despite the application's SQL Server instance feature requirements. Its scenario is: A migration to Azure SQL Database fails due to unsupported instance-level application dependencies. The present recurring risk is: Identity-based database authorization was not implemented for users and workloads. The proper ongoing control is: Audit Entra group membership and database role mappings after team changes.
B:This is a reasonable safeguard for a different fault: Clients cannot connect after manual regional failover because they use a region-specific server hostname. That different mechanism is: The application is coupled to a fixed server endpoint instead of the failover-group listener. The original incident here instead arises from: Identity-based database authorization was not implemented for users and workloads. The directly relevant safeguard is: Audit Entra group membership and database role mappings after team changes.
D:That safeguard manages another risk: Key Vault permissions or key availability were not designed for the database encryption protector. Its scenario is: The database cannot open after the customer key is revoked or inaccessible. The present recurring risk is: Identity-based database authorization was not implemented for users and workloads. The proper ongoing control is: Audit Entra group membership and database role mappings after team changes.
Question 341
A solution architect is reviewing a workload: An Azure SQL workload requires database-level encryption at rest with customer-managed key control and separation of duties. The observed incident is: The database cannot open after the customer key is revoked or inaccessible. Which architecture choice most directly removes the identified weakness?
- Use Azure SQL Managed Instance where SQL Server instance compatibility requirements exceed Azure SQL Database capabilities.
- Use supported Azure SQL Transparent Data Encryption with an appropriately configured customer-managed key from Key Vault where required.
- Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope.
- Use supported Always Encrypted for the target SQL columns and manage client-side keys and compatible drivers.
Explanation
Correct Answer
B:The targeted implementation is: Use supported Azure SQL Transparent Data Encryption with an appropriately configured customer-managed key from Key Vault where required. The problem is not generic resource availability: Key Vault permissions or key availability were not designed for the database encryption protector. Verify the result by: Validate database encryption protector access and a controlled key rotation without losing database availability.
Incorrect Answers
A:This choice mitigates an alternative scenario, where: A migration to Azure SQL Database fails due to unsupported instance-level application dependencies. The underlying issue there is: A single managed database model was selected despite the application's SQL Server instance feature requirements. Here the root issue is: Key Vault permissions or key availability were not designed for the database encryption protector. Choose the corresponding action: Use supported Azure SQL Transparent Data Encryption with an appropriately configured customer-managed key from Key Vault where required.
C:That design instead addresses another observed condition: Only locally redundant backups exist when the region is inaccessible. Its technical cause is: Backup redundancy was chosen without aligning regional recovery requirements. The current workload exhibits: The database cannot open after the customer key is revoked or inaccessible. Its targeted remedy is: Use supported Azure SQL Transparent Data Encryption with an appropriately configured customer-managed key from Key Vault where required.
D:This choice mitigates an alternative scenario, where: A database administrator can read sensitive data despite database encryption at rest. The underlying issue there is: TDE alone encrypts files at rest and does not implement client-side column confidentiality. Here the root issue is: Key Vault permissions or key availability were not designed for the database encryption protector. Choose the corresponding action: Use supported Azure SQL Transparent Data Encryption with an appropriately configured customer-managed key from Key Vault where required.
Question 342
An architect proposes this change: Use supported Azure SQL Transparent Data Encryption with an appropriately configured customer-managed key from Key Vault where required. The workload context is: An Azure SQL workload requires database-level encryption at rest with customer-managed key control and separation of duties. Which evidence would most directly validate the change?
- Validate required instance-level features and connection behavior from the target VNet.
- Run a query as an untrusted DBA and verify protected column ciphertext while a privileged client decrypts it.
- Validate database encryption protector access and a controlled key rotation without losing database availability.
- Simulate restoring from geo-redundant retained backups to an allowed secondary region.
Explanation
Correct Answer
C:This observation directly verifies the intended design: Validate database encryption protector access and a controlled key rotation without losing database availability. The architecture being tested is: Use supported Azure SQL Transparent Data Encryption with an appropriately configured customer-managed key from Key Vault where required. The original symptom was: The database cannot open after the customer key is revoked or inaccessible.
Incorrect Answers
A:That observation pertains to a separate failure: A migration to Azure SQL Database fails due to unsupported instance-level application dependencies. Its cause is: A single managed database model was selected despite the application's SQL Server instance feature requirements. It does not confirm the result of this design. The direct proof would be: Validate database encryption protector access and a controlled key rotation without losing database availability.
B:The alternative test targets: Use supported Always Encrypted for the target SQL columns and manage client-side keys and compatible drivers. The scenario's actual proposed remedy is: Use supported Azure SQL Transparent Data Encryption with an appropriately configured customer-managed key from Key Vault where required. Verify that one by: Validate database encryption protector access and a controlled key rotation without losing database availability.
D:That observation pertains to a separate failure: Only locally redundant backups exist when the region is inaccessible. Its cause is: Backup redundancy was chosen without aligning regional recovery requirements. It does not confirm the result of this design. The direct proof would be: Validate database encryption protector access and a controlled key rotation without losing database availability.
Question 343
During architecture troubleshooting, a team reports: The database cannot open after the customer key is revoked or inaccessible. Context: An Azure SQL workload requires database-level encryption at rest with customer-managed key control and separation of duties. Which underlying design mistake explains the observed behavior most precisely?
- A single managed database model was selected despite the application's SQL Server instance feature requirements.
- TDE alone encrypts files at rest and does not implement client-side column confidentiality.
- Key Vault permissions or key availability were not designed for the database encryption protector.
- Backup redundancy was chosen without aligning regional recovery requirements.
Explanation
Correct Answer
C:The incident is explained by: Key Vault permissions or key availability were not designed for the database encryption protector. The reported symptom is: The database cannot open after the customer key is revoked or inaccessible. The corresponding design fix is: Use supported Azure SQL Transparent Data Encryption with an appropriately configured customer-managed key from Key Vault where required.
Incorrect Answers
A:The proposed diagnosis fits another scenario: A single managed database model was selected despite the application's SQL Server instance feature requirements. It would typically be reflected by: A migration to Azure SQL Database fails due to unsupported instance-level application dependencies. The current evidence instead supports: Key Vault permissions or key availability were not designed for the database encryption protector.
B:The alternative weakness is: TDE alone encrypts files at rest and does not implement client-side column confidentiality. Its associated failure is: A database administrator can read sensitive data despite database encryption at rest. Neither explains the present observation: The database cannot open after the customer key is revoked or inaccessible. The direct cause here is: Key Vault permissions or key availability were not designed for the database encryption protector.
D:The proposed diagnosis fits another scenario: Backup redundancy was chosen without aligning regional recovery requirements. It would typically be reflected by: Only locally redundant backups exist when the region is inaccessible. The current evidence instead supports: Key Vault permissions or key availability were not designed for the database encryption protector.
Question 344
The design change is: Use supported Azure SQL Transparent Data Encryption with an appropriately configured customer-managed key from Key Vault where required. The original failure was: The database cannot open after the customer key is revoked or inaccessible. Which ongoing control best prevents recurrence of the same root cause?
- Review backup redundancy and tested regional restore permissions before business continuity changes.
- Review key lifecycle, permissions and vault availability before CMK rotations.
- Track Managed Instance version compatibility and validate legacy SQL features after migrations.
- Test driver and query compatibility whenever encrypted columns are modified.
Explanation
Correct Answer
B:The key follow-up control is: Review key lifecycle, permissions and vault availability before CMK rotations. It avoids recurrence of the scenario in which: The database cannot open after the customer key is revoked or inaccessible. It addresses: Key Vault permissions or key availability were not designed for the database encryption protector.
Incorrect Answers
A:This is a reasonable safeguard for a different fault: Only locally redundant backups exist when the region is inaccessible. That different mechanism is: Backup redundancy was chosen without aligning regional recovery requirements. The original incident here instead arises from: Key Vault permissions or key availability were not designed for the database encryption protector. The directly relevant safeguard is: Review key lifecycle, permissions and vault availability before CMK rotations.
C:That safeguard manages another risk: A single managed database model was selected despite the application's SQL Server instance feature requirements. Its scenario is: A migration to Azure SQL Database fails due to unsupported instance-level application dependencies. The present recurring risk is: Key Vault permissions or key availability were not designed for the database encryption protector. The proper ongoing control is: Review key lifecycle, permissions and vault availability before CMK rotations.
D:This is a reasonable safeguard for a different fault: A database administrator can read sensitive data despite database encryption at rest. That different mechanism is: TDE alone encrypts files at rest and does not implement client-side column confidentiality. The original incident here instead arises from: Key Vault permissions or key availability were not designed for the database encryption protector. The directly relevant safeguard is: Review key lifecycle, permissions and vault availability before CMK rotations.
Question 345
A design workshop has this requirement: A finance SQL database must prevent highly privileged administrators from seeing designated sensitive columns in plaintext while the client app processes them. Operators currently observe: A database administrator can read sensitive data despite database encryption at rest. Select the ONE design remedy that best addresses the root cause.
- Use supported Azure SQL Transparent Data Encryption with an appropriately configured customer-managed key from Key Vault where required.
- Use supported read scale-out with the read-only application intent connection routing available for the tier.
- Use the Business Critical service tier and suitable vCore allocation for latency-sensitive OLTP.
- Use supported Always Encrypted for the target SQL columns and manage client-side keys and compatible drivers.
Explanation
Correct Answer
D:The targeted implementation is: Use supported Always Encrypted for the target SQL columns and manage client-side keys and compatible drivers. The problem is not generic resource availability: TDE alone encrypts files at rest and does not implement client-side column confidentiality. Verify the result by: Run a query as an untrusted DBA and verify protected column ciphertext while a privileged client decrypts it.
Incorrect Answers
A:The option belongs to a different failure mechanism: Key Vault permissions or key availability were not designed for the database encryption protector. That situation exhibits: The database cannot open after the customer key is revoked or inaccessible. For the stated case, the remedy is: Use supported Always Encrypted for the target SQL columns and manage client-side keys and compatible drivers.
B:That design instead addresses another observed condition: Reporting queries slow writes because both are directed to the primary read-write endpoint. Its technical cause is: The application does not use supported read-only replica routing for analytical traffic. The current workload exhibits: A database administrator can read sensitive data despite database encryption at rest. Its targeted remedy is: Use supported Always Encrypted for the target SQL columns and manage client-side keys and compatible drivers.
C:This choice mitigates an alternative scenario, where: General Purpose database storage latency repeatedly misses transaction response targets. The underlying issue there is: Remote-storage latency characteristics do not meet the critical OLTP requirement. Here the root issue is: TDE alone encrypts files at rest and does not implement client-side column confidentiality. Choose the corresponding action: Use supported Always Encrypted for the target SQL columns and manage client-side keys and compatible drivers.
Question 346
The planned architecture is: Use supported Always Encrypted for the target SQL columns and manage client-side keys and compatible drivers. Workload context: A finance SQL database must prevent highly privileged administrators from seeing designated sensitive columns in plaintext while the client app processes them. Which acceptance test demonstrates that the required behavior works?
- Connect with read-only intent and confirm analytics query load routes to an appropriate read replica.
- Validate database encryption protector access and a controlled key rotation without losing database availability.
- Run a query as an untrusted DBA and verify protected column ciphertext while a privileged client decrypts it.
- Measure IO latency, high-availability behavior and query response under peak load.
Explanation
Correct Answer
C:The acceptance test is specific: Run a query as an untrusted DBA and verify protected column ciphertext while a privileged client decrypts it. Its purpose is to establish that the proposed architecture works: Use supported Always Encrypted for the target SQL columns and manage client-side keys and compatible drivers.
Incorrect Answers
A:The alternative test targets: Use supported read scale-out with the read-only application intent connection routing available for the tier. The scenario's actual proposed remedy is: Use supported Always Encrypted for the target SQL columns and manage client-side keys and compatible drivers. Verify that one by: Run a query as an untrusted DBA and verify protected column ciphertext while a privileged client decrypts it.
B:This check validates a different workload: Validate database encryption protector access and a controlled key rotation without losing database availability. Its associated design is: Use supported Azure SQL Transparent Data Encryption with an appropriately configured customer-managed key from Key Vault where required. The required acceptance test here is: Run a query as an untrusted DBA and verify protected column ciphertext while a privileged client decrypts it.
D:The alternative test targets: Use the Business Critical service tier and suitable vCore allocation for latency-sensitive OLTP. The scenario's actual proposed remedy is: Use supported Always Encrypted for the target SQL columns and manage client-side keys and compatible drivers. Verify that one by: Run a query as an untrusted DBA and verify protected column ciphertext while a privileged client decrypts it.
Question 347
The customer states: A finance SQL database must prevent highly privileged administrators from seeing designated sensitive columns in plaintext while the client app processes them. An incident reveals: A database administrator can read sensitive data despite database encryption at rest. What cause best accounts for this evidence?
- Key Vault permissions or key availability were not designed for the database encryption protector.
- TDE alone encrypts files at rest and does not implement client-side column confidentiality.
- The application does not use supported read-only replica routing for analytical traffic.
- Remote-storage latency characteristics do not meet the critical OLTP requirement.
Explanation
Correct Answer
B:The incident is explained by: TDE alone encrypts files at rest and does not implement client-side column confidentiality. The reported symptom is: A database administrator can read sensitive data despite database encryption at rest. The corresponding design fix is: Use supported Always Encrypted for the target SQL columns and manage client-side keys and compatible drivers.
Incorrect Answers
A:The alternative weakness is: Key Vault permissions or key availability were not designed for the database encryption protector. Its associated failure is: The database cannot open after the customer key is revoked or inaccessible. Neither explains the present observation: A database administrator can read sensitive data despite database encryption at rest. The direct cause here is: TDE alone encrypts files at rest and does not implement client-side column confidentiality.
C:The proposed diagnosis fits another scenario: The application does not use supported read-only replica routing for analytical traffic. It would typically be reflected by: Reporting queries slow writes because both are directed to the primary read-write endpoint. The current evidence instead supports: TDE alone encrypts files at rest and does not implement client-side column confidentiality.
D:The alternative weakness is: Remote-storage latency characteristics do not meet the critical OLTP requirement. Its associated failure is: General Purpose database storage latency repeatedly misses transaction response targets. Neither explains the present observation: A database administrator can read sensitive data despite database encryption at rest. The direct cause here is: TDE alone encrypts files at rest and does not implement client-side column confidentiality.
Question 348
Workload context: A finance SQL database must prevent highly privileged administrators from seeing designated sensitive columns in plaintext while the client app processes them. The implemented remedy is: Use supported Always Encrypted for the target SQL columns and manage client-side keys and compatible drivers. Which ongoing practice most specifically prevents recurrence of this failure: A database administrator can read sensitive data despite database encryption at rest.?
- Test driver and query compatibility whenever encrypted columns are modified.
- Benchmark peak throughput and failover timing before changing SQL service tiers.
- Monitor replica lag and read-intent connection strings after changing driver versions.
- Review key lifecycle, permissions and vault availability before CMK rotations.
Explanation
Correct Answer
A:The key follow-up control is: Test driver and query compatibility whenever encrypted columns are modified. It avoids recurrence of the scenario in which: A database administrator can read sensitive data despite database encryption at rest. It addresses: TDE alone encrypts files at rest and does not implement client-side column confidentiality.
Incorrect Answers
B:That safeguard manages another risk: Remote-storage latency characteristics do not meet the critical OLTP requirement. Its scenario is: General Purpose database storage latency repeatedly misses transaction response targets. The present recurring risk is: TDE alone encrypts files at rest and does not implement client-side column confidentiality. The proper ongoing control is: Test driver and query compatibility whenever encrypted columns are modified.
C:This is a reasonable safeguard for a different fault: Reporting queries slow writes because both are directed to the primary read-write endpoint. That different mechanism is: The application does not use supported read-only replica routing for analytical traffic. The original incident here instead arises from: TDE alone encrypts files at rest and does not implement client-side column confidentiality. The directly relevant safeguard is: Test driver and query compatibility whenever encrypted columns are modified.
D:The proposed control focuses on: Key Vault permissions or key availability were not designed for the database encryption protector. For the design in the question, recurrence comes from: TDE alone encrypts files at rest and does not implement client-side column confidentiality. A precise prevention step is: Test driver and query compatibility whenever encrypted columns are modified.
Question 349
A solution architect is reviewing a workload: An application team wants a transparent route to move SQL Server databases from on-premises to Azure with minimal downtime and structured assessment. The observed incident is: A large database cutover exceeds downtime when operators use one manual full backup restore. Which architecture choice most directly removes the identified weakness?
- Use Azure SQL Managed Instance where SQL Server instance compatibility requirements exceed Azure SQL Database capabilities.
- Use Azure Database Migration Service with supported online/offline workflow after assessing compatibility and prerequisites.
- Choose Azure SQL Database when its managed single-database compatibility meets workload requirements.
- Design a compatibility-tested migration with appropriate instance sizing, connectivity, application dependencies and rollback plan.
Explanation
Correct Answer
B:The evidence (A large database cutover exceeds downtime when operators use one manual full backup restore.) identifies the following cause: The migration process lacks supported continuous data movement or planned downtime strategy. The design that removes it is: Use Azure Database Migration Service with supported online/offline workflow after assessing compatibility and prerequisites. The acceptance check is: Run a representative migration, reconcile rows and test application cutover within the allowed interruption.
Incorrect Answers
A:That design instead addresses another observed condition: A migration to Azure SQL Database fails due to unsupported instance-level application dependencies. Its technical cause is: A single managed database model was selected despite the application's SQL Server instance feature requirements. The current workload exhibits: A large database cutover exceeds downtime when operators use one manual full backup restore. Its targeted remedy is: Use Azure Database Migration Service with supported online/offline workflow after assessing compatibility and prerequisites.
C:The option belongs to a different failure mechanism: An IaaS SQL VM was selected even though no host-level SQL Server feature requires it. That situation exhibits: The company continues to patch an entire Windows Server VM for a small database workload. For the stated case, the remedy is: Use Azure Database Migration Service with supported online/offline workflow after assessing compatibility and prerequisites.
D:That design instead addresses another observed condition: Each database is migrated in isolation and dependent cross-database workflows fail in production. Its technical cause is: Migration scope ignores instance-level dependencies and target service compatibility. The current workload exhibits: A large database cutover exceeds downtime when operators use one manual full backup restore. Its targeted remedy is: Use Azure Database Migration Service with supported online/offline workflow after assessing compatibility and prerequisites.
Question 350
An architect proposes this change: Use Azure Database Migration Service with supported online/offline workflow after assessing compatibility and prerequisites. The workload context is: An application team wants a transparent route to move SQL Server databases from on-premises to Azure with minimal downtime and structured assessment. Which evidence would most directly validate the change?
- Run a representative migration, reconcile rows and test application cutover within the allowed interruption.
- Deploy a compatibility test and verify built-in backup and managed database operations without VM administration.
- Run a cutover rehearsal including cross-database queries, jobs and external connection strings.
- Validate required instance-level features and connection behavior from the target VNet.
Explanation
Correct Answer
A:This observation directly verifies the intended design: Run a representative migration, reconcile rows and test application cutover within the allowed interruption. The architecture being tested is: Use Azure Database Migration Service with supported online/offline workflow after assessing compatibility and prerequisites. The original symptom was: A large database cutover exceeds downtime when operators use one manual full backup restore.
Incorrect Answers
B:That observation pertains to a separate failure: The company continues to patch an entire Windows Server VM for a small database workload. Its cause is: An IaaS SQL VM was selected even though no host-level SQL Server feature requires it. It does not confirm the result of this design. The direct proof would be: Run a representative migration, reconcile rows and test application cutover within the allowed interruption.
C:The alternative test targets: Design a compatibility-tested migration with appropriate instance sizing, connectivity, application dependencies and rollback plan. The scenario's actual proposed remedy is: Use Azure Database Migration Service with supported online/offline workflow after assessing compatibility and prerequisites. Verify that one by: Run a representative migration, reconcile rows and test application cutover within the allowed interruption.
D:This check validates a different workload: Validate required instance-level features and connection behavior from the target VNet. Its associated design is: Use Azure SQL Managed Instance where SQL Server instance compatibility requirements exceed Azure SQL Database capabilities. The required acceptance test here is: Run a representative migration, reconcile rows and test application cutover within the allowed interruption.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests