exam questions

Exam AZ-203 All Questions

View all questions & answers for the AZ-203 exam

Exam AZ-203 topic 15 question 6 discussion

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

HOTSPOT -
You need to insert code at line LE03 of LoginEvent.cs to ensure that all authentication events are procesed correctly.
How should you complete the code? 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: Explanation
Box 1: id -
id is a unique identifier for the event.

Box 2: eventType -
eventType is one of the registered event types for this event source.

Box 3: dataVersion -
dataVersion is the schema version of the data object. The publisher defines the schema version.
Scenario: Authentication events are used to monitor users signing in and signing out. All authentication events must be processed by Policy service. Sign outs must be processed as quickly as possible.
The following example shows the properties that are used by all event publishers:
[
{
"topic": string,
"subject": string,
"id": string,
"eventType": string,
"eventTime": string,
"data":{
object-unique-to-each-publisher
},
"dataVersion": string,
"metadataVersion": string
}
]
References:
https://docs.microsoft.com/en-us/azure/event-grid/event-schema

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
triptimandal01
Highly Voted 4 years, 11 months ago
This was there in my exam
upvoted 5 times
...
ahadjithoma
Most Recent 4 years, 6 months ago
How to choose between dataVersion and metadataVersion?
upvoted 3 times
Cornholioz
4 years, 6 months ago
good question. Neither the case study nor question nor the documentation differentiates them. So, don't know.
upvoted 1 times
bugimachi
4 years, 5 months ago
The documentation says, "metadataVersion" currently only supports "1" as value, as it referes to the event-grid schema and event-grid currently only knows a single schema. So I think metadataVersion is currently more or less obsolete -- if you want to provide application-specific versioning, you can only use "dataVersion". https://docs.microsoft.com/en-us/azure/event-grid/event-schema
upvoted 3 times
...
...
...
realbart
5 years, 2 months ago
subject and eventType are required. Both dateVersion and metadataVersion are optional.
upvoted 1 times
saeza100
5 years ago
Data and Metadata are optional
upvoted 2 times
...
...
RaedKazan
5 years, 3 months ago
options please :)
upvoted 1 times
...
KK_uniq
5 years, 4 months ago
Metadataversion [ { "topic": string, "subject": string, "id": string, "eventType": string, "eventTime": string, "data":{ object-unique-to-each-publisher }, "dataVersion": string, "metadataVersion": string } ]
upvoted 2 times
programmingbot
4 years, 11 months ago
Does order matter ? Is this correct order id, event type and data version? Or we have to follow event type, id and data version in this order. Please help if anyone know this. https://docs.microsoft.com/en-us/azure/event-grid/event-schema
upvoted 2 times
NajamKhan
4 years, 7 months ago
Order doesn't matter here. Just put 3 correct.
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 ...