Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Microsoft Certified: DevOps Engineer Expert · Microsoft
Drag & Drop Scenario
Read the scenario requirements and decide your answer. Click Check Answer below to see the marked solution.
Hotspot Solution:
So the requirements is "You need to identify the distinct event IDs" take note the "distinct" and here is the difference between set and list List: A list is an ordered collection of elements, where duplicate values are allowed. The order of elements matters, and elements can be accessed by their index in the list. Lists allow duplicate values, so an element can appear multiple times in the same list. Set: A set is an unordered collection of distinct elements, meaning each element can occur only once. The order of elements does not matter in a set. Sets do not allow duplicate values, so each element can only appear once in the set. So that answer should be summarize makeset(EventId) by Computer
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
make_set(): Creates a dynamic array of the set of distinct values that expr takes in the group. make_list(expr [, maxSize]: Creates a dynamic array of all the values of expr in the group. https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/make-set-aggregation-function https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/make-list-aggregation-function
I'll go by summarize makelist
In Whizlabs, the same question has the answer as count() instead of make_set()