exam questions

Exam MS-500 All Questions

View all questions & answers for the MS-500 exam

Exam MS-500 topic 7 question 1 discussion

Actual exam question from Microsoft's MS-500
Question #: 1
Topic #: 7
[All MS-500 Questions]

HOTSPOT -
Which users are members of ADGroup1 and ADGroup2? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-dynamic-membership#supported-values

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
Broesweelies
Highly Voted 2 years, 9 months ago
Answer is 1234 and 1234 for both. Dynamic membership rules are NOT case sensitive. You can use the Asterix in your rule, which means the match operator will get back all 4 users in this case. https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/groups-dynamic-membership
upvoted 9 times
Thalis48
2 years, 6 months ago
Agree since also per given link regex is not case sensitive here
upvoted 1 times
...
yaza85
2 years, 5 months ago
You got fooled by Ms. Its not about case sensitivity its about the difference between -contains and -match
upvoted 3 times
Citmerian
2 years ago
1,2,3,4 and 1,2
upvoted 1 times
Citmerian
2 years ago
math is exactly
upvoted 1 times
...
...
...
...
apyasir
Most Recent 2 years ago
note: -match is case sensitive but -contain is Not so answer is Part one: user 1,user 2,user 3,user 4 Part two: user 1 & user 2
upvoted 1 times
...
geecr07
2 years, 1 month ago
Hi someone can cofirm thist because there is not much information. I undestand that -contains is for ExampleSEATLEExample or only SEA bacause as the name said is if the string contains the word as i undestad the other the * I undestand that is for everything.
upvoted 1 times
...
Romke_en_Tomke
2 years, 4 months ago
mssii is right. Tested this as I had doubts about the * working in dynamic rule with -match parameter. Created a test M365 Group. Took existing user with job title: Cloud Engineer Set dynamic rules to: (user.jobTitle -match "Clo*") Validated the rule and got a green check for user is included in the group. Answer is 1234 for both.
upvoted 1 times
...
mssii
2 years, 4 months ago
For sure 1234 for both: When specifying a value within an expression, it's important to use the correct syntax to avoid errors. Some syntax tips are: Double quotes are optional unless the value is a string. String and regex operations aren't case sensitive. When a string value contains double quotes, both quotes should be escaped using the ` character, for example, user.department -eq `"Sales`" is the proper syntax when "Sales" is the value. Single quotes should be escaped by using two single quotes instead of one each time. https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/groups-dynamic-membership#supported-values
upvoted 2 times
...
yoton
2 years, 6 months ago
Yo, this says that the match operator is for regex: https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/groups-dynamic-membership#using-the--match-operator -match "Sea*" only catches Sea and Seattle. The answer for the second question is only User1 and User2. Right?
upvoted 1 times
...
VJO
2 years, 7 months ago
The SEA* is missing the "." before the * The Examples give at learn.microsoft reference da.* including David as matches. If it was SEA.* then the second answer would be 1,2,3,4.
upvoted 2 times
skycrap
2 years, 6 months ago
Totally agree with you. According to de doc there must be a dot
upvoted 1 times
...
AWpkl
2 years, 5 months ago
Doesn't that mean the match rule wouldn't capture any user? I had to know so I ran a test. If you flub the regex formatting, azure discards all special characters at the end and just pretends you put a .* after the string. so SEA* would work as intended as would SEA. or SEA Because regex are not case sensitive, this would also capture all four 'sea' user accounts. That's all I have to say, hopefully MS test reflects this reality of their actual software operation.
upvoted 1 times
...
...
pete26
2 years, 8 months ago
Yep, this question before was missing the ‘*’…. I would go with 1,2,3,4 as well.
upvoted 3 times
...
Sekoume
2 years, 9 months ago
should be 1/2/3/4 for both ?
upvoted 2 times
...
Sekoume
2 years, 9 months ago
explanation ?
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 ...