exam questions

Exam AZ-303 All Questions

View all questions & answers for the AZ-303 exam

Exam AZ-303 topic 6 question 26 discussion

Actual exam question from Microsoft's AZ-303
Question #: 26
Topic #: 6
[All AZ-303 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 to ensure security.
What should you implement? 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:
References:
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
Tripp_F
Highly Voted 3 years, 11 months ago
Answer boxes should be flipped, but answers are correct. Webhook Event Delivery - ValidationCode HandShake Topic Publishing - SAS Tokens Box 1: 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. Box 2: 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.
upvoted 16 times
...
Yiannisthe7th
Highly Voted 3 years, 11 months ago
Dropdowns placement in Answer area is incorrect WebHook Event Delivery ---ValidationCode handsShake https://docs.microsoft.com/en-us/azure/event-grid/webhook-event-delivery Publishers need to use SAS Tokens or key authentication when they want to publish an event to a topic. SAS tokens allow you to scope the access you grant to a certain resource in Event Grid for a certain amount of time. This is similar to the approach Azure Storage & Azure Service Bus use. Topic publishing --- SAS Tokens
upvoted 6 times
...
jmay
Most Recent 3 years, 5 months ago
1. "ValidationCode handshake" Event Grid supports two ways of validating the subscription: Sync ans Async. Since you are writing the function app, you would have the oportunity to implement the Sync pattern. This pattern sends a subscription validation event to your endpoint. The data portion of this event includes a validationCode property. You app is suposed to echo this validationCode with HTTP 200 code. ref: https://docs.microsoft.com/en-us/azure/event-grid/webhook-event-delivery#endpoint-validation-with-event-grid-events 2. "SAS tokens" You can authenticate clients that publish events to Azure Event Grid topics, domains, partner namespaces using access key or Shared Access Signature (SAS) token. Authenticating using AAD is in preview and not supported on AKS yet. Access Key is the simplest way to quthenticate. It can be passed in as HTTP header or query param. SAS tokens for an Event Grid resource include the resource, expiration time, and a signature. The format of the SAS token is: r={resource}&e={expiration}&s={signature}. Ref: https://docs.microsoft.com/en-us/azure/event-grid/authenticate-with-access-keys-shared-access-signatures
upvoted 1 times
...
edmacoar123
3 years, 6 months ago
On exam today 19/11/21. Correct answer. Score 860.
upvoted 1 times
...
syu31svc
3 years, 9 months ago
Like what Tripp_F and Yiannisthe7th have mentioned, right answers in the wrong order
upvoted 1 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 ...