Courseiva

Microsoft Windows Server Administrator Associate (AZ-802) — Questions 1–75

237 questions total · 4 pages · All types, answers revealed

Page 1 of 4

Page 2
1
MCQeasy

You administer a Windows Server 2022 file server that hosts a shared folder for the accounting department. The department needs to store sensitive financial documents. You must ensure that only members of the Accounting security group can access the folder, and that they can read and write files. Other users must be denied access. You create the folder and share it. What should you do next?

A.Enable access-based enumeration on the share to hide the folder from unauthorized users.
B.Configure a File Screen in File Server Resource Manager to block unauthorized file types.
C.Modify the share permissions to grant Change to the Accounting group and remove Everyone.
D.Modify the NTFS permissions to remove inherited permissions, grant Modify to Accounting, and remove all other users.
AnswerD

NTFS permissions are the most granular and are enforced both locally and over the network. By removing inheritance, you ensure that only explicitly granted permissions apply. Granting Modify to Accounting allows read and write. Removing all other users denies access. This, combined with appropriate share permissions (which can be set to grant Change to Accounting and remove Everyone), meets the requirement. NTFS is the definitive access control.

Why this answer

NTFS permissions provide the necessary access control. Removing inheritance and granting Modify to Accounting while removing other users ensures only Accounting can read and write. Share permissions should also be configured to grant Change to Accounting and remove Everyone, but NTFS permissions are the authoritative layer.

Access-based enumeration and FSRM file screens do not fulfill the access restriction requirement.

Exam trap

The trap here is relying solely on share permissions or visibility features, overlooking that NTFS permissions are required to enforce access on a Windows Server file share.

2
Multi-Selectmedium

You plan to deploy a new domain controller as an Azure Virtual Machine (VM) to provide authentication for cloud workloads. Which THREE actions should you take to ensure the stability and supportability of the domain controller? (Each correct answer presents part of the solution.)

Select 3 answers
A.Configure a static private IP address for the VM in the Azure portal.
B.Enable Azure Disk Encryption on the OS drive.
C.Place the NTDS database and logs on a dedicated data disk.
D.Configure the OS drive to use Read/Write host caching.
E.Disable host caching on the data disk hosting the NTDS database.
AnswersA, C, E

Azure VMs use DHCP by default, but domain controllers must have a consistent IP address to maintain DNS reliability and replication topology. Setting a static private IP address within the Azure virtual network settings ensures that the DC remains reachable at the same address after restarts or maintenance events.

Why this answer

Deploying domain controllers on Azure VMs requires specific configuration to prevent database corruption and ensure consistent identity services. This includes using a static private IP address to prevent DNS failures, placing the NTDS database on a non-caching data disk to ensure write integrity, and using a separate virtual disk rather than the OS drive.

Exam trap

Candidates frequently overlook the requirement to disable host caching on the data disk, incorrectly assuming that standard Azure VM performance optimizations are safe for the sensitive NTDS database files.

3
MCQeasy

You are adding a new Windows Server 2022 domain controller to an existing forest that currently has a functional level of Windows Server 2012 R2. What is the maximum functional level you can set for the new domain controller?

A.Windows Server 2022
B.Windows Server 2012 R2
C.Windows Server 2016
D.Windows Server 2019
AnswerB

The new domain controller must adhere to the existing domain and forest functional levels of the environment it is joining. Since the current level is Windows Server 2012 R2, the new DC will function at that level until an administrator manually raises the level for the entire domain.

Why this answer

Domain controllers run the operating system version installed on them, but the domain and forest functional levels determine which features are available across the entire environment. A new Windows Server 2022 DC can join a 2012 R2 forest, but it will operate within the constraints of that lower functional level.

Exam trap

Candidates often assume that installing a newer OS (Windows Server 2022) automatically upgrades the functional level of the domain or forest, failing to distinguish between OS version and functional level capabilities.

4
Multi-Selecthard

An administrator needs to capture and analyze network traffic on a Windows Server 2022 Core installation without installing third-party tools. Which TWO steps are necessary to capture traffic using the built-in 'pktmon' tool and prepare it for analysis in Wireshark on another machine?

Select 2 answers
A.Run 'pktmon start --etw' to begin.
B.Run 'pktmon pcapng' to convert the log.
C.Use 'netsh trace start' to capture data.
D.Enable 'Promiscuous Mode' in the NIC settings.
E.Run 'pktmon filter add -p 80' to start.
AnswersA, B

This command initiates the packet capture process. The '--etw' flag ensures that the traffic is logged using Event Tracing for Windows, which is the underlying framework Pktmon uses to record network events. This is the standard first step for capturing live traffic data on the server.

Why this answer

Packet Monitor (Pktmon) is a powerful, built-in network diagnostic tool for Windows. It is particularly useful on Server Core where a GUI is unavailable. Understanding how to start a capture and then convert the proprietary ETL format into a cross-compatible format like PCAPNG is essential for advanced network troubleshooting and analysis.

Exam trap

Candidates often forget the required conversion step, trying to directly open the raw packet monitor capture file in Wireshark without converting it to the PCAPNG format first.

5
MCQhard

Refer to the exhibit. You attempt to query a newly created Data Collector Set named PerfLog using the logman utility, but you receive an error indicating that the path is invalid. After recreating the Data Collector Set with the command shown in the exhibit, you still cannot start the collection. What is the root cause of this failure?

A.The bincirc format parameter is deprecated in Windows Server 2022 and must be replaced with the csv format argument.
B.The destination directory path C:\Logs does not exist on the local file system and must be created prior to execution.
C.The sampling interval of 5 seconds is below the minimum threshold allowed for counter logs on production servers.
D.The user running the command lacks local administrative privileges required to modify the system performance registry keys.
AnswerB

Logman requires the target directory structure to be fully present before starting a data collection session. Because the directory was missing, the logging engine fails to initialize the output files despite the configuration command completing successfully.

Why this answer

The logman command successfully creates the object, but the underlying directory path C:\Logs may not exist on the file system. Logman does not automatically create missing destination parent directories, causing data collection startup failures when the storage engine attempts to initialize the log files.

Exam trap

Candidates often assume that logman create automatically generates any non-existent folder paths specified in the output parameter, leading them to misdiagnose the error as a permission issue rather than a missing directory structure.

6
MCQmedium

You manage a Windows Server 2022 file server that uses Data Deduplication on a volume hosting virtual machine VHDX files. You notice that deduplication is not reclaiming space as expected. You need to ensure that deduplication is optimized for VHDX files. What should you do?

A.Set the deduplication schedule to run only during business hours.
B.Disable deduplication for files larger than 1 GB.
C.Convert the VHDX files to VHD files.
D.Enable the 'Hyper-V' workload type when configuring Data Deduplication.
AnswerD

Data Deduplication in Windows Server 2022 includes a workload type for Hyper-V, which optimizes deduplication for VHDX files. This setting adjusts the chunking and compression algorithms to better handle the large, often similar blocks in VHDX files. Enabling this workload type ensures that deduplication is effective for virtual machine storage.

Why this answer

Data Deduplication in Windows Server 2022 offers workload types, including one for Hyper-V. Selecting the Hyper-V workload type optimizes deduplication for VHDX files by using appropriate chunk sizes and algorithms. Other options like scheduling or file size thresholds do not address the optimization for VHDX.

Exam trap

The trap here is assuming that deduplication works the same for all file types; VHDX files require the Hyper-V workload type for effective deduplication.

7
MCQmedium

You are configuring Azure Arc-enabled servers for an on-premises Windows Server 2022 instance. You need to ensure that the server can communicate with Azure services while adhering to strict outbound firewall rules. Which port must be opened to support the Azure Connected Machine agent?

A.TCP 80
B.TCP 3389
C.TCP 443
D.TCP 5985
AnswerC

TCP port 443 is the standard port for HTTPS traffic required by the Azure Connected Machine agent. This port allows the agent to establish a secure, encrypted connection to the Azure Resource Manager endpoints, ensuring that management commands and telemetry data are transmitted securely across the internet or private link.

Why this answer

The Azure Connected Machine agent communicates with Azure services over outbound HTTPS (TCP 443) to endpoints such as management.azure.com, login.microsoftonline.com, and others. Strict outbound firewall rules must allow TCP 443 to these endpoints for the agent to register and send telemetry. No other port is required for core functionality.

Exam trap

AZ-802 often tests the misconception that Azure Arc requires multiple ports or legacy protocols like WinRM, when in fact only outbound TCP 443 is needed.

How to eliminate wrong answers

Option A is wrong because TCP 80 (HTTP) is not used by the Azure Connected Machine agent for secure communication; all traffic is encrypted over HTTPS. Option B is wrong because TCP 3389 is used for RDP, which is unrelated to Azure Arc agent communication and would be a security risk if opened. Option D is wrong because TCP 5985 is used for WinRM (HTTP), which is not required for Azure Arc and is typically disabled in secure environments.

8
MCQhard

You manage a Windows Server 2022 domain controller named DC1. A security audit requires that you review all events related to account lockouts that occurred in the last 30 days, but the Security log on DC1 has rolled over and only contains the last 3 days. You have not previously configured any centralized logging. You need to retrieve the missing account lockout events from another location. What should you check first?

A.The Windows Event Forwarding collector database on DC1.
B.The Application log on DC1.
C.The Security logs on other domain controllers in the same domain.
D.The System log on DC1.
AnswerC

Account lockout events are generated on the domain controller that processes the failed authentication attempt. In a multi-domain-controller environment, the lockout could have been processed by a different DC, and its Security log may still contain the events if that server has not rolled over. Checking other DCs is the first and most direct place to recover the missing audit data without additional configuration.

Why this answer

Account lockout events are recorded in the Security log of the domain controller that handled the failed logon. Because the domain has multiple domain controllers, the events may reside on a different DC whose Security log has not yet rolled over. Checking those logs is the quickest way to recover the missing audit data without having previously configured centralized collection.

Exam trap

The trap here is assuming all security events for a domain are consolidated on one domain controller, when in fact each DC logs the events it processes locally.

9
MCQeasy

You are the administrator for a single-domain Active Directory forest with three domain controllers: DC01, DC02, and DC03. You install a new domain controller named DC04 in a new branch office site. Users in the branch report that authentication is slow for the first logon of the day, and you suspect DC04 is not being used as a logon server. You need to verify which site DC04 has been placed in and confirm that the branch client subnet is associated with that site. Which tool should you use to review site and subnet configuration?

A.Active Directory Sites and Services (dssite.msc)
B.Active Directory Administrative Center (dsac.exe)
C.Active Directory Users and Computers (dsa.msc)
D.Active Directory Domains and Trusts (domain.msc)
AnswerA

Active Directory Sites and Services is the MMC snap-in for managing sites, site links, subnets, and server objects in AD DS. You use it to confirm which site DC04's server object resides in and to verify that the branch client subnet is associated with the correct site so clients locate DC04 as a nearby logon server.

Why this answer

Sites and subnets are managed with the Active Directory Sites and Services snap-in. It lets you confirm the site where the new domain controller's server object resides and verify that the branch client subnet is linked to that site, which drives client DC locator behavior toward the nearby domain controller.

Exam trap

The trap here is assuming any AD management console shows site topology, when only Active Directory Sites and Services exposes site, site link, and subnet-to-site information.

10
MCQeasy

A Windows Server 2022 volume is running out of space. You need to identify which folders are consuming the most disk space without installing any third-party software. Which feature of Windows Server can be used to generate a report on disk usage by file type and owner?

A.Disk Management
B.Storage Optimizer
C.File Server Resource Manager (FSRM)
D.Storage Sense
AnswerC

The Storage Reports Management feature in FSRM can generate comprehensive reports on disk usage. It can identify the largest files, files by last access time, and folder usage. This makes it the standard built-in tool for analyzing and managing storage consumption on a Windows File Server.

Why this answer

File Server Resource Manager (FSRM) includes storage reports that can analyze disk usage by folder, file type, and owner without third-party tools. Running a 'Files by Owner' or 'Files by File Group' report identifies which folders consume the most space, directly answering the requirement.

Exam trap

AZ-802 often tests whether candidates confuse client-side cleanup tools (Storage Sense) or volume tools (Disk Management) with FSRM's reporting capability, leading them to pick a tool that cannot report by owner or file type.

How to eliminate wrong answers

Option A is wrong because Disk Management only shows volume-level information (size, free space, partitions) — it cannot break down usage by folder, file type, or owner. Option B is wrong because 'Storage Optimizer' is not a real Windows Server feature; it is a fabricated name. Option D is wrong because Storage Sense is a client-focused feature that automatically frees space by deleting temp files and emptying recycle bins — it does not generate detailed usage reports by owner or file type.

11
MCQmedium

You are configuring Azure Arc-enabled servers for a fleet of Windows Servers. You need to ensure that the servers can be managed via Azure Policy. What is the mandatory prerequisite before installing the Azure Connected Machine agent?

A.Enable BitLocker drive encryption on the system drive.
B.Install the Azure CLI on the local Windows Server.
C.Register the Microsoft.HybridCompute resource provider in the Azure subscription.
D.Configure a Site-to-Site VPN between the datacenter and Azure.
AnswerC

Azure Resource Providers must be registered at the subscription level for the specific services being used. Without the registration of Microsoft.HybridCompute, the Azure backend will reject the registration request from the agent, preventing the machine from appearing in the Azure portal as a managed resource.

Why this answer

To enable Azure Arc management, the server must reach the internet to communicate with the Azure Resource Manager (ARM) endpoints. Registering the Microsoft.HybridCompute, Microsoft.GuestConfiguration, and Microsoft.HybridConnectivity resource providers in your subscription is required for the backend services to recognize and process the agent's heartbeat and policy compliance data, ensuring full integration with hybrid governance features.

Exam trap

Candidates frequently skip the resource provider registration step, assuming that simply installing the agent is sufficient, which prevents the Azure subscription from correctly processing the incoming server telemetry.

12
MCQmedium

Your organization runs an Active Directory Domain Services forest with a single domain named corp.contoso.com, operating at the Windows Server 2016 functional level. You plan to deploy a new domain controller running Windows Server 2022 into an existing branch office site. Before running the installation wizard, you must prepare the existing forest schema for the new operating system version. Which account credentials and administrative group membership are strictly required to execute adprep /forestprep successfully?

A.Domain Admins group membership in the root domain and Enterprise Admins group membership in the forest root domain.
B.Schema Admins group membership in the root domain and Enterprise Admins group membership in the forest root domain.
C.Built-in Administrator account belonging exclusively to the local Security Accounts Manager of the forest root primary domain controller.
D.Server Operators group membership and explicit delegation of control on the configuration naming context container.
AnswerB

Forestprep extends the schema, which is replicated forest-wide, so it demands Schema Admins in the schema master's domain plus Enterprise Admins in the forest root. The Windows Server 2016 functional level does not remove this requirement.

Why this answer

Executing adprep /forestprep modifies the Active Directory schema, which requires membership in both the Schema Admins and Enterprise Admins security groups. This ensures the security context has absolute authority to update schema master definitions across the entire forest before introducing newer domain controller operating systems.

Exam trap

Candidates often assume that Domain Admins or standard administrative accounts are sufficient for forest-wide schema preparation, completely overlooking the mandatory requirement for explicit membership in both Schema Admins and Enterprise Admins groups.

13
Multi-Selectmedium

A system administrator needs to monitor the real-time resource utilization of a remote Windows Server 2022 instance using Windows Admin Center. Which TWO tools within the Windows Admin Center interface provide specific insights into real-time CPU, memory, and disk IOPS metrics for the connected server?

Select 2 answers
A.Performance Monitor extension
B.Overview tab
C.Events extension
D.Azure Monitor extension
E.Processes extension
AnswersB, E

The main dashboard for a server connection displays live sparklines and numerical data for CPU usage, memory consumption, and disk throughput. It serves as the first point of entry for administrators to quickly assess the current load on a server without needing to configure complex performance counters or external tools.

Why this answer

In Windows Admin Center, the 'Overview' page provides real-time charts for CPU, Memory, Ethernet, and Disk. The 'Processes' tool provides real-time resource utilization (CPU, Memory, Disk I/O) per process. 'Performance Monitor' is not a standard extension included in the default WAC installation for server management.

Exam trap

Candidates often assume that because Performance Monitor exists in MMC, it must be a primary extension in Windows Admin Center, but WAC uses the Overview and Processes tools for this functionality.

14
MCQeasy

You are a Windows Server administrator for a company that has a main office and a branch office. The branch office has a Windows Server 2022 server running Routing and Remote Access Service (RRAS) that provides NAT for the branch network. Users in the branch office report that they can access internet resources, but they cannot access a web server located in the main office network. The main office network is reachable via a dedicated WAN link on the RRAS server. You need to ensure that branch users can access the main office web server. What should you configure on the RRAS server?

A.Enable RIP version 2 on the RRAS server and configure it to advertise the branch network.
B.Change the default gateway on the RRAS server to the WAN interface address.
C.Configure a NAT exemption for the main office network.
D.Add a static route for the main office network with the next hop set to the WAN interface.
AnswerD

Adding a static route for the main office network with the next hop as the WAN interface ensures that traffic destined for the main office is routed through the dedicated WAN link instead of being sent to the default gateway (which likely points to the internet). This restores connectivity to the main office web server. The RRAS server must have a route for the main office subnet to forward packets correctly.

Why this answer

The RRAS server needs a static route to direct traffic for the main office network through the dedicated WAN interface. Without this route, traffic destined for the main office is sent to the default gateway and likely dropped or sent to the internet. Adding the static route with the correct next hop restores access to the main office web server while preserving internet connectivity for branch users.

Exam trap

The trap here is assuming that NAT or a default gateway change is needed, when the real issue is a missing specific route for the main office network.

15
MCQmedium

You are managing a hybrid environment with Windows Servers onboarded to Azure Arc. You need to collect security events from these servers and analyze them in Azure. You want to minimize the number of agents installed on the servers. What should you use?

A.Configure Windows Event Forwarding (WEF) to send events from the Arc-enabled servers to a central collector, then use Azure Monitor to ingest from the collector.
B.Install the Microsoft Monitoring Agent (MMA) and configure it to send events to a Log Analytics workspace.
C.Enable Azure Defender for Servers and use the built-in integration to stream security events to Azure Sentinel.
D.Install the Azure Monitor Agent (AMA) and create a Data Collection Rule (DCR) to collect Windows Security events.
AnswerD

The Azure Monitor Agent (AMA) is the current agent for collecting telemetry from Azure Arc-enabled servers. It uses Data Collection Rules (DCRs) to define what data to collect, including Windows Security events. AMA replaces legacy agents and provides a single agent for multiple data types, reducing overhead. This is the recommended approach for hybrid monitoring.

Why this answer

The Azure Monitor Agent (AMA) is the modern, unified agent for collecting data from Azure Arc-enabled servers. It uses Data Collection Rules to specify which events to collect and where to send them. This minimizes agents because AMA can handle multiple data sources, replacing the need for separate agents like MMA.

It integrates directly with Azure Monitor and Log Analytics, providing a streamlined hybrid monitoring solution.

Exam trap

The trap here is assuming that legacy agents like MMA or on-premises solutions like WEF are still recommended, when AMA is the current standard.

16
MCQhard

You need to implement Storage Quality of Service (QoS) on a Windows Server 2022 Scale-Out File Server. You want to ensure that a specific group of three virtual machines collectively do not exceed 1000 IOPS. Which type of Storage QoS policy should you create?

A.Dedicated policy
B.Aggregated policy
C.Multi-tenant policy
D.Performance policy
AnswerB

An aggregated policy shares the defined IOPS limit across all the members assigned to it. In this scenario, the three virtual machines will share the 1000 IOPS pool, ensuring that their combined storage throughput never exceeds the defined threshold, regardless of which individual VM is most active.

Why this answer

An Aggregated Storage QoS policy enforces a collective IOPS limit across a group of VMs, which is exactly what is needed to cap three VMs at a combined 1000 IOPS. Dedicated policies apply per-VM limits, not group limits.

Exam trap

The trap is assuming that a Dedicated policy can be applied to multiple VMs to create a shared cap — it cannot; only an Aggregated policy provides a collective limit.

How to eliminate wrong answers

Option A is wrong because a Dedicated policy sets a maximum IOPS per individual virtual hard disk or VM, not a shared limit across multiple VMs. Option C is wrong because 'Multi-tenant policy' is not a valid Storage QoS policy type in Windows Server; Storage QoS supports Dedicated and Aggregated policies. Option D is wrong because 'Performance policy' is not a recognized Storage QoS policy type.

17
Multi-Selectmedium

You are preparing a Windows Server 2022 Hyper-V host for production virtual machines. You want to implement Storage Spaces Direct (S2D) and need to ensure your underlying disk configurations meet all prerequisites. Which TWO actions must you perform before enabling S2D? (Choose two.)

Select 2 answers
A.Ensure all candidate physical disks are unformatted and contain no existing partitions or volumes.
B.Configure each physical disk as a dynamic disk using Disk Management.
C.Verify that all physical drives are connected via supported bus types such as NVMe, SAS, or SATA.
D.Format all candidate storage drives with the NTFS file system prior to clustering.
E.Convert all cluster nodes to domain controllers to facilitate cluster security authentication.
AnswersA, C

Storage Spaces Direct requires raw, unformatted physical disks with no existing partitions or volumes. Any pre-existing file systems or metadata will cause the initialization process to fail when attempting to claim the drives for the storage pool.

Why this answer

Storage Spaces Direct pools local storage across cluster nodes to create highly available storage pools. Prerequisites include ensuring physical disks are connected using supported bus types like NVMe or SATA/SAS, and verifying that no existing partitions or volumes already occupy the target drives prior to pool creation.

Exam trap

Administrators often forget that existing NTFS or ReFS partitions on disks must be completely wiped before adding them to a Storage Spaces Direct pool.

18
MCQmedium

You want to automate the installation of the Azure Connected Machine agent across 500 existing Windows Servers in your on-premises datacenter. What is the most efficient way to deploy the agent at scale?

A.Manually install the agent on each server via the Azure Portal.
B.Use a Group Policy Object (GPO) to deploy the onboarding script.
C.Use the Azure Arc 'add server' wizard for each server.
D.Enable Windows Update to automatically download the agent.
AnswerB

GPOs provide a reliable mechanism for executing scripts across domain-joined Windows machines. By creating a startup script that runs the onboarding PowerShell command, you ensure that every server automatically attempts to connect to Azure Arc upon next reboot or policy refresh, scaling the deployment effectively across the environment.

Why this answer

Using a Group Policy Object (GPO) to deploy the onboarding script is the most efficient way to install the Azure Connected Machine agent across many Windows Servers in an on-premises datacenter. GPOs allow centralized deployment and execution of scripts on multiple servers simultaneously, leveraging existing Active Directory infrastructure.

Exam trap

The trap is underestimating the scale and thinking that manual methods are acceptable. The question asks for the most efficient way at scale, which points to automation via GPO. Candidates might choose Windows Update because it is automatic, but it does not support the agent.

How to eliminate wrong answers

Option A is wrong because manually installing via the Azure Portal is time-consuming and not scalable for 500 servers. Option C is wrong because using the 'add server' wizard for each server is also manual and inefficient. Option D is wrong because Windows Update does not automatically download and install the Azure Connected Machine agent; it is not a Windows Update package.

19
MCQhard

Refer to the exhibit. An administrator is preparing to implement Storage Replica between two servers. What is the primary purpose of running this specific command before establishing the partnership?

A.To format the destination volumes for replication
B.To determine if the hardware meets replication requirements
C.To automatically create the replication partnership
D.To enable the Storage Replica feature on both servers
AnswerB

This cmdlet validates the performance of the source and destination storage, as well as the network latency between the nodes. It produces an HTML report that indicates whether the specified log volume is fast enough to support the data rate. This prevents performance issues that occur when the log becomes a bottleneck for the primary workload.

Why this answer

The Test-SRTopology cmdlet performs a validation check on the source and destination servers to ensure that the storage, network, and performance metrics meet the requirements for Storage Replica. It does not format disks, create partnerships, or enable features.

Exam trap

Candidates often confuse Test-SRTopology with New-SRPartnership. Test-SRTopology is a diagnostic tool that does not perform any configuration changes.

20
MCQeasy

You manage a Windows Server 2022 file server that stores sensitive financial documents. You need to implement a solution that encrypts data at rest on the server's volumes to protect against unauthorized access if the physical disks are stolen. The solution must not require users to manually encrypt files. What should you implement?

A.Data Deduplication
B.BitLocker Drive Encryption
C.Encrypting File System (EFS)
D.Storage Spaces Direct
AnswerB

BitLocker encrypts entire volumes, protecting all data at rest without user intervention. If disks are stolen, the data remains inaccessible without the recovery key. This meets the requirement of automatic, transparent encryption for all files on the server volumes.

Why this answer

BitLocker Drive Encryption is the correct answer because it provides full volume encryption, automatically protecting all data at rest without user action. EFS requires manual file selection, Storage Spaces Direct is for storage pooling, and Data Deduplication optimizes space. Only BitLocker meets the requirement of transparent, volume-level encryption to protect against physical disk theft.

Exam trap

The trap here is confusing encryption at rest with file-level encryption, leading to the selection of EFS, which requires manual configuration and does not protect all data on a volume.

21
MCQeasy

You are creating a new Active Directory domain in a new forest. The domain will be named corp.fabrikam.com. You need to ensure that the domain name is registered in DNS and that the NetBIOS name is set to FABRIKAM. Which PowerShell cmdlet should you use to perform the installation?

A.New-ADDomain
B.Install-ADDSDomainController
C.Add-ADDSReadOnlyDomainControllerAccount
D.Install-ADDSForest
AnswerD

Install-ADDSForest is the correct cmdlet to create a new forest and the first domain in it. It allows you to specify the domain name (e.g., corp.fabrikam.com) and the NetBIOS name (e.g., FABRIKAM) using parameters like -DomainName and -DomainNetbiosName. This cmdlet performs all necessary steps, including DNS registration if the DNS server is installed locally. It is specifically designed for creating a new forest, which matches the scenario.

Why this answer

To create a new forest and its first domain, you use the Install-ADDSForest cmdlet. It accepts parameters for the domain name and NetBIOS name, and it handles DNS registration if needed. The other cmdlets are for adding domain controllers to existing domains or creating RODC accounts, which do not apply to this scenario.

Exam trap

The trap here is confusing the cmdlets for creating a new forest with those for adding a domain controller to an existing domain, such as Install-ADDSDomainController.

22
MCQmedium

You are investigating a replication issue between two Active Directory Domain Controllers (DCs) named DC1 and DC2. You suspect a network latency or firewall issue is preventing the replication of the 'Configuration' partition. Which tool should you use to check the current replication status and identify the specific error code associated with the failure?

A.Active Directory Sites and Services
B.repadmin /showrepl
C.dcdiag /test:DNS
D.Get-ADReplicationUpToDatenessVectorTable
AnswerB

This command displays the replication status for all directory partitions on the specified domain controller. It lists the last successful replication time and the specific error message for any failed attempts, making it the most effective tool for pinpointing why DC1 and DC2 are unable to synchronize.

Why this answer

Active Directory replication is vital for maintaining a consistent directory database. The 'repadmin' command-line tool is the industry standard for diagnosing replication topology, monitoring status, and forcing replication between partners. It provides detailed error codes that help distinguish between DNS failures, authentication issues, and physical network blocks.

Exam trap

Candidates often suggest GUI tools like Active Directory Sites and Services or generic network utilities like ping, overlooking the command-line specificity and detailed error codes provided by repadmin.

23
MCQeasy

When onboarding servers to Azure Arc, which type of identity is automatically created for the server?

A.User-assigned managed identity
B.System-assigned managed identity
C.Active Directory service account
D.Azure AD guest identity
AnswerB

The system-assigned managed identity is automatically generated by Azure when you onboard a machine to Azure Arc. This identity is linked to the Azure resource and allows the machine to authenticate to cloud services, providing a secure, platform-managed alternative to traditional service principals or stored credentials.

Why this answer

Azure Arc-enabled servers are assigned a system-assigned managed identity. This identity is managed by the Azure platform and is tied to the lifecycle of the Arc resource. It allows the server to authenticate securely to other Azure services (like Key Vault or Log Analytics) without requiring hardcoded credentials, significantly enhancing the security posture of the hybrid environment by removing the need for secret management.

Exam trap

Candidates often guess 'user-assigned identity' or manually created service principals, failing to realize that Arc-enabled servers are designed to automatically provision a system-assigned identity for ease of management.

24
MCQhard

You manage a Windows Server 2022 Hyper-V host that has a virtual switch bound to a physical NIC team. A tenant virtual machine named VM01 uses a synthetic network adapter attached to the virtual switch, and the host has also been configured with a virtual NIC in the management operating system on the same switch. Users report that VM01 loses network connectivity for several seconds whenever a large file is copied to a backup server over the same physical uplink. You need to reduce the impact of the host's traffic on VM01's throughput without removing host management access. Which feature should you configure?

A.Enable DHCP guard and Router Guard on the virtual switch port connected to VM01.
B.Configure a minimum bandwidth weight on the host virtual NIC and set VM01's adapter to use a higher relative weight.
C.Enable Single Root I/O Virtualization (SR-IOV) on the virtual switch and the VM01 network adapter.
D.Enable bandwidth management and configure a maximum bandwidth value on the host's virtual NIC.
AnswerD

Hyper-V bandwidth management on a virtual adapter can enforce a maximum bandwidth cap. Applying a maximum to the host's virtual NIC limits how much of the shared physical uplink the management OS can consume, leaving headroom for VM01 during large backup copies. This directly addresses the symptom without removing host management connectivity, making it the correct control here.

Why this answer

Hyper-V bandwidth management allows administrators to set minimum and maximum bandwidth on virtual adapters. Placing a maximum on the host's virtual NIC restricts the management operating system from monopolizing the shared uplink, which preserves throughput for the tenant VM during large transfers. This solves the contention without sacrificing host management access.

Exam trap

The trap here is confusing bandwidth weights, which only set relative shares, with bandwidth maximums, which enforce an actual cap on an adapter.

25
MCQhard

You manage an Active Directory forest with two domains: contoso.com and eu.contoso.com. The forest functional level is Windows Server 2016. You need to ensure that users in eu.contoso.com can access resources in contoso.com without being prompted for credentials when they are logged on to computers in their own domain. What should you configure?

A.Create a shortcut trust between contoso.com and eu.contoso.com.
B.Configure a realm trust between contoso.com and eu.contoso.com.
C.Configure a forest trust between contoso.com and eu.contoso.com.
D.Verify that the parent-child trust between contoso.com and eu.contoso.com is functioning.
AnswerD

In an Active Directory forest, parent and child domains automatically have a two-way transitive trust. This trust allows users in eu.contoso.com to authenticate to resources in contoso.com without being prompted for credentials, provided the trust is healthy. If users are being prompted for credentials, the most likely issue is that the trust is broken or not functioning correctly, so verifying it is the correct action.

Why this answer

Active Directory automatically creates a two-way transitive trust between a parent domain and its child domains. This trust enables pass-through authentication, so users in eu.contoso.com can access resources in contoso.com without separate credentials. If users are prompted for credentials, the existing trust may be malfunctioning, and verifying its health is the appropriate first step.

Exam trap

The trap here is assuming that a new trust must be created between parent and child domains, when in fact the trust is automatic and the issue is likely a broken trust that needs verification.

26
MCQhard

Refer to the exhibit. What is the effect of this policy when an administrator attempts to create a new virtual machine in the environment?

A.It automatically upgrades any VM to the D4s_v3 size.
B.It allows the creation of any VM size except the two listed.
C.It audits VMs that are not using the D2s or D4s sizes.
D.It prevents the creation of any VM that does not use the specified SKUs.
AnswerD

This policy enforces a strict whitelist of virtual machine sizes. By denying any request where the SKU name is not in the specified array, the organization ensures that only D2s_v3 and D4s_v3 instances are deployed, which is a common practice for managing cloud budgets and ensuring technical compatibility.

Why this answer

The policy shown is a deny-style Azure Policy that restricts VM creation to the specified SKUs (D2s_v3 and D4s_v3). Any attempt to create a VM with a different size is blocked at deployment time, enforcing SKU standardization across the environment.

Exam trap

The trap is confusing Deny with Audit or with automatic remediation; candidates must remember that Azure Policy with a Deny effect blocks non-compliant deployments but never changes existing resources.

How to eliminate wrong answers

Option A is wrong because Azure Policy does not modify resources; it only allows or denies deployments. It cannot upgrade a VM to D4s_v3. Option B is wrong because the policy is an allow-list, not a deny-list — it permits only the listed SKUs, not everything except them.

Option C is wrong because the policy effect is Deny, not Audit; Audit would log non-compliant VMs without blocking them.

27
MCQmedium

You are using the Storage Migration Service (SMS) to migrate data from an aging Windows Server 2012 R2 machine to a new Windows Server 2022 instance. During the cutover phase, what happens to the source server's identity and network configuration?

A.The source server is deleted from Active Directory
B.The destination server adopts the source's name and IP
C.The destination server remains on its original IP address
D.A DFS Namespace is created to bridge the servers
AnswerB

During cutover, the destination server takes over the computer name and IP addresses of the source server. This ensures that any UNC paths, mapped drives, or application strings pointing to the old server continue to function without modification. It is a 'lift-and-shift' approach for the server's network presence and storage identity.

Why this answer

During the cutover phase of Storage Migration Service, the destination server assumes the source server's identity — its hostname and IP address — so that clients and applications continue to reach the same network identity without reconfiguration. The source server is then renamed/retired, and the destination takes over its role transparently. This identity transfer is the core purpose of the cutover step in SMS.

Exam trap

The trap here is assuming the destination keeps its own identity or that AD objects are deleted — candidates confuse SMS cutover with a fresh deployment or AD cleanup, missing that the destination inherits the source's name and IP.

How to eliminate wrong answers

Option A is wrong because SMS does not delete the source server from Active Directory; it renames/retires it and transfers its identity to the destination. Option C is wrong because the destination must adopt the source's IP address (not keep its own) so clients continue to connect using the original address. Option D is wrong because DFS Namespace is a separate namespace abstraction technology and is not part of the SMS cutover process.

28
MCQmedium

Your company has a main office in London and a satellite office in Paris. Both locations are in the same AD DS forest. Users in Paris report slow login times. You discover that Paris clients are authenticating against a London Domain Controller despite having a local Domain Controller. Which configuration change should you prioritize?

A.Modify the Default-First-Site-Name to reflect the Paris location.
B.Assign the Paris IP subnet to the Paris Site in Active Directory Sites and Services.
C.Increase the replication frequency of the Site Link between London and Paris.
D.Enable Universal Group Membership Caching on the London Domain Controller.
AnswerB

Subnets are the mechanism AD DS uses to associate IP addresses with specific sites. By mapping the Paris office's subnet to the Paris site, the DC Locator service ensures local clients authenticate against the local DC, significantly reducing latency and improving the overall user login experience for that site.

Why this answer

Sites in AD DS define physical locations and are mapped to IP subnets. When a client requests a Domain Controller, the DC Locator service compares the client's IP address against the subnets defined in AD Sites and Services. Without a subnet mapping, clients default to any available DC, causing cross-WAN authentication delays and unnecessary traffic.

Exam trap

Candidates often confuse replication issues with authentication issues. They might choose to modify site link costs or intervals, thinking the data isn't sync'd, rather than realizing the client simply doesn't know which site it belongs to.

29
MCQeasy

You manage an Active Directory domain that has functional level Windows Server 2016. You need to create a new organizational unit (OU) named Sales and delegate control to a user named User1 so that User1 can reset passwords for all users in the Sales OU. What should you do?

A.Add User1 to the Domain Admins group.
B.Use the Delegation of Control Wizard on the Sales OU to grant User1 the Reset password permission.
C.Create a new group named Sales Admins, add User1 to it, and then add the group to the Account Operators group.
D.Modify the security descriptor of the domain object to grant User1 the Reset password permission on all user objects.
AnswerB

The Delegation of Control Wizard allows you to assign specific permissions on an OU to a user or group. By selecting the Reset password task, you grant User1 the ability to reset passwords for user objects in the Sales OU without granting broader rights. This follows the principle of least privilege.

Why this answer

The Delegation of Control Wizard is the correct tool to assign specific administrative tasks on an OU. It allows you to grant User1 the right to reset passwords only for objects within the Sales OU, adhering to the principle of least privilege. Adding the user to privileged groups or modifying domain-wide permissions would grant excessive rights and is not appropriate for this scenario.

Exam trap

The trap here is confusing delegation with group membership; adding a user to a built-in group like Account Operators grants broad rights beyond the specific OU.

30
MCQhard

You are the administrator of a large multi-domain forest. You have a branch office with a slow WAN link that contains only one domain controller. Users in this office complain that they cannot log on when the WAN link is down, even though they belong to Universal Groups. How should you resolve this issue while minimizing WAN traffic?

A.Enable Universal Group Membership Caching (UGMC) for the branch office site.
B.Configure the branch office domain controller as a Global Catalog server.
C.Convert all Universal Groups to Global Groups.
D.Increase the replication frequency of the Site Link to 15 minutes.
AnswerA

Universal Group Membership Caching is specifically designed for branch offices with limited bandwidth. It allows a non-GC domain controller to cache the group memberships of users who have previously logged on. This ensures that future logon requests can be processed locally even if the WAN link to a Global Catalog is unavailable.

Why this answer

In a multi-domain forest, a domain controller needs to contact a Global Catalog to determine Universal Group membership during logon. If a GC is not available locally and the WAN link is down, logons fail. Enabling Universal Group Membership Caching allows a standard DC to cache these memberships, enabling successful logons during outages without the overhead of hosting a full GC.

Exam trap

Candidates often recommend installing a Global Catalog server at the branch office, ignoring the requirement to minimize WAN traffic and storage overhead.

31
MCQmedium

You are creating a new virtual hard disk for a database server. You want to ensure the best performance while also providing protection against data corruption in the event of a power failure. Which disk format and type should you choose?

A.VHDX with Fixed Size
B.VHDX with Dynamically Expanding
C.VHD with Fixed Size
D.VHDX with Differencing
AnswerA

VHDX supports large capacities and includes logging to protect against data corruption during power outages. Choosing a Fixed Size disk provides the best performance for database workloads because the space is pre-allocated on the physical storage, reducing the overhead associated with expanding the file as data is written over time.

Why this answer

VHDX with Fixed Size gives the best performance because the blocks are pre-allocated (no expansion overhead) and VHDX includes a log that protects against corruption during power failures. This combination satisfies both the performance and data-protection requirements.

Exam trap

The trap is focusing only on performance (fixed) or only on protection (VHDX log) and forgetting that the question demands both — candidates may pick dynamic VHDX for the log or fixed VHD for simplicity, missing that only fixed VHDX satisfies both criteria.

How to eliminate wrong answers

Option B is wrong because dynamically expanding VHDX grows on demand, causing fragmentation and write-time overhead, and while VHDX has the corruption log, the performance penalty makes it a poorer choice for a database server. Option C is wrong because VHD (the older format) lacks the VHDX log-based corruption protection and has a 2 TB limit. Option D is wrong because differencing disks are for parent/child scenarios (e.g., VDI or testing) and add I/O overhead plus dependency on the parent disk, not suitable for a production database.

32
MCQmedium

An administrator is implementing Azure File Sync to centralize file shares from several branch offices. The administrator notices that the local server's disk space is nearly full, despite enabling Cloud Tiering. Which setting should be adjusted to ensure the server maintains at least 20% free space at all times?

A.Date policy
B.Volume Free Space policy
C.Bandwidth throttling
D.Sync group priority
AnswerB

Volume Free Space policy defines a threshold of free space that must be maintained on the volume containing the server endpoint. When the specified percentage is reached, Azure File Sync automatically tiers the least recently used files to Azure. This is the most effective way to prevent local storage from becoming full in a tiering scenario.

Why this answer

The Volume Free Space policy in Azure File Sync's cloud tiering settings ensures the local volume maintains a specified percentage of free space by tiering cold files to Azure. Setting it to 20% guarantees the server always has at least 20% free disk space. This is the only setting that directly controls free space on the local volume.

Exam trap

AZ-802 often tests the difference between the Date policy (time-based tiering) and Volume Free Space policy (space-based tiering) — candidates pick Date policy because it sounds like it manages disk usage, but only Volume Free Space enforces a free-space floor.

How to eliminate wrong answers

Option A is wrong because the Date policy tiers files based on last access time (e.g., files not accessed in 30 days), not based on free space percentage. Option C is wrong because Bandwidth throttling limits the upload/download throughput of the sync service, not disk space usage. Option D is wrong because Sync group priority does not exist as a feature — sync groups are containers for endpoints, and there is no priority setting that affects free space.

33
MCQhard

You are troubleshooting an issue where an Azure Arc-enabled server is showing a status of 'Offline' in the Azure portal. Which TWO logs or files should you inspect on the Windows Server? (Choose two.)

A.C:\ProgramData\AzureConnectedMachineAgent\Log\himds.log
B.Windows Application Event Log
C.C:\Windows\System32\drivers\etc\hosts
D.C:\Windows\System32\config\SAM
E.C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys
AnswerA, B

This log file contains the primary output for the Hybrid Instance Metadata Service (HIMDS). It is the source of truth for the agent's internal operations, including token requests and connection attempts. Inspecting this file is the standard first step for diagnosing why a server is not reporting back to Azure.

Why this answer

The himds.log file is the primary log for the Hybrid Instance Metadata Service (HIMDS), which is the core agent that maintains the connection between the Azure Arc-enabled server and Azure. When the server shows 'Offline', it means the HIMDS service is either not running or cannot communicate with Azure, so himds.log will contain detailed error messages about connection failures, authentication issues, or service crashes. The Windows Application Event Log records events from the Azure Connected Machine Agent service, including service start/stop events, errors, and warnings that can indicate why the agent is offline, such as network errors or certificate problems.

Together, these two sources provide the most direct diagnostic information for an offline Arc server.

Exam trap

AZ-802 often tests the misconception that general Windows system files or security databases (like hosts, SAM, or MachineKeys) are relevant for troubleshooting Azure Arc agent issues, when in fact the agent-specific logs and the Windows Application Event Log are the correct sources.

How to eliminate wrong answers

Option C is wrong because the hosts file is used for local DNS resolution and is not a log; while misconfigured DNS could cause connectivity issues, the hosts file itself does not record events or errors related to the Arc agent. Option D is wrong because the SAM file is the Security Account Manager database that stores user account and password hashes; it is not a log and has no relevance to Azure Arc agent status. Option E is wrong because the MachineKeys folder stores cryptographic keys used by IIS and other services; it is not a log and does not contain diagnostic information about the Arc agent's connectivity or health.

34
Multi-Selectmedium

You are configuring Azure File Sync to synchronize a local folder on FileServer1 with an Azure file share. Which TWO endpoint types must be added to a Sync Group to enable this functionality?

Select 2 answers
A.Cloud endpoint
B.Server endpoint
C.Storage endpoint
D.Network endpoint
E.Management endpoint
AnswersA, B

A cloud endpoint is a mandatory component of a Sync Group that points to a specific Azure file share within a Storage Account. It serves as the central hub for all synchronized data, allowing multiple on-premises servers to stay in sync with a single cloud-based master copy.

Why this answer

A Sync Group in Azure File Sync requires exactly two endpoint types to function: a cloud endpoint (Option A) that represents the Azure file share registered to the sync group, and a server endpoint (Option B) that represents a specific path on a registered Windows Server (here, the local folder on FileServer1). The cloud endpoint defines the Azure-side target of synchronization, while the server endpoint defines the on-premises source/target path, and together they form the synchronization topology. Options C, D, and E are not valid Azure File Sync endpoint types; 'storage endpoint' is a generic networking concept (e.g., service endpoints or private endpoints), and 'network endpoint' and 'management endpoint' are not constructs used within a Sync Group, so they cannot enable the described synchronization.

Exam trap

AZ-802 often tests whether candidates confuse Azure File Sync's two required endpoint types (Cloud and Server) with generic storage or networking constructs, so distractors like 'Storage endpoint' and 'Network endpoint' feel plausible but do not exist in the product.

35
MCQmedium

You are using the Active Directory Database Mounting Tool (dsamain.exe) to examine the contents of a three-month-old backup. What is the primary advantage of using this tool over performing a full system state restore in a lab environment?

A.It allows you to modify and save changes back to the backup file.
B.It creates a temporary writeable domain controller for testing.
C.It enables side-by-side comparison of data without extra hardware.
D.It automatically repairs corruption in the production database.
AnswerC

By mounting the backup on an existing server using a different port (such as 50000), administrators can use standard tools like ADSI Edit to view historical data alongside live data. This avoids the need for a dedicated lab environment and the time-consuming process of restoring a full OS.

Why this answer

dsamain.exe mounts a backup of the AD database (ntds.dit) as a read-only LDAP server, exposing the directory contents without touching production or requiring a full restore. This lets administrators compare objects, attributes, and replication metadata side-by-side against the live directory using tools like ADUC or LDP, all on the same hardware. Because it is read-only and non-authoritative, it is safe to run on any domain-joined server without risking the production database.

Exam trap

The trap here is confusing dsamain.exe (read-only inspection) with authoritative restore or writable test-DC scenarios — candidates often assume any AD database tool can modify or repair data.

How to eliminate wrong answers

Option A is wrong because dsamain.exe mounts the database in read-only mode — no writes or saves back to the backup are possible. Option B is wrong because dsamain.exe does not create a writeable domain controller; it exposes a read-only LDAP view of the snapshot. Option D is wrong because dsamain.exe has no repair capability — it is purely a diagnostic/inspection tool and cannot fix corruption in the production ntds.dit.

36
MCQhard

You have a Windows Server 2022 Hyper-V host with a virtual switch named vSwitch-Prod. A VM named VM-WEB1 must be able to receive network traffic for multiple MAC addresses because it runs a network load balancing service. You need to configure the virtual network adapter of VM-WEB1 to allow this behavior. What should you do?

A.Configure the virtual switch to use private VLAN mode.
B.Enable DHCP guard on the virtual network adapter of VM-WEB1.
C.Enable router guard on the virtual network adapter of VM-WEB1.
D.Enable MAC address spoofing on the virtual network adapter of VM-WEB1.
AnswerD

MAC address spoofing allows a virtual network adapter to change its source MAC address and to receive traffic destined for other MAC addresses. This is required for guest-level network load balancing or failover clustering that presents multiple MAC addresses. Enabling it on the VM's adapter permits the needed traffic, while leaving other VMs protected by default.

Why this answer

To allow a VM to use multiple MAC addresses, you must enable MAC address spoofing on its virtual network adapter. This setting permits the adapter to change its source MAC address in outgoing packets and to receive packets destined for other MAC addresses. DHCP guard, router guard, and private VLAN mode are security or isolation features that do not provide this capability.

Exam trap

The trap here is confusing security features like DHCP guard and router guard with the specific setting that permits multiple MAC addresses, which is MAC address spoofing.

37
MCQmedium

You are managing hybrid servers and need to use Azure Policy to enforce security standards. What is the primary benefit of using Azure Policy with Azure Arc-enabled servers?

A.It automatically migrates on-premises databases to Azure SQL
B.It allows you to apply consistent compliance and configuration settings across hybrid environments
C.It provides real-time antivirus protection without installing a local agent
D.It replaces the need for Active Directory Group Policy Objects
AnswerB

Azure Policy provides a single control plane to define, assign, and manage compliance across Azure and Arc-enabled on-premises resources. By using the same policy definitions, you ensure that security benchmarks like ISO or NIST are consistently applied, regardless of whether the server is located in the cloud or on-premises.

Why this answer

Azure Policy extends governance and compliance enforcement to Azure Arc-enabled servers, allowing you to apply the same policy definitions and initiatives across both Azure and on-premises resources. This ensures consistent configuration and compliance reporting in a single pane of glass. The primary benefit is unified compliance management across hybrid environments.

Exam trap

AZ-802 often tests the confusion between Azure Policy's governance role and other management tools like Azure Migrate or Defender, leading candidates to select migration or antivirus benefits.

How to eliminate wrong answers

Option A is wrong because Azure Policy does not migrate databases; that is the role of Azure Migrate or Data Migration Assistant. Option C is wrong because Azure Policy does not provide antivirus protection; that requires Microsoft Defender for Endpoint or a third-party agent. Option D is wrong because Azure Policy complements, but does not replace, Active Directory Group Policy Objects (GPOs); GPOs manage domain-joined Windows settings, while Azure Policy enforces Azure resource compliance.

38
MCQmedium

You manage a Windows Server 2022 file server on-premises that is Azure Arc-enabled. You need to collect and analyze security events from this server in Azure Monitor. You have already created a Log Analytics workspace and installed the Azure Monitor Agent (AMA) on the server. You now need to ensure that the AMA on the Arc-enabled server can send data to the workspace. What should you do first?

A.Configure the server to use a private endpoint for Azure Monitor.
B.Create a Data Collection Rule (DCR) and associate it with the Arc-enabled server.
C.Enable Azure Defender for Servers on the subscription.
D.Install the Dependency Agent on the server.
AnswerB

The Azure Monitor Agent uses Data Collection Rules (DCRs) to define what data to collect and where to send it. For Arc-enabled servers, you must create a DCR and associate it with the server. This is the first step to enable data collection; without a DCR, the AMA has no configuration and will not send data to the workspace.

Why this answer

The Azure Monitor Agent relies on Data Collection Rules to determine which events to collect and which workspace to send them to. After installing the agent on an Arc-enabled server, you must create a DCR and associate it with the server. Without this, the agent has no instructions and will not forward security events to Azure Monitor.

Exam trap

The trap here is assuming that installing the Azure Monitor Agent alone is sufficient to start collecting data, when in fact a Data Collection Rule must also be created and associated.

39
MCQmedium

Refer to the exhibit. An administrator is attempting to run a locally created, unsigned PowerShell script named 'Update-Config.ps1' on a Windows Server 2022. Based on the output of 'Get-ExecutionPolicy -List', what will happen when the administrator attempts to run the script in the current session?

A.The script will fail to run because the LocalMachine policy is set to AllSigned.
B.The script will run successfully without any prompts.
C.The script will prompt the user for confirmation before executing.
D.The script will only run if the administrator executes it from an elevated prompt.
AnswerB

Because the 'Process' scope is set to 'Bypass', PowerShell ignores all security restrictions for the current process. This scope has higher priority than 'LocalMachine'. Therefore, the unsigned script will execute immediately. This is often used by automated tasks or administrators who need to run scripts without changing permanent system settings.

Why this answer

PowerShell execution policies follow a specific order of precedence. In this exhibit, the 'Process' scope is set to 'Bypass', which takes precedence over the 'LocalMachine' scope's 'AllSigned' setting. When an execution policy is set to 'Bypass', nothing is blocked and there are no warnings or prompts, allowing unsigned scripts to execute freely.

Exam trap

Candidates often fixate on the 'LocalMachine' policy (AllSigned) and assume the script will be blocked, failing to recognize that the 'Process' scope override takes immediate precedence over machine-wide policies.

40
MCQmedium

You accidentally delete an Organizational Unit (OU) containing 500 users. You need to recover the OU and its contents with all attributes, including group memberships, intact. What is the most efficient way to achieve this?

A.Restore the OU from a System State backup using a non-authoritative restore.
B.Use the Active Directory Recycle Bin to restore the objects.
C.Re-create the OU and users manually and add them back to their groups.
D.Perform an authoritative restore of the OU using the ntdsutil command.
AnswerB

The Recycle Bin allows for the immediate restoration of deleted objects through the Active Directory Administrative Center or PowerShell. It is the only method that fully preserves all object attributes and linkages without requiring a reboot into DSRM, making it the fastest and most reliable recovery option for modern Active Directory environments.

Why this answer

The Active Directory Recycle Bin preserves deleted objects (including OUs and their contents) with all attributes and group memberships intact, allowing a simple restore without downtime or authoritative restore procedures. It is the most efficient method when it has been enabled prior to the deletion.

Exam trap

AZ-802 often tests the misconception that a System State backup or ntdsutil authoritative restore is required to recover deleted OUs; candidates miss that the Recycle Bin, when enabled, provides a faster and more complete recovery with all attributes intact.

How to eliminate wrong answers

Option A is wrong because a non-authoritative restore from System State backup restores the entire database and then relies on replication to bring it current, which can reintroduce deleted objects inconsistently and requires directory services restore mode downtime. Option C is wrong because manual recreation is labor-intensive, error-prone, and cannot recover SIDs, group memberships, or attributes exactly. Option D is wrong because an authoritative restore using ntdsutil is used to force replication of restored objects and is unnecessary when the Recycle Bin can restore objects directly; it also requires a backup and downtime.

41
MCQmedium

You administer a Windows Server 2022 file server that uses Storage Spaces Direct (S2D). You need to add a new SSD to an existing storage pool to increase capacity. Which cmdlet should you use to add the disk to the pool?

A.Add-PhysicalDisk -StoragePoolFriendlyName "Pool1" -PhysicalDisks (Get-PhysicalDisk -CanPool $true)
B.New-StoragePool -FriendlyName "Pool1" -StorageSubSystemFriendlyName "*" -PhysicalDisks (Get-PhysicalDisk -CanPool $true)
C.Resize-VirtualDisk -FriendlyName "VD1" -Size 10TB
D.Initialize-Disk -Number 5 -PartitionStyle GPT
AnswerA

Add-PhysicalDisk adds one or more physical disks to a storage pool. In S2D, you must first ensure the new disk is visible and can be pooled. Using Get-PhysicalDisk -CanPool $true retrieves disks that are eligible to be added. This cmdlet is the correct way to expand the pool. The other cmdlets either create new pools, initialize disks, or add capacity to virtual disks, not the pool itself.

Why this answer

To add a new physical disk to an existing Storage Spaces Direct pool, you use Add-PhysicalDisk and specify the pool and the disk(s) to add. The Get-PhysicalDisk -CanPool $true filter ensures you select only disks that are available. The other cmdlets create pools, initialize disks, or resize virtual disks, which are not the required action here.

Exam trap

The trap here is using New-StoragePool instead of Add-PhysicalDisk, confusing the creation of a new pool with the expansion of an existing one.

42
Multi-Selectmedium

You are troubleshooting a Windows Server application that occasionally hangs. You want to capture a dump file of the process when it stops responding. Which THREE tools or methods should you consider using? (Choose three.)

Select 3 answers
A.Task Manager
B.ProcDump
C.Performance Monitor
D.Windows Error Reporting (WER) configuration
E.Resource Monitor
AnswersA, B, D

Task Manager allows for a simple right-click operation to 'Create dump file' for any running process. This is the most accessible method for an administrator to capture the current state of an unresponsive application without requiring additional software installation or complex command-line configuration for simple debugging needs.

Why this answer

Capturing process dumps is essential for diagnosing application hangs. Task Manager is the quickest manual method, while ProcDump provides automation and trigger-based capturing. Debugging tools, specifically ADPlus or the Windows Error Reporting (WER) service, provide advanced mechanisms to monitor and capture state information.

Using these tools allows administrators to analyze the thread state at the exact moment of failure, leading to a root cause analysis of the hang.

Exam trap

Candidates often select Event Viewer or Resource Monitor, forgetting that neither of these tools can proactively capture a memory dump file when an application freezes or hangs.

43
MCQeasy

You need to create a service account for a custom application that runs on a single Windows server. The account must support automatic password management and must not require manual SPN registration. Which type of account should you use?

A.Standalone Managed Service Account (sMSA)
B.Group Managed Service Account (gMSA)
C.A standard Domain User account
D.A Local System account
AnswerA

An sMSA is the ideal choice for a single-server application because it provides automated password management and handles Service Principal Name (SPN) registration automatically. This eliminates the manual overhead associated with traditional service accounts while improving security by ensuring complex passwords are rotated frequently by the operating system itself.

Why this answer

Standalone Managed Service Accounts (sMSAs) were introduced to simplify service account management by automating password rotations and SPN handling. Unlike traditional service accounts, sMSAs are tied to a single computer and do not require administrative intervention for password updates, significantly reducing the risk of service outages due to expired credentials or human error.

Exam trap

Candidates often confuse Standalone Managed Service Accounts (sMSAs) with Group Managed Service Accounts (gMSAs), overlooking the limitation that sMSAs can only be used on a single server.

44
MCQeasy

You manage a Windows Server 2022 file server that uses Data Deduplication on a volume. You need to ensure that deduplication runs only during off-peak hours to minimize performance impact. Which deduplication setting should you configure?

A.Set the deduplication to run only when the system is idle.
B.Set the deduplication schedule to run only during specified hours.
C.Configure a minimum file age and exclude files modified within the last 30 days.
D.Enable background optimization and set the priority to low.
AnswerB

Data Deduplication includes a scheduling feature that allows you to define when optimization and scrubbing jobs run. By default, it runs continuously, but you can configure a custom schedule to limit deduplication to off-peak hours. This directly addresses the need to avoid performance impact during business hours. The other options do not control the timing of deduplication operations.

Why this answer

Data Deduplication scheduling allows administrators to specify time windows when deduplication jobs run, such as optimization and scrubbing. This is the correct way to limit deduplication to off-peak hours. Other settings like file age or exclusion lists influence what data is deduplicated, not when the process occurs.

Exam trap

The trap here is assuming that deduplication can be set to run only when the system is idle, rather than using the explicit schedule.

45
MCQmedium

You administer a Windows Server 2022 file server that stores payroll data. Auditing is enabled for object access, and the Security log is 256 MB with default retention. After a recent suspected tampering incident, you need to ensure audit records cannot be erased or overwritten by an attacker who gains administrative rights on the server. What should you do?

A.Implement Windows Event Forwarding to a hardened collector and configure the source logs with 'Do not overwrite events (clear log manually)'.
B.Configure the Security log to overwrite events as needed and increase its maximum size to 1 GB.
C.Configure the Security log to archive when full, and enable the 'Shut down the computer immediately if unable to log security audits' policy.
D.Enable the 'Audit: Force audit policy subcategory settings' policy and set the Security log to overwrite events older than 30 days.
AnswerA

Windows Event Forwarding (WEF) continuously pushes events to a remote collector, so copies exist off the compromised host. Setting the local log to not overwrite prevents silent loss of local records and forces an explicit, auditable clear. Together they give both a tamper-resistant central copy and local preservation, meeting the requirement to survive privileged tampering.

Why this answer

Audit records are only trustworthy if they survive an attacker with administrative rights. Forwarding events to a separate, hardened collector creates an independent copy that the source host cannot alter, while configuring the local Security log to not overwrite prevents quiet cycling of evidence. Local-only settings such as size increases, aging, or shutdown-on-failure leave the records on the very host an adversary controls.

Exam trap

The trap here is assuming that a larger or non-overwriting local Security log is itself tamper-proof, when only an independent off-host copy resists a privileged attacker.

46
MCQmedium

An administrator wants to provide secure file access to remote workers without requiring a traditional VPN. They decide to implement SMB over QUIC on a Windows Server 2022 Datacenter: Azure Edition file server. What is a requirement for the client side of this connection?

A.Windows 10 Enterprise or Pro (Version 1809 or later)
B.Windows 11 or Windows Server 2022
C.A third-party VPN client
D.Active Directory Domain Join
AnswerB

SMB over QUIC requires Windows 11 or Windows Server 2022 on the client side. These operating systems include the necessary updates to the SMB client to handle the QUIC transport and the TLS 1.3 certificate validation. Without these modern operating systems, the client will attempt to fall back to standard SMB over TCP/445, which is usually blocked.

Why this answer

SMB over QUIC is a revolutionary feature that allows access to file shares over the internet using the QUIC protocol, which is inherently encrypted with TLS 1.3. This eliminates the need for a VPN for remote users. However, it has specific client-side requirements to ensure the security and protocol compatibility needed for this high-performance, secure tunneling technology.

Exam trap

Candidates often assume older client operating systems can utilize SMB over QUIC, forgetting that it requires modern OS versions with built-in TLS 1.3 support.

47
MCQhard

You are managing a hybrid environment with 50 on-premises Windows Servers onboarded to Azure Arc. You need to enforce that all servers have the 'Microsoft Defender for Cloud' extension installed and that any non-compliant servers are automatically remediated. You want to use Azure Policy. What should you configure?

A.A policy definition with a DeployIfNotExists effect and a remediation task
B.A policy definition with a Deny effect and an exemption
C.A policy definition with an AuditIfNotExists effect and a remediation task
D.A policy definition with an Append effect and a remediation task
AnswerA

A policy definition with DeployIfNotExists effect evaluates resources and, if the condition is not met, deploys the required extension. For Arc-enabled servers, this can deploy the Microsoft Defender for Cloud extension. A remediation task is then created to bring existing non-compliant resources into compliance. This meets the requirement of enforcement and automatic remediation.

Why this answer

DeployIfNotExists is the correct effect for automatically deploying an extension when it is missing. It supports remediation tasks that can be run on existing non-compliant resources, bringing them into compliance. This is the standard approach for enforcing extension installation on Arc-enabled servers via Azure Policy.

The other effects either only audit, deny, or append properties, none of which deploy the required extension.

Exam trap

The trap here is confusing AuditIfNotExists with DeployIfNotExists; Audit only reports, while Deploy actually remediates by deploying the missing extension.

48
MCQmedium

You are setting up a Windows Server 2022 Data Center as a multi-tenant gateway. You need to provide high availability for the gateway services. Which feature should you implement?

A.Network Load Balancing (NLB) cluster
B.Gateway Cluster
C.Failover Clustering with a Shared VHDX
D.Distributed File System (DFS) Replication
AnswerB

A Gateway Cluster provides high availability for the RRAS service, allowing multiple nodes to share the workload and fail over automatically. This feature is specifically built for multi-tenant scenarios, ensuring that site-to-site VPN tunnels and NAT services remain accessible even if one of the physical gateway nodes experiences hardware failure.

Why this answer

A Gateway Cluster in Windows Server is a feature of the Remote Access role that provides high availability for multi-tenant gateway services. It allows multiple gateway servers to be grouped into a cluster, sharing configuration and state, so that if one server fails, another takes over. NLB, Failover Clustering with Shared VHDX, and DFS Replication are not designed for this specific purpose.

Exam trap

AZ-802 often tests the confusion between NLB and Gateway Cluster; candidates must remember that NLB is for stateless load balancing, while Gateway Cluster provides stateful failover for multi-tenant gateway services.

How to eliminate wrong answers

Option A is wrong because NLB distributes traffic across servers but does not provide the stateful failover and configuration synchronization required for gateway services. Option C is wrong because Failover Clustering with Shared VHDX is for clustering virtual machines, not for multi-tenant gateway high availability. Option D is wrong because DFS Replication is for file replication, not for gateway service high availability.

49
Multi-Selectmedium

You are troubleshooting a Windows Server DNS environment where stale resource records are not being removed, leading to name resolution errors. Which THREE conditions must be met for DNS scavenging to successfully delete a stale record?

Select 3 answers
A.Scavenging must be enabled at the DNS server level.
B.Scavenging and aging must be enabled at the specific zone level.
C.The record must be a static record with a zero timestamp.
D.The record must have existed past the sum of the No-refresh and Refresh intervals.
E.The DNS server must be a member of the Schema Admins group.
AnswersA, B, D

Even if individual zones are configured for scavenging, the master switch at the DNS server level must be turned on. This setting tells the DNS service to periodically run the scavenging algorithm and check all hosted zones for records that have exceeded their aging and refresh intervals.

Why this answer

DNS scavenging is a multi-step process that requires specific configurations at both the server and zone levels. If any of these components are misconfigured, the scavenging engine will not process the records, leading to an accumulation of outdated data that can interfere with network operations and IP management.

Exam trap

Candidates often think enabling scavenging solely at the server level is enough, forgetting that aging and scavenging must also be explicitly enabled on individual zones.

50
MCQmedium

Your company is implementing a Tiered Administration Model to secure its Windows Server infrastructure. You need to deploy Privileged Access Workstations (PAWs) for all Domain Admins. What is the primary purpose of using a PAW in this environment?

A.To allow administrators to browse the internet safely while performing server updates.
B.To provide a dedicated environment that is isolated from the risks of email and web browsing.
C.To enable multiple users to share a single high-privilege account across the organization.
D.To automatically synchronize local administrator passwords across all domain controllers.
AnswerB

The core objective of a PAW is to isolate administrative functions from the most common attack vectors, such as phishing and drive-by downloads. By using a hardened, dedicated machine for administrative tasks, the likelihood of a Domain Admin's credentials being compromised by malware residing on a standard workstation is greatly reduced.

Why this answer

A Privileged Access Workstation (PAW) provides a dedicated, hardened environment for sensitive administrative tasks. By isolating high-privilege credentials from common threats like email, web browsing, and general-purpose applications, PAWs significantly reduce the risk of credential theft. This isolation is a critical defense-in-depth strategy for protecting high-value accounts in an Active Directory forest.

Exam trap

Candidates often think a PAW is just a standard computer with extra software. They fail to emphasize that the primary purpose is physical and logical isolation from high-risk activities.

51
MCQmedium

Your company runs Windows Server 2022 and utilizes Storage Spaces Direct. You need to configure a new storage pool using available drives. Which Windows PowerShell cmdlet should you create and initialize this storage pool?

A.New-Volume
B.Initialize-Disk
C.New-StoragePool
D.Add-PhysicalDisk
AnswerC

This cmdlet successfully bundles available physical disks from a specified primordial subsystem into a functional storage pool. It serves as the prerequisite step for defining resilient virtual disks and hosting production file shares in your Windows Server environment.

Why this answer

The New-StoragePool cmdlet creates a new storage pool from available physical disks. It is the first step in configuring Storage Spaces Direct. After creating the pool, you would use New-Volume to create volumes, but the question asks for the cmdlet to create and initialize the storage pool, which is New-StoragePool.

Exam trap

AZ-802 often tests the order of storage cmdlets, where candidates might confuse New-StoragePool with New-Volume or Initialize-Disk, leading to incorrect answers.

How to eliminate wrong answers

Option A is wrong because New-Volume creates a new volume in an existing storage pool, not the pool itself. Option B is wrong because Initialize-Disk initializes a disk and prepares it for use, but it does not create a storage pool. Option D is wrong because Add-PhysicalDisk adds a physical disk to an existing storage pool, not create a new one.

52
MCQmedium

Your organization utilizes Windows Server 2022 domain controllers deployed in an on-premises perimeter network. You need to configure Network Controller to manage Software Defined Networking (SDN) virtual networks and Network Security Groups (NSGs). Which deployment method must you use to provision the Network Controller service?

A.Install the Network Controller feature using Server Manager and run the Post-Deployment Configuration wizard.
B.Execute the Microsoft-provided Windows PowerShell deployment scripts designed specifically for Network Controller.
C.Deploy the Network Controller role from Windows Admin Center using the Virtual Machines and SDN extension.
D.Create a Failover Cluster and add the Network Controller clustered service via the Failover Cluster Manager console.
AnswerB

Microsoft's Network Controller deployment scripts install the service on dedicated servers and configure the required certificates, REST endpoints and clustering. This satisfies the stem's constraint: Network Controller cannot be added as a Windows Server role or feature, so script-based provisioning is the only supported method for managing SDN virtual networks and NSGs.

Why this answer

Deploying Network Controller requires using the official Windows PowerShell deployment scripts provided by Microsoft. These scripts automate the creation of required virtual machines, configure Active Directory domain integration, establish SSL certificates, and set up REST endpoints. This matters in hybrid enterprise environments because manual provisioning is not supported and will lead to authentication and communication failures between the management plane and SDN infrastructure.

Exam trap

Candidates often assume Network Controller can be deployed easily through the Server Manager graphical interface or standard Add Roles wizard, forgetting that SDN components require automated PowerShell scripts for proper SSL and Kerberos setup.

53
MCQmedium

You are planning the deployment of Shielded Virtual Machines in a Windows Server 2022 environment. You need to ensure that the Fabric Administrators cannot access the data within the VMs. Which component of the Host Guardian Service (HGS) is responsible for verifying that a Hyper-V host is authorized to run a Shielded VM?

A.The Key Protection Service
B.The Attestation Service
C.The Virtualization-based Security (VBS) engine
D.The TPM 2.0 Emulator
AnswerB

The Attestation Service is the component that validates the Hyper-V host's identity and configuration. It ensures that the host is running approved code and has not been tampered with. Only after a host successfully completes this attestation process is it considered 'healthy' and allowed to receive the keys to run Shielded VMs.

Why this answer

The Attestation Service in the Host Guardian Service verifies that a Hyper-V host is healthy, running trusted firmware/TPM measurements, and authorized to host Shielded VMs before releasing the keys needed to start them. It performs the trust evaluation (via TPM attestation or Host Key attestation) and issues a health certificate that the host presents to the Key Protection Service. Without successful attestation, the host cannot obtain the decryption keys for shielded VMs.

Exam trap

AZ-802 often tests the confusion between the Attestation Service (verifies host trust) and the Key Protection Service (stores/releases keys) — candidates must map each HGS role to its exact responsibility.

How to eliminate wrong answers

Option A is wrong because the Key Protection Service stores and releases the guardian keys (the shield) but does not itself verify host trustworthiness — it relies on attestation results. Option C is wrong because VBS is a guest/host security feature that isolates secrets in memory; it is not the HGS role that authorizes hosts. Option D is wrong because the TPM 2.0 Emulator is a test/dev artifact used to simulate TPM behavior, not the production component that validates host authorization.

54
MCQeasy

You are configuring a new Windows Server 2022 Hyper-V host. You need to create a virtual machine that will run a legacy application requiring a 32-bit guest operating system. The VM must use a virtual hard disk that supports sizes larger than 2 TB. Which virtual hard disk format should you use?

A.VHD
B.VHDX
C.Pass-through disk
D.VHD Set
AnswerB

VHDX is the recommended virtual hard disk format for Hyper-V and supports capacities up to 64 TB. It also provides better performance, resiliency against corruption, and support for larger block sizes. A 32-bit guest operating system can boot from a VHDX file as long as the VM is configured appropriately, so VHDX meets the size requirement and is the correct choice.

Why this answer

VHDX is the only virtual hard disk format listed that supports sizes larger than 2 TB, with a maximum of 64 TB. It is also the recommended format for modern Hyper-V deployments due to its performance and resiliency features. VHD is limited to 2 TB, VHD Set is for shared disks in guest clusters, and pass-through disks are not a virtual hard disk format.

Exam trap

The trap here is assuming that a 32-bit guest operating system requires the older VHD format, when in fact VHDX is supported by both 32-bit and 64-bit guests and is necessary for disks larger than 2 TB.

55
MCQeasy

An administrator accidentally deleted an Organizational Unit (OU) containing several hundred user accounts. You need to recover the OU and its contents with the least amount of administrative effort and without taking any domain controllers offline. What should you use?

A.An authoritative restore using an existing System State backup.
B.The Active Directory Recycle Bin.
C.A non-authoritative restore of the entire domain database.
D.The LDP.exe utility to manually reanimate the tombstone.
AnswerB

The Active Directory Recycle Bin allows for the recovery of deleted objects without needing to restore from backup media or restart domain controllers. It is the fastest method for recovery and ensures that all object attributes, including group memberships and SIDs, are perfectly preserved upon restoration.

Why this answer

The Active Directory Recycle Bin allows administrators to restore deleted objects, including OUs and their contents, without taking domain controllers offline and without an authoritative restore. It preserves the object's attributes and links, and restores the OU with its child objects intact. This meets the requirement for least administrative effort and no downtime.

Exam trap

The trap is assuming an authoritative restore is needed for any deleted OU; candidates often overlook the Recycle Bin because it must be enabled in advance, and they default to backup-based restores.

How to eliminate wrong answers

Option A is wrong because an authoritative restore requires a System State backup and a reboot into Directory Services Restore Mode (DSRM), which takes domain controllers offline and is far more effort. Option C is wrong because a non-authoritative restore of the entire domain database restores the whole AD from backup and then replicates, which is heavy-handed and does not selectively recover the OU. Option D is wrong because LDP.exe manual reanimation is a legacy, error-prone method used before the Recycle Bin existed; it requires reanimating tombstones individually and does not restore the OU with all attributes and links.

56
MCQeasy

You manage a hybrid environment with Windows Server 2022 servers onboarded to Azure Arc. You need to ensure that these servers can be managed using Azure Policy to audit and enforce compliance with your organization's security baseline. What is the primary benefit of using Azure Policy for Arc-enabled servers?

A.It automatically installs the Azure Connected Machine agent on unmanaged servers.
B.It automatically remediates non-compliant settings on the servers without any additional configuration.
C.It replaces the need for Group Policy Objects (GPOs) on on-premises servers.
D.It provides a centralized way to assess and enforce compliance across both Azure and on-premises servers.
AnswerD

Azure Policy extends governance to Arc-enabled servers, allowing you to evaluate them against built-in or custom policies. This provides a single pane of glass for compliance across hybrid resources. You can audit settings, enforce configurations, and view compliance results in the Azure portal, which is the core benefit of using Azure Policy in a hybrid scenario.

Why this answer

Azure Policy provides centralized compliance assessment and enforcement for both Azure and Arc-enabled servers. It allows you to apply policies that audit or enforce settings, and view compliance status across your hybrid estate. This is the primary benefit because it extends Azure governance to on-premises servers, ensuring consistent security and configuration standards.

Exam trap

The trap here is confusing Azure Policy with a full configuration management solution like Group Policy, or assuming it can automatically remediate without setup, when its main strength is centralized compliance evaluation.

57
Multi-Selectmedium

You administer a Windows Server 2022 server that hosts a memory-intensive database. Users report that the server sometimes becomes unresponsive, and you suspect memory pressure. You need to identify which processes are consuming the most memory over time and whether the server is paging excessively. Which TWO actions should you perform? (Choose two.)

Select 2 answers
A.Create a Data Collector Set that logs the Memory\Pages/sec counter.
B.Enable the Memory Diagnostic tool and schedule a restart.
C.Create a Data Collector Set that logs the Process\Private Bytes counter for all processes.
D.Use Task Manager to view current memory usage for each process.
E.Use Resource Monitor to view the Memory tab.
AnswersA, C

Pages/sec measures the rate at which pages are read from or written to disk to resolve hard page faults. Sustained high values indicate that the system is paging excessively, which aligns with the suspicion of memory pressure. Logging this counter alongside process memory counters helps confirm whether the server is thrashing and correlates paging with specific processes.

Why this answer

To identify the top memory consumers over time, log Process\Private Bytes for all processes. To confirm excessive paging, log Memory\Pages/sec. Together, these counters in Data Collector Sets provide historical evidence of which process is consuming memory and whether the system is paging heavily.

Real-time tools and hardware diagnostics do not deliver the required trend data.

Exam trap

The trap here is relying on live snapshots from Task Manager or Resource Monitor instead of scheduled counter logs when historical trends are needed.

58
MCQmedium

Your organization implements Just Enough Administration (JEA) to manage Windows Servers. A junior administrator needs to restart the Print Spooler service on several print servers but should not have full administrative rights. You need to identify the specific file that defines which cmdlets and external commands the junior administrator can execute. Which file should you configure?

A.The Session Configuration file (.pssc)
B.The Role Capability file (.psrc)
C.The PowerShell Profile file (.ps1)
D.The Module Manifest file (.psd1)
AnswerB

The Role Capability file is a PowerShell data file that specifies what a user can do once they connect to a session. It explicitly lists cmdlets, functions, and provider capabilities permitted for the role. This allows administrators to grant specific permissions, like restarting a service, without granting full local administrative permissions on the server.

Why this answer

The Role Capability file (.psrc) defines the cmdlets, functions, providers, and external commands that are available to a user in a JEA session. It specifies what a user can do, while the Session Configuration file (.pssc) defines who can connect and which role capabilities are assigned. Therefore, to identify which cmdlets the junior administrator can execute, you configure the Role Capability file.

Exam trap

AZ-802 often tests the confusion between Session Configuration files and Role Capability files, where candidates might think the session configuration defines the allowed cmdlets, but it actually defines who gets which role capabilities.

How to eliminate wrong answers

Option A is wrong because the Session Configuration file (.pssc) defines the session's overall settings, such as the users who can connect and the role capabilities to assign, but it does not list the specific cmdlets. Option C is wrong because a PowerShell Profile file (.ps1) is a script that runs at the start of a session and is not used to define JEA permissions. Option D is wrong because a Module Manifest file (.psd1) describes a module's contents and metadata, not JEA role capabilities.

59
MCQeasy

You manage a Windows Server 2022 domain controller. A junior administrator reports that several user accounts were locked out overnight, and you suspect a password-spray attack against the domain. You need to reduce the likelihood that a single guessed password unlocks many accounts while still allowing legitimate users to sign in. What should you configure?

A.Set the account lockout threshold to 0 so accounts never lock out.
B.Enable fine-grained password policies with a low lockout threshold for privileged accounts only.
C.Enable the Account Lockout Policy with a threshold, duration, and reset counter that slows repeated guessing across accounts.
D.Disable NTLM authentication on the domain controllers and require Kerberos only.
AnswerC

A carefully chosen lockout threshold, duration, and reset window forces an attacker to risk locking accounts while limiting the disruption to legitimate users. Combined with observation windows, it breaks the spray pattern because each account tolerates only a few bad attempts before locking. This is the standard domain-level control for reducing the effectiveness of password spraying while preserving normal sign-in.

Why this answer

Password spraying succeeds because each account tolerates many guesses before locking. Configuring an Account Lockout Policy with an appropriate threshold, duration, and reset counter forces the attacker to risk locking accounts, which typically halts the spray. Disabling lockout removes the defense, fine-grained policies scoped to privileged accounts miss the targeted population, and protocol changes do not limit guess volume.

Exam trap

The trap here is believing that disabling lockout prevents disruption, when it actually removes the control that makes spraying costly for the attacker.

60
Multi-Selectmedium

You are creating a new virtual machine on a Hyper-V host. You decide to use the VHDX file format for the virtual hard disks. Which THREE advantages does VHDX provide over the older VHD format? (Choose three.)

Select 3 answers
A.Support for virtual disks up to 2 TB in size.
B.Support for virtual disks up to 64 TB in size.
C.Protection against data corruption during power failures using a log.
D.Compatibility with Windows Server 2008 R2 hosts.
E.Improved alignment for large sector disks.
AnswersB, C, E

VHDX supports a massive increase in maximum storage capacity, allowing for virtual hard disks up to 64 TB. This capacity is essential for hosting large data volumes, big data applications, and extensive file shares that were previously impossible to manage with the older VHD format's limitations.

Why this answer

VHDX is the newer Hyper-V virtual hard disk format and was introduced specifically to overcome VHD limitations. Option B is correct because VHDX supports virtual disks up to 64 TB, whereas the legacy VHD format is limited to 2 TB. Option C is correct because VHDX includes a built-in log that helps protect against data corruption caused by power failures or unexpected host crashes.

Option E is correct because VHDX provides improved alignment for large-sector (4K native) disks, which helps performance and compatibility on modern storage. Option A is not correct because 2 TB is the VHD limit, not a VHDX advantage. Option D is not correct because VHDX is not supported on Windows Server 2008 R2 hosts; that platform only supports the older VHD format.

Exam trap

The trap is mixing up the size limits (2 TB is VHD, 64 TB is VHDX) and forgetting that VHDX is not supported on older hosts like Windows Server 2008 R2 — candidates may pick the 2 TB option thinking it is a VHDX advantage.

61
MCQhard

Your organization has an Active Directory forest with a single domain. You have a domain controller named DC1 that holds the PDC Emulator FSMO role. DC1 suffers a hardware failure and is expected to be offline for several days. You need to ensure that time synchronization and password changes continue to function. What should you do?

A.Configure an external time source on all domain controllers.
B.Transfer the PDC Emulator role to another domain controller.
C.Seize the PDC Emulator role to another domain controller.
D.Restore DC1 from backup.
AnswerC

Seizing the PDC Emulator role is necessary when the current role holder is offline and cannot be brought back online in a timely manner. The PDC Emulator is critical for time synchronization and password change propagation. Seizing the role to a healthy domain controller ensures these functions continue. Once DC1 is permanently removed, the seized role becomes authoritative.

Why this answer

When a domain controller holding a FSMO role is offline and cannot be restored quickly, you must seize the role to another domain controller. Seizing the PDC Emulator ensures that time synchronization and password changes continue to function. Transferring the role is not possible because the current holder is unreachable.

Exam trap

The trap here is attempting to transfer the FSMO role when the current holder is offline; transfer requires connectivity, so seizing is the correct action.

62
MCQmedium

Your company, Contoso, Ltd., has a branch office with poor physical security. You deploy a Read-Only Domain Controller (RODC) to the site. Users at the branch office report they cannot log in when the WAN link to the head office is down. You need to ensure branch users can authenticate locally during a WAN outage. What should you do?

A.Add the branch office users to the Enterprise Admins group.
B.Modify the Denied RODC Password Replication Group to include the branch users.
C.Add the branch office users to the Allowed RODC Password Replication Group.
D.Enable the 'Store password using reversible encryption' policy for the users.
AnswerC

Adding users to this group ensures their credentials are synchronized to the RODC for local authentication. This is the standard administrative practice for branch office deployments where wide area network reliability is a concern, allowing for continued productivity during communication failures while maintaining a reduced attack surface compared to writable domain controllers.

Why this answer

For an RODC to authenticate users locally during a WAN outage, the users' password hashes must be cached on the RODC. Adding the branch users to the Allowed RODC Password Replication Group permits their credentials to be replicated to the RODC, enabling local logon when the hub is unreachable.

Exam trap

AZ-802 often tests the confusion between Allowed and Denied RODC Password Replication Groups; candidates incorrectly pick the Denied group or assume Enterprise Admins membership enables caching, missing that only the Allowed group permits password hash replication to the RODC.

How to eliminate wrong answers

Option A is wrong because adding users to Enterprise Admins grants excessive privileges and does not cause password caching; it is a security anti-pattern. Option B is wrong because the Denied RODC Password Replication Group explicitly blocks caching, which would prevent local authentication. Option D is wrong because reversible encryption stores passwords in a recoverable format for legacy protocols and has no effect on RODC credential caching.

63
MCQmedium

Refer to the exhibit displaying the status of a DHCP failover relationship. A network administrator notices the 'CommunicationInterrupted' state. What is the immediate impact on DHCP clients that attempt to renew their leases while the server is in this state?

A.Clients cannot renew leases and will lose connectivity immediately.
B.The server will grant new leases for the full scope duration.
C.The server continues to renew leases for the duration of the MCLT.
D.The partner server automatically takes over all active leases.
AnswerC

When communication is interrupted, the server will continue to renew leases for its clients but only for the duration specified by the Max Client Lead Time (MCLT). This safety mechanism ensures clients stay connected while preventing the server from permanently exhausting the IP pool without partner confirmation.

Why this answer

When a DHCP failover relationship is in 'CommunicationInterrupted' state, the server continues to renew existing leases for the duration of the Maximum Client Lead Time (MCLT). The MCLT is a timer that defines how long a partner server can extend a lease beyond the original lease expiration when communication is lost. This ensures that clients can continue to renew their leases without immediate disruption.

Exam trap

The trap is assuming that clients immediately lose connectivity or that the partner server takes over. Candidates must remember that the MCLT allows continued renewal for a limited time.

How to eliminate wrong answers

Option A is wrong because clients can still renew leases during the MCLT period; they do not lose connectivity immediately. Option B is wrong because the server does not grant new leases for the full scope duration; it only renews existing leases for the MCLT. Option D is wrong because the partner server does not automatically take over all active leases; that would require a failover event, and in CommunicationInterrupted state, the partner may not be aware of the state change.

64
MCQhard

You manage a Hyper-V host running Windows Server 2022. A virtual machine named VM-DB runs SQL Server and requires low-latency storage. The host has a direct-attached NVMe drive that you want to dedicate to VM-DB. You need to configure the VM to use the physical disk directly while keeping the disk offline to the host. What should you do?

A.Use Storage Spaces Direct to create a virtual disk from the NVMe drive and attach it.
B.Create a VHDX on the NVMe drive and attach it to the virtual machine.
C.Add a pass-through disk to the virtual machine using the physical drive.
D.Enable SR-IOV on the virtual machine and assign the NVMe drive as a virtual function.
AnswerC

A pass-through disk provides the VM with direct access to a physical disk or LUN that is offline to the host. This gives the VM unmediated access to the NVMe drive, which can reduce latency compared to a virtual disk. You must take the disk offline in Disk Management on the host and then attach it to the VM as a pass-through disk.

Why this answer

Pass-through disks allow a virtual machine to directly access a physical disk or LUN that is offline to the host. This is the correct method to dedicate an NVMe drive to a VM for low-latency storage. VHDX adds abstraction, Storage Spaces Direct is for clusters, and SR-IOV is for networking.

Exam trap

The trap here is thinking that SR-IOV or Storage Spaces Direct can provide direct disk access, but pass-through disks are the specific Hyper-V feature for dedicating physical storage to a VM.

65
MCQhard

You manage a Windows Server 2022 file server that uses Storage Spaces with a three-way mirror virtual disk. The server has six 2-TB drives. You need to increase the capacity of the virtual disk without taking it offline. You add two new 2-TB drives to the server. What should you do next?

A.Use the Resize-Partition cmdlet to extend the volume directly onto the new drives.
B.Extend the virtual disk using the Extend Virtual Disk wizard in Server Manager.
C.Create a new virtual disk with the new drives and mount it as a folder.
D.Add the new drives to the storage pool, then extend the virtual disk and the volume.
AnswerD

To increase capacity, the new drives must first be added to the storage pool to provide additional free space. Then you can extend the virtual disk, which increases its size within the pool, and finally extend the volume within the virtual disk to use the new space. This can be done online without taking the disk offline. This sequence is correct and meets the requirement.

Why this answer

To increase capacity, the new drives must be added to the storage pool to create free space. Then the virtual disk can be extended online, and the volume can be extended to use the additional space. Extending the virtual disk without adding drives fails, creating a new virtual disk does not extend the existing one, and Resize-Partition cannot span physical disks.

Exam trap

The trap here is assuming that adding physical drives automatically makes their capacity available to existing virtual disks, when in fact the drives must be added to the storage pool first.

66
MCQmedium

You are hardening a Windows Server 2022 instance. You need to implement Credential Guard to protect NTLM and Kerberos credentials from memory-based attacks. Which prerequisite must be met on the server?

A.Enable the Remote Desktop Protocol (RDP) Restricted Admin mode.
B.Install the Windows Defender Application Guard feature.
C.Ensure the hardware supports Second Level Address Translation (SLAT).
D.Disable the Windows Update service.
AnswerC

Credential Guard requires virtualization-based security (VBS), which depends on hardware support for SLAT and advanced virtualization extensions. These features allow the hypervisor to manage memory pages efficiently for the secure container. Without these hardware capabilities enabled in the BIOS/UEFI, the virtualized environment cannot initialize properly to host secrets.

Why this answer

Credential Guard relies on virtualization-based security (VBS) to isolate LSA secrets in a protected container, and VBS requires hardware support for Second Level Address Translation (SLAT) — implemented as Intel VT-x with EPT or AMD-V with RVI. Without SLAT, Credential Guard cannot run.

Exam trap

AZ-802 often tests whether candidates confuse Credential Guard prerequisites with other security features (like Application Guard or Restricted Admin), causing them to miss the SLAT hardware requirement.

How to eliminate wrong answers

Option A is wrong because RDP Restricted Admin mode is a mitigation for credential theft during RDP sessions, not a prerequisite for Credential Guard. Option B is wrong because Windows Defender Application Guard is a separate feature for isolating untrusted browser/Office content in containers — it is unrelated to Credential Guard prerequisites. Option D is wrong because disabling Windows Update would prevent the server from receiving the updates and features needed to enable Credential Guard, and it is not a prerequisite at all.

67
MCQmedium

You plan to implement Storage Replica between two Windows Server 2022 clusters in different cities. The network connection between the sites has a consistent round-trip latency of 20ms. Which replication mode should you implement to ensure application performance is not negatively impacted by storage writes?

A.Synchronous replication
B.Asynchronous replication
C.Block-level mirroring
D.DFS Replication
AnswerB

Asynchronous replication allows the local write to complete immediately, with data being sent to the remote site shortly after. This is the correct choice for high-latency connections over 5ms, as it preserves application performance while still providing a disaster recovery copy at the secondary location.

Why this answer

Storage Replica offers two modes: synchronous and asynchronous. Synchronous replication requires low latency (typically <5ms) because the application must wait for an acknowledgment from the destination before the write is completed. For high-latency connections, asynchronous replication is necessary to prevent storage I/O from becoming a performance bottleneck.

Exam trap

Candidates often choose synchronous replication because it provides zero data loss, ignoring the high latency constraint that causes severe performance degradation.

68
MCQeasy

A small branch office has five client computers running Windows 11. There is no server located at the branch. You want to implement BranchCache to reduce WAN traffic when users access files from the main office. Which mode should you use?

A.Hosted Cache mode
B.Distributed Cache mode
C.Synchronous mode
D.Transparent Caching
AnswerB

Distributed Cache mode allows client computers to share cached content with each other using peer-to-peer protocols. This is perfect for small environments with fewer than 50 users where no local server is available, as it effectively turns the clients into a collective cache for the branch.

Why this answer

In a branch office with no local server, Distributed Cache mode is the correct choice because each client caches content locally and shares it with other clients on the same subnet. This reduces WAN traffic by serving repeated requests from peer caches. Hosted Cache mode requires a local server to act as the cache host, which is not available here.

Exam trap

The trap is choosing Hosted Cache mode by default — candidates forget that Hosted Cache requires a local server, which is absent in this branch office scenario.

How to eliminate wrong answers

Option A is wrong because Hosted Cache mode requires a server (or a client acting as a hosted cache server) on the local network, which the branch office lacks. Option C is wrong because 'Synchronous mode' is not a BranchCache mode; BranchCache has only Distributed and Hosted modes. Option D is wrong because 'Transparent Caching' is not a BranchCache mode; it is a general caching concept, not a BranchCache deployment option.

69
MCQmedium

You are deploying Microsoft Defender for Cloud to protect your hybrid environment. What is the primary requirement for enabling vulnerability assessment on an Arc-enabled Windows Server?

A.Configure an inbound rule on the local firewall for TCP 22
B.Enable the Defender for Servers plan
C.Install the Active Directory Domain Services role
D.Join the server to an Azure Virtual Network
AnswerB

Enabling the Defender for Servers plan is the fundamental requirement for accessing advanced security features, including integrated vulnerability assessment. Without this plan, the subscription is not entitled to the automated scanning services provided by Defender for Cloud, leaving the hybrid server without advanced security monitoring and protection.

Why this answer

To enable vulnerability assessment on an Arc-enabled server, you must enable the 'Microsoft Defender for Servers' plan. This plan triggers the automatic deployment of the necessary extensions (such as the Qualys agent or the Microsoft Defender Vulnerability Management extension) to the Arc-enabled server.

Exam trap

Candidates might confuse the requirement for the Defender plan with the manual installation of the vulnerability scanner agent.

70
MCQmedium

You are managing a Windows Server 2022 Hyper-V host. You need to create a checkpoint of a production virtual machine before applying a software update. You must ensure that the checkpoint includes the current memory state to allow for a complete restoration of the running environment if the update fails. Which checkpoint type should you use?

A.Production Checkpoint
B.Standard Checkpoint
C.Recovery Checkpoint
D.Differential Checkpoint
AnswerB

Standard checkpoints capture the full state, data, and hardware configuration of a running virtual machine, including the active memory. This allows an administrator to revert the VM to the exact moment the checkpoint was taken, which is necessary when the application state must be preserved during a sensitive software update.

Why this answer

Checkpoints are essential for administrative rollbacks during maintenance windows. Standard checkpoints capture the memory state, while production checkpoints use VSS to ensure data consistency. Choosing the correct type ensures that the administrator can return to a known good state without data corruption or losing the current execution context of critical application services.

Exam trap

Candidates often confuse Production and Standard checkpoints. They incorrectly assume 'Production' is better because it is the default, failing to realize it does not capture the memory state.

71
MCQmedium

A company has a two-node Windows Server 2022 cluster running Storage Spaces Direct (S2D). They need to ensure the highest possible availability for their storage pool, allowing it to survive both a disk failure and a simultaneous node failure. Which resiliency setting must be applied to the virtual disks?

A.Three-way mirroring
B.Two-way mirroring
C.Nested resiliency
D.Dual parity
AnswerC

Nested resiliency is specifically engineered for two-node clusters to provide local and remote parity or mirroring. By combining RAID-1 across nodes with an additional layer of RAID-1 or RAID-5 within each node, the system survives a node failure and a drive failure. This provides the highest level of uptime for small-scale hyperconverged infrastructure deployments.

Why this answer

Nested resiliency is a Storage Spaces Direct feature designed specifically for two-node clusters. It combines a two-way mirror at the node level with a two-way mirror or parity within each node, allowing the storage pool to survive a disk failure and a simultaneous node failure without data loss.

Exam trap

The trap is assuming that standard mirroring settings scale down to two-node clusters; candidates must recognize that only nested resiliency provides dual-failure tolerance in a two-node S2D deployment.

How to eliminate wrong answers

Option A is wrong because three-way mirroring requires at least three fault domains (typically three or more nodes) and cannot be applied to a two-node cluster. Option B is wrong because two-way mirroring on a two-node cluster can survive either a disk failure or a node failure, but not both simultaneously. Option D is wrong because dual parity requires at least four nodes and is designed for capacity-efficient resiliency, not for the two-node simultaneous failure scenario.

72
MCQeasy

A Windows Server 2022 instance hosts a line-of-business application that writes to a local volume. The application vendor reports that the server experiences occasional performance degradation and asks you to provide a report showing processor utilization over the past week. You need to collect this data without installing third-party tools. Which built-in Windows tool should you use to create and schedule the collection?

A.Performance Monitor with a Data Collector Set.
B.Task Manager.
C.Resource Monitor.
D.Event Viewer.
AnswerA

Performance Monitor includes Data Collector Sets, which can log performance counters such as Processor\% Processor Time on a schedule and save the results to a file. This built-in capability allows you to collect a week of processor utilization data without third-party software, and you can later open the log or generate a report from the collected data.

Why this answer

Data Collector Sets in Performance Monitor are the built-in mechanism for scheduled, long-term performance data collection. They can log Processor\% Processor Time at a chosen interval and store the results for later reporting. Resource Monitor, Task Manager, and Event Viewer provide either real-time snapshots or event records, not the historical counter logs required by the application vendor.

Exam trap

The trap here is thinking that real-time monitoring tools like Resource Monitor or Task Manager can produce historical performance reports.

73
MCQeasy

You use File Server Resource Manager (FSRM) to manage a folder shared by the marketing department. You want to prevent users from saving more than 10GB of data in the folder. If they reach this limit, they must be blocked from adding new files. What should you configure?

A.Soft quota
B.Hard quota
C.File screen
D.Storage report
AnswerB

A hard quota strictly enforces the storage limit. Once the 10GB threshold is reached, Windows will prevent any further write operations to that folder, returning an 'out of space' error to the user. This is the correct tool for ensuring strict adherence to storage capacity limits.

Why this answer

A hard quota in FSRM enforces a strict limit on the folder size; once the 10GB threshold is reached, users are immediately blocked from writing additional data. This matches the requirement to prevent users from saving more than 10GB and to block new files at the limit. Soft quotas only warn without blocking, and file screens/reports do not enforce size limits.

Exam trap

AZ-802 often tests the distinction between soft quotas (warn only) and hard quotas (enforce and block), so candidates who focus only on the '10GB' number without reading 'must be blocked' may incorrectly choose soft quota.

How to eliminate wrong answers

Option A is wrong because a soft quota only generates warnings and notifications when the threshold is reached but does not prevent users from exceeding the limit. Option C is wrong because a file screen blocks specific file types (e.g., .mp3, .exe) based on file group definitions, not the total folder size. Option D is wrong because a storage report is a monitoring/reporting tool that provides usage statistics and does not enforce any quota or block writes.

74
MCQmedium

You are deploying a Windows Server 2022-based Gateway server for a hybrid network. The gateway must perform Network Address Translation (NAT) for a private subnet. Which feature should you enable?

A.DHCP Server role
B.Routing and Remote Access (RRAS)
C.Network Policy Server (NPS)
D.Hyper-V Network Virtualization
AnswerB

RRAS is the Windows Server service that provides NAT, VPN, and traditional routing capabilities. It allows the server to act as a gateway that performs address translation for internal private networks, translating private IP addresses to a public address for outbound traffic, thus providing the required internet access and security.

Why this answer

The Remote Access role in Windows Server 2022 includes the NAT functionality required to route traffic from a private network to a public one. By enabling NAT within the Routing and Remote Access Service (RRAS), the server masks the private IP addresses of the internal clients, allowing them to access the internet through a single public IP address assigned to the gateway's external interface.

Exam trap

Candidates frequently confuse the 'Routing and Remote Access' role with simply 'Network Policy Server' or standard routing settings, forgetting that NAT is a specific service within RRAS.

75
MCQhard

You manage a Windows Server 2022 Hyper-V host that runs a virtual machine named VM-WEB. The VM uses a dynamically expanding VHDX and has checkpoints enabled. A user reports that the VM's disk performance has degraded over time. You discover that there are multiple checkpoints, and the VHDX has a large number of differencing disks in the chain. You need to improve disk performance and reduce the checkpoint chain. What should you do?

A.Enable write-back caching on the virtual disk.
B.Convert the VHDX to a fixed-size disk using Convert-VHD.
C.Move the VHDX to a faster storage volume using Storage Migration.
D.Delete all checkpoints and then run Optimize-VHD on the base VHDX.
AnswerD

Deleting checkpoints merges the differencing disks back into the parent VHDX, reducing the chain and improving read performance. After the merge, running Optimize-VHD compacts the base VHDX, reclaiming unused space. This addresses both the performance degradation from the long chain and the disk size. It is the correct sequence to restore performance.

Why this answer

Multiple checkpoints create a chain of differencing disks that must be read through, degrading performance. Deleting checkpoints merges them into the parent VHDX, and then optimizing the VHDX reclaims space. Converting to fixed, enabling caching, or moving storage do not eliminate the chain.

Exam trap

The trap here is thinking that moving to faster storage or converting disk type will fix performance, but the checkpoint chain itself must be merged by deleting checkpoints.

Page 1 of 4

Page 2

All pages