Question 330
The planned architecture is: Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls. Workload context: A public-facing Azure PostgreSQL flexible server must be reachable only from private workloads in a designated VNet. Which acceptance test demonstrates that the required behavior works?
- Deploy a compatibility test and verify built-in backup and managed database operations without VM administration.
- Observe replica/failover status and successful reconnect after a controlled zone failure scenario.
- Benchmark read query loads on replica endpoints while verifying primary write latency.
- Resolve the server FQDN privately and connect from the designated subnet while an external host cannot.
Explanation
Correct Answer
D:The acceptance test is specific: Resolve the server FQDN privately and connect from the designated subnet while an external host cannot. Its purpose is to establish that the proposed architecture works: Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls.
Incorrect Answers
A: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: Resolve the server FQDN privately and connect from the designated subnet while an external host cannot.
B:The alternative test targets: Enable supported zone-redundant high availability for PostgreSQL flexible server and test managed failover. The scenario's actual proposed remedy is: Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls. Verify that one by: Resolve the server FQDN privately and connect from the designated subnet while an external host cannot.
C:The acceptance test is specific: Resolve the server FQDN privately and connect from the designated subnet while an external host cannot.
Question 331
The customer states: A public-facing Azure PostgreSQL flexible server must be reachable only from private workloads in a designated VNet. An incident reveals: The database accepts connections over an unrestricted public endpoint. What cause best accounts for this evidence?
- An IaaS SQL VM was selected even though no host-level SQL Server feature requires it.
- The network exposure model does not enforce the required private access boundary.
- High availability was not deployed across suitable availability zones.
- Reads were not offloaded to managed replicas and all requests target the writable primary.
Explanation
Correct Answer
B:The recorded behavior follows from: The network exposure model does not enforce the required private access boundary. The appropriate mitigation would be: Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls. Verify with: Resolve the server FQDN privately and connect from the designated subnet while an external host cannot.
Incorrect Answers
A:An IaaS SQL VM was selected even though no host-level SQL Server feature requires it. The network exposure model does not enforce the required private access boundary.
C:High availability was not deployed across suitable availability zones. The network exposure model does not enforce the required private access boundary.
D:Reads were not offloaded to managed replicas and all requests target the writable primary. The network exposure model does not enforce the required private access boundary.
Question 332
Workload context: A public-facing Azure PostgreSQL flexible server must be reachable only from private workloads in a designated VNet. The implemented remedy is: Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls. Which ongoing practice most specifically prevents recurrence of this failure: The database accepts connections over an unrestricted public endpoint.?
- Audit DNS linkage, firewall/network rules and supported networking mode before redeployment.
- Check replication lag and consistency expectations for reports after replica scale changes.
- Monitor standby health and connection retry patterns after server maintenance.
- Reassess database compatibility and PaaS feature availability before expanding server fleets.
Explanation
Correct Answer
A:This is an ongoing protection specific to the fault: Audit DNS linkage, firewall/network rules and supported networking mode before redeployment. The recurrence risk is: The network exposure model does not enforce the required private access boundary. It should be checked using: Resolve the server FQDN privately and connect from the designated subnet while an external host cannot.
Incorrect Answers
B:Checking replication lag and consistency expectations for reports after replica scale changes would not audit DNS linkage, firewall/network rules and supported networking mode.
C:Monitoring standby health and connection retry patterns after server maintenance would not audit DNS linkage, firewall/network rules and supported networking mode.
D:Reassess database compatibility and PaaS feature availability would not audit DNS linkage, firewall/network rules and supported networking mode.
Question 333
A solution architect is reviewing a workload: An SQL workload's database backup should support regional disaster recovery even if the primary region is permanently unavailable. The observed incident is: Only locally redundant backups exist when the region is inaccessible. Which architecture choice most directly removes the identified weakness?
- Configure an appropriate Azure SQL long-term backup retention policy matching compliance periods.
- Design Azure SQL automated backups and supported point-in-time restore with a retention window covering the incident horizon.
- Configure active geo-replication to a suitable readable secondary and validate business RPO expectations.
- Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope.
Explanation
Correct Answer
D:The targeted implementation is: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope. The problem is not generic resource availability: Backup redundancy was chosen without aligning regional recovery requirements. Verify the result by: Simulate restoring from geo-redundant retained backups to an allowed secondary region.
Incorrect Answers
A:Configuring an appropriate Azure SQL long-term backup retention policy matching compliance periods would not meet the need for an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope.
B:Designing Azure SQL automated backups and supported point-in-time restore with a retention window covering the incident horizon would not meet the need for an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope.
C:Configuring active geo-replication to a suitable readable secondary and validating business RPO expectations would not meet the need for an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope.
Question 334
An architect proposes this change: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope. The workload context is: An SQL workload's database backup should support regional disaster recovery even if the primary region is permanently unavailable. Which evidence would most directly validate the change?
- Query the secondary and compare replication lag and failover limitations under controlled writes.
- Restore a disposable database to a timestamp before deletion and verify the missing records.
- Simulate restoring from geo-redundant retained backups to an allowed secondary region.
- Locate a long-term retained backup and perform a controlled restore into a test environment.
Explanation
Correct Answer
C:The acceptance test is specific: Simulate restoring from geo-redundant retained backups to an allowed secondary region. Its purpose is to establish that the proposed architecture works: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope.
Incorrect Answers
A:The alternative test targets: Configure active geo-replication to a suitable readable secondary and validate business RPO expectations. The scenario's actual proposed remedy is: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope. Verify that one by: Simulate restoring from geo-redundant retained backups to an allowed secondary region.
B:Its purpose is to establish that the proposed architecture works: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope.
D:The alternative test targets: Configure an appropriate Azure SQL long-term backup retention policy matching compliance periods. The scenario's actual proposed remedy is: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope. Verify that one by: Simulate restoring from geo-redundant retained backups to an allowed secondary region.
Question 335
During architecture troubleshooting, a team reports: Only locally redundant backups exist when the region is inaccessible. Context: An SQL workload's database backup should support regional disaster recovery even if the primary region is permanently unavailable. Which underlying design mistake explains the observed behavior most precisely?
- Backup redundancy was chosen without aligning regional recovery requirements.
- Logical corruption and deletes can replicate; there is no independent point-in-time backup plan.
- Short-term PITR retention was mistaken for multiyear long-term backup retention.
- Backups are not a continuously readable geo-replicated database copy.
Explanation
Correct Answer
A:The recorded behavior follows from: Backup redundancy was chosen without aligning regional recovery requirements. The appropriate mitigation would be: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope. Verify with: Simulate restoring from geo-redundant retained backups to an allowed secondary region.
Incorrect Answers
B:The alternative diagnosis “Logical corruption and deletes can replicate; there is no independent point-in-time backup plan” does not match the observed symptom: Only locally redundant backups exist when the region is inaccessible. Context: An SQL workload's database backup should support regional disaster recovery even if the primary region is permanently unavailable. The recorded behavior follows from: Backup redundancy was chosen without aligning regional recovery requirements. The appropriate mitigation would be: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope. The evidence instead supports “Backup redundancy was chosen without aligning regional recovery requirements”.
C:The alternative diagnosis “Short-term PITR retention was mistaken for multiyear long-term backup retention” does not match the observed symptom: Only locally redundant backups exist when the region is inaccessible. Context: An SQL workload's database backup should support regional disaster recovery even if the primary region is permanently unavailable. The recorded behavior follows from: Backup redundancy was chosen without aligning regional recovery requirements. The appropriate mitigation would be: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope. The evidence instead supports “Backup redundancy was chosen without aligning regional recovery requirements”.
D:The alternative diagnosis “Backups are not a continuously readable geo-replicated database copy” does not match the observed symptom: Only locally redundant backups exist when the region is inaccessible. Context: An SQL workload's database backup should support regional disaster recovery even if the primary region is permanently unavailable. The recorded behavior follows from: Backup redundancy was chosen without aligning regional recovery requirements. The appropriate mitigation would be: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope. The evidence instead supports “Backup redundancy was chosen without aligning regional recovery requirements”.
Question 336
The design change is: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope. The original failure was: Only locally redundant backups exist when the region is inaccessible. Which ongoing control best prevents recurrence of the same root cause?
- Audit backup expiry schedules and long-term restore permissions at compliance reviews.
- Monitor async replication health and clearly document permissible replication lag.
- Review backup redundancy and tested regional restore permissions before business continuity changes.
- Test restoration and retention policy periodically with representative tables.
Explanation
Correct Answer
C:This is an ongoing protection specific to the fault: Review backup redundancy and tested regional restore permissions before business continuity changes. The recurrence risk is: Backup redundancy was chosen without aligning regional recovery requirements. It should be checked using: Simulate restoring from geo-redundant retained backups to an allowed secondary region.
Incorrect Answers
A:The alternative diagnosis “Audit backup expiry schedules and long-term restore permissions at compliance reviews” does not match the observed symptom: The design change is: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope. The original failure was: Only locally redundant backups exist when the region is inaccessible. Which ongoing control best prevents recurrence of the same root cause?. This is an ongoing protection specific to the fault: Review backup redundancy and tested regional restore permissions before business continuity changes. The recurrence risk is: Backup redundancy was chosen without aligning regional recovery requirements. The evidence instead supports “Review backup redundancy and tested regional restore permissions before business continuity changes”.
B:The alternative diagnosis “Monitor async replication health and clearly document permissible replication lag” does not match the observed symptom: The design change is: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope. The original failure was: Only locally redundant backups exist when the region is inaccessible. Which ongoing control best prevents recurrence of the same root cause?. This is an ongoing protection specific to the fault: Review backup redundancy and tested regional restore permissions before business continuity changes. The recurrence risk is: Backup redundancy was chosen without aligning regional recovery requirements. The evidence instead supports “Review backup redundancy and tested regional restore permissions before business continuity changes”.
D:The alternative diagnosis “Test restoration and retention policy periodically with representative tables” does not match the observed symptom: The design change is: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope. The original failure was: Only locally redundant backups exist when the region is inaccessible. Which ongoing control best prevents recurrence of the same root cause?. This is an ongoing protection specific to the fault: Review backup redundancy and tested regional restore permissions before business continuity changes. The recurrence risk is: Backup redundancy was chosen without aligning regional recovery requirements. The evidence instead supports “Review backup redundancy and tested regional restore permissions before business continuity changes”.
Question 337
A design workshop has this requirement: A SQL deployment needs fine-grained protection against direct account credentials and requires Microsoft Entra integrated authorization for users. Operators currently observe: Shared SQL login credentials remain embedded in application settings and cannot be individually revoked. Select the ONE design remedy that best addresses the root cause.
- Configure an Azure SQL failover group with appropriate primary/secondary databases and supported read-write listener usage.
- Use supported Azure SQL Transparent Data Encryption with an appropriately configured customer-managed key from Key Vault where required.
- Use Azure SQL Managed Instance where SQL Server instance compatibility requirements exceed Azure SQL Database capabilities.
- Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles.
Explanation
Correct Answer
D:This option addresses the actual design defect: Identity-based database authorization was not implemented for users and workloads. The correction is: Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles. Confirm the outcome with: Connect as an authorized Entra group member and verify denied database operations outside assigned roles.
Incorrect Answers
A:The alternative diagnosis “Configure an Azure SQL failover group with appropriate primary/secondary databases and supported read-write listener usage” does not match the observed symptom: Shared SQL login credentials remain embedded in application settings and cannot be individually revoked. This option addresses the actual design defect: Identity-based database authorization was not implemented for users and workloads. The correction is: Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles. The evidence instead supports “Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles”.
B:The alternative diagnosis “Use supported Azure SQL Transparent Data Encryption with an appropriately configured customer-managed key from Key Vault where required” does not match the observed symptom: Shared SQL login credentials remain embedded in application settings and cannot be individually revoked. This option addresses the actual design defect: Identity-based database authorization was not implemented for users and workloads. The correction is: Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles. The evidence instead supports “Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles”.
C:The alternative diagnosis “Use Azure SQL Managed Instance where SQL Server instance compatibility requirements exceed Azure SQL Database capabilities” does not match the observed symptom: Shared SQL login credentials remain embedded in application settings and cannot be individually revoked. This option addresses the actual design defect: Identity-based database authorization was not implemented for users and workloads. The correction is: Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles. The evidence instead supports “Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles”.
Question 338
The planned architecture is: Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles. Workload context: A SQL deployment needs fine-grained protection against direct account credentials and requires Microsoft Entra integrated authorization for users. Which acceptance test demonstrates that the required behavior works?
- Connect as an authorized Entra group member and verify denied database operations outside assigned roles.
- Validate database encryption protector access and a controlled key rotation without losing database availability.
- Validate required instance-level features and connection behavior from the target VNet.
- Initiate planned failover and test connection string continuity through the failover-group listener.
Explanation
Correct Answer
A:This observation directly verifies the intended design: Connect as an authorized Entra group member and verify denied database operations outside assigned roles. The architecture being tested is: Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles. The original symptom was: Shared SQL login credentials remain embedded in application settings and cannot be individually revoked.
Incorrect Answers
B:That observation pertains to a separate failure: The database cannot open after the customer key is revoked or inaccessible. Its cause is: Key Vault permissions or key availability were not designed for the database encryption protector. It does not confirm the result of this design. The direct proof would be: Connect as an authorized Entra group member and verify denied database operations outside assigned roles.
C:The alternative test targets: Use Azure SQL Managed Instance where SQL Server instance compatibility requirements exceed Azure SQL Database capabilities. The scenario's actual proposed remedy is: Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles. Verify that one by: Connect as an authorized Entra group member and verify denied database operations outside assigned roles.
D:The architecture being tested is: Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles.
Question 339
The customer states: A SQL deployment needs fine-grained protection against direct account credentials and requires Microsoft Entra integrated authorization for users. An incident reveals: Shared SQL login credentials remain embedded in application settings and cannot be individually revoked. What cause best accounts for this evidence?
- Identity-based database authorization was not implemented for users and workloads.
- The application is coupled to a fixed server endpoint instead of the failover-group listener.
- Key Vault permissions or key availability were not designed for the database encryption protector.
- A single managed database model was selected despite the application's SQL Server instance feature requirements.
Explanation
Correct Answer
A:The incident is explained by: Identity-based database authorization was not implemented for users and workloads. The reported symptom is: Shared SQL login credentials remain embedded in application settings and cannot be individually revoked. The corresponding design fix is: Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles.
Incorrect Answers
B:The application is coupled to a fixed server endpoint instead of the failover-group listener. Identity-based database authorization was not implemented for users and workloads.
C:Key Vault permissions or key availability were not designed for the database encryption protector. Identity-based database authorization was not implemented for users and workloads.
D:A single managed database model was selected despite the application's SQL Server instance feature requirements. Identity-based database authorization was not implemented for users and workloads.
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:Tracking Managed Instance version compatibility and validating legacy SQL features after migrations would not audit Entra group membership and database role mappings after team changes.
B:Testing failover-group listeners and replication health after planned infrastructure changes would not audit Entra group membership and database role mappings after team changes.
D:Reviewing key lifecycle, permissions and vault availability would not audit Entra group membership and database role mappings after team changes.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests