MS-102 Practice Question 3045

Exam: MS-102
Domain: Implement and manage Microsoft Entra identity and access
Difficulty: medium
You need to create a security group in Microsoft Entra ID that dynamically includes all full-time members whose Department equals ""Engineering"". What syntax should you use in the dynamic membership rule editor?

Answer Options

A
(user.department -eq ""Engineering"") and (user.userType -eq ""Member"")
B
SELECT * FROM users WHERE department = 'Engineering'
C
department: ""Engineering"", type: ""Member""
D
user.department LIKE ""%Engineering%"" OR user.type == ""Admin""

Correct Answer

A: (user.department -eq ""Engineering"") and (user.userType -eq ""Member"")

Explanation

The dynamic membership syntax is: (user.department -eq ""Engineering"") and (user.userType -eq ""Member""), ensuring external guests and other departments are filtered out.