exam questions

Exam MS-700 All Questions

View all questions & answers for the MS-700 exam

Exam MS-700 topic 3 question 46 discussion

Actual exam question from Microsoft's MS-700
Question #: 46
Topic #: 3
[All MS-700 Questions]

Your company has a Microsoft 365 subscription.
You have a team that uses the following dynamic rule.
(user.department -contains "Sales" -or user.department
-contains "Marketing") -and (user.userType -Contains "Guest")
-and (user.country -eq "US")
Which user will be included in the group?

  • A. A guest user in a department named Global Sales that has the country attribute set to US.
  • B. A member user in a department named Marketing Division that has the country attribute set to US.
  • C. A member user in a department named Marketing/Sales that has the country attribute set to US.
  • D. A guest user in a department named US Marketing Division that has the country attribute set to US.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Zamppion
Highly Voted 2 years, 12 months ago
Both A and D are correct
upvoted 14 times
BigO76
9 months, 2 weeks ago
the are both right Department: Contains "Sales". User Type: Guest. Country: US. Conclusion: Meets all criteria. Included. Department: Contains "Marketing". User Type: Guest. Country: US. Conclusion: Meets all criteria. Included. as other have said i think the other question has A set to USA
upvoted 1 times
...
...
1337Troll
Highly Voted 4 years, 3 months ago
Answer is D, it is a guest user, Marketing is contained and the "US" matches
upvoted 8 times
hufflepuff
2 years, 9 months ago
Both A and D match 'US'.
upvoted 10 times
...
Zaz11
4 years, 2 months ago
Agreed.
upvoted 3 times
...
...
iFlo
Most Recent 1 year, 11 months ago
Tested, both A&D are correct.
upvoted 3 times
...
RazielLycas
2 years, 7 months ago
A&D both match
upvoted 2 times
...
DrMiyu
2 years, 7 months ago
A&D are ok. I think that there is a typo missing in the question (or it's a multiple choose question)
upvoted 5 times
...
PeterCheng
2 years, 7 months ago
Selected Answer: D
This question shows at other place is a little different. A is: A guest user in a department named Global Sales that has the country attribute set to USA. Then the answer will be only D.
upvoted 4 times
...
Adymax
2 years, 7 months ago
A&D are correct
upvoted 2 times
...
Tyffty
2 years, 10 months ago
Selected Answer: D
D is correct and A is also correct. Not sure if this question has some incorrect wording. Perhaps the exam will ask for 2 options
upvoted 6 times
...
fejoes
2 years, 10 months ago
I do not see difference in between A and D. For me both look correct.
upvoted 5 times
...
marcapo_gmbh
3 years ago
None is correct, since '-contains' only checks if a given object is in an collection of objects. It isn't for comparing "strings". https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_comparison_operators Using the "-match"-Operator instead gives a correct answer for A & D...
upvoted 2 times
...
morito
3 years ago
I believe this question might have been updated in the meantime, in my opinion A should be correct as well, given that the user is a guest user, Sales is contained and the country is also US
upvoted 4 times
...
FuzzyKiwiFruit
3 years, 9 months ago
contain /kənˈteɪn/ verb have or hold (someone or something) within. -- Answer is D because the user's department contains the word "Marketing" and user type matches guest as well as having the country specified as US.
upvoted 1 times
vecneb
3 years ago
The same goes for A with 'Sales' btw, both A and D should be correct answer.
upvoted 3 times
...
...
Alvaroll
3 years, 11 months ago
Same as 3-4 https://www.examtopics.com/exams/microsoft/ms-700/view/11/
upvoted 3 times
...
arnaudhelin
4 years, 1 month ago
Ronnie123 : you are wrong. In Powershell -contains is case insensitive, if you want the same behavior as like comparison you have to use -ccontains.
upvoted 1 times
...
loboc65
4 years, 4 months ago
Could be either A or D.
upvoted 3 times
Iamrandom
3 years, 10 months ago
Nope, "USA" it's not "US"
upvoted 3 times
cyga75
2 years, 11 months ago
I see 'US' for both options A and D. No 'USA'...
upvoted 4 times
...
ratbat
3 years, 9 months ago
that was so sneaky of them . i missed that too. D is the only correct answer
upvoted 1 times
...
...
...
Ronnie123
4 years, 5 months ago
None are correct, since the -contains operator requires an exact match. -match would have worked.
upvoted 1 times
Malcolm_Reynolds
4 years, 4 months ago
No. D is correct. -contains allows the Guest as the word "Marketing" is contained within the Dept. -match is for regular expressions e.g. Wildcards.
upvoted 8 times
...
gugugirl
3 years, 11 months ago
it says "contain",not equals
upvoted 1 times
...
ShaneGD
4 years, 1 month ago
-eq requires an exact match not contains
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago