Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu
Microsoft Azure, associate

AZ-802 practice test and mock exam

For the Administering Windows Server exam. Original practice questions and timed mock exams for AZ-802, built from the official skills outline. Practice questions on all 115 topics listed below, with every answer explained.

Ten free questions a day, no card. Full access to every exam is one pass: $29.99 a year.

AZ-802 mock exam and practice questions

Practice questions
On all 115 topics listed
Mock exam
50 questions, 100 min
Pass mark in our mocks
70%
Kept up to date
Updated every week
Pass guarantee
With the yearly pass

AZ-802 sample questions with answers explained

Three free AZ-802 practice questions, each with the right answer, why it is right and the official page it comes from. For more, try 5 questions. No account needed.

Sample question 1Single answer

An active DHCP scope spans 10.30.6.50 through 10.30.6.200. Equipment with manually configured addresses uses 10.30.6.80 through 10.30.6.89. These equipment addresses must be unavailable for DHCP leasing. Keep the configured starting and ending addresses, and keep the remaining addresses eligible for leasing.

Which scope change should you make?

Choose one answer
Why

Add an exclusion covering the equipment addresses. The scope retains its original boundaries, while those addresses become unavailable for leasing.

  • Correct: Add an exclusion for 10.30.6.80–10.30.6.89. The source states that exclusions identify addresses within the scope range that are unavailable for leasing. This exclusion withholds exactly the equipment addresses.
  • Not correct: Set the scope's offer delay to 1,000 milliseconds. According to the source, delay controls the wait before sending DHCPOFFER. It does not configure the address exclusions required here.
  • Not correct: Change the starting address to 10.30.6.90. Changing the start of the scope would alter its configured range and remove additional addresses from that range. The source identifies exclusions as the property for withholding addresses within the range.
  • Not correct: Set the scope's lease duration to one hour. The source distinguishes lease duration from exclusions. Changing the lease duration does not designate the equipment addresses as unavailable.
Sample question 2Single answer

APP01 is a running Windows Server 2025 VM on a local Hyper-V host. PowerShell Direct is working for the VM, but APP01 has no network connectivity. An administrator has an elevated Windows PowerShell console on the host and valid guest credentials.

Which command opens an interactive PowerShell prompt inside APP01?

Choose one answer
Why

Enter-PSSession with VMName starts an interactive session through PowerShell Direct. The guest does not need network connectivity for this connection.

  • Not correct: New-PSSession -VMName 'APP01'. New-PSSession creates a persistent session in the background. Creating that session does not enter its interactive prompt.
  • Correct: Enter-PSSession -VMName 'APP01'. The VMName parameter selects PowerShell Direct, and Enter-PSSession opens an interactive session inside the VM.
  • Not correct: Invoke-Command -VMName 'APP01' -ScriptBlock { hostname }. This runs one command through PowerShell Direct and then closes its connection. It does not open an interactive prompt.
  • Not correct: Enter-PSSession -ComputerName 'APP01'. The ComputerName form uses network PowerShell remoting. APP01 is unreachable through that connection method in this scenario.
Sample question 3Single answer

A user account was accidentally deleted after Active Directory Recycle Bin was enabled. The account is within its deleted object lifetime, and its security groups still exist. A valid system state backup from before the deletion is available.

You must recover the original account with its previous group memberships restored automatically. No domain controller may be restarted.

Which recovery approach should you use?

Choose one answer
Why

Active Directory Recycle Bin can recover this account because it was deleted after the feature was enabled and remains within the recovery period. The restoration brings back its earlier group memberships automatically and does not require restarting AD DS.

  • Not correct: Restore the system state backup through an authoritative restore. Restoring AD DS from the system state backup requires restarting the domain controller in DSRM, which violates the restart restriction.
  • Correct: Restore the deleted account through Active Directory Recycle Bin. The source states that Recycle Bin restoration automatically recovers the user's previous group memberships. The source confirms that this recovery requires no AD DS downtime.
  • Not correct: Restore the system state backup through a nonauthoritative restore. The source requires restarting the domain controller in DSRM to restore AD DS from a backup, which violates the restart restriction.
  • Not correct: Create a replacement user account and reassign its previous group memberships. Creating a replacement and assigning memberships does not recover the original account or automatically restore its saved memberships. The source describes Recycle Bin restoration as preserving the deleted object's attributes and recovering its former memberships.
Try 5 free AZ-802 questions, no account

What the AZ-802 exam covers

The AZ-802 topics

