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 is retiring this exam on Nov 30, 2026.
Question 5 of 358
Free Preview · 358 of 1,193 · questions 1–358 of 1,193 are free. Sign up free to sync your progress across devices.
Hot Area / Sentence Completion
Select the appropriate option to complete the statement. Click Check Answer below to see the marked solution.
Hotspot Solution:
I have tested the rule (user.department -contains "Support") in my tenant. The contains() function is not supported in dynamic group rules. So the correct answer will be user.department -match "Support". Explanation:- user.userType -eq "Guest": Filters for guest users. user.department -match "Support": Uses regex to match any department name that includes the word "Support" (e.g., "IT Support", "Customer Support").
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
I have tested the rule (user.department -contains "Support") in my tenant. The contains() function is not supported in dynamic group rules. So the correct answer will be user.department -match "Support". Explanation:- user.userType -eq "Guest": Filters for guest users. user.department -match "Support": Uses regex to match any department name that includes the word "Support" (e.g., "IT Support", "Customer Support").
you need to edit the rule syntax manually. Then you can use -contains successfully
The provided answers are correct. However, in second box, Match could also be a solution, but since we don't need any advanced matching, the best solution would be using Contains.