Question 810
The planned architecture is: Use Durable Functions orchestration with idempotent activity functions and appropriate state storage. Workload context: A business process runs several independent Azure Functions tasks with fanout/fanin and may take hours, requiring reliable state across retries. Which acceptance test demonstrates that the required behavior works?
- Run a test orchestration with one failing activity and verify replay and eventual aggregation behavior.
- Post a test command, observe fast 202/acknowledgment and eventual idempotent worker completion.
- Send a test invoice command and confirm the function consumes and settles it according to retry settings.
- Run two consumer groups and verify each can independently replay and checkpoint a known event batch.
Explanation
Correct Answer
A:The acceptance test is specific: Run a test orchestration with one failing activity and verify replay and eventual aggregation behavior. Its purpose is to establish that the proposed architecture works: Use Durable Functions orchestration with idempotent activity functions and appropriate state storage.
Incorrect Answers
B:The alternative test targets: Use an API frontend to accept validated commands into a durable Service Bus queue, with independent scalable workers. The scenario's actual proposed remedy is: Use Durable Functions orchestration with idempotent activity functions and appropriate state storage. Verify that one by: Run a test orchestration with one failing activity and verify replay and eventual aggregation behavior.
C:Its purpose is to establish that the proposed architecture works: Use Durable Functions orchestration with idempotent activity functions and appropriate state storage.
D:That observation pertains to a separate failure: An ordinary business-command queue cannot supply the sustained streaming and replay pattern. Its cause is: A competing-consumer queue was used instead of an append-style partitioned event stream. It does not confirm the result of this design. The direct proof would be: Run a test orchestration with one failing activity and verify replay and eventual aggregation behavior.
Question 811
The customer states: A business process runs several independent Azure Functions tasks with fanout/fanin and may take hours, requiring reliable state across retries. An incident reveals: An ordinary short-lived HTTP function times out while coordinating hours of dependent tasks. What cause best accounts for this evidence?
- The integration omitted an event-triggered compute consumer.
- The workflow lacks durable checkpointed orchestrator state for long-running tasks.
- Application processing and frontend request lifetime are tightly coupled.
- A competing-consumer queue was used instead of an append-style partitioned event stream.
Explanation
Correct Answer
B:The recorded behavior follows from: The workflow lacks durable checkpointed orchestrator state for long-running tasks. The appropriate mitigation would be: Use Durable Functions orchestration with idempotent activity functions and appropriate state storage. Verify with: Run a test orchestration with one failing activity and verify replay and eventual aggregation behavior.
Incorrect Answers
A:The integration omitted an event-triggered compute consumer. The workflow lacks durable checkpointed orchestrator state for long-running tasks.
C:Application processing and frontend request lifetime are tightly coupled. The workflow lacks durable checkpointed orchestrator state for long-running tasks.
D:A competing-consumer queue was used instead of an append-style partitioned event stream. The workflow lacks durable checkpointed orchestrator state for long-running tasks.
Question 812
Workload context: A business process runs several independent Azure Functions tasks with fanout/fanin and may take hours, requiring reliable state across retries. The implemented remedy is: Use Durable Functions orchestration with idempotent activity functions and appropriate state storage. Which ongoing practice most specifically prevents recurrence of this failure: An ordinary short-lived HTTP function times out while coordinating hours of dependent tasks.?
- Monitor partitions, throughput, consumer lag and checkpoint storage after scaling devices.
- Monitor queue age and retry backlog separately from frontend latency.
- Audit function determinism and activity retry policy during runtime updates.
- Inspect poison/dead-letter handling and Function concurrency during bursts.
Explanation
Correct Answer
C:The preventive control is: Audit function determinism and activity retry policy during runtime updates. It targets the earlier cause: The workflow lacks durable checkpointed orchestrator state for long-running tasks. Confirm ongoing effectiveness by: Run a test orchestration with one failing activity and verify replay and eventual aggregation behavior.
Incorrect Answers
A:Monitoring partitions, throughput, consumer lag and checkpoint storage after scaling devices would not audit function determinism and activity retry policy during runtime updates.
B:Monitoring queue age and retry backlog separately from frontend latency would not audit function determinism and activity retry policy during runtime updates.
D:Inspecting poison/dead-letter handling and Function concurrency during bursts would not audit function determinism and activity retry policy during runtime updates.
Question 813
A solution architect is reviewing a workload: Several container microservices need service-to-service communication and state access abstractions without rewriting transport boilerplate each time. The observed incident is: Teams repeatedly hard-code broker URLs into every service and create configuration drift. Which architecture choice most directly removes the identified weakness?
- Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies.
- Use Azure App Configuration with labels and controlled application refresh integration.
- Use Azure Container Apps revision traffic splitting with an appropriate multiple-revision mode and routing.
- Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs.
Explanation
Correct Answer
D:The targeted implementation is: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs. The problem is not generic resource availability: Common sidecar messaging/state integration components were not used where supported. Verify the result by: Invoke a Dapr service and confirm scoped access to the configured state or pub/sub component.
Incorrect Answers
A:Placing Azure API Management in front of the APIs using proper product subscriptions, API versions and policies would not meet the need for sidecar configuration.
B:Using Azure App Configuration with labels and controlled application refresh integration would not meet the need for sidecar configuration.
C:Using Azure Container Apps revision traffic splitting with an appropriate multiple-revision mode and routing would not meet the need for sidecar configuration.
Question 814
An architect proposes this change: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs. The workload context is: Several container microservices need service-to-service communication and state access abstractions without rewriting transport boilerplate each time. Which evidence would most directly validate the change?
- Test an approved subscription key and reject an over-quota or unauthorized partner call.
- Change a feature setting and verify subscribed app instances obtain the updated version as designed.
- Shift test traffic to the canary revision and confirm the configured percentage and rollback.
- Invoke a Dapr service and confirm scoped access to the configured state or pub/sub component.
Explanation
Correct Answer
D:The decisive evidence is: Invoke a Dapr service and confirm scoped access to the configured state or pub/sub component. This measures the mechanism of the planned change, not an unrelated Azure service: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs.
Incorrect Answers
A:The alternative test targets: Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies. The scenario's actual proposed remedy is: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs. Verify that one by: Invoke a Dapr service and confirm scoped access to the configured state or pub/sub component.
B:This measures the mechanism of the planned change, not an unrelated Azure service: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs.
C: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: Invoke a Dapr service and confirm scoped access to the configured state or pub/sub component.
Question 815
During architecture troubleshooting, a team reports: Teams repeatedly hard-code broker URLs into every service and create configuration drift. Context: Several container microservices need service-to-service communication and state access abstractions without rewriting transport boilerplate each time. Which underlying design mistake explains the observed behavior most precisely?
- Common sidecar messaging/state integration components were not used where supported.
- There is no API gateway governing public partner traffic consistently.
- Deployment has no revision-level incremental traffic control.
- Application configuration lacks a managed centralized service and refresh mechanism.
Explanation
Correct Answer
A:The recorded behavior follows from: Common sidecar messaging/state integration components were not used where supported. The appropriate mitigation would be: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs. Verify with: Invoke a Dapr service and confirm scoped access to the configured state or pub/sub component.
Incorrect Answers
B:The alternative diagnosis “There is no API gateway governing public partner traffic consistently” does not match the observed symptom: Teams repeatedly hard-code broker URLs into every service and create configuration drift. Context: Several container microservices need service-to-service communication and state access abstractions without rewriting transport boilerplate each time. The recorded behavior follows from: Common sidecar messaging/state integration components were not used where supported. The appropriate mitigation would be: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs. The evidence instead supports “Common sidecar messaging/state integration components were not used where supported”.
C:The alternative diagnosis “Deployment has no revision-level incremental traffic control” does not match the observed symptom: Teams repeatedly hard-code broker URLs into every service and create configuration drift. Context: Several container microservices need service-to-service communication and state access abstractions without rewriting transport boilerplate each time. The recorded behavior follows from: Common sidecar messaging/state integration components were not used where supported. The appropriate mitigation would be: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs. The evidence instead supports “Common sidecar messaging/state integration components were not used where supported”.
D:The alternative diagnosis “Application configuration lacks a managed centralized service and refresh mechanism” does not match the observed symptom: Teams repeatedly hard-code broker URLs into every service and create configuration drift. Context: Several container microservices need service-to-service communication and state access abstractions without rewriting transport boilerplate each time. The recorded behavior follows from: Common sidecar messaging/state integration components were not used where supported. The appropriate mitigation would be: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs. The evidence instead supports “Common sidecar messaging/state integration components were not used where supported”.
Question 816
The design change is: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs. The original failure was: Teams repeatedly hard-code broker URLs into every service and create configuration drift. Which ongoing control best prevents recurrence of the same root cause?
- Review gateway policies, API revisions and partner access after backend releases.
- Monitor canary health and revision deactivation policy after full rollout.
- Review Dapr component scopes, secret stores and service identity as applications evolve.
- Audit label usage and refresh intervals after adding environments.
Explanation
Correct Answer
C:This is an ongoing protection specific to the fault: Review Dapr component scopes, secret stores and service identity as applications evolve. The recurrence risk is: Common sidecar messaging/state integration components were not used where supported. It should be checked using: Invoke a Dapr service and confirm scoped access to the configured state or pub/sub component.
Incorrect Answers
A:The alternative diagnosis “Review gateway policies, API revisions and partner access after backend releases” does not match the observed symptom: The design change is: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs. The original failure was: Teams repeatedly hard-code broker URLs into every service and create configuration drift. Which ongoing control best prevents recurrence of the same root cause?. This is an ongoing protection specific to the fault: Review Dapr component scopes, secret stores and service identity as applications evolve. The recurrence risk is: Common sidecar messaging/state integration components were not used where supported. The evidence instead supports “Review Dapr component scopes, secret stores and service identity as applications evolve”.
B:The alternative diagnosis “Monitor canary health and revision deactivation policy after full rollout” does not match the observed symptom: The design change is: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs. The original failure was: Teams repeatedly hard-code broker URLs into every service and create configuration drift. Which ongoing control best prevents recurrence of the same root cause?. This is an ongoing protection specific to the fault: Review Dapr component scopes, secret stores and service identity as applications evolve. The recurrence risk is: Common sidecar messaging/state integration components were not used where supported. The evidence instead supports “Review Dapr component scopes, secret stores and service identity as applications evolve”.
D:The alternative diagnosis “Audit label usage and refresh intervals after adding environments” does not match the observed symptom: The design change is: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs. The original failure was: Teams repeatedly hard-code broker URLs into every service and create configuration drift. Which ongoing control best prevents recurrence of the same root cause?. This is an ongoing protection specific to the fault: Review Dapr component scopes, secret stores and service identity as applications evolve. The recurrence risk is: Common sidecar messaging/state integration components were not used where supported. The evidence instead supports “Review Dapr component scopes, secret stores and service identity as applications evolve”.
Question 817
A design workshop has this requirement: An architect needs to troubleshoot intermittent checkout latency across App Service, Functions and Azure SQL dependencies. Operators currently observe: Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency. Select the ONE design remedy that best addresses the root cause.
- Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets.
- Instrument services with Application Insights/OpenTelemetry correlation and preserve distributed trace context.
- Use Azure Service Bus queue with appropriate lock, retry, dead-letter and idempotency design.
- Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration.
Explanation
Correct Answer
B:The evidence (Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency.) identifies the following cause: Request/dependency trace correlation is missing across services. The design that removes it is: Instrument services with Application Insights/OpenTelemetry correlation and preserve distributed trace context. The acceptance check is: Trace a single slow checkout request across HTTP hops and database dependency calls.
Incorrect Answers
A: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: Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency. The evidence (Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency.) identifies the following cause: Request/dependency trace correlation is missing across services. The evidence instead supports “Instrument services with Application Insights/OpenTelemetry correlation and preserve distributed trace context”.
C:The alternative diagnosis “Use Azure Service Bus queue with appropriate lock, retry, dead-letter and idempotency design” does not match the observed symptom: Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency. The evidence (Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency.) identifies the following cause: Request/dependency trace correlation is missing across services. The evidence instead supports “Instrument services with Application Insights/OpenTelemetry correlation and preserve distributed trace context”.
D:The alternative diagnosis “Use version-controlled Bicep/ARM deployments through a CI/CD pipeline with parameterized environment configuration” does not match the observed symptom: Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency. The evidence (Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency.) identifies the following cause: Request/dependency trace correlation is missing across services. The evidence instead supports “Instrument services with Application Insights/OpenTelemetry correlation and preserve distributed trace context”.
Question 818
The planned architecture is: Instrument services with Application Insights/OpenTelemetry correlation and preserve distributed trace context. Workload context: An architect needs to troubleshoot intermittent checkout latency across App Service, Functions and Azure SQL dependencies. Which acceptance test demonstrates that the required behavior works?
- Trace a single slow checkout request across HTTP hops and database dependency calls.
- Run an ARM/Bicep what-if and deployment against staging; compare resulting resources with the approved source.
- Publish a sample command, force one processing failure and verify controlled retry or dead-letter behavior.
- Rotate a test secret in Key Vault and verify the app resolves the new value after supported refresh behavior.
Explanation
Correct Answer
A:This observation directly verifies the intended design: Trace a single slow checkout request across HTTP hops and database dependency calls. The architecture being tested is: Instrument services with Application Insights/OpenTelemetry correlation and preserve distributed trace context. The original symptom was: Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency.
Incorrect Answers
B:That observation pertains to a separate failure: Production app dependencies differ from staging because operators manually provisioned each resource. Its cause is: Infrastructure-as-code and environment parameterization were not enforced. It does not confirm the result of this design. The direct proof would be: Trace a single slow checkout request across HTTP hops and database dependency calls.
C:The alternative test targets: Use Azure Service Bus queue with appropriate lock, retry, dead-letter and idempotency design. The scenario's actual proposed remedy is: Instrument services with Application Insights/OpenTelemetry correlation and preserve distributed trace context. Verify that one by: Trace a single slow checkout request across HTTP hops and database dependency calls.
D:The architecture being tested is: Instrument services with Application Insights/OpenTelemetry correlation and preserve distributed trace context.
Question 819
The customer states: An architect needs to troubleshoot intermittent checkout latency across App Service, Functions and Azure SQL dependencies. An incident reveals: Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency. What cause best accounts for this evidence?
- The integration lacks durable command messaging and failure handling.
- Request/dependency trace correlation is missing across services.
- Secrets were embedded in deployed app settings without vault-backed lifecycle management.
- Infrastructure-as-code and environment parameterization were not enforced.
Explanation
Correct Answer
B:This is the failure mechanism rather than an incidental symptom: Request/dependency trace correlation is missing across services. It accounts for: Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency. The architectural repair is: Instrument services with Application Insights/OpenTelemetry correlation and preserve distributed trace context.
Incorrect Answers
A:The integration lacks durable command messaging and failure handling would not address the need for request/dependency trace correlation is missing across services.
C:Secrets were embedded in deployed app settings without vault-backed lifecycle management would not address the need for request/dependency trace correlation is missing across services.
D:Infrastructure-as-code and environment parameterization were not enforced would not address the need for request/dependency trace correlation is missing across services.
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.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests