100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 490
A team uses Event Grid for notifications but assumes publishing one event guarantees only one invocation ever. Which concrete setup step puts this selected approach into operation: Design an idempotent subscriber because Event Grid delivery can be at least once.
- Configure a subscription rule on the message's application property for the finance event category.
- Configure duplicate detection on the queue/topic and use a deterministic MessageId for the same business action.
- Configure Functions integration with Application Insights and emit structured execution diagnostics.
- Store an event ID or business key and suppress repeated effects when the event is delivered again.
Explanation
Correct Answer
D:Store an event ID or business key and suppress repeated effects when the event is delivered again. This is the actionable setup step for the selected design. Event Grid retries mean consumers must tolerate duplicate notifications.
Incorrect Answers
A:Configure a subscription rule on the message's application property for the finance event category. Instead, store an event ID or business key and suppress repeated effects when the event is delivered again.
B:Configure duplicate detection on the queue/topic and use a deterministic MessageId for the same business action. Instead, store an event ID or business key and suppress repeated effects when the event is delivered again.
C:Configure Functions integration with Application Insights and emit structured execution diagnostics. Instead, store an event ID or business key and suppress repeated effects when the event is delivered again.
Question 491
A team uses Event Grid for notifications but assumes publishing one event guarantees only one invocation ever. What outcome should be checked before the engineering change is accepted?
- Replaying the same event does not duplicate the indexed document or billing action.
- The worker resolves the reference and processes the blob without oversized message errors.
- Both active subscriptions receive the intended event independently.
- The initial request returns quickly with a job identifier and the job completes asynchronously.
Explanation
Correct Answer
A:Replaying the same event does not duplicate the indexed document or billing action. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Event Grid retries mean consumers must tolerate duplicate notifications.
Incorrect Answers
B:The worker resolves the reference and processes the blob without oversized message errors. Here, replaying the same event does not duplicate the indexed document or billing action.
C:Both active subscriptions receive the intended event independently. Here, replaying the same event does not duplicate the indexed document or billing action.
D:The initial request returns quickly with a job identifier and the job completes asynchronously. Here, replaying the same event does not duplicate the indexed document or billing action.
Question 492
A team uses Event Grid for notifications but assumes publishing one event guarantees only one invocation ever. After rollout the observed failure is: A retry creates a duplicate embedding document for the same source event. What best explains it?
- The event subscription's retry configuration or delivery policy is unsuitable.
- The subscriber lacks idempotency controls around repeated event delivery.
- The producer's custom event does not meet the topic's configured event schema.
- The application performs long-running work synchronously within the HTTP request lifecycle.
Explanation
Correct Answer
B:The subscriber lacks idempotency controls around repeated event delivery. The described symptom and this root cause fit together. Event Grid retries mean consumers must tolerate duplicate notifications.
Incorrect Answers
A:The event subscription's retry configuration or delivery policy is unsuitable. Here, the subscriber lacks idempotency controls around repeated event delivery.
C:The producer's custom event does not meet the topic's configured event schema. Here, the subscriber lacks idempotency controls around repeated event delivery.
D:The application performs long-running work synchronously within the HTTP request lifecycle. Here, the subscriber lacks idempotency controls around repeated event delivery.
Question 493
An event-driven pipeline has independent workflows for image uploads and document uploads. Which architecture most directly addresses the required outcome?
- Configure Event Grid dead-lettering to a supported storage destination.
- Send every object-created event to both handlers without a per-handler filter.
- Handle downstream exceptions inside the Function and emit structured error telemetry.
- Use Event Grid event-type filters so each handler receives only relevant events.
Explanation
Correct Answer
D:Use Event Grid event-type filters so each handler receives only relevant events. It directly addresses the architecture in this case. Event Grid filtering determines which event categories each subscriber receives.
Incorrect Answers
A:Configure Event Grid dead-lettering to a supported storage destination. Event Grid dead-lettering retains unsuccessful deliveries for later inspection or replay. Instead, use Event Grid event-type filters so each handler receives only relevant events.
B:Send every object-created event to both handlers without a per-handler filter. An unfiltered subscription would invoke image and document handlers for unrelated uploads; the scenario requires distinct event-type routing for independent workflows.
C:Handle downstream exceptions inside the Function and emit structured error telemetry. Serverless API boundaries should translate internal errors into controlled responses. Instead, use Event Grid event-type filters so each handler receives only relevant events.
Question 494
An event-driven pipeline has independent workflows for image uploads and document uploads. The team has selected this architecture: Use Event Grid event-type filters so each handler receives only relevant events. Which action correctly implements it?
- Set the allowed event types or advanced filters for each downstream subscription.
- Enable sessions on the queue and assign SessionId consistently to every customer job.
- Create the custom topic or supported namespace and send valid CloudEvents-formatted completion events.
- Keep the HTTP Function short and enqueue the long-running job for background processing.
Explanation
Correct Answer
A:Set the allowed event types or advanced filters for each downstream subscription. This is the actionable setup step for the selected design. Event Grid filtering determines which event categories each subscriber receives.
Incorrect Answers
B:Enable sessions on the queue and assign SessionId consistently to every customer job. Instead, set the allowed event types or advanced filters for each downstream subscription.
C:Create the custom topic or supported namespace and send valid CloudEvents-formatted completion events. Instead, set the allowed event types or advanced filters for each downstream subscription.
D:Keep the HTTP Function short and enqueue the long-running job for background processing. Instead, set the allowed event types or advanced filters for each downstream subscription.
Question 495
An event-driven pipeline has independent workflows for image uploads and document uploads. After configuring the solution, which measurable result would demonstrate success?
- The diagnostic report identifies the DLQ backlog independently of active queue depth.
- Image handlers receive only image-related custom events and document handlers only document-related events.
- Subscribers receive the custom model-build event with its schema and event identifiers.
- The function resolves its secret at runtime and the source package contains no plaintext value.
Explanation
Correct Answer
B:Image handlers receive only image-related custom events and document handlers only document-related events. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Event Grid filtering determines which event categories each subscriber receives.
Incorrect Answers
A:The diagnostic report identifies the DLQ backlog independently of active queue depth. Here, image handlers receive only image-related custom events and document handlers only document-related events.
C:Subscribers receive the custom model-build event with its schema and event identifiers. Here, image handlers receive only image-related custom events and document handlers only document-related events.
D:The function resolves its secret at runtime and the source package contains no plaintext value. Here, image handlers receive only image-related custom events and document handlers only document-related events.
Question 496
An event-driven pipeline has independent workflows for image uploads and document uploads. During a trial, the team sees this problem: The image handler attempts to parse a document-ingestion payload and fails. Which cause is most consistent?
- The message lock expired because the worker did not renew it while processing.
- The compliance subscription was not created or its filter rejects the event.
- The subscription filter allows unrelated event types to reach the handler.
- The Function App lacks the required VNet path, DNS resolution or network permit for the private endpoint.
Explanation
Correct Answer
C:The subscription filter allows unrelated event types to reach the handler. The described symptom and this root cause fit together. Event Grid filtering determines which event categories each subscriber receives.
Incorrect Answers
A:The message lock expired because the worker did not renew it while processing. Here, the subscription filter allows unrelated event types to reach the handler.
B:The compliance subscription was not created or its filter rejects the event. Here, the subscription filter allows unrelated event types to reach the handler.
D:The Function App lacks the required VNet path, DNS resolution or network permit for the private endpoint. Here, the subscription filter allows unrelated event types to reach the handler.
Question 497
An AI workflow emits custom events for model-build completion from its own application. What primary technical approach is best justified by these constraints?
- Publish custom events to a suitable Event Grid topic instead of misusing system event categories.
- Configure Event Grid dead-lettering to a supported storage destination.
- Use Event Grid delivery retry policy rather than relying on the publisher to resend manually.
- Make the handler idempotent using a stable message or business key.
Explanation
Correct Answer
A:Publish custom events to a suitable Event Grid topic instead of misusing system event categories. It directly addresses the architecture in this case. Event Grid custom publishers must use the expected schema for their topic.
Incorrect Answers
B:Configure Event Grid dead-lettering to a supported storage destination. Event Grid dead-lettering retains unsuccessful deliveries for later inspection or replay. Instead, publish custom events to a suitable Event Grid topic instead of misusing system event categories.
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, publish custom events to a suitable Event Grid topic instead of misusing system event categories.
D:Make the handler idempotent using a stable message or business key. Queue-triggered functions can be retried or redelivered and need idempotent business effects. Instead, publish custom events to a suitable Event Grid topic instead of misusing system event categories.
Question 498
An AI workflow emits custom events for model-build completion from its own application. After deciding to publish custom events to a suitable Event Grid topic instead of misusing system event categories, what configuration is most relevant?
- Schedule the message's enqueue time for the authorized future instant.
- Create the custom topic or supported namespace and send valid CloudEvents-formatted completion events.
- Configure duplicate detection on the queue/topic and use a deterministic MessageId for the same business action.
- Set the supported HTTP authorization level or a validated identity front end, and require expected credentials.
Explanation
Correct Answer
B:Create the custom topic or supported namespace and send valid CloudEvents-formatted completion events. This is the actionable setup step for the selected design. Event Grid custom publishers must use the expected schema for their topic.
Incorrect Answers
A:Schedule the message's enqueue time for the authorized future instant. Instead, create the custom topic or supported namespace and send valid CloudEvents-formatted completion events.
C:Configure duplicate detection on the queue/topic and use a deterministic MessageId for the same business action. Instead, create the custom topic or supported namespace and send valid CloudEvents-formatted completion events.
D:Set the supported HTTP authorization level or a validated identity front end, and require expected credentials. Instead, create the custom topic or supported namespace and send valid CloudEvents-formatted completion events.
Question 499
An AI workflow emits custom events for model-build completion from its own application. Which validation result is the strongest evidence that the intended behavior works?
- A repeated send with the same ID within the configured window is discarded as a duplicate.
- A failed message is redelivered and delivery count rises without being silently lost.
- Subscribers receive the custom model-build event with its schema and event identifiers.
- Unauthenticated requests are rejected while authorized calls reach the handler.
Explanation
Correct Answer
C:Subscribers receive the custom model-build event with its schema and event identifiers. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Event Grid custom publishers must use the expected schema for their topic.
Incorrect Answers
A:A repeated send with the same ID within the configured window is discarded as a duplicate. Here, subscribers receive the custom model-build event with its schema and event identifiers.
B:A failed message is redelivered and delivery count rises without being silently lost. Here, subscribers receive the custom model-build event with its schema and event identifiers.
D:Unauthenticated requests are rejected while authorized calls reach the handler. Here, subscribers receive the custom model-build event with its schema and event identifiers.
Question 500
An AI workflow emits custom events for model-build completion from its own application. Production telemetry shows: A subscriber rejects published events as invalid payloads. Which underlying issue should be investigated first?
- The Event Grid subscription scope or event-type filter excludes the BlobCreated event.
- The sender embeds the full file content instead of a reference to storage.
- The Blob output binding path or storage authorization is incorrect.
- The producer's custom event does not meet the topic's configured event schema.
Explanation
Correct Answer
D:The producer's custom event does not meet the topic's configured event schema. The described symptom and this root cause fit together. Event Grid custom publishers must use the expected schema for their topic.
Incorrect Answers
A:The Event Grid subscription scope or event-type filter excludes the BlobCreated event. Here, the producer's custom event does not meet the topic's configured event schema.
B:The sender embeds the full file content instead of a reference to storage. Here, the producer's custom event does not meet the topic's configured event schema.
C:The Blob output binding path or storage authorization is incorrect. Here, the producer's custom event does not meet the topic's configured event schema.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests