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: Azure Administrator Associate · Microsoft
Hot Area / Sentence Completion
Select the appropriate option to complete the statement. Click Check Answer below to see the marked solution.
Hotspot Solution:
(user.department -eq "Marketing") and (user.country -eq "France") - user.department -eq "Marketing": This part checks if the user's department attribute in Azure AD is equal to "Marketing". - and: This operator combines the two conditions. - user.country -eq "France": This part checks if the user's country attribute in Azure AD is equal to "France". Therefore, the rule will only add users to the group who meet both conditions: they must be in the "Marketing" department and have their country set to "France".
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
It was in my exam at 29.8.24
(user.department -eq "Marketing") and (user.country -eq "France")
"-eq" AND "-match" would work.