Courseiva

Microsoft Windows Server Administrator Associate (AZ-802) — Questions 226–237

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

Page 3

Page 4 of 4

226
MCQmedium

Refer to the exhibit. You are managing a Storage Spaces Direct cluster and run the Get-PhysicalDisk command on a node. You need to replace PhysicalDisk2 while ensuring the storage pool remains operational. Which PowerShell cmdlet should you run first to prepare the disk for removal?

A.Set-PhysicalDisk -FriendlyName PhysicalDisk2 -Usage Retired
B.Remove-PhysicalDisk -FriendlyName PhysicalDisk2
C.Reset-PhysicalDisk -FriendlyName PhysicalDisk2
D.Repair-VirtualDisk -FriendlyName Volume1
AnswerA

This cmdlet is the essential first step in the replacement process. By setting the usage to 'Retired', you signal to the Storage Spaces engine that the disk should no longer be used for new allocations. This triggers the automatic repair process where the system re-allocates data to other disks to restore redundancy.

Why this answer

When a disk shows a predictive failure or is unhealthy, it must be retired before it is physically removed from the server. Retiring a disk informs the storage pool to stop writing new data to that specific disk and to start moving existing data to other healthy disks in the pool to maintain the required data resiliency levels.

Exam trap

Candidates often jump directly to 'Remove-PhysicalDisk', but the system will often block removal if the disk is still 'Active' and hasn't been logically retired by the administrator first.

227
MCQmedium

You are an administrator for a Windows Server 2025 Active Directory domain. The domain has three sites: Site-A, Site-B, and Site-C. Each site has one domain controller. The network links between sites are all 10 Mbps, and you want to control replication traffic to minimize bandwidth usage during business hours. You need to configure site link replication so that replication between Site-A and Site-B occurs only between 8:00 PM and 6:00 AM, Monday through Friday, and replication between Site-B and Site-C occurs only between 10:00 PM and 4:00 AM, Monday through Friday. What should you do?

A.Create two site link bridges: one for Site-A and Site-B, and one for Site-B and Site-C. Configure the schedule on each bridge.
B.Create a new site link that includes Site-A and Site-C, and configure the schedule on that link to the required hours.
C.Create one site link that includes all three sites. Configure the schedule to allow replication only between 8:00 PM and 6:00 AM.
D.Create two site links: one for Site-A and Site-B, and one for Site-B and Site-C. Configure the schedule on each site link to the required hours.
AnswerD

Site link schedules control when replication can occur over that link. By creating separate site links for each pair of sites, you can set independent schedules. The schedule for the Site-A–Site-B link can be set to 8 PM–6 AM, and the Site-B–Site-C link to 10 PM–4 AM. This meets the requirement to control replication traffic per link and minimizes bandwidth usage during business hours.

Why this answer

Site link schedules determine when replication is permitted over that specific link. To apply different replication windows for the Site-A–Site-B path and the Site-B–Site-C path, you must create separate site links for each pair of sites and configure the schedule on each link individually. A single site link covering all sites would impose one schedule on all paths, and site link bridges do not have schedules.

Therefore, creating two distinct site links with the appropriate schedules is the correct solution.

Exam trap

The trap here is thinking that site link bridges can have schedules or that a single site link can apply different schedules per pair of sites, when schedules are properties of site links and each link requires its own schedule.

228
MCQhard

You manage a Windows Server 2022 file server that hosts a shared folder for a research team. The team uses many small files and some large datasets. You need to enable Data Deduplication on the volume. You want to ensure that deduplication does not interfere with the team's access to files during business hours. Which optimization schedule should you configure?

A.Disable automatic optimization and run it manually only when storage is low.
B.Schedule optimization to run only outside business hours, such as nightly at 2:00 AM.
C.Run optimization continuously with a minimum duration of 1 hour.
D.Configure optimization to run every hour with a maximum duration of 15 minutes.
AnswerB

Scheduling optimization outside business hours ensures that deduplication processing does not compete with user file access during peak times. The research team can work without performance degradation, and deduplication can still run regularly to reclaim space. This is the recommended practice for production file servers with active users. It balances storage efficiency with user experience.

Why this answer

Scheduling Data Deduplication optimization to run outside business hours, such as nightly, prevents resource contention with user file access. The research team can work without slowdowns, and deduplication still runs regularly to optimize storage. This is the standard best practice for active file servers.

It directly satisfies the requirement to avoid interference during business hours.

Exam trap

The trap here is assuming that more frequent optimization is always better, without considering the impact on user performance during working hours.

229
MCQeasy

An administrator is concerned about man-in-the-middle attacks where an attacker intercepts and modifies SMB traffic between a Windows Server 2022 file server and its clients. Which security feature should be enforced to ensure the integrity and authenticity of the SMB traffic?

A.NTFS Permissions
B.Access-Based Enumeration
C.SMB Signing
D.Disk Quotas
AnswerC

SMB Signing provides a digital signature for every SMB packet. If an attacker modifies a packet in transit, the signature will no longer match, and the receiving system will discard the tampered data. This effectively mitigates man-in-the-middle attacks by ensuring the authenticity and integrity of the communication channel between endpoints.

Why this answer

SMB Signing is a security mechanism in the SMB protocol that allows for the digital signing of SMB packets. This prevents the modification of data in transit and protects against man-in-the-middle attacks. Enforcing this feature ensures that both the client and the server can verify the origin and integrity of every packet exchanged during a session.

Exam trap

Candidates often confuse SMB Signing with SMB Encryption. While both improve security, signing specifically addresses data integrity and man-in-the-middle attacks, whereas encryption focuses on data confidentiality.

230
MCQeasy

You are deploying a new Windows Server 2022 virtual machine on a Hyper-V host. The VM will run a legacy application that requires a specific MAC address to be used for licensing. You need to ensure that the virtual machine always uses a fixed MAC address of 00-15-5D-00-12-34. What should you configure?

A.Set the virtual network adapter to use a static MAC address and enter the required address.
B.Create a new virtual switch and assign it to the VM.
C.Configure a DHCP reservation for the MAC address on the DHCP server.
D.Enable MAC address spoofing on the virtual network adapter.
AnswerA

Hyper-V allows you to configure a static MAC address on a virtual network adapter. This ensures the VM always uses the specified address, which is required for the legacy application licensing. Static MAC addresses are entered manually and remain fixed until changed, unlike dynamic addresses that are assigned from a pool.

Why this answer

To ensure a VM always uses a specific MAC address, you configure a static MAC address on its virtual network adapter. This setting overrides the dynamic MAC address pool and guarantees the address remains constant. MAC address spoofing, DHCP reservations, and virtual switch changes do not provide a fixed MAC address for the VM.

Exam trap

The trap here is thinking that DHCP reservations or spoofing control the MAC address, when only the static MAC address setting on the adapter does.

231
Multi-Selectmedium

You are securing a Windows Server 2022 instance against potential malware. Which THREE actions are recommended to minimize the attack surface?

Select 3 answers
A.Disable unnecessary services and features.
B.Install all available third-party toolbars and plugins.
C.Apply the Windows Defender Exploit Guard policy.
D.Configure Windows Firewall to allow all inbound traffic.
E.Implement AppLocker or Windows Defender Application Control.
AnswersA, C, E

Disabling unneeded services and features removes potential entry points and reduces the number of running processes. Each active service represents a potential vulnerability; by minimizing the count, you simplify the security footprint and significantly lower the probability of an attacker finding a weakness to exploit in background services.

Why this answer

Option A is correct because disabling unnecessary services and features reduces the number of listening ports, running processes, and potential vulnerabilities that malware can exploit on Windows Server 2022. Option C is correct because Windows Defender Exploit Guard provides mitigations such as Attack Surface Reduction (ASR) rules, Controlled Folder Access, and exploit protection that harden the OS against common malware techniques. Option E is correct because AppLocker and Windows Defender Application Control (WDAC) enforce application allowlisting, ensuring only trusted, signed, or approved binaries can execute, which blocks unauthorized malware from running.

Option B is incorrect because installing third-party toolbars and plugins increases the attack surface and introduces untrusted code. Option D is incorrect because allowing all inbound traffic on Windows Firewall removes a critical network-layer control and exposes services to exploitation.

Exam trap

AZ-802 often tests whether candidates recognize that adding software (toolbars, plugins) or opening firewall ports increases attack surface — the trap is picking convenience-oriented options that sound helpful but weaken security.

232
Multi-Selecthard

You are using Azure Policy guest configuration to audit security settings inside your Azure Arc-enabled Windows Servers. To ensure the audit results are successfully reported to the Azure portal, which TWO components must be present and functional on the servers? (Select TWO)

Select 2 answers
A.A system-assigned Managed Identity for the Arc resource.
B.The Guest Configuration extension (AzurePolicyforWindows).
C.An Azure Automation Hybrid Runbook Worker.
D.The Log Analytics Agent (Microsoft Monitoring Agent).
E.A local administrator account with a specific password.
AnswersA, B

Azure Arc-enabled servers must have a Managed Identity to authenticate to the Guest Configuration service in Azure. Without this identity, the agent cannot securely transmit the results of the local audits back to the Azure Policy engine, resulting in a 'Missing' or 'Non-compliant' status in the portal.

Why this answer

Azure Policy guest configuration requires a combination of identity and software to function on non-Azure machines. The Managed Identity allows the server to authenticate securely with Azure to upload audit data, while the Guest Configuration extension provides the actual engine that runs the PowerShell Desired State Configuration (DSC) scripts locally to evaluate compliance against the defined policy.

Exam trap

Candidates often mistake the Log Analytics Agent or Azure Monitor Agent as the reporting mechanism for Guest Configuration, when it actually uses its own extension and managed identity.

233
MCQhard

You manage a Windows Server 2022 Hyper-V failover cluster with three nodes. A virtual machine named VM-FIN runs a financial application and must remain available if a single cluster node fails. You need to configure VM-FIN so that it automatically restarts on another node after a node failure, while minimizing downtime. Which setting should you configure in the VM's failover settings?

A.Enable the 'Automatically start the virtual machine if it was running when the cluster node failed' option in the VM's failover settings.
B.Set the virtual machine's automatic stop action to 'Save the virtual machine state'.
C.Configure a preferred owner list that includes all three cluster nodes in a specific order.
D.Set the virtual machine's priority to High in the cluster role properties.
AnswerA

This failover setting instructs the cluster to restart the VM on a surviving node if the node hosting it fails while the VM was running. It is the specific configuration that provides automatic recovery for a highly available VM. Combined with appropriate failover and preferred owner settings, it ensures VM-FIN comes back online on another node with minimal downtime, satisfying the availability requirement in the scenario.

Why this answer

For a highly available VM in a failover cluster, the setting that enables the cluster to restart the VM on another node after a node failure is the automatic start option in the VM's failover settings. This option works with the cluster's health monitoring to detect the failure and bring the VM online elsewhere. Preferred owners and priority only affect placement and ordering, and the automatic stop action applies to graceful host shutdowns, not to unplanned failures.

Exam trap

The trap here is confusing placement or priority settings, which influence where and in what order a VM starts, with the automatic restart setting that actually triggers recovery after an unexpected node failure.

234
MCQmedium

An organization uses Azure Files to store sensitive company data. They need to ensure that users can only access the files if they are authenticated via their on-premises Active Directory Domain Services (AD DS). Which technology should be implemented to support this?

A.Shared Access Signatures (SAS)
B.Azure AD DS Authentication
C.AD DS Authentication for Azure Files
D.Storage Account Access Keys
AnswerC

By domain-joining the Azure Storage account to the on-premises AD DS environment, users can access Azure file shares using their existing domain credentials. This method supports the enforcement of share-level permissions via Azure RBAC and directory/file-level permissions via standard NTFS ACLs, providing a familiar management model for Windows administrators.

Why this answer

AD DS Authentication for Azure Files enables SMB access to Azure file shares using on-premises Active Directory Domain Services credentials. The storage account is domain-joined to the on-premises AD DS, and users are authenticated via Kerberos against their domain identities. This satisfies the requirement that users authenticate via on-premises AD DS.

Exam trap

The trap is confusing Azure AD DS Authentication with AD DS Authentication for Azure Files; the former uses a cloud-managed domain, while the latter specifically uses on-premises AD DS.

How to eliminate wrong answers

Option A is wrong because Shared Access Signatures are bearer tokens that grant time-limited access to storage resources without user identity authentication; they do not integrate with AD DS. Option B is wrong because Azure AD DS Authentication uses Azure Active Directory Domain Services (a cloud-managed domain), not on-premises AD DS. Option D is wrong because Storage Account Access Keys provide full administrative access to the storage account and are not user-based authentication.

235
MCQmedium

You have a user named User1 who is a member of two groups: GroupA and GroupB. You apply a Fine-Grained Password Policy (FGPP) to GroupA with a precedence of 50. You apply another FGPP to GroupB with a precedence of 10. Which policy will be applied to User1?

A.The policy applied to GroupA because 50 is a higher value.
B.Both policies will be merged, and the most restrictive settings will apply.
C.The policy applied to GroupB because 10 is a lower precedence value.
D.The Default Domain Policy will take precedence over both.
AnswerC

The PSO with the lowest numerical value in the precedence attribute takes priority. Since GroupB's policy has a precedence of 10, it is considered more important than GroupA's policy with a precedence of 50, and its settings will be the ones enforced for User1's password and lockout requirements.

Why this answer

Fine-Grained Password Policies (FGPPs) use precedence values where a lower number indicates higher precedence. Since GroupB's policy has a precedence of 10 (lower than GroupA's 50), the policy applied to GroupB will be applied to User1.

Exam trap

The trap is assuming that a higher precedence number means higher priority — in AD FGPP, lower numbers win, which is counterintuitive for many candidates.

How to eliminate wrong answers

Option A is wrong because a higher precedence value (50) means lower priority; precedence 10 wins. Option B is wrong because FGPPs are not merged; the single policy with the lowest precedence value that applies to the user is enforced. Option D is wrong because the Default Domain Policy only applies if no FGPP applies to the user; here, an FGPP does apply.

236
MCQmedium

You need to apply a stricter password policy to a group of executives than the one defined in the Default Domain Policy. You want to achieve this without creating a separate domain. Which feature should you implement?

A.A new Group Policy Object (GPO) linked to an Organizational Unit.
B.Fine-Grained Password Policies (FGPP).
C.The 'Password never expires' attribute on user accounts.
D.A selective trust relationship with a secure forest.
AnswerB

FGPP utilizes Password Settings Objects (PSOs) to override the domain-wide password policy for specific users or global security groups. This allows for higher complexity or shorter expiration periods for sensitive accounts, like executives, while maintaining a single domain structure for the rest of the organization.

Why this answer

Fine-Grained Password Policies (FGPP) allow multiple password and lockout policies within a single domain, applied to users or global security groups via Password Settings Objects (PSOs). This is the only supported way to enforce a stricter policy for a subset of users (e.g., executives) without creating a new domain.

Exam trap

The trap is assuming OU-linked GPOs can enforce password policy — in AD DS, password policy is domain-wide unless FGPP/PSOs are used.

How to eliminate wrong answers

Option A is wrong because GPO-linked password policies only apply at the domain level — the Default Domain Policy or a GPO linked to the domain root controls domain password settings; OU-linked GPOs cannot override them. Option C is wrong because 'Password never expires' weakens security and does not implement a stricter policy. Option D is wrong because a selective trust relationship with another forest does not change password policy within the current domain — it governs authentication trust, not policy enforcement.

237
MCQeasy

You are creating a new virtual machine that will run Windows Server 2022. You need to ensure the VM supports Secure Boot and can boot from a SCSI virtual hard disk. Which VM generation should you select?

A.Generation 1
B.Generation 2
C.Generation 3
D.Azure Edition
AnswerB

Generation 2 virtual machines use UEFI firmware and support modern features such as Secure Boot, TPM, and booting from SCSI-attached virtual hard disks. They offer better performance and security than Generation 1 and are the recommended choice for all supported 64-bit versions of Windows Server.

Why this answer

Generation 2 virtual machines in Hyper-V and Azure support UEFI-based firmware, which is a prerequisite for Secure Boot. Generation 1 VMs use legacy BIOS, which does not support Secure Boot. Additionally, Generation 2 VMs support booting from SCSI virtual hard disks, whereas Generation 1 VMs require an IDE controller for the boot drive.

Exam trap

Candidates often confuse Generation 1 and 2 capabilities. Remember that Generation 1 is primarily for legacy support and does not support modern features like Secure Boot or TPM 2.0.

Page 3

Page 4 of 4

All pages