AZ-400 · Question #239
Drag and Drop Question You have several Azure virtual machines that run Windows Server 2019. You need to identify the distinct event IDs of each virtual machine as shown in the following table. How sh
The correct answer is makelist(EventID); makeset(EventID); mv-expand; summarize; makelist(EventID). The correct query uses makelist(EventID) to collect all EventIDs into a list per computer, makeset(EventID) to get only distinct/unique EventIDs, mv-expand to expand the set into individual rows for processing, summarize to aggregate results by Computer, and makelist(EventID) aga
Question
Exhibit
Answer Area
Drag items
Correct arrangement
- makelist(EventID)
- makeset(EventID)
- mv-expand
- summarize
- makelist(EventID)
Explanation
The correct query uses makelist(EventID) to collect all EventIDs into a list per computer, makeset(EventID) to get only distinct/unique EventIDs, mv-expand to expand the set into individual rows for processing, summarize to aggregate results by Computer, and makelist(EventID) again to present the final grouped list. makeset() is the key function that returns only distinct values (no duplicates), which directly satisfies the requirement to identify 'distinct event IDs' per virtual machine.
Topics
Community Discussion
No community discussion yet for this question.
