Developing Solutions for Microsoft Azure (legacy) — Question 18
You need to ensure that authentication events are triggered and processed according to the authentication events policy.
What should you do?
Answer options
- A. Ensure that signout events have a subject prefix. Create an Azure Event Grid subscription that uses the subjectBeginsWith filter.
- B. Create a new Azure Event Grid topic and add a subscription for the events.
- C. Create a new Azure Event Grid subscription for all authentication that delivers messages to an Azure Event Hub. Use the subscription to process signout events.
- D. Create separate Azure Event Grid topics and subscriptions for sign-in and sign-out events.
Correct answer: A
Explanation
The correct answer is A because it specifically addresses the requirement of using a subject prefix with a subjectBeginsWith filter to trigger signout events according to the policy. Options B, C, and D do not meet the specific requirement of ensuring that signout events are processed correctly based on the authentication events policy.