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:That safeguard manages another risk: The integration lacks durable command messaging and failure handling. Its scenario is: The checkout API returns success but business commands disappear on transient worker failures. The present recurring risk is: Request/dependency trace correlation is missing across services. The proper ongoing control is: Monitor trace sampling and instrumentation version across deployments.
B:This is a reasonable safeguard for a different fault: Production app dependencies differ from staging because operators manually provisioned each resource. That different mechanism is: Infrastructure-as-code and environment parameterization were not enforced. The original incident here instead arises from: Request/dependency trace correlation is missing across services. The directly relevant safeguard is: Monitor trace sampling and instrumentation version across deployments.
D:That safeguard manages another risk: Secrets were embedded in deployed app settings without vault-backed lifecycle management. Its scenario is: The application fails after a manually copied connection password expires. The present recurring risk is: Request/dependency trace correlation is missing across services. The proper ongoing control is: 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:The option belongs to a different failure mechanism: Slot-sticky configuration was not used for environment-specific settings. That situation exhibits: A slot swap exposes the staging database connection string to production. For the stated case, the remedy is: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration.
C:That design instead addresses another observed condition: App teams copy environment values into every deployment image and cannot change them centrally. Its technical cause is: Application configuration lacks a managed centralized service and refresh mechanism. The current workload exhibits: Production app dependencies differ from staging because operators manually provisioned each resource. Its targeted remedy is: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration.
D:This choice mitigates an alternative scenario, where: The application fails after a manually copied connection password expires. The underlying issue there is: Secrets were embedded in deployed app settings without vault-backed lifecycle management. Here the root issue is: Infrastructure-as-code and environment parameterization were not enforced. Choose the corresponding action: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration.
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:This check validates a different workload: Change a feature setting and verify subscribed app instances obtain the updated version as designed. Its associated design is: Use Azure App Configuration with labels and controlled application refresh integration. The required acceptance test here is: 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 proposed diagnosis fits another scenario: Application configuration lacks a managed centralized service and refresh mechanism. It would typically be reflected by: App teams copy environment values into every deployment image and cannot change them centrally. The current evidence instead supports: Infrastructure-as-code and environment parameterization were not enforced.
C:This cause would explain a different symptom: The application fails after a manually copied connection password expires. The mechanism for that event is: Secrets were embedded in deployed app settings without vault-backed lifecycle management. Here the stated symptom is: Production app dependencies differ from staging because operators manually provisioned each resource. Its cause is: Infrastructure-as-code and environment parameterization were not enforced.
D:The proposed diagnosis fits another scenario: Slot-sticky configuration was not used for environment-specific settings. It would typically be reflected by: A slot swap exposes the staging database connection string to production. The current 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 proposed control focuses on: Slot-sticky configuration was not used for environment-specific settings. For the design in the question, recurrence comes from: Infrastructure-as-code and environment parameterization were not enforced. A precise prevention step is: Require template review and deployment validation before each release.
C:That safeguard manages another risk: Application configuration lacks a managed centralized service and refresh mechanism. Its scenario is: App teams copy environment values into every deployment image and cannot change them centrally. The present recurring risk is: Infrastructure-as-code and environment parameterization were not enforced. The proper ongoing control is: Require template review and deployment validation before each release.
D:This is a reasonable safeguard for a different fault: The application fails after a manually copied connection password expires. That different mechanism is: Secrets were embedded in deployed app settings without vault-backed lifecycle management. The original incident here instead arises from: Infrastructure-as-code and environment parameterization were not enforced. The directly relevant safeguard is: 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 option belongs to a different failure mechanism: Application configuration lacks a managed centralized service and refresh mechanism. That situation exhibits: App teams copy environment values into every deployment image and cannot change them centrally. For the stated case, the remedy is: Use GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules.
B:That design instead addresses another observed condition: A client lands on one failed regional endpoint because no global HTTP front end exists. Its technical cause is: Global application entry routing and edge filtering were not implemented. The current workload exhibits: A copied client secret in repository secrets must be rotated after accidental exposure. Its targeted remedy is: Use GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules.
D:The option belongs to a different failure mechanism: Secrets were embedded in deployed app settings without vault-backed lifecycle management. That situation exhibits: The application fails after a manually copied connection password expires. For the stated case, the remedy is: 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:This check validates a different workload: Change a feature setting and verify subscribed app instances obtain the updated version as designed. Its associated design is: Use Azure App Configuration with labels and controlled application refresh integration. The required acceptance test here 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:This cause would explain a different symptom: App teams copy environment values into every deployment image and cannot change them centrally. The mechanism for that event is: Application configuration lacks a managed centralized service and refresh mechanism. Here the stated symptom is: A copied client secret in repository secrets must be rotated after accidental exposure. Its cause is: Deployment trust relies on long-lived secrets instead of constrained OIDC federation.
C:The proposed diagnosis fits another scenario: Secrets were embedded in deployed app settings without vault-backed lifecycle management. It would typically be reflected by: The application fails after a manually copied connection password expires. The current evidence instead supports: Deployment trust relies on long-lived secrets instead of constrained OIDC federation.
D:The alternative weakness is: Global application entry routing and edge filtering were not implemented. Its associated failure is: A client lands on one failed regional endpoint because no global HTTP front end exists. Neither explains the present observation: A copied client secret in repository secrets must be rotated after accidental exposure. The direct cause here is: Deployment trust relies on long-lived secrets instead of constrained OIDC federation.
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:The proposed control focuses on: Application configuration lacks a managed centralized service and refresh mechanism. For the design in the question, recurrence comes from: Deployment trust relies on long-lived secrets instead of constrained OIDC federation. A precise prevention step is: Review federated subject claims and repository environment approvals after workflow changes.
B:That safeguard manages another risk: Global application entry routing and edge filtering were not implemented. Its scenario is: A client lands on one failed regional endpoint because no global HTTP front end exists. The present recurring risk is: Deployment trust relies on long-lived secrets instead of constrained OIDC federation. The proper ongoing control is: Review federated subject claims and repository environment approvals after workflow changes.
D:The proposed control focuses on: Secrets were embedded in deployed app settings without vault-backed lifecycle management. For the design in the question, recurrence comes from: Deployment trust relies on long-lived secrets instead of constrained OIDC federation. A precise prevention step is: 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:That design instead addresses another observed condition: The application fails after a manually copied connection password expires. Its technical cause is: Secrets were embedded in deployed app settings without vault-backed lifecycle management. The current workload exhibits: A slot swap exposes the staging database connection string to production. Its targeted remedy is: Use deployment slots with intentional sticky slot settings, smoke testing and a tested swap-back plan.
B:This choice mitigates an alternative scenario, where: Every user immediately receives an untested new container image. The underlying issue there is: Deployment has no revision-level incremental traffic control. Here the root issue is: Slot-sticky configuration was not used for environment-specific settings. Choose the corresponding action: Use deployment slots with intentional sticky slot settings, smoke testing and a tested swap-back plan.
D:That design instead addresses another observed condition: Production app dependencies differ from staging because operators manually provisioned each resource. Its technical cause is: Infrastructure-as-code and environment parameterization were not enforced. The current workload exhibits: A slot swap exposes the staging database connection string to production. Its targeted remedy is: Use 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:This check validates a different workload: Run an ARM/Bicep what-if and deployment against staging; compare resulting resources with the approved source. Its associated design is: Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration. The required acceptance test here is: Deploy to staging, verify slot-specific settings remain attached and perform controlled swap and rollback.
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