Question 770
The planned architecture is: Bind an Azure Functions Service Bus trigger with a compatible hosting plan and idempotent processing. Workload context: A team needs to invoke an Azure Function every time a Service Bus queue receives an invoice command without running a polling VM. Which acceptance test demonstrates that the required behavior works?
- Publish one order event and verify all three intended subscriptions receive independent deliveries.
- 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.
Explanation
Correct Answer
D:This observation directly verifies the intended design: Send a test invoice command and confirm the function consumes and settles it according to retry settings. The architecture being tested is: Bind an Azure Functions Service Bus trigger with a compatible hosting plan and idempotent processing. The original symptom was: A 24/7 virtual machine polls a queue inefficiently while the managed function is idle.
Incorrect Answers
A:The architecture being tested is: Bind an Azure Functions Service Bus trigger with a compatible hosting plan and idempotent processing.
B:That observation pertains to a separate failure: 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. It does not confirm the result of this design. The direct proof would be: Send a test invoice command and confirm the function consumes and settles it according to retry settings.
C: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: Bind an Azure Functions Service Bus trigger with a compatible hosting plan and idempotent processing. Verify that one by: Send a test invoice command and confirm the function consumes and settles it according to retry settings.
Question 771
The customer states: A team needs to invoke an Azure Function every time a Service Bus queue receives an invoice command without running a polling VM. An incident reveals: A 24/7 virtual machine polls a queue inefficiently while the managed function is idle. What cause best accounts for this evidence?
- The integration omitted an event-triggered compute consumer.
- Application processing and frontend request lifetime are tightly coupled.
- The workflow lacks durable checkpointed orchestrator state for long-running tasks.
- A queue's single-consumer semantics were selected where publish-subscribe fanout is required.
Explanation
Correct Answer
A:The incident is explained by: The integration omitted an event-triggered compute consumer. The reported symptom is: A 24/7 virtual machine polls a queue inefficiently while the managed function is idle. The corresponding design fix is: Bind an Azure Functions Service Bus trigger with a compatible hosting plan and idempotent processing.
Incorrect Answers
B:Application processing and frontend request lifetime are tightly coupled. The integration omitted an event-triggered compute consumer.
C:The workflow lacks durable checkpointed orchestrator state for long-running tasks. The integration omitted an event-triggered compute consumer.
D:A queue's single-consumer semantics were selected where publish-subscribe fanout is required. The integration omitted an event-triggered compute consumer.
Question 772
Workload context: A team needs to invoke an Azure Function every time a Service Bus queue receives an invoice command without running a polling VM. The implemented remedy is: Bind an Azure Functions Service Bus trigger with a compatible hosting plan and idempotent processing. Which ongoing practice most specifically prevents recurrence of this failure: A 24/7 virtual machine polls a queue inefficiently while the managed function is idle.?
- Audit subscription rules, dead letters and independent consumer lag.
- Monitor queue age and retry backlog separately from frontend latency.
- Inspect poison/dead-letter handling and Function concurrency during bursts.
- Audit function determinism and activity retry policy during runtime updates.
Explanation
Correct Answer
C:The key follow-up control is: Inspect poison/dead-letter handling and Function concurrency during bursts. It avoids recurrence of the scenario in which: A 24/7 virtual machine polls a queue inefficiently while the managed function is idle. It addresses: The integration omitted an event-triggered compute consumer.
Incorrect Answers
A:Auditing subscription rules, dead letters and independent consumer lag would not inspect poison/dead-letter handling and Function concurrency during bursts.
B:Monitoring queue age and retry backlog separately from frontend latency would not inspect poison/dead-letter handling and Function concurrency during bursts.
D:Auditing function determinism and activity retry policy during runtime updates would not inspect poison/dead-letter handling and Function concurrency during bursts.
Question 773
A solution architect is reviewing a workload: An enterprise approval process orchestrates SaaS connectors, manual steps and conditional branches without large custom codebases. The observed incident is: A custom script loses workflow state when one approver delays a response for days. Which architecture choice most directly removes the identified weakness?
- Build an Azure Logic Apps workflow with supported connector actions, branching and durable run history.
- Use Durable Functions orchestration with idempotent activity functions and appropriate state storage.
- Use GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules.
- Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs.
Explanation
Correct Answer
A:The evidence (A custom script loses workflow state when one approver delays a response for days.) identifies the following cause: The integration uses stateless scripts instead of durable orchestration suited to long-running workflows. The design that removes it is: Build an Azure Logic Apps workflow with supported connector actions, branching and durable run history. The acceptance check is: Start a sample approval and trace completed/rejected branches and connector activity.
Incorrect Answers
B:Using Durable Functions orchestration with idempotent activity functions and appropriate state storage would not build an Azure Logic Apps workflow with supported connector actions, branching and durable run history.
C:Using GitHub Actions with approved workload identity federation, scoped Azure RBAC and environment protection rules would not build an Azure Logic Apps workflow with supported connector actions, branching and durable run history.
D:Evaluating Azure Container Apps Dapr integration with compatible sidecar components for application APIs would not build an Azure Logic Apps workflow with supported connector actions, branching and durable run history.
Question 774
An architect proposes this change: Build an Azure Logic Apps workflow with supported connector actions, branching and durable run history. The workload context is: An enterprise approval process orchestrates SaaS connectors, manual steps and conditional branches without large custom codebases. Which evidence would most directly validate the change?
- Run a test orchestration with one failing activity and verify replay and eventual aggregation behavior.
- Run a signed workflow from the authorized branch and ensure an unapproved ref cannot obtain Azure deployment access.
- Invoke a Dapr service and confirm scoped access to the configured state or pub/sub component.
- Start a sample approval and trace completed/rejected branches and connector activity.
Explanation
Correct Answer
D:The acceptance test is specific: Start a sample approval and trace completed/rejected branches and connector activity. Its purpose is to establish that the proposed architecture works: Build an Azure Logic Apps workflow with supported connector actions, branching and durable run history.
Incorrect Answers
A:That observation pertains to a separate failure: 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. It does not confirm the result of this design. The direct proof would be: Start a sample approval and trace completed/rejected branches and connector activity.
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: Build an Azure Logic Apps workflow with supported connector actions, branching and durable run history. Verify that one by: Start a sample approval and trace completed/rejected branches and connector activity.
C:Its purpose is to establish that the proposed architecture works: Build an Azure Logic Apps workflow with supported connector actions, branching and durable run history.
Question 775
During architecture troubleshooting, a team reports: A custom script loses workflow state when one approver delays a response for days. Context: An enterprise approval process orchestrates SaaS connectors, manual steps and conditional branches without large custom codebases. Which underlying design mistake explains the observed behavior most precisely?
- Deployment trust relies on long-lived secrets instead of constrained OIDC federation.
- Common sidecar messaging/state integration components were not used where supported.
- The workflow lacks durable checkpointed orchestrator state for long-running tasks.
- The integration uses stateless scripts instead of durable orchestration suited to long-running workflows.
Explanation
Correct Answer
D:This is the failure mechanism rather than an incidental symptom: The integration uses stateless scripts instead of durable orchestration suited to long-running workflows. It accounts for: A custom script loses workflow state when one approver delays a response for days. The architectural repair is: Build an Azure Logic Apps workflow with supported connector actions, branching and durable run history.
Incorrect Answers
A:The alternative diagnosis “Deployment trust relies on long-lived secrets instead of constrained OIDC federation” does not match the observed symptom: A custom script loses workflow state when one approver delays a response for days. Context: An enterprise approval process orchestrates SaaS connectors, manual steps and conditional branches without large custom codebases. This is the failure mechanism rather than an incidental symptom: The integration uses stateless scripts instead of durable orchestration suited to long-running workflows. It accounts for: A custom script loses workflow state when one approver delays a response for days. The evidence instead supports “The integration uses stateless scripts instead of durable orchestration suited to long-running workflows”.
B:The alternative diagnosis “Common sidecar messaging/state integration components were not used where supported” does not match the observed symptom: A custom script loses workflow state when one approver delays a response for days. Context: An enterprise approval process orchestrates SaaS connectors, manual steps and conditional branches without large custom codebases. This is the failure mechanism rather than an incidental symptom: The integration uses stateless scripts instead of durable orchestration suited to long-running workflows. It accounts for: A custom script loses workflow state when one approver delays a response for days. The evidence instead supports “The integration uses stateless scripts instead of durable orchestration suited to long-running workflows”.
C:The alternative diagnosis “The workflow lacks durable checkpointed orchestrator state for long-running tasks” does not match the observed symptom: A custom script loses workflow state when one approver delays a response for days. Context: An enterprise approval process orchestrates SaaS connectors, manual steps and conditional branches without large custom codebases. This is the failure mechanism rather than an incidental symptom: The integration uses stateless scripts instead of durable orchestration suited to long-running workflows. It accounts for: A custom script loses workflow state when one approver delays a response for days. The evidence instead supports “The integration uses stateless scripts instead of durable orchestration suited to long-running workflows”.
Question 776
The design change is: Build an Azure Logic Apps workflow with supported connector actions, branching and durable run history. The original failure was: A custom script loses workflow state when one approver delays a response for days. Which ongoing control best prevents recurrence of the same root cause?
- Audit workflow run failures and connector authorization expiry.
- Review Dapr component scopes, secret stores and service identity as applications evolve.
- Audit function determinism and activity retry policy during runtime updates.
- Review federated subject claims and repository environment approvals after workflow changes.
Explanation
Correct Answer
A:This is an ongoing protection specific to the fault: Audit workflow run failures and connector authorization expiry. The recurrence risk is: The integration uses stateless scripts instead of durable orchestration suited to long-running workflows. It should be checked using: Start a sample approval and trace completed/rejected branches and connector activity.
Incorrect Answers
B:The alternative diagnosis “Review Dapr component scopes, secret stores and service identity as applications evolve” does not match the observed symptom: The design change is: Build an Azure Logic Apps workflow with supported connector actions, branching and durable run history. The original failure was: A custom script loses workflow state when one approver delays a response for days. Which ongoing control best prevents recurrence of the same root cause?. This is an ongoing protection specific to the fault: Audit workflow run failures and connector authorization expiry. The recurrence risk is: The integration uses stateless scripts instead of durable orchestration suited to long-running workflows. The evidence instead supports “Audit workflow run failures and connector authorization expiry”.
C:The alternative diagnosis “Audit function determinism and activity retry policy during runtime updates” does not match the observed symptom: The design change is: Build an Azure Logic Apps workflow with supported connector actions, branching and durable run history. The original failure was: A custom script loses workflow state when one approver delays a response for days. Which ongoing control best prevents recurrence of the same root cause?. This is an ongoing protection specific to the fault: Audit workflow run failures and connector authorization expiry. The recurrence risk is: The integration uses stateless scripts instead of durable orchestration suited to long-running workflows. The evidence instead supports “Audit workflow run failures and connector authorization expiry”.
D:The alternative diagnosis “Review federated subject claims and repository environment approvals after workflow changes” does not match the observed symptom: The design change is: Build an Azure Logic Apps workflow with supported connector actions, branching and durable run history. The original failure was: A custom script loses workflow state when one approver delays a response for days. Which ongoing control best prevents recurrence of the same root cause?. This is an ongoing protection specific to the fault: Audit workflow run failures and connector authorization expiry. The recurrence risk is: The integration uses stateless scripts instead of durable orchestration suited to long-running workflows. The evidence instead supports “Audit workflow run failures and connector authorization expiry”.
Question 777
A design workshop has this requirement: A bank exposes multiple back-end APIs to partner developers with quotas, versioning and a consolidated developer gateway. Operators currently observe: Partners invoke backend URLs directly and bypass requested quotas. Select the ONE design remedy that best addresses the root cause.
- Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs.
- Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies.
- Design Azure Front Door with origin groups, routes and WAF policy as appropriate.
- Use supported API Management policies for JWT validation and throttling at the inbound processing stage.
Explanation
Correct Answer
B:This option addresses the actual design defect: There is no API gateway governing public partner traffic consistently. The correction is: Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies. Confirm the outcome with: Test an approved subscription key and reject an over-quota or unauthorized partner call.
Incorrect Answers
A:The alternative diagnosis “Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs” does not match the observed symptom: Partners invoke backend URLs directly and bypass requested quotas. This option addresses the actual design defect: There is no API gateway governing public partner traffic consistently. The correction is: Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies. The evidence instead supports “Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies”.
C:The alternative diagnosis “Design Azure Front Door with origin groups, routes and WAF policy as appropriate” does not match the observed symptom: Partners invoke backend URLs directly and bypass requested quotas. This option addresses the actual design defect: There is no API gateway governing public partner traffic consistently. The correction is: Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies. The evidence instead supports “Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies”.
D:The alternative diagnosis “Use supported API Management policies for JWT validation and throttling at the inbound processing stage” does not match the observed symptom: Partners invoke backend URLs directly and bypass requested quotas. This option addresses the actual design defect: There is no API gateway governing public partner traffic consistently. The correction is: Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies. The evidence instead supports “Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies”.
Question 778
The planned architecture is: Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies. Workload context: A bank exposes multiple back-end APIs to partner developers with quotas, versioning and a consolidated developer gateway. Which acceptance test demonstrates that the required behavior works?
- Send requests to defined paths and confirm origin selection and WAF blocking in logs.
- Submit a wrong-audience JWT and excessive valid requests, confirming the gateway returns expected rejections.
- Test an approved subscription key and reject an over-quota or unauthorized partner call.
- Invoke a Dapr service and confirm scoped access to the configured state or pub/sub component.
Explanation
Correct Answer
C:The acceptance test is specific: Test an approved subscription key and reject an over-quota or unauthorized partner call. Its purpose is to establish that the proposed architecture works: Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies.
Incorrect Answers
A:The alternative test targets: Design Azure Front Door with origin groups, routes and WAF policy as appropriate. The scenario's actual proposed remedy is: Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies. Verify that one by: Test an approved subscription key and reject an over-quota or unauthorized partner call.
B:Its purpose is to establish that the proposed architecture works: Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies.
D:The alternative test targets: Evaluate Azure Container Apps Dapr integration with compatible sidecar components for application APIs. The scenario's actual proposed remedy is: Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies. Verify that one by: Test an approved subscription key and reject an over-quota or unauthorized partner call.
Question 779
The customer states: A bank exposes multiple back-end APIs to partner developers with quotas, versioning and a consolidated developer gateway. An incident reveals: Partners invoke backend URLs directly and bypass requested quotas. What cause best accounts for this evidence?
- Global application entry routing and edge filtering were not implemented.
- There is no API gateway governing public partner traffic consistently.
- API gateway inbound identity and traffic governance controls were not applied.
- Common sidecar messaging/state integration components were not used where supported.
Explanation
Correct Answer
B:The incident is explained by: There is no API gateway governing public partner traffic consistently. The reported symptom is: Partners invoke backend URLs directly and bypass requested quotas. The corresponding design fix is: Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies.
Incorrect Answers
A:Global application entry routing and edge filtering were not implemented would not address the need for there is no API gateway governing public partner traffic consistently.
C:API gateway inbound identity and traffic governance controls were not applied would not address the need for there is no API gateway governing public partner traffic consistently.
D:Sidecar configuration would not address the need for there is no API gateway governing public partner traffic consistently.
Question 780
Workload context: A bank exposes multiple back-end APIs to partner developers with quotas, versioning and a consolidated developer gateway. The implemented remedy is: Place Azure API Management in front of the APIs using proper product subscriptions, API versions and policies. Which ongoing practice most specifically prevents recurrence of this failure: Partners invoke backend URLs directly and bypass requested quotas.?
- Review gateway policies, API revisions and partner access after backend releases.
- Regression-test gateway policy order and key claims after API registration changes.
- Review Dapr component scopes, secret stores and service identity as applications evolve.
- Monitor origin health and WAF false-positive patterns after deploying rules.
Explanation
Correct Answer
A:The key follow-up control is: Review gateway policies, API revisions and partner access after backend releases. It avoids recurrence of the scenario in which: Partners invoke backend URLs directly and bypass requested quotas. It addresses: There is no API gateway governing public partner traffic consistently.
Incorrect Answers
B:Regression-test gateway policy order and key claims after API registration changes would not review gateway policies, API revisions and partner access after backend releases.
C:Reviewing Dapr component scopes, secret stores and service identity as applications evolve would not review gateway policies, API revisions and partner access after backend releases.
D:Monitoring origin health and WAF false-positive patterns after deploying rules would not review gateway policies, API revisions and partner access after backend releases.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests