cert
cert-1
cert-2

Pass Microsoft AZ-802 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
AZ-802 Exam - Verified By Experts
AZ-802 Premium File

AZ-802 Premium File

$89.99
$98.99
  • Premium File 227 Questions & Answers. Last Update: Nov 28, 2026

Whats Included:

  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
 
$98.99
$89.99
accept 95 downloads in the last 7 days
block-screenshots
Microsoft AZ-802 Practice Test 30

Question 290

A team exposes a custom remoting endpoint and must constrain which administrative cmdlets a contractor can run. The observed fault is: Giving unconstrained administrative PowerShell to support staff defeats least privilege despite a named endpoint. How should the administrator restore and verify the intended state?

  1. The corrective action is to correct JEA role definitions and test an allowed task and a rejected privileged action.
  2. The corrective action is to remove PowerShell transcripts to prevent seeing failed attempts.
  3. The corrective action is to give the contractor unconstrained PowerShell and rely on a verbal promise.
  4. The corrective action is to add every available cmdlet to the allowed role capability for easier support.

Explanation

Correct Answer

A:

Just Enough Administration restricts PowerShell remoting capabilities rather than giving callers blanket administrator command access. Recheck pSSession endpoint configuration, permitted command list, role mapping, transcript logs and attempted disallowed cmdlets.

Incorrect Answers

B:

Remove PowerShell transcripts to prevent seeing failed attempts. This cannot reliably restore the intended behavior. Giving unconstrained administrative PowerShell to support staff defeats least privilege despite a named endpoint. Instead, correct JEA role definitions and test an allowed task and a rejected privileged action.

C:

Give the contractor unconstrained PowerShell and rely on a verbal promise. This cannot reliably restore the intended behavior. Giving unconstrained administrative PowerShell to support staff defeats least privilege despite a named endpoint. Instead, correct JEA role definitions and test an allowed task and a rejected privileged action.

D:

Add every available cmdlet to the allowed role capability for easier support. This cannot reliably restore the intended behavior. Giving unconstrained administrative PowerShell to support staff defeats least privilege despite a named endpoint. Instead, correct JEA role definitions and test an allowed task and a rejected privileged action.

Question 291

A Linux-based automation host must reach Windows Server using an authorized SSH key but the sshd service is stopped. Which configuration decision most directly resolves this situation?

  1. Disable SSH authentication because the server lives behind a VPN.
  2. Make root-equivalent local permissions the default for all SSH users.
  3. Use a public DNS record to substitute for correct server-side authorized keys.
  4. Install or enable supported OpenSSH Server, configure approved keys and principals and restrict reachable management network sources.

Explanation

Correct Answer

D:

Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured. This is the targeted correction for openSSH server and key-based PowerShell administration.

Incorrect Answers

A:

An open TCP port alone does not prove the authorized SSH identity can log in with least privilege. Use install or enable supported OpenSSH Server, configure approved keys and principals and restrict reachable management network sources.

B:

Make root-equivalent local permissions the default for all SSH users. This alternative targets the wrong capability or ignores prerequisites. Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured. Relevant observations are sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command.

C:

An open TCP port alone does not prove the authorized SSH identity can log in with least privilege. The supported correction is install or enable supported OpenSSH Server, configure approved keys and principals and restrict reachable management network sources.

Question 292

A Linux-based automation host must reach Windows Server using an authorized SSH key but the sshd service is stopped. What evidence most strongly confirms the operational condition?

  1. A random RDP port scan without target identity and authorization results.
  2. sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command.
  3. An Arc resource name without its Connected Machine agent health.
  4. An unverified gateway screenshot from a different machine.

Explanation

Correct Answer

B:

Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured. These observations directly test openSSH server and key-based PowerShell administration under the actual system state.

Incorrect Answers

A:

A random RDP port scan without target identity and authorization results. That evidence cannot independently establish the specified result. The relevant evidence is sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command. Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured.

C:

An Arc resource name without its Connected Machine agent health. That evidence cannot independently establish the specified result. The relevant evidence is sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command. Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured.

D:

An unverified gateway screenshot from a different machine. That evidence cannot independently establish the specified result. The relevant evidence is sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command. Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured.

Question 293

A Linux-based automation host must reach Windows Server using an authorized SSH key but the sshd service is stopped. What Windows Server behavior explains the correct decision?

  1. Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured.
  2. An Azure Arc inventory record automatically executes every guest extension.
  3. Any Windows Server can run all remote management features without prerequisites.
  4. One Azure resource tag is sufficient proof every guest security setting was changed.

Explanation

Correct Answer

A:

Verification depends on sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command. This is why install or enable supported OpenSSH Server, configure approved keys and principals and restrict reachable management network sources.

Incorrect Answers

B:

An Azure Arc inventory record automatically executes every guest extension. That generalization is incorrect in the context of openSSH server and key-based PowerShell administration. The relevant behavior is Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured. Check sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command.

C:

Any Windows Server can run all remote management features without prerequisites. That generalization is incorrect in the context of openSSH server and key-based PowerShell administration. The relevant behavior is Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured. Check sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command.

D:

One Azure resource tag is sufficient proof every guest security setting was changed. That generalization is incorrect in the context of openSSH server and key-based PowerShell administration. The relevant behavior is Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured. Check sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command.

Question 294

A Linux-based automation host must reach Windows Server using an authorized SSH key but the sshd service is stopped. An operator instead chooses this incorrect shortcut: Disable SSH authentication because the server lives behind a VPN. Which resulting risk should the reviewer identify?

  1. An open TCP port alone does not prove the authorized SSH identity can log in with least privilege.
  2. A scoped administrator access test is the source of every VM network fault.
  3. Collecting audit events caused the missing WinRM authorization in advance.
  4. Recording remoting transcript logs created the original missing Azure Arc agent.

Explanation

Correct Answer

A:

Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured. The intended preventive choice is install or enable supported OpenSSH Server, configure approved keys and principals and restrict reachable management network sources.

Incorrect Answers

B:

This does not account for the actual openSSH server and key-based PowerShell administration weakness. The more relevant failure is an open TCP port alone does not prove the authorized SSH identity can log in with least privilege.

C:

This does not account for the actual openSSH server and key-based PowerShell administration weakness. Confirm with sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command.

D:

This does not account for the actual openSSH server and key-based PowerShell administration weakness. In this specific situation, a Linux-based automation host must reach Windows Server using an authorized SSH key but the sshd service is stopped.

Question 295

A Linux-based automation host must reach Windows Server using an authorized SSH key but the sshd service is stopped. The observed fault is: An open TCP port alone does not prove the authorized SSH identity can log in with least privilege. How should the administrator restore and verify the intended state?

  1. Make root-equivalent local permissions the default for all SSH users.
  2. Use a public DNS record to substitute for correct server-side authorized keys.
  3. Repair sshd authentication or access controls and verify one approved and one denied remote login.
  4. Disable SSH authentication because the server lives behind a VPN.

Explanation

Correct Answer

C:

Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured. This fixes the described operational problem with observable validation.

Incorrect Answers

A:

Make root-equivalent local permissions the default for all SSH users. This cannot reliably restore the intended behavior. An open TCP port alone does not prove the authorized SSH identity can log in with least privilege. Instead, repair sshd authentication or access controls and verify one approved and one denied remote login.

B:

Use a public DNS record to substitute for correct server-side authorized keys. This cannot reliably restore the intended behavior. An open TCP port alone does not prove the authorized SSH identity can log in with least privilege. Instead, repair sshd authentication or access controls and verify one approved and one denied remote login.

D:

Disable SSH authentication because the server lives behind a VPN. This cannot reliably restore the intended behavior. An open TCP port alone does not prove the authorized SSH identity can log in with least privilege. Instead, repair sshd authentication or access controls and verify one approved and one denied remote login.

Question 296

An organization exposes Windows Server OpenSSH management and needs to restrict allowed principals and authenticated shell access. Which administrator action meets the documented requirement?

  1. For this Windows Server deployment, make root-equivalent local permissions the default for all SSH users.
  2. For this Windows Server deployment, install or enable supported OpenSSH Server, configure approved keys and principals and restrict reachable management network sources.
  3. For this Windows Server deployment, use a public DNS record to substitute for correct server-side authorized keys.
  4. For this Windows Server deployment, disable SSH authentication because the server lives behind a VPN.

Explanation

Correct Answer

B:

Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured. Verify using sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command.

Incorrect Answers

A:

Make root-equivalent local permissions the default for all SSH users. This alternative targets the wrong capability or ignores prerequisites. Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured. Relevant observations are sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command.

C:

An open TCP port alone does not prove the authorized SSH identity can log in with least privilege. In this specific situation, an organization exposes Windows Server OpenSSH management and needs to restrict allowed principals and authenticated shell access.

D:

An open TCP port alone does not prove the authorized SSH identity can log in with least privilege. Disable SSH authentication because the server lives behind a VPN.

Question 297

An organization exposes Windows Server OpenSSH management and needs to restrict allowed principals and authenticated shell access. Which observations should the engineer inspect before declaring success?

  1. The supporting evidence is an old automation plan with no current worker or runbook execution.
  2. The supporting evidence is a random RDP port scan without target identity and authorization results.
  3. The supporting evidence is an Arc resource name without its Connected Machine agent health.
  4. The supporting evidence is sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command.

Explanation

Correct Answer

D:

Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured. The planned operation is install or enable supported OpenSSH Server, configure approved keys and principals and restrict reachable management network sources.

Incorrect Answers

A:

An old automation plan with no current worker or runbook execution. That evidence cannot independently establish the specified result. The relevant evidence is sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command. Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured.

B:

A random RDP port scan without target identity and authorization results. That evidence cannot independently establish the specified result. The relevant evidence is sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command. Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured.

C:

An Arc resource name without its Connected Machine agent health. That evidence cannot independently establish the specified result. The relevant evidence is sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command. Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured.

Question 298

An organization exposes Windows Server OpenSSH management and needs to restrict allowed principals and authenticated shell access. Which platform statement is MOST accurate for this scenario?

  1. The governing concept is that one Azure resource tag is sufficient proof every guest security setting was changed.
  2. The governing concept is that Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured.
  3. The governing concept is that an Azure Arc inventory record automatically executes every guest extension.
  4. The governing concept is that a successful WinRM connection grants every operator Domain Admin privileges.

Explanation

Correct Answer

B:

Verification depends on sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command.

Incorrect Answers

A:

One Azure resource tag is sufficient proof every guest security setting was changed. That generalization is incorrect in the context of openSSH server and key-based PowerShell administration. The relevant behavior is Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured. Check sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command.

C:

An Azure Arc inventory record automatically executes every guest extension. That generalization is incorrect in the context of openSSH server and key-based PowerShell administration. The relevant behavior is Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured. Check sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command.

D:

A successful WinRM connection grants every operator Domain Admin privileges. That generalization is incorrect in the context of openSSH server and key-based PowerShell administration. The relevant behavior is Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured. Check sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command.

Question 299

An organization exposes Windows Server OpenSSH management and needs to restrict allowed principals and authenticated shell access. An operator instead chooses this incorrect shortcut: Disable SSH authentication because the server lives behind a VPN. Which consequence BEST explains the flaw in the proposed change?

  1. The material failure is that recording remoting transcript logs created the original missing Azure Arc agent.
  2. The material failure is that the only issue is the name displayed on an unrelated portal card.
  3. The material failure is that collecting audit events caused the missing WinRM authorization in advance.
  4. The material failure is that an open TCP port alone does not prove the authorized SSH identity can log in with least privilege.

Explanation

Correct Answer

D:

Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured.

Incorrect Answers

A:

This does not account for the actual openSSH server and key-based PowerShell administration weakness. In this specific situation, an organization exposes Windows Server OpenSSH management and needs to restrict allowed principals and authenticated shell access.

B:

This does not account for the actual openSSH server and key-based PowerShell administration weakness. The only issue is the name displayed on an unrelated portal card.

C:

This does not account for the actual openSSH server and key-based PowerShell administration weakness. Collecting audit events caused the missing WinRM authorization in advance.

Question 300

An organization exposes Windows Server OpenSSH management and needs to restrict allowed principals and authenticated shell access. The observed fault is: An open TCP port alone does not prove the authorized SSH identity can log in with least privilege. Which remediation best corrects the root cause?

  1. The corrective action is to use a public DNS record to substitute for correct server-side authorized keys.
  2. The corrective action is to disable SSH authentication because the server lives behind a VPN.
  3. The corrective action is to make root-equivalent local permissions the default for all SSH users.
  4. The corrective action is to repair sshd authentication or access controls and verify one approved and one denied remote login.

Explanation

Correct Answer

D:

Windows Server can support SSH remoting when the service, authentication, authorization and network policy are deliberately configured. Recheck sshd service state, firewall rules, authorized_keys settings, login event and least-privilege remote command.

Incorrect Answers

A:

Use a public DNS record to substitute for correct server-side authorized keys. This cannot reliably restore the intended behavior. An open TCP port alone does not prove the authorized SSH identity can log in with least privilege. Instead, repair sshd authentication or access controls and verify one approved and one denied remote login.

B:

Disable SSH authentication because the server lives behind a VPN. This cannot reliably restore the intended behavior. An open TCP port alone does not prove the authorized SSH identity can log in with least privilege. Instead, repair sshd authentication or access controls and verify one approved and one denied remote login.

C:

Make root-equivalent local permissions the default for all SSH users. This cannot reliably restore the intended behavior. An open TCP port alone does not prove the authorized SSH identity can log in with least privilege. Instead, repair sshd authentication or access controls and verify one approved and one denied remote login.

Administering Windows Server (AZ-802) Practice Tests