exam questions

Exam 70-742 All Questions

View all questions & answers for the 70-742 exam

Exam 70-742 topic 1 question 43 discussion

Actual exam question from Microsoft's 70-742
Question #: 43
Topic #: 1
[All 70-742 Questions]

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
Your network contains an Active Directory domain named contoso.com.
A user named User1 is in an organizational unit (OU) named OU1.
You are troubleshooting a folder access issue for User1.
You need a list of groups to which User1 is either a direct member or an indirect member.
Solution: You instruct User 1 to sign in and run whoami.exe/groups.
Does this meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
References:
https://www.thewindowsclub.com/whoami-windows

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
coleman
Highly Voted 5 years, 6 months ago
the given answer is yes Solution: You run dsget user cn=User, ou=OU1,dc=contoso,dc=com -memberof -expand. or Solution: You instruct User1 to sign in and run whoami.exe /groups also correct.
upvoted 21 times
...
MrRiver
Highly Voted 5 years, 7 months ago
Answer is yes if admin is member of Group1 and Group1 is Member of Group2 whoami /groups will show booth groups Tested it on my lab. If you test is yourself don'T for get to sign out and in again to refresh your group membership.
upvoted 9 times
Charchar
5 years, 7 months ago
You're absolutely correct, just tested it on my lab too
upvoted 2 times
...
...
lofzee
Most Recent 4 years, 5 months ago
whoami.exe/groups is correct. shows every group the current logged in user is a member of
upvoted 1 times
...
GoldenFox
4 years, 5 months ago
Q.159 Get-ADGroup -Identity User1 -Property MemberOf  No Q.160 Get-ADUser -Identity User1 -Property MemberOf  No (does not show indirect groups) Q.161 Run dsget user cn=User1, ou=OU1, dc=contoso, dc=com -MemberOf -Expand  Yes Q.185 Instruct User1 to sign in and run whoami.exe /groups  Yes
upvoted 4 times
...
nomsboms
5 years, 7 months ago
I tested it too, it shows me the groups but not the "indirect" memberships
upvoted 2 times
...
nomsboms
5 years, 8 months ago
Answer is NO
upvoted 1 times
Gary
5 years, 7 months ago
Answer is yes.test in my lab
upvoted 3 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 ...