SC-300 Practice Question 3409

Exam: SC-300
Domain: Implement and manage user identities
Difficulty: medium
You need to create a security group in Microsoft Entra ID that dynamically populates with full-time staff in the Finance department who are not guest users. What query syntax should you enter in the dynamic rule builder?

Answer Options

A
(user.department -eq "Finance") and (user.userType -eq "Member")
B
SELECT * FROM users WHERE department = 'Finance'
C
department: "Finance", type: "Member"
D
user.department -like "Finance*" or user.type -eq "Guest"

Correct Answer

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

Explanation

The dynamic membership expression (user.department -eq "Finance") and (user.userType -eq "Member") evaluates attributes to include internal staff while excluding guest accounts and other departments.