McAfee Secure

Exam Code: AZ-802

Exam Name: Administering Windows Server

Certification Provider: Microsoft

Microsoft AZ-802 Questions & Answers

Study with Up-To-Date REAL Exam Questions and Answers from the ACTUAL Test

227 Questions & Answers with Testing Engine

"Administering Windows Server Exam", also known as AZ-802 exam, is a Microsoft certification exam.

Pass your tests with the always up-to-date AZ-802 Exam Engine. Your AZ-802 training materials keep you at the head of the pack!

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Was: $137.49
Now: $124.99

Microsoft AZ-802 Practice Test 23

Question 220

A support escalation describes this server-management problem: An application owner needs GUI interaction with a Hyper-V guest but mistakenly enables RDP to the whole physical host when only the guest console is required. What preventive check belongs in the future operations procedure?

  1. Review JEA role capability files and test escape paths whenever delegated tasks expand.
  2. Document separation of host management privileges and guest operator access.
  3. Document second-hop delegation boundaries and avoid broad unconstrained delegation or reused privileged credentials.
  4. Reconcile cloud registration inventories against the actual on-premises server inventory.

Explanation

Correct Answer

B:

Document separation of host management privileges and guest operator access. This safeguard addresses recurrence of the same root issue. The controlling behavior is: A guest console connection and management access to the Hyper-V host have different privilege and network implications. A subsequent check should verify: The operator reaches the intended guest console without receiving unrestricted remote desktop access to the Hyper-V host.

Incorrect Answers

A:

JEA limits available PowerShell commands and administrative rights for a delegated task instead of granting full local administrator access. The repeat risk here is different: a guest console connection and management access to the Hyper-V host have different privilege and network implications. A directly relevant preventive control is: Document separation of host management privileges and guest operator access.

C:

PowerShell remoting's second-hop authentication is constrained when reusable credentials are not delegated to a downstream resource. The repeat risk here is different: a guest console connection and management access to the Hyper-V host have different privilege and network implications. A directly relevant preventive control is: Document separation of host management privileges and guest operator access.

D:

A management console view and a registered Azure resource are distinct states; cloud operations depend on agent registration and authorization. The repeat risk here is different: a guest console connection and management access to the Hyper-V host have different privilege and network implications. A directly relevant preventive control is: Document separation of host management privileges and guest operator access.

Question 221

During a controlled deployment review, the team finds this issue: An RDP login works for local administrators but is denied for an authorized operations group after a GPO adjustment to user rights assignments. What should the administrator implement to meet the intended outcome?

  1. Configure the approved WinRM listeners, service authentication, and firewall rules between the gateway and managed servers.
  2. Restrict RDP behind an approved protected administrative path such as a private VPN or Bastion, and enforce user authorization.
  3. Select a supported delegation approach such as constrained delegation or a properly scoped credential handoff for the second network hop.
  4. Correct Remote Desktop Services sign-in rights and local group authorization for the operations role without granting Domain Admin privileges.

Explanation

Correct Answer

D:

Correct Remote Desktop Services sign-in rights and local group authorization for the operations role without granting Domain Admin privileges. This action addresses the stated situation because rDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials. An acceptance test should show: Operations-group users sign in to approved servers, and excluded accounts continue to fail.

Incorrect Answers

A:

Remote Windows Admin Center operations commonly rely on configured management protocols; DNS or ICMP reachability alone does not provide WinRM authorization. The actual fault is governed by a different mechanism: RDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials. The needed response is: Correct Remote Desktop Services sign-in rights and local group authorization for the operations role without granting Domain Admin privileges.

B:

Publishing RDP publicly increases attack exposure; remote desktop capability does not require direct Internet access to each server. The actual fault is governed by a different mechanism: RDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials. The needed response is: Correct Remote Desktop Services sign-in rights and local group authorization for the operations role without granting Domain Admin privileges.

C:

PowerShell remoting's second-hop authentication is constrained when reusable credentials are not delegated to a downstream resource. The actual fault is governed by a different mechanism: RDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials. The needed response is: Correct Remote Desktop Services sign-in rights and local group authorization for the operations role without granting Domain Admin privileges.

Question 222

The following AD DS, server, or Azure workload concern is reported: An RDP login works for local administrators but is denied for an authorized operations group after a GPO adjustment to user rights assignments. What underlying platform behavior must the team account for?

  1. RDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials.
  2. Remote Windows Admin Center operations commonly rely on configured management protocols; DNS or ICMP reachability alone does not provide WinRM authorization.
  3. A management console view and a registered Azure resource are distinct states; cloud operations depend on agent registration and authorization.
  4. PowerShell remoting depends on name resolution, network access, and an enabled compatible listener as well as valid identity.

Explanation

Correct Answer

A:

RDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials. This is the governing technical behavior for the scenario. The appropriate response is: Correct Remote Desktop Services sign-in rights and local group authorization for the operations role without granting Domain Admin privileges. Its intended result is: Operations-group users sign in to approved servers, and excluded accounts continue to fail.

Incorrect Answers

B:

RDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials. The offered choice instead concerns a different principle: Remote Windows Admin Center operations commonly rely on configured management protocols; DNS or ICMP reachability alone does not provide WinRM authorization. Those technical conditions are not interchangeable.

C:

RDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials. The offered choice instead concerns a different principle: a management console view and a registered Azure resource are distinct states; cloud operations depend on agent registration and authorization. Those technical conditions are not interchangeable.

D:

RDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials. The offered choice instead concerns a different principle: PowerShell remoting depends on name resolution, network access, and an enabled compatible listener as well as valid identity. Those technical conditions are not interchangeable.

Question 223

An administrator is assigned this hybrid infrastructure incident: An RDP login works for local administrators but is denied for an authorized operations group after a GPO adjustment to user rights assignments. Which result verifies this particular operational objective?

  1. The scheduled task runs with only required permissions and secret scanning finds no embedded administrator password.
  2. Operations-group users sign in to approved servers, and excluded accounts continue to fail.
  3. An approved automation identity connects over SSH while unauthorized networks and accounts are rejected.
  4. The operator reaches the intended guest console without receiving unrestricted remote desktop access to the Hyper-V host.

Explanation

Correct Answer

B:

Operations-group users sign in to approved servers, and excluded accounts continue to fail. The intended change is: Correct Remote Desktop Services sign-in rights and local group authorization for the operations role without granting Domain Admin privileges. The reason it works is that rDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials.

Incorrect Answers

A:

Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. In the case being tested, RDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials. The necessary acceptance evidence is: Operations-group users sign in to approved servers, and excluded accounts continue to fail.

C:

Remote SSH access requires a running listener and reachable permitted network path, with authentication rights constrained separately. In the case being tested, RDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials. The necessary acceptance evidence is: Operations-group users sign in to approved servers, and excluded accounts continue to fail.

D:

A guest console connection and management access to the Hyper-V host have different privilege and network implications. In the case being tested, RDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials. The necessary acceptance evidence is: Operations-group users sign in to approved servers, and excluded accounts continue to fail.

Question 224

An engineering team must address the following environment: An RDP login works for local administrators but is denied for an authorized operations group after a GPO adjustment to user rights assignments. Which routine control best maintains the intended outcome?

  1. Document second-hop delegation boundaries and avoid broad unconstrained delegation or reused privileged credentials.
  2. Reassess RDP enablement, network segmentation, and privileged access rights during server reviews.
  3. Review RDP user rights and deny-logon policies in the server security baseline.
  4. Enforce secret scanning, credential rotation, and role-limited automation reviews.

Explanation

Correct Answer

C:

Review RDP user rights and deny-logon policies in the server security baseline. This safeguard addresses recurrence of the same root issue. The controlling behavior is: RDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials. A subsequent check should verify: Operations-group users sign in to approved servers, and excluded accounts continue to fail.

Incorrect Answers

A:

PowerShell remoting's second-hop authentication is constrained when reusable credentials are not delegated to a downstream resource. The repeat risk here is different: RDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials. A directly relevant preventive control is: Review RDP user rights and deny-logon policies in the server security baseline.

B:

Publishing RDP publicly increases attack exposure; remote desktop capability does not require direct Internet access to each server. The repeat risk here is different: RDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials. A directly relevant preventive control is: Review RDP user rights and deny-logon policies in the server security baseline.

D:

Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. The repeat risk here is different: RDP authorization requires compatible user rights and policy settings in addition to TCP reachability and valid credentials. A directly relevant preventive control is: Review RDP user rights and deny-logon policies in the server security baseline.

Question 225

A Windows Server platform owner reports this condition: A server management team stores domain-admin credentials directly in a shared PowerShell script because a scheduled remote maintenance command needs elevation. Which administrative action most directly resolves the stated requirement?

  1. Use an approved least-privilege managed identity or delegated execution endpoint, and remove embedded credentials from the script.
  2. Deploy a secured Windows Admin Center gateway with management rights to the targeted servers.
  3. Configure the approved WinRM listeners, service authentication, and firewall rules between the gateway and managed servers.
  4. Configure the supported OpenSSH server service, authentication method, and tightly scoped port access for the automation identities.

Explanation

Correct Answer

A:

Use an approved least-privilege managed identity or delegated execution endpoint, and remove embedded credentials from the script. This action addresses the stated situation because hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. An acceptance test should show: The scheduled task runs with only required permissions and secret scanning finds no embedded administrator password.

Incorrect Answers

B:

Windows Admin Center centralizes supported server management tasks through a web gateway while the managed servers can remain Server Core installations. The actual fault is governed by a different mechanism: Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. The needed response is: Use an approved least-privilege managed identity or delegated execution endpoint, and remove embedded credentials from the script.

C:

Remote Windows Admin Center operations commonly rely on configured management protocols; DNS or ICMP reachability alone does not provide WinRM authorization. The actual fault is governed by a different mechanism: Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. The needed response is: Use an approved least-privilege managed identity or delegated execution endpoint, and remove embedded credentials from the script.

D:

Remote SSH access requires a running listener and reachable permitted network path, with authentication rights constrained separately. The actual fault is governed by a different mechanism: Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. The needed response is: Use an approved least-privilege managed identity or delegated execution endpoint, and remove embedded credentials from the script.

Question 226

An enterprise administrator investigates the following scenario: A server management team stores domain-admin credentials directly in a shared PowerShell script because a scheduled remote maintenance command needs elevation. What dependency most directly determines the correct design?

  1. Remote Windows Admin Center operations commonly rely on configured management protocols; DNS or ICMP reachability alone does not provide WinRM authorization.
  2. Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist.
  3. JEA limits available PowerShell commands and administrative rights for a delegated task instead of granting full local administrator access.
  4. PowerShell remoting depends on name resolution, network access, and an enabled compatible listener as well as valid identity.

Explanation

Correct Answer

B:

Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. This is the governing technical behavior for the scenario. The appropriate response is: Use an approved least-privilege managed identity or delegated execution endpoint, and remove embedded credentials from the script. Its intended result is: The scheduled task runs with only required permissions and secret scanning finds no embedded administrator password.

Incorrect Answers

A:

Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. The offered choice instead concerns a different principle: Remote Windows Admin Center operations commonly rely on configured management protocols; DNS or ICMP reachability alone does not provide WinRM authorization. Those technical conditions are not interchangeable.

C:

Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. The offered choice instead concerns a different principle: JEA limits available PowerShell commands and administrative rights for a delegated task instead of granting full local administrator access. Those technical conditions are not interchangeable.

D:

Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. The offered choice instead concerns a different principle: PowerShell remoting depends on name resolution, network access, and an enabled compatible listener as well as valid identity. Those technical conditions are not interchangeable.

Question 227

Consider this production change scenario: A server management team stores domain-admin credentials directly in a shared PowerShell script because a scheduled remote maintenance command needs elevation. Which measurement or test would establish that the fix worked?

  1. The delegated remote command reads only the authorized downstream share, and an unapproved destination remains inaccessible.
  2. `Test-WSMan` and an approved remote command succeed after fixing the actual connectivity or listener problem.
  3. The scheduled task runs with only required permissions and secret scanning finds no embedded administrator password.
  4. An approved operator connects through the protected entry point, while Internet scanning cannot reach the server's RDP port.

Explanation

Correct Answer

C:

The scheduled task runs with only required permissions and secret scanning finds no embedded administrator password. The intended change is: Use an approved least-privilege managed identity or delegated execution endpoint, and remove embedded credentials from the script. The reason it works is that hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist.

Incorrect Answers

A:

PowerShell remoting's second-hop authentication is constrained when reusable credentials are not delegated to a downstream resource. In the case being tested, Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. The necessary acceptance evidence is: The scheduled task runs with only required permissions and secret scanning finds no embedded administrator password.

B:

PowerShell remoting depends on name resolution, network access, and an enabled compatible listener as well as valid identity. In the case being tested, Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. The necessary acceptance evidence is: The scheduled task runs with only required permissions and secret scanning finds no embedded administrator password.

D:

Publishing RDP publicly increases attack exposure; remote desktop capability does not require direct Internet access to each server. In the case being tested, Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. The necessary acceptance evidence is: The scheduled task runs with only required permissions and secret scanning finds no embedded administrator password.

Question 228

During a controlled deployment review, the team finds this issue: A server management team stores domain-admin credentials directly in a shared PowerShell script because a scheduled remote maintenance command needs elevation. What should the team add to its maintenance checklist?

  1. Restrict the gateway to management networks, enforce TLS and administrative roles, and audit its target access.
  2. Review JEA role capability files and test escape paths whenever delegated tasks expand.
  3. Reconcile cloud registration inventories against the actual on-premises server inventory.
  4. Enforce secret scanning, credential rotation, and role-limited automation reviews.

Explanation

Correct Answer

D:

Enforce secret scanning, credential rotation, and role-limited automation reviews. This safeguard addresses recurrence of the same root issue. The controlling behavior is: Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. A subsequent check should verify: The scheduled task runs with only required permissions and secret scanning finds no embedded administrator password.

Incorrect Answers

A:

Windows Admin Center centralizes supported server management tasks through a web gateway while the managed servers can remain Server Core installations. The repeat risk here is different: Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. A directly relevant preventive control is: Enforce secret scanning, credential rotation, and role-limited automation reviews.

B:

JEA limits available PowerShell commands and administrative rights for a delegated task instead of granting full local administrator access. The repeat risk here is different: Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. A directly relevant preventive control is: Enforce secret scanning, credential rotation, and role-limited automation reviews.

C:

A management console view and a registered Azure resource are distinct states; cloud operations depend on agent registration and authorization. The repeat risk here is different: Hard-coded privileged secrets are exposed to anyone able to read scripts and are unnecessary when supported delegated execution mechanisms exist. A directly relevant preventive control is: Enforce secret scanning, credential rotation, and role-limited automation reviews.

Question 229

A technical operations board evaluates this case: A stand-alone on-premises Windows Server needs Azure Policy and inventory management without becoming an Azure virtual machine. Which change is appropriate before declaring this deployment ready?

  1. Deploy the supported extension to the Arc-enabled server resource with the appropriate Arc extension type and identity permissions.
  2. Onboard the machine as an Azure Arc–enabled server with the connected machine agent and a scoped Azure resource identity.
  3. Reconcile and remove or re-onboard the orphaned Arc resource under the approved asset lifecycle workflow.
  4. Narrow the maintenance assignment, scope, and schedule to the approved server group and window before further patching.

Explanation

Correct Answer

B:

Onboard the machine as an Azure Arc–enabled server with the connected machine agent and a scoped Azure resource identity. This action addresses the stated situation because azure Arc projects eligible non-Azure servers into Azure resource management without physically relocating their workloads. An acceptance test should show: The machine reports Connected in Azure Arc and receives the expected policy assignment while remaining on premises.

Incorrect Answers

A:

Azure Arc supports extensions on registered non-Azure machines, but the target resource provider and agent must match the host type. The actual fault is governed by a different mechanism: Azure Arc projects eligible non-Azure servers into Azure resource management without physically relocating their workloads. The needed response is: Onboard the machine as an Azure Arc–enabled server with the connected machine agent and a scoped Azure resource identity.

C:

Azure resource records can outlive installed agents, so decommissioning requires cloud and local inventory cleanup. The actual fault is governed by a different mechanism: Azure Arc projects eligible non-Azure servers into Azure resource management without physically relocating their workloads. The needed response is: Onboard the machine as an Azure Arc–enabled server with the connected machine agent and a scoped Azure resource identity.

D:

Dynamic maintenance scope determines which resources receive scheduled patch work; broad filters can include unintended machines. The actual fault is governed by a different mechanism: Azure Arc projects eligible non-Azure servers into Azure resource management without physically relocating their workloads. The needed response is: Onboard the machine as an Azure Arc–enabled server with the connected machine agent and a scoped Azure resource identity.

Question 230

A Windows Server operations review identifies the following situation: A stand-alone on-premises Windows Server needs Azure Policy and inventory management without becoming an Azure virtual machine. What is the controlling technology constraint in this case?

  1. Least-privilege resource permissions allow required extension operations without exposing broader Azure management rights.
  2. Azure Arc control-plane connectivity depends on agent communication to Azure endpoints; on-premises application health can remain unaffected.
  3. Azure Arc projects eligible non-Azure servers into Azure resource management without physically relocating their workloads.
  4. Azure Policy can evaluate selected Arc-enabled resources when the required machine configuration components and permissions exist.

Explanation

Correct Answer

C:

Azure Arc projects eligible non-Azure servers into Azure resource management without physically relocating their workloads. This is the governing technical behavior for the scenario. The appropriate response is: Onboard the machine as an Azure Arc–enabled server with the connected machine agent and a scoped Azure resource identity. Its intended result is: The machine reports Connected in Azure Arc and receives the expected policy assignment while remaining on premises.

Incorrect Answers

A:

Azure Arc projects eligible non-Azure servers into Azure resource management without physically relocating their workloads. The offered choice instead concerns a different principle: Least-privilege resource permissions allow required extension operations without exposing broader Azure management rights. Those technical conditions are not interchangeable.

B:

Azure Arc projects eligible non-Azure servers into Azure resource management without physically relocating their workloads. The offered choice instead concerns a different principle: Azure Arc control-plane connectivity depends on agent communication to Azure endpoints; on-premises application health can remain unaffected. Those technical conditions are not interchangeable.

D:

Azure Arc projects eligible non-Azure servers into Azure resource management without physically relocating their workloads. The offered choice instead concerns a different principle: Azure Policy can evaluate selected Arc-enabled resources when the required machine configuration components and permissions exist. Those technical conditions are not interchangeable.

Administering Windows Server (AZ-802) Practice Tests