Free AZ-802 Exam Braindumps
Administering Windows Server Questions 1–37 (page: 10)

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

You have an Active Directory Domain Services (AD DS) domain. The domain contains a member server named Server1 that runs Windows Server.
You need to ensure that you can manage password policies for the domain from Server1.
Which command should you run first on Server1?

  1. Install-WindowsFeature RSAT-AD-Tools
  2. Install-WindowsFeature GPMC
  3. Install-WindowsFeature RSAT-AD-PowerShell
  4. Install-WindowsFeature RSAT-ADRMS

Answer(s): B

Explanation:

Installing GPMC adds the Group Policy Management Console to Server1. This enables you to edit domain-level password policy settings, such as password length, complexity, history, and expiration, in a GPO linked to the domain.



View Related Case Study

Your network contains an Active Directory Domain Services (AD DS) domain.
The domain contains three domain-joined Azure Arc-enabled servers that run Windows Server 2022. Each server hosts an instance of an IIS application named App1. The servers are behind a network load balancer.
Users access App1 by using Windows authentication and the shared DNS name app1.contoso.com.
You need to select a service account for the App1 application pools. The solution must meet the following requirements:
● Use the same AD DS identity on all three servers.
● Support Kerberos authentication for the shared application name.
● Minimize password and service principal name (SPN) administration.
Which type of account should you choose?

  1. Azure managed identity
  2. group Managed Service Account (gMSA)
  3. delegated Managed Service Account (dMSA)
  4. standalone Managed Service Account (sMSA)

Answer(s): B

Explanation:

A gMSA provides a shared AD DS identity for IIS application pools across multiple servers, with automatic password management and simplified SPN administration. Register HTTP/app1.contoso.com on the gMSA and configure IIS to use the application pool credentials for Kerberos authentication. This allows all three servers to authenticate requests for the shared application name using the same identity.


Reference:

https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-service-accounts https://learn.microsoft.com/en-us/entra/architecture/service-accounts-group-managed



View Related Case Study

HOTSPOT (Drag and Drop is not supported)
The Default Domain Policy Group Policy Object (GPO) is shown in the GPO exhibit.

The members of a group named ServiceAccounts is shown in the Group exhibit.

An organizational unit (OU) named ServiceAccounts is shown in the OU exhibit.

You create a Password Settings Object (PSO) as shown in the PSO exhibit.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Yes
No
No
ServiceAccount1 belongs to the ServiceAccounts global security group, so the PSO’s 16-character minimum applies. ServiceAccount2 is in the same OU but is not a member of that group; it therefore retains the domain policy’s seven-character minimum. Fine-grained password policies apply to users and global security groups, not OUs. P@ssw0rd1 contains only nine characters, so it fails the PSO’s minimum length requirement despite meeting complexity requirements.



View Related Case Study

Your network contains an Active Directory Domain Services (AD DS) domain. The domain contains two servers named Server1 and Server2.
You perform the following actions:
● Install a custom line-of-business (LOB) application named App1 on Server1 and Server2.
● Create a group managed service account (gMSA) named gMSA1.
You need to ensure that App1 on Server2 can use gMSA1 as the service account.
Which cmdlet should you run on Server2?

  1. Install-ADServiceAccount
  2. Enable-ADAccount
  3. Add-ADComputerServiceAccount
  4. New-ADServiceAccount

Answer(s): A

Explanation:

Install-ADServiceAccount installs an existing managed service account on the local computer, enabling Server2 to use gMSA1 for services or applications that are configured to run under that identity.



View Related Case Study

HOTSPOT (Drag and Drop is not supported)
You need to meet the technical requirements for Server4.
Which cmdlets should you run on Server1 and Server4? 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:




Scenario: Ensure that you can manage Server4 from Server1 by using PowerShell remoting.
Box 1: Set-Item
Set-Item is the correct command to use on Server1.
Server1 (Manager): Use Set-Item to configure WinRM settings, such as adding the remote machine to the TrustedHosts list (e.g., Set-Item WSMan:\localhost\Client\TrustedHosts).
Box 2: Enable-PSRemoting
Configure the Target Server (Server4)
You must enable the Windows Remote Management (WinRM) service and allow remote management traffic through the firewall. Run this command in an elevated PowerShell session:
Enable-PSRemoting -Force
What this command accomplishes automatically:
Starts and configures the WinRM service to start automatically.
Creates a HTTP listener to accept WS-Man requests on any IP address.
Enables default Windows Defender Firewall inbound rules for PowerShell Remoting (TCP port 5985 for HTTP).


Reference:

https://learn.microsoft.com/en-us/powershell/scripting/security/remoting/ps-remoting-second-hop



Viewing page 10 of 37
Viewing questions 46 - 50 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!