Question 820
Workload context: An architect needs to troubleshoot intermittent checkout latency across App Service, Functions and Azure SQL dependencies. The implemented remedy is: Instrument services with Application Insights/OpenTelemetry correlation and preserve distributed trace context. Which ongoing practice most specifically prevents recurrence of this failure: Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency.?
- Monitor dead-letter count and duplicate processing attempts under worker changes.
- Require template review and deployment validation before each release.
- Monitor trace sampling and instrumentation version across deployments.
- Monitor Key Vault reference errors and managed identity access after app slot swaps.
Explanation
Correct Answer
C:The key follow-up control is: Monitor trace sampling and instrumentation version across deployments. It avoids recurrence of the scenario in which: Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency. It addresses: Request/dependency trace correlation is missing across services.
Incorrect Answers
A:Monitoring dead-letter count and duplicate processing attempts under worker changes would not monitor trace sampling and instrumentation version across deployments.
B:Requiring template review and deployment validation would not monitor trace sampling and instrumentation version across deployments.
D:Monitoring Key Vault reference errors and managed identity access after app slot swaps would not monitor trace sampling and instrumentation version across deployments.
Question 821
A solution architect is reviewing a workload: A team must deploy identical application infrastructure to three environments with reviewed definitions and automated drift checks. The observed incident is: Production app dependencies differ from staging because operators manually provisioned each resource. Which architecture choice most directly removes the identified weakness?
- Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration.
- Use deployment slots with intentional sticky slot settings, smoke testing and a tested swap-back plan.
- Use Azure App Configuration with labels and controlled application refresh integration.
- Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets.
Explanation
Correct Answer
A:The evidence (Production app dependencies differ from staging because operators manually provisioned each resource.) identifies the following cause: Infrastructure-as-code and environment parameterization were not enforced. The design that removes it is: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration. The acceptance check is: Run an ARM/Bicep what-if and deployment against staging; compare resulting resources with the approved source.
Incorrect Answers
B:Using deployment slots with intentional sticky slot settings, smoke testing and a tested swap-back plan would not meet the need for version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration.
C:Using Azure App Configuration with labels and controlled application refresh integration would not meet the need for version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration.
D:The evidence (Production app dependencies differ from staging because operators manually provisioned each resource.) identifies the following cause: Infrastructure-as-code and environment parameterization were not enforced.
Question 822
An architect proposes this change: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration. The workload context is: A team must deploy identical application infrastructure to three environments with reviewed definitions and automated drift checks. Which evidence would most directly validate the change?
- Run an ARM/Bicep what-if and deployment against staging; compare resulting resources with the approved source.
- Deploy to staging, verify slot-specific settings remain attached and perform controlled swap and rollback.
- Change a feature setting and verify subscribed app instances obtain the updated version as designed.
- Rotate a test secret in Key Vault and verify the app resolves the new value after supported refresh behavior.
Explanation
Correct Answer
A:The acceptance test is specific: Run an ARM/Bicep what-if and deployment against staging; compare resulting resources with the approved source. Its purpose is to establish that the proposed architecture works: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration.
Incorrect Answers
B:The alternative test targets: Use deployment slots with intentional sticky slot settings, smoke testing and a tested swap-back plan. The scenario's actual proposed remedy is: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration. Verify that one by: Run an ARM/Bicep what-if and deployment against staging; compare resulting resources with the approved source.
C:The acceptance test is specific: Run an ARM/Bicep what-if and deployment against staging; compare resulting resources with the approved source.
D:That observation pertains to a separate failure: The application fails after a manually copied connection password expires. Its cause is: Secrets were embedded in deployed app settings without vault-backed lifecycle management. It does not confirm the result of this design. The direct proof would be: Run an ARM/Bicep what-if and deployment against staging; compare resulting resources with the approved source.
Question 823
During architecture troubleshooting, a team reports: Production app dependencies differ from staging because operators manually provisioned each resource. Context: A team must deploy identical application infrastructure to three environments with reviewed definitions and automated drift checks. Which underlying design mistake explains the observed behavior most precisely?
- Application configuration lacks a managed centralized service and refresh mechanism.
- Infrastructure-as-code and environment parameterization were not enforced.
- Secrets were embedded in deployed app settings without vault-backed lifecycle management.
- Slot-sticky configuration was not used for environment-specific settings.
Explanation
Correct Answer
B:The recorded behavior follows from: Infrastructure-as-code and environment parameterization were not enforced. The appropriate mitigation would be: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration. Verify with: Run an ARM/Bicep what-if and deployment against staging; compare resulting resources with the approved source.
Incorrect Answers
A:The alternative diagnosis “Application configuration lacks a managed centralized service and refresh mechanism” does not match the observed symptom: Production app dependencies differ from staging because operators manually provisioned each resource. Context: A team must deploy identical application infrastructure to three environments with reviewed definitions and automated drift checks. The recorded behavior follows from: Infrastructure-as-code and environment parameterization were not enforced. The appropriate mitigation would be: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration. The evidence instead supports “Infrastructure-as-code and environment parameterization were not enforced”.
C:The alternative diagnosis “Secrets were embedded in deployed app settings without vault-backed lifecycle management” does not match the observed symptom: Production app dependencies differ from staging because operators manually provisioned each resource. Context: A team must deploy identical application infrastructure to three environments with reviewed definitions and automated drift checks. The recorded behavior follows from: Infrastructure-as-code and environment parameterization were not enforced. The appropriate mitigation would be: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration. The evidence instead supports “Infrastructure-as-code and environment parameterization were not enforced”.
D:The alternative diagnosis “Slot-sticky configuration was not used for environment-specific settings” does not match the observed symptom: Production app dependencies differ from staging because operators manually provisioned each resource. Context: A team must deploy identical application infrastructure to three environments with reviewed definitions and automated drift checks. The recorded behavior follows from: Infrastructure-as-code and environment parameterization were not enforced. The appropriate mitigation would be: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration. The evidence instead supports “Infrastructure-as-code and environment parameterization were not enforced”.
Question 824
The design change is: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration. The original failure was: Production app dependencies differ from staging because operators manually provisioned each resource. Which ongoing control best prevents recurrence of the same root cause?
- Require template review and deployment validation before each release.
- Recheck slot setting flags and protected connection strings before release.
- Audit label usage and refresh intervals after adding environments.
- Monitor Key Vault reference errors and managed identity access after app slot swaps.
Explanation
Correct Answer
A:This is an ongoing protection specific to the fault: Require template review and deployment validation before each release. The recurrence risk is: Infrastructure-as-code and environment parameterization were not enforced. It should be checked using: Run an ARM/Bicep what-if and deployment against staging; compare resulting resources with the approved source.
Incorrect Answers
B:The alternative diagnosis “Recheck slot setting flags and protected connection strings before release” does not match the observed symptom: The design change is: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration. The original failure was: Production app dependencies differ from staging because operators manually provisioned each resource. Which ongoing control best prevents recurrence of the same root cause?. This is an ongoing protection specific to the fault: Require template review and deployment validation before each release. The recurrence risk is: Infrastructure-as-code and environment parameterization were not enforced. The evidence instead supports “Require template review and deployment validation before each release”.
C:The alternative diagnosis “Audit label usage and refresh intervals after adding environments” does not match the observed symptom: The design change is: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration. The original failure was: Production app dependencies differ from staging because operators manually provisioned each resource. Which ongoing control best prevents recurrence of the same root cause?. This is an ongoing protection specific to the fault: Require template review and deployment validation before each release. The recurrence risk is: Infrastructure-as-code and environment parameterization were not enforced. The evidence instead supports “Require template review and deployment validation before each release”.
D:The alternative diagnosis “Monitor Key Vault reference errors and managed identity access after app slot swaps” does not match the observed symptom: The design change is: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration. The original failure was: Production app dependencies differ from staging because operators manually provisioned each resource. Which ongoing control best prevents recurrence of the same root cause?. This is an ongoing protection specific to the fault: Require template review and deployment validation before each release. The recurrence risk is: Infrastructure-as-code and environment parameterization were not enforced. The evidence instead supports “Require template review and deployment validation before each release”.
Question 825
A design workshop has this requirement: A web app requires continuous integration from a protected GitHub branch without storing an Azure service principal client secret. Operators currently observe: A copied client secret in repository secrets must be rotated after accidental exposure. Select the ONE design remedy that best addresses the root cause.
- Use Azure App Configuration with labels and controlled application refresh integration.
- Design Azure Front Door with origin groups, routes and WAF policy as appropriate.
- Use GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules.
- Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets.
Explanation
Correct Answer
C:The evidence (A copied client secret in repository secrets must be rotated after accidental exposure.) identifies the following cause: Deployment trust relies on long-lived secrets instead of constrained OIDC federation. The design that removes it is: Use GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules. The acceptance check is: Run a signed workflow from the authorized branch and ensure an unapproved ref cannot obtain Azure deployment access.
Incorrect Answers
A:The alternative diagnosis “Use Azure App Configuration with labels and controlled application refresh integration” does not match the observed symptom: A copied client secret in repository secrets must be rotated after accidental exposure. The evidence (A copied client secret in repository secrets must be rotated after accidental exposure.) identifies the following cause: Deployment trust relies on long-lived secrets instead of constrained OIDC federation. The evidence instead supports “Use GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules”.
B:The alternative diagnosis “Design Azure Front Door with origin groups, routes and WAF policy as appropriate” does not match the observed symptom: A copied client secret in repository secrets must be rotated after accidental exposure. The evidence (A copied client secret in repository secrets must be rotated after accidental exposure.) identifies the following cause: Deployment trust relies on long-lived secrets instead of constrained OIDC federation. The evidence instead supports “Use GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules”.
D:The alternative diagnosis “Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets” does not match the observed symptom: A copied client secret in repository secrets must be rotated after accidental exposure. The evidence (A copied client secret in repository secrets must be rotated after accidental exposure.) identifies the following cause: Deployment trust relies on long-lived secrets instead of constrained OIDC federation. The evidence instead supports “Use GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules”.
Question 826
The planned architecture is: Use GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules. Workload context: A web app requires continuous integration from a protected GitHub branch without storing an Azure service principal client secret. Which acceptance test demonstrates that the required behavior works?
- Rotate a test secret in Key Vault and verify the app resolves the new value after supported refresh behavior.
- Change a feature setting and verify subscribed app instances obtain the updated version as designed.
- Send requests to defined paths and confirm origin selection and WAF blocking in logs.
- Run a signed workflow from the authorized branch and ensure an unapproved ref cannot obtain Azure deployment access.
Explanation
Correct Answer
D:The decisive evidence is: Run a signed workflow from the authorized branch and ensure an unapproved ref cannot obtain Azure deployment access. This measures the mechanism of the planned change, not an unrelated Azure service: Use GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules.
Incorrect Answers
A:The alternative test targets: Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets. The scenario's actual proposed remedy is: Use GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules. Verify that one by: Run a signed workflow from the authorized branch and ensure an unapproved ref cannot obtain Azure deployment access.
B:The decisive evidence is: Run a signed workflow from the authorized branch and ensure an unapproved ref cannot obtain Azure deployment access.
C:That observation pertains to a separate failure: A client lands on one failed regional endpoint because no global HTTP front end exists. Its cause is: Global application entry routing and edge filtering were not implemented. It does not confirm the result of this design. The direct proof would be: Run a signed workflow from the authorized branch and ensure an unapproved ref cannot obtain Azure deployment access.
Question 827
The customer states: A web app requires continuous integration from a protected GitHub branch without storing an Azure service principal client secret. An incident reveals: A copied client secret in repository secrets must be rotated after accidental exposure. What cause best accounts for this evidence?
- Deployment trust relies on long-lived secrets instead of constrained OIDC federation.
- Application configuration lacks a managed centralized service and refresh mechanism.
- Secrets were embedded in deployed app settings without vault-backed lifecycle management.
- Global application entry routing and edge filtering were not implemented.
Explanation
Correct Answer
A:The recorded behavior follows from: Deployment trust relies on long-lived secrets instead of constrained OIDC federation. The appropriate mitigation would be: Use GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules. Verify with: Run a signed workflow from the authorized branch and ensure an unapproved ref cannot obtain Azure deployment access.
Incorrect Answers
B:Application configuration lacks a managed centralized service and refresh mechanism would not address the need for deployment trust relies on long-lived secrets.
C:Secrets were embedded in deployed app settings without vault-backed lifecycle management would not address the need for deployment trust relies on long-lived secrets.
D:Global application entry routing and edge filtering were not implemented would not address the need for deployment trust relies on long-lived secrets.
Question 828
Workload context: A web app requires continuous integration from a protected GitHub branch without storing an Azure service principal client secret. The implemented remedy is: Use GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules. Which ongoing practice most specifically prevents recurrence of this failure: A copied client secret in repository secrets must be rotated after accidental exposure.?
- Audit label usage and refresh intervals after adding environments.
- Monitor origin health and WAF false-positive patterns after deploying rules.
- Review federated subject claims and repository environment approvals after workflow changes.
- Monitor Key Vault reference errors and managed identity access after app slot swaps.
Explanation
Correct Answer
C:This is an ongoing protection specific to the fault: Review federated subject claims and repository environment approvals after workflow changes. The recurrence risk is: Deployment trust relies on long-lived secrets instead of constrained OIDC federation. It should be checked using: Run a signed workflow from the authorized branch and ensure an unapproved ref cannot obtain Azure deployment access.
Incorrect Answers
A:Auditing label usage and refresh intervals after adding environments would not review federated subject claims and repository environment approvals after workflow changes.
B:Monitoring origin health and WAF false-positive patterns after deploying rules would not review federated subject claims and repository environment approvals after workflow changes.
D:Monitoring Key Vault reference errors and managed identity access after app slot swaps would not review federated subject claims and repository environment approvals after workflow changes.
Question 829
A solution architect is reviewing a workload: An App Service team must release a new version while retaining an immediate rollback option and preventing staging secrets from swapping accidentally. The observed incident is: A slot swap exposes the staging database connection string to production. Which architecture choice most directly removes the identified weakness?
- Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets.
- Use Azure Container Apps revision traffic splitting with an appropriate multiple-revision mode and routing.
- Use deployment slots with intentional sticky slot settings, smoke testing and a tested swap-back plan.
- Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration.
Explanation
Correct Answer
C:The targeted implementation is: Use deployment slots with intentional sticky slot settings, smoke testing and a tested swap-back plan. The problem is not generic resource availability: Slot-sticky configuration was not used for environment-specific settings. Verify the result by: Deploy to staging, verify slot-specific settings remain attached and perform controlled swap and rollback.
Incorrect Answers
A:This option does not address the stated problem. The problem is not generic resource availability: Slot-sticky configuration was not used for environment-specific settings.
B:Using Azure Container Apps revision traffic splitting with an appropriate multiple-revision mode and routing would not meet the need for deployment slots with intentional sticky slot settings, smoke testing and a tested swap-back plan.
D:Using version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration would not meet the need for deployment slots with intentional sticky slot settings, smoke testing and a tested swap-back plan.
Question 830
An architect proposes this change: Use deployment slots with intentional sticky slot settings, smoke testing and a tested swap-back plan. The workload context is: An App Service team must release a new version while retaining an immediate rollback option and preventing staging secrets from swapping accidentally. Which evidence would most directly validate the change?
- Run an ARM/Bicep what-if and deployment against staging; compare resulting resources with the approved source.
- Shift test traffic to the canary revision and confirm the configured percentage and rollback.
- Rotate a test secret in Key Vault and verify the app resolves the new value after supported refresh behavior.
- Deploy to staging, verify slot-specific settings remain attached and perform controlled swap and rollback.
Explanation
Correct Answer
D:This observation directly verifies the intended design: Deploy to staging, verify slot-specific settings remain attached and perform controlled swap and rollback. The architecture being tested is: Use deployment slots with intentional sticky slot settings, smoke testing and a tested swap-back plan. The original symptom was: A slot swap exposes the staging database connection string to production.
Incorrect Answers
A:The architecture being tested is: Use deployment slots with intentional sticky slot settings, smoke testing and a tested swap-back plan.
B:That observation pertains to a separate failure: Every user immediately receives an untested new container image. Its cause is: Deployment has no revision-level incremental traffic control. It does not confirm the result of this design. The direct proof would be: Deploy to staging, verify slot-specific settings remain attached and perform controlled swap and rollback.
C:The alternative test targets: Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets. The scenario's actual proposed remedy is: Use deployment slots with intentional sticky slot settings, smoke testing and a tested swap-back plan. Verify that one by: Deploy to staging, verify slot-specific settings remain attached and perform controlled swap and rollback.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests