exam questions

Exam 70-742 All Questions

View all questions & answers for the 70-742 exam

Exam 70-742 topic 1 question 29 discussion

Actual exam question from Microsoft's 70-742
Question #: 29
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. The domain contains a server named Server1 that runs Windows Server 2016. The computer account for Server1 is in organizational unit (OU) named OU1.
You create a Group Policy object (GPO) named GPO1 and link GPO1 to OU1.
You need to add a domain user named User1 to the local Administrators group on Server1.
Solution: From a domain controller, you run the Set-AdComputer cmdlet.
Does this meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
The Set-AdComputer cmdlet modifies an Active Directory computer object. It will not allow you to add a domain user to a local Administrators group.
References:
https://technet.microsoft.com/es-es/library/hh852268(v=wps.620).aspx

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
paprda
Highly Voted 5 years, 10 months ago
The Set-ADComputer cmdlet modifies the properties of an Active Directory computer object.
upvoted 6 times
GenjamBhai
4 years, 10 months ago
B is ok.
upvoted 1 times
...
...
lofzee
Most Recent 4 years, 5 months ago
correct.
upvoted 1 times
...
NickTim
4 years, 7 months ago
"Set-AdComputer" only modify a computer object. "Local User and Groups" Preference is part of "User Configuration" and is not used for that. "Account Policies settings" is used for account policy. I don't see the correct answer here that should be something like: From the Computer Configuration node of GPO1, you configure the "Restricted Groups". (This policy let you add several users to a specific group)
upvoted 1 times
...
Kamikazekiller
4 years, 11 months ago
answer is: B. NO This command modifies the AD computer object.
upvoted 1 times
...
ITGEEK
5 years, 4 months ago
Answer is correct https://docs.microsoft.com/en-us/powershell/module/addsadministration/set-adcomputer?view=win10-ps
upvoted 1 times
...
coleman
5 years, 6 months ago
right , the answer is B.NO This question is tricky, although you can use Set-ADComputer Server1 -ManagedBy "CN=User1" to modify the "Managed By" attribute setting of Server1 account and grant administrative rights to User1 on Server1, however, this cmdlet did NOT achieve the objective stated by the question "add a domain user named User1 to the local Administrators group on Server1" therefore, it did not meet the goal.
upvoted 4 times
GenjamBhai
4 years, 10 months ago
ManagedBy is just an attribute of the AD Computer Object, changing it does not change any permisions on the computer.
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 ...