exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 6 question 12 discussion

Actual exam question from Microsoft's AZ-204
Question #: 12
Topic #: 6
[All AZ-204 Questions]

HOTSPOT -
You are creating an app that uses Event Grid to connect with other services. Your app's event data will be sent to a serverless function that checks compliance.
This function is maintained by your company.
You write a new event subscription at the scope of your resource. The event must be invalidated after a specific period of time.
You need to configure Event Grid.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: SAS tokens -
Custom topics use either Shared Access Signature (SAS) or key authentication. Microsoft recommends SAS, but key authentication provides simple programming, and is compatible with many existing webhook publishers.
In this case we need the expiration time provided by SAS tokens.

Box 2: ValidationCode handshake -
Event Grid supports two ways of validating the subscription: ValidationCode handshake (programmatic) and ValidationURL handshake (manual).
If you control the source code for your endpoint, this method is recommended.
Incorrect Answers:
ValidationURL handshake (manual): In certain cases, you can't access the source code of the endpoint to implement the ValidationCode handshake. For example, if you use a third-party service (like Zapier or IFTTT), you can't programmatically respond with the validation code.
Reference:
https://docs.microsoft.com/en-us/azure/event-grid/security-authentication

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
jay158
Highly Voted 3 years, 10 months ago
Dropdowns placement in Answer area is incorrect WebHook Event Delivery ---ValidationCode handsShake Topic publishing --- SAS Tokens https://docs.microsoft.com/en-us/azure/event-grid/concepts https://docs.microsoft.com/en-us/azure/event-grid/webhook-event-delivey
upvoted 51 times
Alex_Wackoo
3 years, 10 months ago
Agreed and your last link is not working so here: https://docs.microsoft.com/en-us/azure/event-grid/webhook-event-delivery
upvoted 7 times
...
applepie
1 year, 9 months ago
got this question today, go with this answer - 7/30/2023, score 895/1000
upvoted 8 times
...
TonyMel
2 years, 1 month ago
correct, in 2023Mar24, score: 904/1000.
upvoted 4 times
...
...
NightshadeRC
Highly Voted 1 year, 9 months ago
Had this question in today's exam: 2023-07-26. I think the drop-downs were in the order they are here, not 100% on it though. I went with the recommended answer anyway. Passed 940.
upvoted 6 times
...
Vichu_1607
Most Recent 7 months ago
1. For Webhook event delivery, you should configure: a. SAS tokens: Shared Access Signature (SAS) tokens are used to grant limited access to resources in your Azure account. In the context of Event Grid, SAS tokens can be used to authenticate the webhook endpoint. 2. For Topic publishing, you should configure: a. Validation code handshake: When you subscribe to a topic, Event Grid sends a validation event to the endpoint. To complete the handshake, the endpoint must respond with the validation code. This ensures that the endpoint is ready to receive events.
upvoted 2 times
...
neelkanths
1 year ago
Got it on 20 April 2024...Marks > 900...All questions from examtopics 400 questions... answer is correct...
upvoted 4 times
lagetronix
10 months, 1 week ago
were you able to study all 400 questions
upvoted 1 times
yes you can too ,you only need time and a good rest.
upvoted 2 times
...
...
...
warchoon
2 years, 1 month ago
"The event must be invalidated after a specific period of time." - Asynchronous handshake => validationUrl https://learn.microsoft.com/en-us/azure/event-grid/webhook-event-delivery#:~:text=Asynchronous%20handshake
upvoted 3 times
...
18Marks
2 years, 4 months ago
Got this in exam. Use given answer
upvoted 3 times
...
jvyas
3 years, 6 months ago
Below link for Authenticating clients that publish events to Azure Event Grid topics using access key or Shared Access Signature (SAS) token. https://docs.microsoft.com/en-us/azure/event-grid/authenticate-with-access-keys-shared-access-signatures
upvoted 2 times
warchoon
2 years, 1 month ago
So what's the answer? Keys or tokens? Keys are from SAS too. SAS token can be expired after "specific period of time".
upvoted 1 times
...
...
Simbetie
3 years, 8 months ago
Topic publishing to be matched with the 1st dropdown....the answer must be Management Access Control. Azure Event Grid allows you to control the level of access given to different users to do various management operations such as list event subscriptions, create new ones, and generate keys. Event Grid uses Azure's role-based access control (RBAC).
upvoted 2 times
...
ning
3 years, 8 months ago
This question is worded poorly, the handshake only happens when subscription is setup ... If you are talking about how subscription should be authenticated when receiving messages, then webhook should use jwt
upvoted 2 times
ning
3 years, 8 months ago
For Topic Publishing https://docs.microsoft.com/en-us/azure/event-grid/authentication-overview
upvoted 3 times
...
ning
3 years, 8 months ago
For web hook delivery https://docs.microsoft.com/en-us/azure/event-grid/secure-webhook-delivery
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago