exam questions

Exam AZ-301 All Questions

View all questions & answers for the AZ-301 exam

Exam AZ-301 topic 6 question 28 discussion

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

DRAG DROP -
You need to design an architecture to capture the creation of users and the assignment of roles. The captured data must be stored in Azure Cosmos DB.
Which Azure services should you include in the design? To answer, drag the appropriate services to the correct targets. Each service may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:

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
Shankar
Highly Voted 5 years, 7 months ago
My Answer for this question is Event Grid and Azure Functions, it clearly articulated in this URL: https://docs.microsoft.com/en-us/learn/modules/choose-a-messaging-model-in-azure-to-connect-your-services/4-choose-event-grid
upvoted 51 times
onlyfunmails
5 years, 3 months ago
No, because for event grid, source can't be active directory log.
upvoted 9 times
...
dev2dev
4 years, 10 months ago
Sorry, you are wrong. Follow this tutorial how you can achevie this exactly https://docs.microsoft.com/en-us/azure/active-directory/reports-monitoring/tutorial-azure-monitor-stream-logs-to-event-hub
upvoted 7 times
...
qr
4 years, 8 months ago
Upvoted Shankar mistakenly as answer is actually correct as per dev2dev link.
upvoted 3 times
...
sKaiNL
2 years, 7 months ago
No, the page you gave states that it gets data from multiple sources and Event Hub is one of them. The event structure for Event Grid is something different than the AAD audit events. Check the page again. So nothing relevant is clearly articulated. By the way it is clearly mentioned in the link below that "You can route AAD logs to your Azure Storage account, Event Hub, Azure Monitor Logs or a custom solution" https://learn.microsoft.com/en-us/azure/active-directory/reports-monitoring/concept-activity-logs-azure-monitor
upvoted 1 times
...
...
pradjhun
Highly Voted 5 years, 4 months ago
https://docs.microsoft.com/en-us/azure/active-directory/reports-monitoring/concept-activity-logs-azure-monitor . Azure Event Hub can read data from Azure AD audit log and then use function along with cosmos DB change feed to store in Cosmos DB
upvoted 21 times
...
joehoesofat
Most Recent 3 years, 2 months ago
this one is correct https://www.examtopics.com/discussions/microsoft/view/62786-exam-az-304-topic-5-question-60-discussion/
upvoted 1 times
...
j888
4 years, 1 month ago
Difficult question. It definitely needs to involve pushing the Event Hub -> Event Grid -> function-> cosmo db. Will just take the given answer as the correct answer
upvoted 1 times
...
sallymaher
4 years, 1 month ago
Answer is correct , Azure active directory - monitoring-audit logs -add Diagnostic settings- you will have 3 options ( log analytics workspace - storage account - event hub ) no option for even grid , please comment how you will send the audit log for event grid directly from Azure AD ? as per the graph !!!
upvoted 2 times
...
AKumar
4 years, 1 month ago
May be this link help you to choose the best option.. https://docs.microsoft.com/en-us/azure/event-grid/event-grid-event-hubs-integration
upvoted 1 times
...
slafcemafce
4 years, 1 month ago
Event Hub (because Event Grid doesn't contain the actual item that has to be stored) Azure Function
upvoted 1 times
...
glam
4 years, 1 month ago
event hub azure function
upvoted 1 times
...
eulerzzzz
4 years, 3 months ago
Grid - Function. "Azure Event Grid is ideal for reactive scenarios, like when an item has been shipped or an item has been added or updated on storage. We have to take into account also its native integrations with Functions, Logic Apps and Webhooks. Moreover, Event Grid is cheaper than Event Hubs and more suitable when we don’t have to deal with big data" , https://www.cognizantsoftvision.com/blog/azure-event-grid-vs-event-hubs/
upvoted 2 times
...
sanketshah
4 years, 3 months ago
Event Grid Azure function correct answer.
upvoted 2 times
...
PrashantGupta1616
4 years, 4 months ago
Correct answer. As per MS documents; Event grid meant for event capturing purpose and easily integrated with Azure services and event hub use for big data app/pipeline. https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services
upvoted 1 times
PrashantGupta1616
4 years, 4 months ago
Can't edit my previous post, was trying to say, Answer is incorrect. It should be Event Grid and Azure Function.
upvoted 1 times
...
...
NDubey
4 years, 7 months ago
A good answer to this question is explained here: https://www.cognizantsoftvision.com/blog/azure-event-grid-vs-event-hubs/#:~:text=The%20noticeable%20difference%20between%20them,can%20trigger%20an%20Azure%20Function. Answer should be Event Grid and Azure Function
upvoted 1 times
...
Edhotp
4 years, 7 months ago
the answer is clear here, event hub & azure function: https://docs.microsoft.com/en-us/azure/active-directory/reports-monitoring/tutorial-azure-monitor-stream-logs-to-event-hub
upvoted 3 times
...
azureexaminer
4 years, 8 months ago
the only options for exporting audit logs (diagnostic settings under monitoring) are to log analytics, storage account or event hub. So event hub answer is correct and function app can be used together with event hub as a trigger.
upvoted 3 times
...
James0208
4 years, 8 months ago
I think the main reason for choosing Event Hubs than Event Grid is Event Grid isn't a data pipeline, and doesn't deliver the actual object that was updated. https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services Given the question implies to store the user data into db, Event Hubs is correct.
upvoted 2 times
...
Neetiniti
4 years, 9 months ago
Answer-Box-1- Event Hub-https://docs.microsoft.com/en-us/azure/active-directory/reports-monitoring/tutorial-azure-monitor-stream-logs-to-event-hub Box-2-Azure Functions-https://docs.microsoft.com/en-us/azure/azure-functions/functions-event-hub-cosmos-db
upvoted 5 times
...
juri
4 years, 10 months ago
answer is correct, event grid do not support AAD as a source: https://docs.microsoft.com/en-us/azure/event-grid/overview#event-sources
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