Free AZ-802 Exam Braindumps
Administering Windows Server Questions 15–19 (page: 14)

Updated On: 29-Oct-2026
View Related Case Study

HOTSPOT (Drag and Drop is not supported)
You have an administrative workstation named AdminPC in a workgroup.
AdminPC has existing entries in the WSMan TrustedHosts list.
You have a server named Server1 that has PowerShell remoting enabled and is reachable at an IP address of 172.16.10.20.
You need to create a remote PowerShell session from AdminPC to Server1. The solution must meet the following requirements:
● Preserve the existing TrustedHosts entries on AdminPC.
● Use the IP address of Server1 for the remote session.
How should you complete the script? To answer, select the appropriate options in the answer area.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: Get-Credential
To create a remote PowerShell session using an IP address in a workgroup environment, you must provide explicit administrative credentials, which are captured using Get-Credential and stored in the $var2 variable which is referenced at the end of the script.
The Get-Credential cmdlet prompts you for a username and password, creating the secure credential object required by the -Credential parameter in New-PSSession.
Box 2: Set-Item
Set-Item is the standard PowerShell cmdlet used to modify the value of a specific WSMan provider path.


Reference:

https://adamtheautomator.com/psremoting-workgroup/



View Related Case Study

Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals. More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem.
After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.
Your network contains an Active Directory Domain Services (AD DS) domain. The domain contains servers that run Windows Server and store BitLocker recovery keys in AD DS.
A server named Server1 starts in BitLocker recovery mode.
You need to identify the BitLocker recovery key for Server1.
Solution: You run repair-bde.exe by using a BitLocker key package exported from AD DS.
Does this meet the goal?

  1. Yes
  2. No

Answer(s): B

Explanation:

Correct:
* From Active Directory Users and Computers, you use BitLocker Recovery Password Viewer.
You can locate the BitLocker recovery key in Active Directory by using the BitLocker Recovery Password Viewer extension inside Active Directory Users and Computers (ADUC).
Incorrect:
* You run ntdsutil.exe on a domain controller.
* You run repair-bde.exe by using a BitLocker key package exported from AD DS.
* You use ADSI Edit and view the properties of the Server1 computer object.


Reference:

https://learn.microsoft.com/en-us/windows/security/operating-system-security/data-protection/bitlocker/recover y-process



View Related Case Study

HOTSPOT (Drag and Drop is not supported)
Your network contains an Active Directory Domain Services (AD DS) domain.
The domain contains three servers named ServerA, ServerB, and ServerC.
From ServerA, you run remote PowerShell commands on ServerB by using Kerberos authentication.
You discover that the commands cannot access a share named Share1 on ServerC.
You need to ensure that the commands running on ServerB can access Share1 by using delegated user credentials.
How should you complete the script? To answer, select the appropriate options in the answer area.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Set-ADComputer -Identity $ServerC -PrincipalsAllowedToDelegateToAccount $ServerB
This configures resource-based Kerberos constrained delegation on ServerC, authorizing ServerB to access its services on behalf of the user. It resolves the second-hop authentication issue when commands running on ServerB access Share1, subject to the user’s share and NTFS permissions.


Reference:

https://learn.microsoft.com/en-us/powershell/scripting/security/remoting/ps-remoting-second-hop?v iew=powershell-7.5



View Related Case Study

HOTSPOT (Drag and Drop is not supported)
Your network contains two VLANs for client computers and one VLAN for a datacenter. Each VLAN is assigned an IPv4 subnet. Currently, all the client computers use static IP addresses.
You plan to deploy a DHCP server to the VLAN in the datacenter.
You need to use the DHCP server to provide IP configurations to all the client computers.
What is the minimum number of scopes and DHCP relays you should create? To answer, select the appropriate options in the answer area.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: 3
You need a DHCP scope for each of the three subnets.
Box 2: 2
The two client VLANs need a DHCP Relay Agent to forward DHCP requests to the DHCP server. The datacenter VLAN that contains the DHCP server does not require a DHCP Relay Agent.



View Related Case Study

HOTSPOT (Drag and Drop is not supported)
You have an Azure Automation account named AA1 in a resource group named RG1.
You have an Azure Arc-enabled server named Server1 that runs Windows Server and is in a resource group named RG2.
You have a User Hybrid Runbook Worker group named Group1. Server1 is registered as a worker in Group1. You store the service URL required by the Hybrid Runbook Worker extension for AA1 in a variable named $connectionValue.
You need to install the Hybrid Worker extension on Server1.
How should you complete the PowerShell script? To answer, select the appropriate options in the answer area.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: AutomationAccountURL
AutomationAccountURL: This is the configuration key that the extension looks for to know which Azure Automation service URL endpoint to check into.
Box 2: New-AzConnectedMachineExtension
Because the target is an Azure Arc-enabled server (and not a native Azure virtual machine), you must use the Arc-specific cmdlet (New-AzConnectedMachineExtension) rather than the native VM version (Set-AzVMExtension).


Reference:

https://learn.microsoft.com/en-us/azure/automation/extension-based-hybrid-runbook-worker-install



Viewing page 14 of 37
Viewing questions 66 - 70 out of 224 questions


Post your Comments and Discuss Microsoft AZ-802 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!