Developing AI Cloud Solutions on Azure AI-200 Practice Test 38
Question 370
A webhook endpoint requires its subscription to be verified before Event Grid starts delivering application events. A reviewer recommends: Implement the Event Grid subscription validation handshake or supported validation mechanism. Which underlying behavior justifies the implementation?
- Sessions group ordered messages for a related key while allowing other sessions in parallel
- Message TTL bounds stale work and can route expired messages to the DLQ when configured
- Webhook subscription validation confirms that the endpoint consents to receive events
- Accepted publication does not prove that an event was delivered to the subscriber
Explanation
Correct Answer
C:Webhook subscription validation confirms that the endpoint consents to receive events. This is the behavior that makes Implement the Event Grid subscription validation handshake or supported validation mechanism appropriate for the given scenario.
Incorrect Answers
A:Sessions group ordered messages for a related key while allowing other sessions in parallel. The decisive condition here is different: webhook subscription validation confirms that the endpoint consents to receive events.
B:Message TTL bounds stale work and can route expired messages to the DLQ when configured. In this question, webhook subscription validation confirms that the endpoint consents to receive events.
D:Accepted publication does not prove that an event was delivered to the subscriber. The decisive condition here is different: webhook subscription validation confirms that the endpoint consents to receive events.
Question 371
A webhook endpoint requires its subscription to be verified before Event Grid starts delivering application events. A team instead suggests: "Return HTTP 200 to all events without handling subscription validation." Which technical limitation makes the alternative unsuitable?
- Webhook subscription validation confirms that the endpoint consents to receive events
- A single shared queue generally delivers each message to one competing receiver
- Producer-side fanout increases coupling and duplication risk
- An endpoint that fails required validation cannot activate the subscription
Explanation
Correct Answer
D:An endpoint that fails required validation cannot activate the subscription. The proposal Return HTTP 200 to all events without handling subscription validation cannot meet the requirement; Implement the Event Grid subscription validation handshake or supported validation mechanism is the targeted remediation.
Incorrect Answers
A:Webhook subscription validation confirms that the endpoint consents to receive events. In this question, an endpoint that fails required validation cannot activate the subscription.
B:A single shared queue generally delivers each message to one competing receiver. This does not establish the required control: an endpoint that fails required validation cannot activate the subscription.
C:Producer-side fanout increases coupling and duplication risk. The decisive condition here is different: an endpoint that fails required validation cannot activate the subscription.
Question 372
A webhook endpoint requires its subscription to be verified before Event Grid starts delivering application events. After the planned remediation, what would constitute useful acceptance evidence?
- An offline worker resumes and processes retained messages after reconnecting
- The event subscription shows validation succeeded and a test event is delivered
- Each subscription receives the event and acknowledges it independently
- The handler extracts CloudEvents id, type and subject and routes the event correctly
Explanation
Correct Answer
B:The event subscription shows validation succeeded and a test event is delivered. This directly verifies that the required change, Implement the Event Grid subscription validation handshake or supported validation mechanism, produced the specified outcome.
Incorrect Answers
A:An offline worker resumes and processes retained messages after reconnecting. This does not establish the required control: the event subscription shows validation succeeded and a test event is delivered.
C:Each subscription receives the event and acknowledges it independently. In this question, the event subscription shows validation succeeded and a test event is delivered.
D:The handler extracts CloudEvents id, type and subject and routes the event correctly. This does not establish the required control: the event subscription shows validation succeeded and a test event is delivered.
Question 373
A custom event reaches Event Grid but fails delivery because the receiving endpoint is restricted by firewall policy. A reviewer recommends: Inspect Event Grid delivery failures, destination authorization and the intended network path. Which underlying behavior justifies the implementation?
- Peek-lock redelivery can happen after lock loss, requiring duplicate-safe consumers
- Dead-lettering isolates repeatedly unprocessable messages for inspection and replay
- Accepted publication does not prove that an event was delivered to the subscriber
- A lock that expires can cause another consumer to receive the message
Explanation
Correct Answer
C:Accepted publication does not prove that an event was delivered to the subscriber. This is the behavior that makes Inspect Event Grid delivery failures, destination authorization and the intended network path appropriate for the given scenario.
Incorrect Answers
A:Peek-lock redelivery can happen after lock loss, requiring duplicate-safe consumers. The decisive condition here is different: accepted publication does not prove that an event was delivered to the subscriber.
B:Dead-lettering isolates repeatedly unprocessable messages for inspection and replay. In this question, accepted publication does not prove that an event was delivered to the subscriber.
D:A lock that expires can cause another consumer to receive the message. The decisive condition here is different: accepted publication does not prove that an event was delivered to the subscriber.
Question 374
A custom event reaches Event Grid but fails delivery because the receiving endpoint is restricted by firewall policy. A team instead suggests: "Increase the event payload size to bypass endpoint access controls." Which risk would the review team identify in the shortcut?
- Unfiltered delivery increases invocation cost and unwanted side effects
- Payload size cannot repair an unauthorized destination
- Accepted publication does not prove that an event was delivered to the subscriber
- A single unpartitioned ordering bottleneck is unnecessary for independent customers
Explanation
Correct Answer
B:Payload size cannot repair an unauthorized destination. The proposal Increase the event payload size to bypass endpoint access controls cannot meet the requirement; Inspect Event Grid delivery failures, destination authorization and the intended network path is the targeted remediation.
Incorrect Answers
A:Unfiltered delivery increases invocation cost and unwanted side effects. In this question, payload size cannot repair an unauthorized destination.
C:Accepted publication does not prove that an event was delivered to the subscriber. The decisive condition here is different: payload size cannot repair an unauthorized destination.
D:A single unpartitioned ordering bottleneck is unnecessary for independent customers. In this question, payload size cannot repair an unauthorized destination.
Question 375
A custom event reaches Event Grid but fails delivery because the receiving endpoint is restricted by firewall policy. After the planned remediation, which test result would demonstrate the requirement is satisfied?
- The handler extracts CloudEvents id, type and subject and routes the event correctly
- Successful retry delivers to the approved endpoint and records the event id
- Each subscription receives the event and acknowledges it independently
- An offline worker resumes and processes retained messages after reconnecting
Explanation
Correct Answer
B:Successful retry delivers to the approved endpoint and records the event id. This directly verifies that the required change, Inspect Event Grid delivery failures, destination authorization and the intended network path, produced the specified outcome.
Incorrect Answers
A:The handler extracts CloudEvents id, type and subject and routes the event correctly. This does not establish the required control: successful retry delivers to the approved endpoint and records the event id.
C:Each subscription receives the event and acknowledges it independently. In this question, successful retry delivers to the approved endpoint and records the event id.
D:An offline worker resumes and processes retained messages after reconnecting. This does not establish the required control: successful retry delivers to the approved endpoint and records the event id.
Question 376
A custom event reaches Event Grid but fails delivery because the receiving endpoint is restricted by firewall policy. Which implementation most directly satisfies the requirement?
- Inspect Event Grid delivery failures, destination authorization and the intended network path
- Increase the event payload size to bypass endpoint access controls
- Publish to a Service Bus topic with separate named subscriptions for each consumer
- Make job processing idempotent and complete messages after durable output is stored
Explanation
Correct Answer
A:Inspect Event Grid delivery failures, destination authorization and the intended network path. Accepted publication does not prove that an event was delivered to the subscriber. Evidence: successful retry delivers to the approved endpoint and records the event id.
Incorrect Answers
B:Payload size cannot repair an unauthorized destination. In this question, inspect Event Grid delivery failures, destination authorization and the intended network path.
C:Publish to a Service Bus topic with separate named subscriptions for each consumer. This does not establish the required control: inspect Event Grid delivery failures, destination authorization and the intended network path.
D:Make job processing idempotent and complete messages after durable output is stored. The decisive condition here is different: inspect Event Grid delivery failures, destination authorization and the intended network path.
Question 377
A team must preserve an audit record for events whose downstream webhook is unavailable longer than the retry window. A team instead suggests: "Disable all retries to hide operational error counts." Which risk would the review team identify in the shortcut?
- Producer-side fanout increases coupling and duplication risk
- Stale jobs can consume capacity after results are no longer useful
- Dead lettering preserves undeliverable event records after retry exhaustion
- Suppressing retries discards recoverable events
Explanation
Correct Answer
D:Suppressing retries discards recoverable events. The proposal Disable all retries to hide operational error counts cannot meet the requirement; Configure an Event Grid dead-letter storage destination with suitable access controls and retention is the targeted remediation.
Incorrect Answers
A:Producer-side fanout increases coupling and duplication risk. In this question, suppressing retries discards recoverable events.
B:Stale jobs can consume capacity after results are no longer useful. This does not establish the required control: suppressing retries discards recoverable events.
C:Dead lettering preserves undeliverable event records after retry exhaustion. The decisive condition here is different: suppressing retries discards recoverable events.
Question 378
A team must preserve an audit record for events whose downstream webhook is unavailable longer than the retry window. After the planned remediation, what would constitute useful acceptance evidence?
- Each subscription receives the event and acknowledges it independently
- A bad-schema test message is isolated with a diagnostic reason while valid data succeeds
- Successful retry delivers to the approved endpoint and records the event id
- A forced permanent delivery failure produces a recoverable dead-letter event object
Explanation
Correct Answer
D:A forced permanent delivery failure produces a recoverable dead-letter event object. This directly verifies that the required change, Configure an Event Grid dead-letter storage destination with suitable access controls and retention, produced the specified outcome.
Incorrect Answers
A:Each subscription receives the event and acknowledges it independently. This does not establish the required control: a forced permanent delivery failure produces a recoverable dead-letter event object.
B:A bad-schema test message is isolated with a diagnostic reason while valid data succeeds. The decisive condition here is different: a forced permanent delivery failure produces a recoverable dead-letter event object.
C:Successful retry delivers to the approved endpoint and records the event id. In this question, a forced permanent delivery failure produces a recoverable dead-letter event object.
Question 379
A team must preserve an audit record for events whose downstream webhook is unavailable longer than the retry window. Which implementation most directly satisfies the requirement?
- Inspect Event Grid delivery failures, destination authorization and the intended network path
- Set an appropriate message time to live and monitor expired-message handling
- Disable all retries to hide operational error counts
- Configure an Event Grid dead-letter storage destination with suitable access controls and retention
Explanation
Correct Answer
D:Configure an Event Grid dead-letter storage destination with suitable access controls and retention. Dead lettering preserves undeliverable event records after retry exhaustion. Evidence: a forced permanent delivery failure produces a recoverable dead-letter event object.
Incorrect Answers
A:Inspect Event Grid delivery failures, destination authorization and the intended network path. The decisive condition here is different: configure an Event Grid dead-letter storage destination with suitable access controls and retention.
B:Set an appropriate message time to live and monitor expired-message handling. In this question, configure an Event Grid dead-letter storage destination with suitable access controls and retention.
C:Suppressing retries discards recoverable events. This does not establish the required control: configure an Event Grid dead-letter storage destination with suitable access controls and retention.
Question 380
A team must preserve an audit record for events whose downstream webhook is unavailable longer than the retry window. A reviewer recommends: Configure an Event Grid dead-letter storage destination with suitable access controls and retention. Which observation explains why the proposed design works?
- Message TTL bounds stale work and can route expired messages to the DLQ when configured
- Webhook subscription validation confirms that the endpoint consents to receive events
- Dead lettering preserves undeliverable event records after retry exhaustion
- Broker delivery does not guarantee the application payload follows its contract
Explanation
Correct Answer
C:Dead lettering preserves undeliverable event records after retry exhaustion. This is the behavior that makes Configure an Event Grid dead-letter storage destination with suitable access controls and retention appropriate for the given scenario.
Incorrect Answers
A:Message TTL bounds stale work and can route expired messages to the DLQ when configured. In this question, dead lettering preserves undeliverable event records after retry exhaustion.
B:Webhook subscription validation confirms that the endpoint consents to receive events. This does not establish the required control: dead lettering preserves undeliverable event records after retry exhaustion.
D:Broker delivery does not guarantee the application payload follows its contract. In this question, dead lettering preserves undeliverable event records after retry exhaustion.