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:This check validates a different workload: Benchmark read query loads on replica endpoints while verifying primary write latency. Its associated design is: Configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them. The required acceptance test here is: 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:The proposed diagnosis fits another scenario: An IaaS SQL VM was selected even though no host-level SQL Server feature requires it. It would typically be reflected by: The company continues to patch an entire Windows Server VM for a small database workload. The current evidence instead supports: The network exposure model does not enforce the required private access boundary.
C:This cause would explain a different symptom: The database is unavailable until a single-zone host is restored after a zonal incident. The mechanism for that event is: High availability was not deployed across suitable availability zones. Here the stated symptom is: The database accepts connections over an unrestricted public endpoint. Its cause is: The network exposure model does not enforce the required private access boundary.
D:The proposed diagnosis fits another scenario: Reads were not offloaded to managed replicas and all requests target the writable primary. It would typically be reflected by: Analytic SELECTs saturate the primary although separate read capacity is available. The current evidence instead supports: 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:The proposed control focuses on: Reads were not offloaded to managed replicas and all requests target the writable primary. For the design in the question, recurrence comes from: The network exposure model does not enforce the required private access boundary. A precise prevention step is: Audit DNS linkage, firewall/network rules and supported networking mode before redeployment.
C:That safeguard manages another risk: High availability was not deployed across suitable availability zones. Its scenario is: The database is unavailable until a single-zone host is restored after a zonal incident. The present recurring risk is: The network exposure model does not enforce the required private access boundary. The proper ongoing control is: Audit DNS linkage, firewall/network rules and supported networking mode before redeployment.
D:This is a reasonable safeguard for a different fault: The company continues to patch an entire Windows Server VM for a small database workload. That different mechanism is: An IaaS SQL VM was selected even though no host-level SQL Server feature requires it. The original incident here instead arises from: The network exposure model does not enforce the required private access boundary. The directly relevant safeguard is: Audit DNS linkage, firewall/network rules and supported networking mode before redeployment.
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:The option belongs to a different failure mechanism: Short-term PITR retention was mistaken for multiyear long-term backup retention. That situation exhibits: The only retained database backups expire weeks before audit evidence is required. For the stated case, the remedy is: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope.
B:That design instead addresses another observed condition: Operators assume a database geo-replica can replace every accidental deletion recovery need. Its technical cause is: Logical corruption and deletes can replicate; there is no independent point-in-time backup plan. The current workload exhibits: Only locally redundant backups exist when the region is inaccessible. Its targeted remedy is: Select an Azure SQL backup storage redundancy and recovery strategy that supports the required geo-restore scope.
C:This choice mitigates an alternative scenario, where: A regional analytics service cannot read data because only periodic offline backups exist. The underlying issue there is: Backups are not a continuously readable geo-replicated database copy. Here the root issue is: Backup redundancy was chosen without aligning regional recovery requirements. Choose the corresponding action: Select 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:This check validates a different workload: Restore a disposable database to a timestamp before deletion and verify the missing records. Its associated design is: Design Azure SQL automated backups and supported point-in-time restore with a retention window covering the incident horizon. The required acceptance test here is: Simulate restoring from geo-redundant retained backups to an allowed secondary region.
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:This cause would explain a different symptom: Operators assume a database geo-replica can replace every accidental deletion recovery need. The mechanism for that event is: Logical corruption and deletes can replicate; there is no independent point-in-time backup plan. Here the stated symptom is: Only locally redundant backups exist when the region is inaccessible. Its cause is: Backup redundancy was chosen without aligning regional recovery requirements.
C:The proposed diagnosis fits another scenario: Short-term PITR retention was mistaken for multiyear long-term backup retention. It would typically be reflected by: The only retained database backups expire weeks before audit evidence is required. The current evidence instead supports: Backup redundancy was chosen without aligning regional recovery requirements.
D:The alternative weakness is: Backups are not a continuously readable geo-replicated database copy. Its associated failure is: A regional analytics service cannot read data because only periodic offline backups exist. Neither explains the present observation: Only locally redundant backups exist when the region is inaccessible. The direct cause here is: 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 proposed control focuses on: Short-term PITR retention was mistaken for multiyear long-term backup retention. For the design in the question, recurrence comes from: Backup redundancy was chosen without aligning regional recovery requirements. A precise prevention step is: Review backup redundancy and tested regional restore permissions before business continuity changes.
B:That safeguard manages another risk: Backups are not a continuously readable geo-replicated database copy. Its scenario is: A regional analytics service cannot read data because only periodic offline backups exist. The present recurring risk is: Backup redundancy was chosen without aligning regional recovery requirements. The proper ongoing control is: Review backup redundancy and tested regional restore permissions before business continuity changes.
D:The proposed control focuses on: Logical corruption and deletes can replicate; there is no independent point-in-time backup plan. For the design in the question, recurrence comes from: Backup redundancy was chosen without aligning regional recovery requirements. A precise prevention step is: 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:That design instead addresses another observed condition: Clients cannot connect after manual regional failover because they use a region-specific server hostname. Its technical cause is: The application is coupled to a fixed server endpoint instead of the failover-group listener. The current workload exhibits: Shared SQL login credentials remain embedded in application settings and cannot be individually revoked. Its targeted remedy is: Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles.
B:This choice mitigates an alternative scenario, where: The database cannot open after the customer key is revoked or inaccessible. The underlying issue there is: Key Vault permissions or key availability were not designed for the database encryption protector. Here the root issue is: Identity-based database authorization was not implemented for users and workloads. Choose the corresponding action: Configure Azure SQL Microsoft Entra authentication with group-based database principals and least-privilege roles.
C:The option belongs to a different failure mechanism: A single managed database model was selected despite the application's SQL Server instance feature requirements. That situation exhibits: A migration to Azure SQL Database fails due to unsupported instance-level application dependencies. For the stated case, the remedy is: 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:This check validates a different workload: Initiate planned failover and test connection string continuity through the failover-group listener. Its associated design is: Configure an Azure SQL failover group with appropriate primary/secondary databases and supported read-write listener usage. The required acceptance test here is: Connect as an authorized Entra group member and verify denied database operations outside assigned 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 proposed diagnosis fits another scenario: The application is coupled to a fixed server endpoint instead of the failover-group listener. It would typically be reflected by: Clients cannot connect after manual regional failover because they use a region-specific server hostname. The current evidence instead supports: Identity-based database authorization was not implemented for users and workloads.
C: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: Shared SQL login credentials remain embedded in application settings and cannot be individually revoked. The direct cause here is: Identity-based database authorization was not implemented for users and workloads.
D:This cause would explain a different symptom: A migration to Azure SQL Database fails due to unsupported instance-level application dependencies. The mechanism for that event is: A single managed database model was selected despite the application's SQL Server instance feature requirements. Here the stated symptom is: Shared SQL login credentials remain embedded in application settings and cannot be individually revoked. Its cause is: 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: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.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests