Question 320
A design review identifies: An industry regulator requires an Azure SQL database backup retained for multiple years beyond short operational point-in-time restore windows. The failure is: The only retained database backups expire weeks before audit evidence is required. Select TWO distinct decisions that together provide the immediate technical solution AND an ongoing prevention control. A verification-only step does not replace either responsibility.
- Configure an appropriate Azure SQL long-term backup retention policy matching compliance periods.
- Audit backup expiry schedules and long-term restore permissions at compliance reviews.
- Choose Azure SQL Database when its managed single-database compatibility meets workload requirements.
- Review backup redundancy and tested regional restore permissions before business continuity changes.
- Design Azure SQL automated backups and supported point-in-time restore with a retention window covering the incident horizon.
Explanation
Correct Answers
A:The evidence (The only retained database backups expire weeks before audit evidence is required.) identifies the following cause: Short-term PITR retention was mistaken for multiyear long-term backup retention. The design that removes it is: Configure an appropriate Azure SQL long-term backup retention policy matching compliance periods. The acceptance check is: Locate a long-term retained backup and perform a controlled restore into a test environment.
B:The key follow-up control is: Audit backup expiry schedules and long-term restore permissions at compliance reviews. It avoids recurrence of the scenario in which: The only retained database backups expire weeks before audit evidence is required. It addresses: Short-term PITR retention was mistaken for multiyear long-term backup retention.
Incorrect Answers
C:Choosing Azure SQL Database says nothing about retaining a regulatory backup for multiple years. Existing short point-in-time retention is already insufficient.
D:Reviewing backup redundancy and region-restore permissions is disaster-recovery preparation, not proof that backup copies remain for the mandated multi-year period.
E:Operational point-in-time restore is governed by its supported short retention window; it cannot substitute for a separate long-term retention policy spanning years.
Question 321
A design workshop has this requirement: An Azure Database for PostgreSQL flexible server must remain available after an availability-zone failure in a region supporting zonal HA. Operators currently observe: The database is unavailable until a single-zone host is restored after a zonal incident. Select the ONE design remedy that best addresses the root cause.
- Select Azure Database for MySQL Flexible Server after confirming required version and feature compatibility.
- Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls.
- Enable supported zone-redundant high availability for PostgreSQL flexible server and test managed failover.
- Configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them.
Explanation
Correct Answer
C:The evidence (The database is unavailable until a single-zone host is restored after a zonal incident.) identifies the following cause: High availability was not deployed across suitable availability zones. The design that removes it is: Enable supported zone-redundant high availability for PostgreSQL flexible server and test managed failover. The acceptance check is: Observe replica/failover status and successful reconnect after a controlled zone failure scenario.
Incorrect Answers
A:The alternative diagnosis “Select Azure Database for MySQL Flexible Server after confirming required version and feature compatibility” does not match the observed symptom: The database is unavailable until a single-zone host is restored after a zonal incident. The evidence (The database is unavailable until a single-zone host is restored after a zonal incident.) identifies the following cause: High availability was not deployed across suitable availability zones. The evidence instead supports “Enable supported zone-redundant high availability for PostgreSQL flexible server and test managed failover”.
B:The alternative diagnosis “Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls” does not match the observed symptom: The database is unavailable until a single-zone host is restored after a zonal incident. The evidence (The database is unavailable until a single-zone host is restored after a zonal incident.) identifies the following cause: High availability was not deployed across suitable availability zones. The evidence instead supports “Enable supported zone-redundant high availability for PostgreSQL flexible server and test managed failover”.
D:The alternative diagnosis “Configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them” does not match the observed symptom: The database is unavailable until a single-zone host is restored after a zonal incident. The evidence (The database is unavailable until a single-zone host is restored after a zonal incident.) identifies the following cause: High availability was not deployed across suitable availability zones. The evidence instead supports “Enable supported zone-redundant high availability for PostgreSQL flexible server and test managed failover”.
Question 322
The planned architecture is: Enable supported zone-redundant high availability for PostgreSQL flexible server and test managed failover. Workload context: An Azure Database for PostgreSQL flexible server must remain available after an availability-zone failure in a region supporting zonal HA. Which acceptance test demonstrates that the required behavior works?
- Resolve the server FQDN privately and connect from the designated subnet while an external host cannot.
- Benchmark read query loads on replica endpoints while verifying primary write latency.
- Validate client queries, backup configuration and instance scaling under representative workload.
- Observe replica/failover status and successful reconnect after a controlled zone failure scenario.
Explanation
Correct Answer
D:The decisive evidence is: Observe replica/failover status and successful reconnect after a controlled zone failure scenario. This measures the mechanism of the planned change, not an unrelated Azure service: Enable supported zone-redundant high availability for PostgreSQL flexible server and test managed failover.
Incorrect Answers
A:The alternative test targets: Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls. The scenario's actual proposed remedy is: Enable supported zone-redundant high availability for PostgreSQL flexible server and test managed failover. Verify that one by: Observe replica/failover status and successful reconnect after a controlled zone failure scenario.
B:This measures the mechanism of the planned change, not an unrelated Azure service: Enable supported zone-redundant high availability for PostgreSQL flexible server and test managed failover.
C:That observation pertains to a separate failure: The operations team continues maintaining guest OS and database patch processes for a conventional MySQL service. Its cause is: A self-managed VM was retained where a compatible managed MySQL service can remove host burden. It does not confirm the result of this design. The direct proof would be: Observe replica/failover status and successful reconnect after a controlled zone failure scenario.
Question 323
The customer states: An Azure Database for PostgreSQL flexible server must remain available after an availability-zone failure in a region supporting zonal HA. An incident reveals: The database is unavailable until a single-zone host is restored after a zonal incident. What cause best accounts for this evidence?
- High availability was not deployed across suitable availability zones.
- 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.
- A self-managed VM was retained where a compatible managed MySQL service can remove host burden.
Explanation
Correct Answer
A:The recorded behavior follows from: High availability was not deployed across suitable availability zones. The appropriate mitigation would be: Enable supported zone-redundant high availability for PostgreSQL flexible server and test managed failover. Verify with: Observe replica/failover status and successful reconnect after a controlled zone failure scenario.
Incorrect Answers
B:Reads were not offloaded to managed replicas and all requests target the writable primary. High availability was not deployed across suitable availability zones.
C:The network exposure model does not enforce the required private access boundary. High availability was not deployed across suitable availability zones.
D:A self-managed VM was retained where a compatible managed MySQL service can remove host burden. High availability was not deployed across suitable availability zones.
Question 324
Workload context: An Azure Database for PostgreSQL flexible server must remain available after an availability-zone failure in a region supporting zonal HA. The implemented remedy is: Enable supported zone-redundant high availability for PostgreSQL flexible server and test managed failover. Which ongoing practice most specifically prevents recurrence of this failure: The database is unavailable until a single-zone host is restored after a zonal incident.?
- Monitor standby health and connection retry patterns after server maintenance.
- Review engine-version upgrade and high availability support before migration windows.
- Check replication lag and consistency expectations for reports after replica scale changes.
- Audit DNS linkage, firewall/network rules and supported networking mode before redeployment.
Explanation
Correct Answer
A:The key follow-up control is: Monitor standby health and connection retry patterns after server maintenance. It avoids recurrence of the scenario in which: The database is unavailable until a single-zone host is restored after a zonal incident. It addresses: High availability was not deployed across suitable availability zones.
Incorrect Answers
B:Reviewing engine-version upgrade and high availability support would not monitor standby health and connection retry patterns after server maintenance.
C:Checking replication lag and consistency expectations for reports after replica scale changes would not monitor standby health and connection retry patterns after server maintenance.
D:Auditing DNS linkage, firewall/network rules and supported networking mode would not monitor standby health and connection retry patterns after server maintenance.
Question 325
A solution architect is reviewing a workload: A PostgreSQL flexible-server application receives many read-only reports, but its primary must keep predictable write latency. The observed incident is: Analytic SELECTs saturate the primary although separate read capacity is available. Which architecture choice most directly removes the identified weakness?
- Enable supported zone-redundant high availability for PostgreSQL flexible server and test managed failover.
- Use supported read scale-out with the read-only application intent connection routing available for the tier.
- Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls.
- Configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them.
Explanation
Correct Answer
D:This option addresses the actual design defect: Reads were not offloaded to managed replicas and all requests target the writable primary. The correction is: Configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them. Confirm the outcome with: Benchmark read query loads on replica endpoints while verifying primary write latency.
Incorrect Answers
A:Enabling supported zone-redundant high availability for PostgreSQL flexible server and testing managed failover would not configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them.
B:Using supported read scale-out with the read-only application intent connection routing available for the tier would not configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them.
C:Choosing the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls would not configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them.
Question 326
An architect proposes this change: Configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them. The workload context is: A PostgreSQL flexible-server application receives many read-only reports, but its primary must keep predictable write latency. Which evidence would most directly validate the change?
- Resolve the server FQDN privately and connect from the designated subnet while an external host cannot.
- Benchmark read query loads on replica endpoints while verifying primary write latency.
- Connect with read-only intent and confirm analytics query load routes to an appropriate read replica.
- Observe replica/failover status and successful reconnect after a controlled zone failure scenario.
Explanation
Correct Answer
B:The acceptance test is specific: Benchmark read query loads on replica endpoints while verifying primary write latency. Its purpose is to establish that the proposed architecture works: Configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them.
Incorrect Answers
A:Resolving the server FQDN privately and connecting from the designated subnet while an external host cannot would not address the need for benchmark read query loads on replica endpoints while verifying primary write latency.
C: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: Configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them. Verify that one by: Benchmark read query loads on replica endpoints while verifying primary write latency.
D:Observe replica/failover status and successful reconnect after a controlled zone failure scenario would not address the need for benchmark read query loads on replica endpoints while verifying primary write latency.
Question 327
During architecture troubleshooting, a team reports: Analytic SELECTs saturate the primary although separate read capacity is available. Context: A PostgreSQL flexible-server application receives many read-only reports, but its primary must keep predictable write latency. Which underlying design mistake explains the observed behavior most precisely?
- High availability was not deployed across suitable availability zones.
- 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.
- The application does not use supported read-only replica routing for analytical traffic.
Explanation
Correct Answer
B:This is the failure mechanism rather than an incidental symptom: Reads were not offloaded to managed replicas and all requests target the writable primary. It accounts for: Analytic SELECTs saturate the primary although separate read capacity is available. The architectural repair is: Configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them.
Incorrect Answers
A:The alternative diagnosis “High availability was not deployed across suitable availability zones” does not match the observed symptom: Analytic SELECTs saturate the primary although separate read capacity is available. Context: A PostgreSQL flexible-server application receives many read-only reports, but its primary must keep predictable write latency. This is the failure mechanism rather than an incidental symptom: Reads were not offloaded to managed replicas and all requests target the writable primary. It accounts for: Analytic SELECTs saturate the primary although separate read capacity is available. The evidence instead supports “Reads were not offloaded to managed replicas and all requests target the writable primary”.
C:The alternative diagnosis “The network exposure model does not enforce the required private access boundary” does not match the observed symptom: Analytic SELECTs saturate the primary although separate read capacity is available. Context: A PostgreSQL flexible-server application receives many read-only reports, but its primary must keep predictable write latency. This is the failure mechanism rather than an incidental symptom: Reads were not offloaded to managed replicas and all requests target the writable primary. It accounts for: Analytic SELECTs saturate the primary although separate read capacity is available. The evidence instead supports “Reads were not offloaded to managed replicas and all requests target the writable primary”.
D:The alternative diagnosis “The application does not use supported read-only replica routing for analytical traffic” does not match the observed symptom: Analytic SELECTs saturate the primary although separate read capacity is available. Context: A PostgreSQL flexible-server application receives many read-only reports, but its primary must keep predictable write latency. This is the failure mechanism rather than an incidental symptom: Reads were not offloaded to managed replicas and all requests target the writable primary. It accounts for: Analytic SELECTs saturate the primary although separate read capacity is available. The evidence instead supports “Reads were not offloaded to managed replicas and all requests target the writable primary”.
Question 328
The design change is: Configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them. The original failure was: Analytic SELECTs saturate the primary although separate read capacity is available. Which ongoing control best prevents recurrence of the same root cause?
- Check replication lag and consistency expectations for reports after replica scale changes.
- Audit DNS linkage, firewall/network rules and supported networking mode before redeployment.
- Monitor replica lag and read-intent connection strings after changing driver versions.
- Monitor standby health and connection retry patterns after server maintenance.
Explanation
Correct Answer
A:The preventive control is: Check replication lag and consistency expectations for reports after replica scale changes. It targets the earlier cause: Reads were not offloaded to managed replicas and all requests target the writable primary. Confirm ongoing effectiveness by: Benchmark read query loads on replica endpoints while verifying primary write latency.
Incorrect Answers
B:The alternative diagnosis “Audit DNS linkage, firewall/network rules and supported networking mode before redeployment” does not match the observed symptom: The design change is: Configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them. The original failure was: Analytic SELECTs saturate the primary although separate read capacity is available. Which ongoing control best prevents recurrence of the same root cause?. The preventive control is: Check replication lag and consistency expectations for reports after replica scale changes. It targets the earlier cause: Reads were not offloaded to managed replicas and all requests target the writable primary. The evidence instead supports “Check replication lag and consistency expectations for reports after replica scale changes”.
C:The alternative diagnosis “Monitor replica lag and read-intent connection strings after changing driver versions” does not match the observed symptom: The design change is: Configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them. The original failure was: Analytic SELECTs saturate the primary although separate read capacity is available. Which ongoing control best prevents recurrence of the same root cause?. The preventive control is: Check replication lag and consistency expectations for reports after replica scale changes. It targets the earlier cause: Reads were not offloaded to managed replicas and all requests target the writable primary. The evidence instead supports “Check replication lag and consistency expectations for reports after replica scale changes”.
D:The alternative diagnosis “Monitor standby health and connection retry patterns after server maintenance” does not match the observed symptom: The design change is: Configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them. The original failure was: Analytic SELECTs saturate the primary although separate read capacity is available. Which ongoing control best prevents recurrence of the same root cause?. The preventive control is: Check replication lag and consistency expectations for reports after replica scale changes. It targets the earlier cause: Reads were not offloaded to managed replicas and all requests target the writable primary. The evidence instead supports “Check replication lag and consistency expectations for reports after replica scale changes”.
Question 329
A design workshop has this requirement: A public-facing Azure PostgreSQL flexible server must be reachable only from private workloads in a designated VNet. Operators currently observe: The database accepts connections over an unrestricted public endpoint. Select the ONE design remedy that best addresses the root cause.
- Choose Azure SQL Database when its managed single-database compatibility meets workload requirements.
- Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls.
- Configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them.
- Enable supported zone-redundant high availability for PostgreSQL flexible server and test managed failover.
Explanation
Correct Answer
B:The targeted implementation is: Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls. The problem is not generic resource availability: The network exposure model does not enforce the required private access boundary. Verify the result by: Resolve the server FQDN privately and connect from the designated subnet while an external host cannot.
Incorrect Answers
A:The alternative diagnosis “Choose Azure SQL Database when its managed single-database compatibility meets workload requirements” does not match the observed symptom: The database accepts connections over an unrestricted public endpoint. The targeted implementation is: Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls. The problem is not generic resource availability: The network exposure model does not enforce the required private access boundary. The evidence instead supports “Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls”.
C:The alternative diagnosis “Configure one or more supported PostgreSQL read replicas and route appropriate read-only traffic to them” does not match the observed symptom: The database accepts connections over an unrestricted public endpoint. The targeted implementation is: Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls. The problem is not generic resource availability: The network exposure model does not enforce the required private access boundary. The evidence instead supports “Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls”.
D:The alternative diagnosis “Enable supported zone-redundant high availability for PostgreSQL flexible server and test managed failover” does not match the observed symptom: The database accepts connections over an unrestricted public endpoint. The targeted implementation is: Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls. The problem is not generic resource availability: The network exposure model does not enforce the required private access boundary. The evidence instead supports “Choose the supported private networking architecture for PostgreSQL flexible server with correct private DNS and access controls”.
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.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests