Question 790
An architect proposes this change: Use Azure App Configuration with labels and controlled application refresh integration. The workload context is: A microservice fleet must share mutable non-secret feature settings with dynamic refresh without redeploying all workloads. Which evidence would most directly validate the change?
- Enable the feature for test users and confirm the configured population sees the expected rollout behavior.
- Change a feature setting and verify subscribed app instances obtain the updated version as designed.
- Run a signed workflow from the authorized branch and ensure an unapproved ref cannot obtain Azure deployment access.
- Rotate a test secret in Key Vault and verify the app resolves the new value after supported refresh behavior.
Explanation
Correct Answer
B:This observation directly verifies the intended design: Change a feature setting and verify subscribed app instances obtain the updated version as designed. The architecture being tested is: Use Azure App Configuration with labels and controlled application refresh integration. The original symptom was: App teams copy environment values into every deployment image and cannot change them centrally.
Incorrect Answers
A:The alternative test targets: Use Azure App Configuration feature management with supported targeting or percentage filters. The scenario's actual proposed remedy is: Use Azure App Configuration with labels and controlled application refresh integration. Verify that one by: Change a feature setting and verify subscribed app instances obtain the updated version as designed.
C:That observation pertains to a separate failure: 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. It does not confirm the result of this design. The direct proof would be: Change a feature setting and verify subscribed app instances obtain the updated version as designed.
D: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 Azure App Configuration with labels and controlled application refresh integration. Verify that one by: Change a feature setting and verify subscribed app instances obtain the updated version as designed.
Question 791
During architecture troubleshooting, a team reports: App teams copy environment values into every deployment image and cannot change them centrally. Context: A microservice fleet must share mutable non-secret feature settings with dynamic refresh without redeploying all workloads. Which underlying design mistake explains the observed behavior most precisely?
- Application configuration lacks a managed centralized service and refresh mechanism.
- No centralized feature-flag targeting mechanism is implemented.
- Deployment trust relies on long-lived secrets instead of constrained OIDC federation.
- Secrets were embedded in deployed app settings without vault-backed lifecycle management.
Explanation
Correct Answer
A:The recorded behavior follows from: Application configuration lacks a managed centralized service and refresh mechanism. The appropriate mitigation would be: Use Azure App Configuration with labels and controlled application refresh integration. Verify with: Change a feature setting and verify subscribed app instances obtain the updated version as designed.
Incorrect Answers
B:This cause would explain a different symptom: A feature must be enabled for all customers at once because it is only a compile-time constant. The mechanism for that event is: No centralized feature-flag targeting mechanism is implemented. Here the stated symptom is: App teams copy environment values into every deployment image and cannot change them centrally. Its cause is: Application configuration lacks a managed centralized service and refresh mechanism.
C:The proposed diagnosis fits another scenario: Deployment trust relies on long-lived secrets instead of constrained OIDC federation. It would typically be reflected by: A copied client secret in repository secrets must be rotated after accidental exposure. The current evidence instead supports: Application configuration lacks a managed centralized service and refresh mechanism.
D:The alternative weakness is: Secrets were embedded in deployed app settings without vault-backed lifecycle management. Its associated failure is: The application fails after a manually copied connection password expires. Neither explains the present observation: App teams copy environment values into every deployment image and cannot change them centrally. The direct cause here is: Application configuration lacks a managed centralized service and refresh mechanism.
Question 792
The design change is: Use Azure App Configuration with labels and controlled application refresh integration. The original failure was: App teams copy environment values into every deployment image and cannot change them centrally. Which ongoing control best prevents recurrence of the same root cause?
- Audit label usage and refresh intervals after adding environments.
- Review feature flags and remove obsolete rollout toggles after full deployment.
- Monitor Key Vault reference errors and managed identity access after app slot swaps.
- Review federated subject claims and repository environment approvals after workflow changes.
Explanation
Correct Answer
A:The key follow-up control is: Audit label usage and refresh intervals after adding environments. It avoids recurrence of the scenario in which: App teams copy environment values into every deployment image and cannot change them centrally. It addresses: Application configuration lacks a managed centralized service and refresh mechanism.
Incorrect Answers
B:That safeguard manages another risk: No centralized feature-flag targeting mechanism is implemented. Its scenario is: A feature must be enabled for all customers at once because it is only a compile-time constant. The present recurring risk is: Application configuration lacks a managed centralized service and refresh mechanism. The proper ongoing control is: Audit label usage and refresh intervals after adding environments.
C: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: Application configuration lacks a managed centralized service and refresh mechanism. The directly relevant safeguard is: Audit label usage and refresh intervals after adding environments.
D:The proposed control focuses on: Deployment trust relies on long-lived secrets instead of constrained OIDC federation. For the design in the question, recurrence comes from: Application configuration lacks a managed centralized service and refresh mechanism. A precise prevention step is: Audit label usage and refresh intervals after adding environments.
Question 793
A design workshop has this requirement: A product manager must expose one feature to 10% of test users and then ramp the rollout without permanently forking application code. Operators currently observe: A feature must be enabled for all customers at once because it is only a compile-time constant. Select the ONE design remedy that best addresses the root cause.
- Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs.
- 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.
- Use Azure App Configuration feature management with supported targeting or percentage filters.
Explanation
Correct Answer
D:This option addresses the actual design defect: No centralized feature-flag targeting mechanism is implemented. The correction is: Use Azure App Configuration feature management with supported targeting or percentage filters. Confirm the outcome with: Enable the feature for test users and confirm the configured population sees the expected rollout behavior.
Incorrect Answers
A:That design instead addresses another observed condition: Teams repeatedly hard-code broker URLs into every service and create configuration drift. Its technical cause is: Common sidecar messaging/state integration components were not used where supported. The current workload exhibits: A feature must be enabled for all customers at once because it is only a compile-time constant. Its targeted remedy is: Use Azure App Configuration feature management with supported targeting or percentage filters.
B:This choice mitigates an alternative scenario, where: App teams copy environment values into every deployment image and cannot change them centrally. The underlying issue there is: Application configuration lacks a managed centralized service and refresh mechanism. Here the root issue is: No centralized feature-flag targeting mechanism is implemented. Choose the corresponding action: Use Azure App Configuration feature management with supported targeting or percentage filters.
C: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 Azure App Configuration feature management with supported targeting or percentage filters.
Question 794
The planned architecture is: Use Azure App Configuration feature management with supported targeting or percentage filters. Workload context: A product manager must expose one feature to 10% of test users and then ramp the rollout without permanently forking application code. Which acceptance test demonstrates that the required behavior works?
- Invoke a Dapr service and confirm scoped access to the configured state or pub/sub component.
- 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.
- Enable the feature for test users and confirm the configured population sees the expected rollout behavior.
Explanation
Correct Answer
D:This observation directly verifies the intended design: Enable the feature for test users and confirm the configured population sees the expected rollout behavior. The architecture being tested is: Use Azure App Configuration feature management with supported targeting or percentage filters. The original symptom was: A feature must be enabled for all customers at once because it is only a compile-time constant.
Incorrect Answers
A:This check validates a different workload: Invoke a Dapr service and confirm scoped access to the configured state or pub/sub component. Its associated design is: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs. The required acceptance test here is: Enable the feature for test users and confirm the configured population sees the expected rollout behavior.
B: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: Enable the feature for test users and confirm the configured population sees the expected rollout behavior.
C:The alternative test targets: Use Azure App Configuration with labels and controlled application refresh integration. The scenario's actual proposed remedy is: Use Azure App Configuration feature management with supported targeting or percentage filters. Verify that one by: Enable the feature for test users and confirm the configured population sees the expected rollout behavior.
Question 795
The customer states: A product manager must expose one feature to 10% of test users and then ramp the rollout without permanently forking application code. An incident reveals: A feature must be enabled for all customers at once because it is only a compile-time constant. What cause best accounts for this evidence?
- Application configuration lacks a managed centralized service and refresh mechanism.
- No centralized feature-flag targeting mechanism is implemented.
- Secrets were embedded in deployed app settings without vault-backed lifecycle management.
- Common sidecar messaging/state integration components were not used where supported.
Explanation
Correct Answer
B:This is the failure mechanism rather than an incidental symptom: No centralized feature-flag targeting mechanism is implemented. It accounts for: A feature must be enabled for all customers at once because it is only a compile-time constant. The architectural repair is: Use Azure App Configuration feature management with supported targeting or percentage filters.
Incorrect Answers
A: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 feature must be enabled for all customers at once because it is only a compile-time constant. Its cause is: No centralized feature-flag targeting mechanism is implemented.
C:The alternative weakness is: Secrets were embedded in deployed app settings without vault-backed lifecycle management. Its associated failure is: The application fails after a manually copied connection password expires. Neither explains the present observation: A feature must be enabled for all customers at once because it is only a compile-time constant. The direct cause here is: No centralized feature-flag targeting mechanism is implemented.
D:This cause would explain a different symptom: Teams repeatedly hard-code broker URLs into every service and create configuration drift. The mechanism for that event is: Common sidecar messaging/state integration components were not used where supported. Here the stated symptom is: A feature must be enabled for all customers at once because it is only a compile-time constant. Its cause is: No centralized feature-flag targeting mechanism is implemented.
Question 796
Workload context: A product manager must expose one feature to 10% of test users and then ramp the rollout without permanently forking application code. The implemented remedy is: Use Azure App Configuration feature management with supported targeting or percentage filters. Which ongoing practice most specifically prevents recurrence of this failure: A feature must be enabled for all customers at once because it is only a compile-time constant.?
- Monitor Key Vault reference errors and managed identity access after app slot swaps.
- Review Dapr component scopes, secret stores and service identity as applications evolve.
- Audit label usage and refresh intervals after adding environments.
- Review feature flags and remove obsolete rollout toggles after full deployment.
Explanation
Correct Answer
D:The preventive control is: Review feature flags and remove obsolete rollout toggles after full deployment. It targets the earlier cause: No centralized feature-flag targeting mechanism is implemented. Confirm ongoing effectiveness by: Enable the feature for test users and confirm the configured population sees the expected rollout behavior.
Incorrect Answers
A: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: No centralized feature-flag targeting mechanism is implemented. The proper ongoing control is: Review feature flags and remove obsolete rollout toggles after full deployment.
B:This is a reasonable safeguard for a different fault: Teams repeatedly hard-code broker URLs into every service and create configuration drift. That different mechanism is: Common sidecar messaging/state integration components were not used where supported. The original incident here instead arises from: No centralized feature-flag targeting mechanism is implemented. The directly relevant safeguard is: Review feature flags and remove obsolete rollout toggles after full deployment.
C:The proposed control focuses on: Application configuration lacks a managed centralized service and refresh mechanism. For the design in the question, recurrence comes from: No centralized feature-flag targeting mechanism is implemented. A precise prevention step is: Review feature flags and remove obsolete rollout toggles after full deployment.
Question 797
A solution architect is reviewing a workload: An App Service app needs connection secrets injected without placing secret values into source control or shared App Configuration key values. The observed incident is: The application fails after a manually copied connection password expires. 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 GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules.
- 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.
Explanation
Correct Answer
A:The evidence (The application fails after a manually copied connection password expires.) identifies the following cause: Secrets were embedded in deployed app settings without vault-backed lifecycle management. The design that removes it is: Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets. The acceptance check is: Rotate a test secret in Key Vault and verify the app resolves the new value after supported refresh behavior.
Incorrect Answers
B:The option belongs to a different failure mechanism: Deployment trust relies on long-lived secrets instead of constrained OIDC federation. That situation exhibits: A copied client secret in repository secrets must be rotated after accidental exposure. For the stated case, the remedy is: Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets.
C:That design instead addresses another observed condition: A slot swap exposes the staging database connection string to production. Its technical cause is: Slot-sticky configuration was not used for environment-specific settings. The current workload exhibits: The application fails after a manually copied connection password expires. Its targeted remedy is: Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets.
D:This choice mitigates an alternative scenario, where: App teams copy environment values into every deployment image and cannot change them centrally. The underlying issue there is: Application configuration lacks a managed centralized service and refresh mechanism. Here the root issue is: Secrets were embedded in deployed app settings without vault-backed lifecycle management. Choose the corresponding action: Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets.
Question 798
An architect proposes this change: Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets. The workload context is: An App Service app needs connection secrets injected without placing secret values into source control or shared App Configuration key values. Which evidence would most directly validate the change?
- Change a feature setting and verify subscribed app instances obtain the updated version as designed.
- Run a signed workflow from the authorized branch and ensure an unapproved ref cannot obtain Azure deployment access.
- 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
C:This observation directly verifies the intended design: Rotate a test secret in Key Vault and verify the app resolves the new value after supported refresh behavior. The architecture being tested is: Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets. The original symptom was: The application fails after a manually copied connection password expires.
Incorrect Answers
A:That observation pertains to a separate failure: App teams copy environment values into every deployment image and cannot change them centrally. Its cause is: Application configuration lacks a managed centralized service and refresh mechanism. It does not confirm the result of this design. The direct proof would be: Rotate a test secret in Key Vault and verify the app resolves the new value after supported refresh behavior.
B:The alternative test targets: Use GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules. The scenario's actual proposed remedy is: Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets. Verify that one by: Rotate a test secret in Key Vault and verify the app resolves the new value after supported refresh behavior.
D:That observation pertains to a separate failure: A slot swap exposes the staging database connection string to production. Its cause is: Slot-sticky configuration was not used for environment-specific settings. It does not confirm the result of this design. The direct proof would be: Rotate a test secret in Key Vault and verify the app resolves the new value after supported refresh behavior.
Question 799
During architecture troubleshooting, a team reports: The application fails after a manually copied connection password expires. Context: An App Service app needs connection secrets injected without placing secret values into source control or shared App Configuration key values. Which underlying design mistake explains the observed behavior most precisely?
- Application configuration lacks a managed centralized service and refresh mechanism.
- Deployment trust relies on long-lived secrets instead of constrained OIDC federation.
- Slot-sticky configuration was not used for environment-specific settings.
- Secrets were embedded in deployed app settings without vault-backed lifecycle management.
Explanation
Correct Answer
D:This is the failure mechanism rather than an incidental symptom: Secrets were embedded in deployed app settings without vault-backed lifecycle management. It accounts for: The application fails after a manually copied connection password expires. The architectural repair is: Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets.
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: Secrets were embedded in deployed app settings without vault-backed lifecycle management.
B:The alternative weakness is: Deployment trust relies on long-lived secrets instead of constrained OIDC federation. Its associated failure is: A copied client secret in repository secrets must be rotated after accidental exposure. Neither explains the present observation: The application fails after a manually copied connection password expires. The direct cause here is: Secrets were embedded in deployed app settings without vault-backed lifecycle management.
C:This cause would explain a different symptom: A slot swap exposes the staging database connection string to production. The mechanism for that event is: Slot-sticky configuration was not used for environment-specific settings. Here the stated symptom is: 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.
Question 800
Consider this Azure design: An App Service app needs connection secrets injected without placing secret values into source control or shared App Configuration key values. To address the recurring incident (The application fails after a manually copied connection password expires.), select THREE complementary actions: the direct design remedy, a direct acceptance test, and one ongoing protective control. Do not count a remedy for another workload as equivalent.
- Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets.
- Rotate a test secret in Key Vault and verify the app resolves the new value after supported refresh behavior.
- Review federated subject claims and repository environment approvals after workflow changes.
- Deploy to staging, verify slot-specific settings remain attached and perform controlled swap and rollback.
- Monitor Key Vault reference errors and managed identity access after app slot swaps.
- Use Azure App Configuration with labels and controlled application refresh integration.
Explanation
Correct Answers
A:The evidence (The application fails after a manually copied connection password expires.) identifies the following cause: Secrets were embedded in deployed app settings without vault-backed lifecycle management. The design that removes it is: Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets. The acceptance check is: Rotate a test secret in Key Vault and verify the app resolves the new value after supported refresh behavior.
B:The decisive evidence is: Rotate a test secret in Key Vault and verify the app resolves the new value after supported refresh behavior. This measures the mechanism of the planned change, not an unrelated Azure service: Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets.
E:The key follow-up control is: Monitor Key Vault reference errors and managed identity access after app slot swaps. It avoids recurrence of the scenario in which: The application fails after a manually copied connection password expires. It addresses: Secrets were embedded in deployed app settings without vault-backed lifecycle management.
Incorrect Answers
C:That safeguard manages another risk: Deployment trust relies on long-lived secrets instead of constrained OIDC federation. Its scenario is: A copied client secret in repository secrets must be rotated after accidental exposure. The present recurring risk is: Secrets were embedded in deployed app settings without vault-backed lifecycle management. The proper ongoing control is: Monitor Key Vault reference errors and managed identity access after app slot swaps.
D:That observation pertains to a separate failure: A slot swap exposes the staging database connection string to production. Its cause is: Slot-sticky configuration was not used for environment-specific settings. It does not confirm the result of this design. The direct proof would be: Rotate a test secret in Key Vault and verify the app resolves the new value after supported refresh behavior.
F: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: The application fails after a manually copied connection password expires. Its targeted remedy is: Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests