100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 460
A team processes work messages using PeekLock and wants to acknowledge only after the AI result is durably saved. During a trial, the team sees this problem: A message disappears before the worker writes its output, and the result is lost. Which cause is most consistent?
- The event subscription's retry configuration or delivery policy is unsuitable.
- The worker settled or completed the message before durable processing finished.
- The worker abandoned the message and allowed Service Bus to retry it.
- The application performs long-running work synchronously within the HTTP request lifecycle.
Explanation
Correct Answer
B:The worker settled or completed the message before durable processing finished. The described symptom and this root cause fit together. PeekLock completion should follow successful work when at-least-once processing is required.
Incorrect Answers
A:The event subscription's retry configuration or delivery policy is unsuitable. Here, the worker settled or completed the message before durable processing finished.
C:The worker abandoned the message and allowed Service Bus to retry it. Abandoning a PeekLock message would make it eligible for redelivery; it does not explain a permanently vanished message with no stored result.
D:The application performs long-running work synchronously within the HTTP request lifecycle. Here, the worker settled or completed the message before durable processing finished.
Question 461
A document-processing worker intermittently fails and must allow retry rather than pretending success. What primary technical approach is best justified by these constraints?
- Use Azure Event Grid event subscriptions for blob-created events.
- Use a filtered Service Bus topic subscription for the finance consumer.
- Use supported Function App deployment slots when available in the selected hosting plan.
- Abandon or release the locked Service Bus message on a transient processing failure.
Explanation
Correct Answer
D:Abandon or release the locked Service Bus message on a transient processing failure. It directly addresses the architecture in this case. Completing a Service Bus message is an acknowledgment that should not be used for failed processing.
Incorrect Answers
A:Use Azure Event Grid event subscriptions for blob-created events. Event Grid forwards events according to source scope and subscription filter rules. Here, abandon or release the locked Service Bus message on a transient processing failure.
B:Use a filtered Service Bus topic subscription for the finance consumer. Service Bus subscription rules control which topic messages are delivered to each subscription. Here, abandon or release the locked Service Bus message on a transient processing failure.
C:Use supported Function App deployment slots when available in the selected hosting plan. Deployment slots can isolate staged versions but slot settings need deliberate stickiness. Here, abandon or release the locked Service Bus message on a transient processing failure.
Question 462
A document-processing worker intermittently fails and must allow retry rather than pretending success. After deciding to abandon or release the locked Service Bus message on a transient processing failure, what configuration is most relevant?
- On recoverable failure, let the lock expire or explicitly abandon the message according to retry policy.
- Configure a subject-begins-with filter on the required blob path prefix in the event subscription.
- Upload the object to secured storage and put its controlled URI or object ID into Service Bus.
- Inspect deployment files, trigger decorators and Function App host startup logs for indexing errors.
Explanation
Correct Answer
A:On recoverable failure, let the lock expire or explicitly abandon the message according to retry policy. This is the actionable setup step for the selected design. Completing a Service Bus message is an acknowledgment that should not be used for failed processing.
Incorrect Answers
B:Configure a subject-begins-with filter on the required blob path prefix in the event subscription. Here, on recoverable failure, let the lock expire or explicitly abandon the message according to retry policy.
C:Upload the object to secured storage and put its controlled URI or object ID into Service Bus. Here, on recoverable failure, let the lock expire or explicitly abandon the message according to retry policy.
D:Inspect deployment files, trigger decorators and Function App host startup logs for indexing errors. Here, on recoverable failure, let the lock expire or explicitly abandon the message according to retry policy.
Question 463
A document-processing worker intermittently fails and must allow retry rather than pretending success. Which validation result is the strongest evidence that the intended behavior works?
- A deliberately undeliverable event produces a dead-letter record in the designated container.
- A failed message is redelivered and delivery count rises without being silently lost.
- The worker resolves the reference and processes the blob without oversized message errors.
- Unauthenticated requests are rejected while authorized calls reach the handler.
Explanation
Correct Answer
B:A failed message is redelivered and delivery count rises without being silently lost. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Completing a Service Bus message is an acknowledgment that should not be used for failed processing.
Incorrect Answers
A:A deliberately undeliverable event produces a dead-letter record in the designated container. Here, a failed message is redelivered and delivery count rises without being silently lost.
C:The worker resolves the reference and processes the blob without oversized message errors. Here, a failed message is redelivered and delivery count rises without being silently lost.
D:Unauthenticated requests are rejected while authorized calls reach the handler. Here, a failed message is redelivered and delivery count rises without being silently lost.
Question 464
A document-processing worker intermittently fails and must allow retry rather than pretending success. Production telemetry shows: A transient database error causes a message to vanish from the queue without a saved result. Which underlying issue should be investigated first?
- The sender did not propagate any correlation or tracing context through the message.
- No usable dead-letter storage destination was configured for the subscription.
- The worker completed the message even though its downstream operation failed.
- The Blob output binding path or storage authorization is incorrect.
Explanation
Correct Answer
C:The worker completed the message even though its downstream operation failed. The described symptom and this root cause fit together. Completing a Service Bus message is an acknowledgment that should not be used for failed processing.
Incorrect Answers
A:The sender did not propagate any correlation or tracing context through the message. Here, the worker completed the message even though its downstream operation failed.
B:No usable dead-letter storage destination was configured for the subscription. Here, the worker completed the message even though its downstream operation failed.
D:The Blob output binding path or storage authorization is incorrect. Here, the worker completed the message even though its downstream operation failed.
Question 465
A document indexer needs to inspect messages in a queue without removing or locking them. Which design decision should the team make first?
- Use Service Bus message peek operations for non-destructive inspection.
- Use each Service Bus subscription's independent dead-letter queue.
- Use Event Grid delivery retry policy rather than relying on the publisher to resend manually.
- Use a managed identity and supported Azure SDK credential chain for downstream access.
Explanation
Correct Answer
A:Use Service Bus message peek operations for non-destructive inspection. It directly addresses the architecture in this case. Peeking examines messages without settling them, unlike ReceiveAndDelete.
Incorrect Answers
B:Use each Service Bus subscription's independent dead-letter queue. Each Service Bus topic subscription has its own delivery and dead-letter behavior. Instead, use Service Bus message peek operations for non-destructive inspection.
C:Use Event Grid delivery retry policy rather than relying on the publisher to resend manually. Event Grid uses delivery retry behavior with configurable limits for supported destinations. Instead, use Service Bus message peek operations for non-destructive inspection.
D:Use a managed identity and supported Azure SDK credential chain for downstream access. Managed identity authentication still requires downstream authorization. Instead, use Service Bus message peek operations for non-destructive inspection.
Question 466
A document indexer needs to inspect messages in a queue without removing or locking them. Which concrete setup step puts this selected approach into operation: Use Service Bus message peek operations for non-destructive inspection.
- Schedule the message's enqueue time for the authorized future instant.
- Call the Service Bus receiver's peek method to examine queued message metadata.
- Create an Event Grid subscription scoped to the storage source and filter BlobCreated events to the target destination.
- Set environment-specific application setting values for each Function App deployment.
Explanation
Correct Answer
B:Call the Service Bus receiver's peek method to examine queued message metadata. This is the actionable setup step for the selected design. Peeking examines messages without settling them, unlike ReceiveAndDelete.
Incorrect Answers
A:Schedule the message's enqueue time for the authorized future instant. Here, call the Service Bus receiver's peek method to examine queued message metadata.
C:Create an Event Grid subscription scoped to the storage source and filter BlobCreated events to the target destination. Here, call the Service Bus receiver's peek method to examine queued message metadata.
D:Set environment-specific application setting values for each Function App deployment. Here, call the Service Bus receiver's peek method to examine queued message metadata.
Question 467
A document indexer needs to inspect messages in a queue without removing or locking them. What outcome should be checked before the engineering change is accepted?
- Only matching finance messages appear in that worker's subscription.
- A failed message is redelivered and delivery count rises without being silently lost.
- The inspected message remains available to normal receivers after the diagnostic peek.
- The production endpoint runs the validated function version with expected slot-specific settings.
Explanation
Correct Answer
C:The inspected message remains available to normal receivers after the diagnostic peek. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Peeking examines messages without settling them, unlike ReceiveAndDelete.
Incorrect Answers
A:Only matching finance messages appear in that worker's subscription. Here, the inspected message remains available to normal receivers after the diagnostic peek.
B:A failed message is redelivered and delivery count rises without being silently lost. Here, the inspected message remains available to normal receivers after the diagnostic peek.
D:The production endpoint runs the validated function version with expected slot-specific settings. Here, the inspected message remains available to normal receivers after the diagnostic peek.
Question 468
A document indexer needs to inspect messages in a queue without removing or locking them. After rollout the observed failure is: An operator's diagnostic script unexpectedly removes the only copy of a queued job. What best explains it?
- The receiver abandons failures without using an appropriate dead-letter policy or delivery-count handling.
- The retry uses a new MessageId or falls outside the configured duplicate-detection window.
- The trigger binding points to the wrong queue or lacks access to the namespace.
- The script used ReceiveAndDelete rather than a non-destructive peek.
Explanation
Correct Answer
D:The script used ReceiveAndDelete rather than a non-destructive peek. The described symptom and this root cause fit together. Peeking examines messages without settling them, unlike ReceiveAndDelete.
Incorrect Answers
A:The receiver abandons failures without using an appropriate dead-letter policy or delivery-count handling. Here, the script used ReceiveAndDelete rather than a non-destructive peek.
B:The retry uses a new MessageId or falls outside the configured duplicate-detection window. Here, the script used ReceiveAndDelete rather than a non-destructive peek.
C:The trigger binding points to the wrong queue or lacks access to the namespace. Here, the script used ReceiveAndDelete rather than a non-destructive peek.
Question 469
A Service Bus queue is accumulating dead-letter messages while regular message counts appear low. Which architecture most directly addresses the required outcome?
- Use an Azure Service Bus topic with separate subscriptions for each consumer.
- Monitor the queue's dead-letter count separately from active messages.
- Design an idempotent subscriber because Event Grid delivery can be at least once.
- Use a Service Bus output binding or SDK client to send summaries after processing.
Explanation
Correct Answer
B:Monitor the queue's dead-letter count separately from active messages. It directly addresses the architecture in this case. Active and dead-lettered Service Bus messages are distinct operational metrics.
Incorrect Answers
A:Use an Azure Service Bus topic with separate subscriptions for each consumer. Service Bus topics fan out published messages to subscriptions whose filters match. Instead, monitor the queue's dead-letter count separately from active messages.
C:Design an idempotent subscriber because Event Grid delivery can be at least once. Event Grid retries mean consumers must tolerate duplicate notifications. Instead, monitor the queue's dead-letter count separately from active messages.
D:Use a Service Bus output binding or SDK client to send summaries after processing. Output bindings route function-produced data to the configured downstream resource. Instead, monitor the queue's dead-letter count separately from active messages.
Question 470
A Service Bus queue is accumulating dead-letter messages while regular message counts appear low. The team has selected this architecture: Monitor the queue's dead-letter count separately from active messages. Which action correctly implements it?
- Configure automatic message lock renewal or explicitly renew the received message lock during processing.
- Send work messages to a Service Bus queue and consume them with a worker using the chosen receive mode.
- Query the dead-letter message count and inspect representative dead-letter reasons.
- Configure retry-aware SDK calls with controlled backoff and a maximum attempt budget.
Explanation
Correct Answer
C:Query the dead-letter message count and inspect representative dead-letter reasons. This is the actionable setup step for the selected design. Active and dead-lettered Service Bus messages are distinct operational metrics.
Incorrect Answers
A:Configure automatic message lock renewal or explicitly renew the received message lock during processing. Instead, query the dead-letter message count and inspect representative dead-letter reasons.
B:Send work messages to a Service Bus queue and consume them with a worker using the chosen receive mode. Instead, query the dead-letter message count and inspect representative dead-letter reasons.
D:Configure retry-aware SDK calls with controlled backoff and a maximum attempt budget. Instead, query the dead-letter message count and inspect representative dead-letter reasons.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests