Identity with Windows Server 2016

Here you have the best Microsoft 70-742 practice exam questions

  • You have 266 total questions to study from
  • Each page has 5 questions, making a total of 54 pages
  • You can navigate through the pages using the buttons at the bottom
  • This questions were last updated on December 13, 2025
  • This site is not affiliated with or endorsed by Microsoft.
Question 1 of 266
Note: This question is part of a series of questions that use the same scenario. For you convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is exactly the same in each question in this series.
Start of repeated scenario.
You work for a company named Contoso, Ltd.
The network contains an Active Directory forest named contoso.com. A forest trust exists between contoso.com and an Active Directory forest named adatum.com.
The contoso.com forest contains the objects configured as shown in the following table.
Exam 70-742: Question 1 - Image 1
Group1 and Group2 contain only user accounts.
Contoso hires a new remote user named User3. User3 will work from home and will use a computer named Computer3 that runs Windows 10. Computer3 is currently in a workgroup.
An administrator named Admin1 is a member of the Domain Admins group in the contoso.com domain.
From Active Directory Users and Computers, you create an organizational unit (OU) named OU1 in the contoso.com domain, and then you create a contact named Contact1 in OU1.
An administrator of the adatum.com domain runs the Set-ADUser cmdlet to configure a user named User1 to have a user logon name of User1@litwareinc.com.
End of repeated scenario.
You need to ensure that User2 can add Group4 as a member of Group5.
What should you modify?
Correct Answer: D

To ensure User2 can add Group4 as a member of Group5, you need to modify the Managed By settings of Group5. In Active Directory, the Managed By tab allows you to specify a user or group that can manage the members of a particular group. By setting User2 as the manager of Group5, User2 will gain the necessary permissions to add Group4 to Group5.

Question 2 of 266
Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is exactly the same in each question in this series.
Start of repeated scenario.
You work for a company named Contoso, Ltd.
The network contains an Active Directory forest named contoso.com. A forest trust exists between contoso.com and an Active Directory forest named adatum.com.
The contoso.com forest contains the objects configured as shown in the following table.
Exam 70-742: Question 2 - Image 1
Group1 and Group2 contain only user accounts.
Contoso hires a new remote user named User3. User3 will work from home and will use a computer named Computer3 that runs Windows 10. Computer3 is currently in a workgroup.
An administrator named Admin1 is a member of the Domain Admins group in the contoso.com domain.
From Active Directory Users and Computers, you create an organizational unit (OU) named OU1 in the contoso.com domain, and then you create a contact named Contact1 in OU1.
An administrator of the adatum.com domain runs the Set-ADUser cmdlet to configure a user named User1 to have a user logon name of User1@litwareinc.com.
End or repeated scenario.
You need to ensure that Admin1 can add Group2 as a member of Group3.
What should you modify?
Correct Answer: B

To permit Admin1 to add Group2 to Group3, the group scope of Group3 must be changed. Currently, Group3 is a universal group. Universal groups can only have universal groups or global groups as members, not domain local groups like Group2. By altering Group3's scope to domain local, it will be permissible to add Group2 as a member.

Question 3 of 266
HOTSPOT -
Note: This question is part of a series of questions that use the same scenario. For you convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is exactly the same in each question in this series.
Exam 70-742: Question 3 - Image 1
You work for a company named Contoso, Ltd.
The network contains an Active Directory forest named contoso.com. A forest trust exists between contoso.com and an Active Directory forest named adatum.com.
The contoso.com forest contains the objects configured as shown in the following table.
Exam 70-742: Question 3 - Image 2
Group1 and Group2 contain only user accounts.
Contoso hires a new remote user named User3. User3 will work from home and will use a computer named Computer3 that runs Windows 10. Computer3 is currently in a workgroup.
An administrator named Admin1 is a member of the Domain Admins group in the contoso.com domain.
From Active Directory Users and Computers, you create an organizational unit (OU) named OU1 in the contoso.com domain, and then you create a contact named Contact1 in OU1.
An administrator of the adatum.com domain runs the Set-ADUser cmdlet to configure a user named User1 to have a user logon name of User1@litwareinc.com.
Exam 70-742: Question 3 - Image 3
You need to join Computer3 to the contoso.com domain by using offline domain join.
Which commands should you use in the contoso.com domain and on Computer3? To answer, select the appropriate options in the answer area.
Hot Area:
Exam 70-742: Question 3 - Image 4
Correct Answer:
Exam 70-742: Question 3 - Image 5
Question 4 of 266
HOTSPOT -
Your network contains an Active Directory forest. The forest contains one domain named contoso.com. The domain contains two domain controllers named DC1 and DC2. DC1 holds all of the operations master roles.
During normal network operations, you run the following commands on DC2:
Move-ADDirectoryServerOperationMasterRole -Identity `DC2` -OperationMasterRole PDCEmulator
Move- ADDirectoryServerOperationMasterRole `"Identity `DC2` -OperationMasterRole RIDMaster
DC1 fails.
You remove DC1 from the network, and then you run the following command:
Move-ADDirectoryServerOperationMasterRole `"Identity `DC2` -OperationMasterRole SchemaMaster
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:
Exam 70-742: Question 4 - Image 1
Correct Answer:
Exam 70-742: Question 4 - Image 2
Question 5 of 266
Your network contains an Active Directory forest named contoso.com
Your company plans to hire 500 temporary employees for a project that will last 90 days.
You create a new user account for each employee. An organizational unit (OU) named Temp contains the user accounts for the employees.
You need to prevent the new users from accessing any of the resources in the domain after 90 days.
What should you do?
Correct Answer: A

To prevent the new users from accessing any of the resources in the domain after 90 days, you can use the Get-ADUser cmdlet to retrieve all user accounts in the Temp OU and pipe the output to the Set-ADUser cmdlet to set an expiration date for their accounts. This method ensures that after 90 days, the user accounts are expired and cannot access domain resources.