exam questions

Exam SC-300 All Questions

View all questions & answers for the SC-300 exam

Exam SC-300 topic 4 question 54 discussion

Actual exam question from Microsoft's SC-300
Question #: 54
Topic #: 4
[All SC-300 Questions]

HOTSPOT
-

You have a Microsoft 365 E5 subscription.

You need to create a dynamic user group that will include all the users that do NOT have a department defined in their user profile.

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.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
kanag1
Highly Voted 1 year ago
Correct (user.department -eq null) https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/groups-dynamic-membership#use-of-null-values
upvoted 11 times
...
krzkrzkra
Most Recent 1 week, 6 days ago
-eq null)
upvoted 1 times
...
Obi_Wan_Jacoby
2 months, 3 weeks ago
Going with listed answet (user.department -eq null) That being said, (user.department -eq "") would work if something had been placed in dept prior and was deleted from that field, or directly saved the filed as empty (rather than just leaving it alone).. still looks empty as before it was changed, but now it has that cleared entry. This is where "" would be needed in-place of null. Just a fyi in-case they do a switch-a-roo on the question.
upvoted 1 times
...
rvln7
5 months ago
user.department -eq null- "NOT DEFINED" user.department -eq null → Includes users where the department attribute is not set. user.department -eq "" → Includes users where the department attribute is set but empty.
upvoted 2 times
...
Rahgu
6 months ago
I believe the correct answer is -eq $null
upvoted 1 times
...
cgonIT
9 months, 3 weeks ago
Answer is correct: Box1: -eq Box2: null Tested in lab.
upvoted 1 times
...
AK_1234
9 months, 3 weeks ago
- eq - null
upvoted 1 times
...
EmnCours
11 months, 3 weeks ago
Correct (user.department -eq null)
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...