Deploy and manage AD DS (13 topics)
Deploy and manage AD DS domain controllersDeploy and manage domain controllers locallyDeploy and manage domain controllers in AzureDeploy Read-Only Domain Controllers (RODCs)Manage account security on an RODCManage and troubleshoot Flexible Single-Master Operations (FSMO) rolesConfigure and manage multi-site, multi-domain, and multi-forest environmentsConfigure domain and forest trust relationshipsConfigure and manage AD DS sitesConfigure and manage AD DS replicationCreate and manage AD DS security principalsCreate and manage AD DS users and groupsManage users and groups in multi-domain or multi-forest environmentsSelect and manage service accountsManage Windows Server by using domain-based Group PoliciesImplement Group PolicyImplement Group Policy preferences
Manage Windows Server instances and workloads in a hybrid environment (9 topics)
Configure remote management for Windows Server instances in a hybrid environmentDeploy and manage Windows Admin Center on-premises and in the Azure portalConfigure remote management by using PowerShell, including double-hop and Just Enough Administration (JEA)Configure and manage remote Secure Shell (SSH)Configure and manage remote desktop accessManage Windows Server instances and workloads by using Azure services in a hybrid environmentImplement Azure Arc–enabled Windows Server instancesImplement device configuration by using Azure ArcDeploy Azure services with virtual machine (VM) extensions on non–Azure machinesManage updates by using Azure Update ManagerCreate and run Azure Automation runbooks
Manage VMs (19 topics)
Manage Hyper-V and guest VMEnable Enhanced Session ModeManage VMs remotely by using PowerShell, PowerShell Direct, and SSH Direct for Linux guestsEnable nested virtualizationConfigure VM memory settingsConfigure integration servicesConfigure device assignmentConfigure GPU partitioningManage VM checkpointsImplement high availability for Hyper-V VMsManage Hyper-V virtual hard disksConfigure Hyper-V network adapterConfigure network interface card (NIC) teaming on the Hyper-V host and VMConfigure Hyper-V Virtual SwitchConfigure Hyper-V ReplicaManage Windows Server VMs in AzureManage storage for Windows Server VMs in AzureManage capacity, including resizing and VM scale setsManage availability sets and zonesManage just-in-time (JIT) VM access and Azure BastionManage Azure Virtual Machines network configuration
Implement and manage an on-premises and hybrid networking infrastructure (11 topics)
Implement on-premises and hybrid name resolutionIntegrate domain name system (DNS) with AD DSCreate and manage DNS zones and recordsConfigure DNS forwarding and conditional forwardingConfigure DNS name resolution in a hybrid environmentImplement DNS policiesImplement DNS security extensions (DNSSEC)Manage IP addressing in on-premises and hybrid scenariosImplement and configure the Dynamic Host Configuration Protocol (DHCP) server roleTroubleshoot IP addressing in hybrid environmentsCreate and manage DHCP scopesCreate IP reservationsImplement high availability for DHCP
Manage storage and file services (22 topics)
Configure and manage Azure FilesCreate and manage Azure file sharesManage permissions for Azure file sharesConfigure and manage Azure File SyncMonitor Azure File SyncMigrate Distributed File System (DFS) to Azure File SyncMigrate from file shares to Azure FilesConfigure and manage Windows Server file sharesConfigure access to Windows Server file sharesConfigure File Server Resource Manager (FSRM)Implement and configure DFSConfigure Server Message Block (SMB) over QUICConfigure SMB settings and managementConfigure Windows Server storageConfigure disks and volumesConfigure and manage Storage SpacesImplement and manage Storage Spaces DirectConfigure and manage Storage ReplicaConfigure Data DeduplicationConfigure SMB direct (SMB over Remote Direct Memory Access [RDMA])Configure Storage QoSSelect and configure file systems, including NTFS and ReFSConfigure and manage iSCSIManage BitLocker Drive EncryptionManage and recover encrypted volumes
Secure Windows Server infrastructure (18 topics)
Secure Windows Server operating systemConfigure and manage exploit protectionConfigure and manage Application Control for WindowsConfigure and manage Credential GuardConfigure Microsoft Defender SmartScreenImplement operating system security by using Group PoliciesManage Windows Server security baseline by using OSConfigImplement Windows Local Administrator Password SolutionConfigure and manage Defender for ServersManage Windows Firewall, including connection security rulesSecure AD DSConfigure password policiesImplement Microsoft Entra Password Protection for AD DSManage protected usersHarden domain controllersRestrict access to domain controllersConfigure security options for user accountsConfigure security options for built-in administrative groupsManage AD delegationManage authentication protocols and methods for AD DS
Monitor and troubleshoot Windows Server environments (23 topics)
Monitor by using Windows Server tools and Azure servicesMonitor by using Performance MonitorCreate and configure data collector setsMonitor servers and configure alerts by using Windows Admin CenterAnalyze by using the System Insights feature of Windows ServerManage event logsConfigure data collection rules for Azure MonitorCreate alertsMonitor Azure Virtual Machines performance by using VM InsightsTroubleshoot Windows Server issuesTroubleshoot connectivity issuesTroubleshoot name resolutionTroubleshoot Windows UpdateTroubleshoot Time serviceTroubleshoot performance issuesTroubleshoot VM and Azure Arc extension issuesTroubleshoot disk encryption issuesTroubleshoot storage issuesTroubleshoot Active DirectoryRestore objects from AD Recycle BinRecover AD database by using Directory Services Restore ModeRecover SYSVOLTroubleshoot AD replicationTroubleshoot on-premises ADTroubleshoot Kerberos and authentication issuesTroubleshoot secure channel and computer account trust issues

AZ-802 practice test: frequently asked questions

Is there a free AZ-802 practice test?

Yes. 5 AZ-802 questions need no account, and every answer is explained after you pick it. The free plan adds ten questions a day, and there is a free AZ-802 question of the day.

Are these real AZ-802 exam questions?

No. The questions are our own, written from Microsoft Azure's official documentation. Each answer links the page it comes from, so you can check it.

How long is the AZ-802 mock exam?

50 questions in 100 minutes, the exam time Microsoft Azure publishes. Each domain is weighted as on the real exam, and the mock is timed so you practise pace as well as content.

What score do I need to pass AZ-802?

In our mocks the pass line is 70%. Microsoft Azure marks the real exam on its own scaled score, so treat a practice percentage as a guide to readiness, not a prediction. The official study guide lists the real passing score.

How current are the AZ-802 questions?

The question bank is updated every week, and every answer cites an official Microsoft Learn page, so you can see where the explanation comes from.

The pass guarantee covers AZ-802

Reach 90% on every skill, keep it fresh within 14 days of your exam, and still fail? Your money back or a free extra year.

Read the conditions

Start your AZ-802 streak today.

Try AZ-802 free