Microsoft

MS-102 practice question 2

Microsoft 365 Administrator · free question 2 of 20

Question

You have a Microsoft 365 subscription that contains the users shown in the following table. | Name | Type | Department | |---|---|---| | User1 | Guest | IT support | | User2 | Guest | SupportCore | | User3 | Member | IT support | You need to configure a dynamic user group that will include the guest users in any department that contains the word Support. How should you complete the membership rule? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Explanation

For the user.userType dropdown, -eq "Guest" is the direct test for guest accounts, so User1 and User2 qualify and the member User3 is left out. The -in operator expects a list of values in brackets, and -ne "Guest" would select the members instead of the guests. For the user.department dropdown, -contains "Support" performs a substring match on the string property, so it finds the word anywhere in the value and covers both IT support and SupportCore. The -startsWith "Sup" option would miss IT support because that value begins with IT, and -in again requires a bracketed list of exact values rather than a partial string.

Practice the whole free set

Answer all 20 free MS-102 questions with instant feedback, or unlock all 460 questions with Learn and Exam modes.