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:This check validates a different workload: Send a test invoice command and confirm the function consumes and settles it according to retry settings. Its associated design is: Bind an Azure Functions Service Bus trigger with a compatible hosting plan and idempotent processing. The required acceptance test here is: Run a test orchestration with one failing activity and verify replay and eventual aggregation behavior.
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 proposed diagnosis fits another scenario: The integration omitted an event-triggered compute consumer. It would typically be reflected by: A 24/7 virtual machine polls a queue inefficiently while the managed function is idle. The current evidence instead supports: The workflow lacks durable checkpointed orchestrator state for long-running tasks.
C:This cause would explain a different symptom: Client HTTP requests frequently time out because processing runs synchronously for several minutes. The mechanism for that event is: Application processing and frontend request lifetime are tightly coupled. Here the stated symptom is: An ordinary short-lived HTTP function times out while coordinating hours of dependent tasks. Its cause is: The workflow lacks durable checkpointed orchestrator state for long-running tasks.
D:The proposed diagnosis fits another scenario: A competing-consumer queue was used instead of an append-style partitioned event stream. It would typically be reflected by: An ordinary business-command queue cannot supply the sustained streaming and replay pattern. The current evidence instead supports: 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:This is a reasonable safeguard for a different fault: An ordinary business-command queue cannot supply the sustained streaming and replay pattern. That different mechanism is: A competing-consumer queue was used instead of an append-style partitioned event stream. The original incident here instead arises from: The workflow lacks durable checkpointed orchestrator state for long-running tasks. The directly relevant safeguard is: Audit function determinism and activity retry policy during runtime updates.
B:The proposed control focuses on: Application processing and frontend request lifetime are tightly coupled. For the design in the question, recurrence comes from: The workflow lacks durable checkpointed orchestrator state for long-running tasks. A precise prevention step is: Audit function determinism and activity retry policy during runtime updates.
D:This is a reasonable safeguard for a different fault: A 24/7 virtual machine polls a queue inefficiently while the managed function is idle. That different mechanism is: The integration omitted an event-triggered compute consumer. The original incident here instead arises from: The workflow lacks durable checkpointed orchestrator state for long-running tasks. The directly relevant safeguard is: 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:The option belongs to a different failure mechanism: There is no API gateway governing public partner traffic consistently. That situation exhibits: Partners invoke backend URLs directly and bypass requested quotas. For the stated case, the remedy is: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs.
B: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: Teams repeatedly hard-code broker URLs into every service and create configuration drift. Its targeted remedy is: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs.
C: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: Common sidecar messaging/state integration components were not used where supported. Choose the corresponding action: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs.
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 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: Invoke a Dapr service and confirm scoped access to the configured state or pub/sub component.
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:This cause would explain a different symptom: Partners invoke backend URLs directly and bypass requested quotas. The mechanism for that event is: There is no API gateway governing public partner traffic consistently. Here the stated symptom is: Teams repeatedly hard-code broker URLs into every service and create configuration drift. Its cause is: Common sidecar messaging/state integration components were not used where supported.
C:The proposed diagnosis fits another scenario: Deployment has no revision-level incremental traffic control. It would typically be reflected by: Every user immediately receives an untested new container image. The current evidence instead supports: Common sidecar messaging/state integration components were not used where supported.
D:The alternative weakness is: Application configuration lacks a managed centralized service and refresh mechanism. Its associated failure is: App teams copy environment values into every deployment image and cannot change them centrally. Neither explains the present observation: Teams repeatedly hard-code broker URLs into every service and create configuration drift. The direct cause here is: 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 proposed control focuses on: There is no API gateway governing public partner traffic consistently. For the design in the question, recurrence comes from: Common sidecar messaging/state integration components were not used where supported. A precise prevention step is: Review Dapr component scopes, secret stores and service identity as applications evolve.
B:That safeguard manages another risk: Deployment has no revision-level incremental traffic control. Its scenario is: Every user immediately receives an untested new container image. The present recurring risk is: Common sidecar messaging/state integration components were not used where supported. The proper ongoing control is: Review Dapr component scopes, secret stores and service identity as applications evolve.
D:The proposed control focuses on: Application configuration lacks a managed centralized service and refresh mechanism. For the design in the question, recurrence comes from: Common sidecar messaging/state integration components were not used where supported. A precise prevention step is: 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: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: Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency. Its targeted remedy is: Instrument services with Application Insights/OpenTelemetry correlation and preserve distributed trace context.
C:The option belongs to a different failure mechanism: The integration lacks durable command messaging and failure handling. That situation exhibits: The checkout API returns success but business commands disappear on transient worker failures. For the stated case, the remedy is: Instrument services with Application Insights/OpenTelemetry correlation and preserve distributed trace context.
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: Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency. Its targeted remedy is: 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:This check validates a different workload: Rotate a test secret in Key Vault and verify the app resolves the new value after supported refresh behavior. Its associated design is: Use Azure Key Vault references in App Service settings with a managed identity authorized to read the referenced secrets. The required acceptance test here is: Trace a single slow checkout request across HTTP hops and database dependency calls.
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:This cause would explain a different symptom: The checkout API returns success but business commands disappear on transient worker failures. The mechanism for that event is: The integration lacks durable command messaging and failure handling. Here the stated symptom is: Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency. Its cause is: Request/dependency trace correlation is missing across services.
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: Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency. The direct cause here is: Request/dependency trace correlation is missing across services.
D:This cause would explain a different symptom: Production app dependencies differ from staging because operators manually provisioned each resource. The mechanism for that event is: Infrastructure-as-code and environment parameterization were not enforced. Here the stated symptom is: Infrastructure CPU dashboards appear healthy despite a stalled downstream dependency. Its cause is: 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: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.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests