Microsoft AZ-802 Practice Test 31
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?
- The corrective action is to use a public DNS record to substitute for correct server-side authorized keys.
- The corrective action is to disable SSH authentication because the server lives behind a VPN.
- The corrective action is to make root-equivalent local permissions the default for all SSH users.
- 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.
Question 301
A management laptop needs to connect to a Windows Server desktop but the account is not permitted to log on through RDP. Which administrator action meets the documented requirement?
- Use RDP with Network Level Authentication, appropriate Remote Desktop Users rights and scoped firewall or bastion access.
- Disable NLA and expose all servers directly on public IP addresses.
- Give an external vendor Domain Admin to fix one RDP denial.
- Assume successful WinRM remoting automatically grants desktop logon rights.
Explanation
Correct Answer
A:Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk. Verify using nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events.
Incorrect Answers
B:Enabling TCP 3389 for all Internet sources creates needless attack surface even if passwords are strong. Use use RDP with Network Level Authentication, appropriate Remote Desktop Users rights and scoped firewall or bastion access.
C:Give an external vendor Domain Admin to fix one RDP denial. This alternative targets the wrong capability or ignores prerequisites. Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk. Relevant observations are nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events.
D:Enabling TCP 3389 for all Internet sources creates needless attack surface even if passwords are strong. The supported correction is use RDP with Network Level Authentication, appropriate Remote Desktop Users rights and scoped firewall or bastion access.
Question 302
A management laptop needs to connect to a Windows Server desktop but the account is not permitted to log on through RDP. Which observations should the engineer inspect before declaring success?
- An old automation plan with no current worker or runbook execution.
- NLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events.
- A portal sign-in without a successful target Windows Server command.
- An Arc resource name without its Connected Machine agent health.
Explanation
Correct Answer
B:Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk. These observations directly test RDP network-level authentication and restricted exposure under the actual system state.
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 nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events. Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk.
C:A portal sign-in without a successful target Windows Server command. That evidence cannot independently establish the specified result. The relevant evidence is nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events. Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk.
D:An Arc resource name without its Connected Machine agent health. That evidence cannot independently establish the specified result. The relevant evidence is nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events. Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk.
Question 303
A management laptop needs to connect to a Windows Server desktop but the account is not permitted to log on through RDP. Which platform statement is MOST accurate for this scenario?
- Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk.
- A cloud Automation runbook always reaches all private on-premises networks.
- An Azure Arc inventory record automatically executes every guest extension.
- A successful WinRM connection grants every operator Domain Admin privileges.
Explanation
Correct Answer
A:Verification depends on nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events. This is why use RDP with Network Level Authentication, appropriate Remote Desktop Users rights and scoped firewall or bastion access.
Incorrect Answers
B:A cloud Automation runbook always reaches all private on-premises networks. That generalization is incorrect in the context of RDP network-level authentication and restricted exposure. The relevant behavior is remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk. Check nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events.
C:An Azure Arc inventory record automatically executes every guest extension. That generalization is incorrect in the context of RDP network-level authentication and restricted exposure. The relevant behavior is remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk. Check nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events.
D:A successful WinRM connection grants every operator Domain Admin privileges. That generalization is incorrect in the context of RDP network-level authentication and restricted exposure. The relevant behavior is remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk. Check nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events.
Question 304
A management laptop needs to connect to a Windows Server desktop but the account is not permitted to log on through RDP. An operator instead chooses this incorrect shortcut: Disable NLA and expose all servers directly on public IP addresses. Which consequence BEST explains the flaw in the proposed change?
- Recording remoting transcript logs created the original missing Azure Arc agent.
- Enabling TCP 3389 for all Internet sources creates needless attack surface even if passwords are strong.
- The only issue is the name displayed on an unrelated portal card.
- Confirming a runbook result itself disabled the on-premises service.
Explanation
Correct Answer
B:Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk. The intended preventive choice is use RDP with Network Level Authentication, appropriate Remote Desktop Users rights and scoped firewall or bastion access.
Incorrect Answers
A:This does not account for the actual RDP network-level authentication and restricted exposure weakness. The more relevant failure is enabling TCP 3389 for all Internet sources creates needless attack surface even if passwords are strong.
C:This does not account for the actual RDP network-level authentication and restricted exposure weakness. Confirm with nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events.
D:This does not account for the actual RDP network-level authentication and restricted exposure weakness. In this specific situation, a management laptop needs to connect to a Windows Server desktop but the account is not permitted to log on through RDP.
Question 305
A management laptop needs to connect to a Windows Server desktop but the account is not permitted to log on through RDP. The observed fault is: Enabling TCP 3389 for all Internet sources creates needless attack surface even if passwords are strong. Which remediation best corrects the root cause?
- Give an external vendor Domain Admin to fix one RDP denial.
- Assume successful WinRM remoting automatically grants desktop logon rights.
- Disable NLA and expose all servers directly on public IP addresses.
- Reduce RDP exposure, fix the target account permission and verify connection through approved management transport.
Explanation
Correct Answer
D:Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk. This fixes the described operational problem with observable validation.
Incorrect Answers
A:Give an external vendor Domain Admin to fix one RDP denial. This cannot reliably restore the intended behavior. Enabling TCP 3389 for all Internet sources creates needless attack surface even if passwords are strong. Instead, reduce RDP exposure, fix the target account permission and verify connection through approved management transport.
B:Assume successful WinRM remoting automatically grants desktop logon rights. This cannot reliably restore the intended behavior. Enabling TCP 3389 for all Internet sources creates needless attack surface even if passwords are strong. Instead, reduce RDP exposure, fix the target account permission and verify connection through approved management transport.
C:Disable NLA and expose all servers directly on public IP addresses. This cannot reliably restore the intended behavior. Enabling TCP 3389 for all Internet sources creates needless attack surface even if passwords are strong. Instead, reduce RDP exposure, fix the target account permission and verify connection through approved management transport.
Question 306
An administrator enables RDP to every server from the public Internet and security review requires an approved bastion approach. What Windows Server solution is most appropriate?
- For this Windows Server deployment, give an external vendor Domain Admin to fix one RDP denial.
- For this Windows Server deployment, assume successful WinRM remoting automatically grants desktop logon rights.
- For this Windows Server deployment, disable NLA and expose all servers directly on public IP addresses.
- For this Windows Server deployment, use RDP with Network Level Authentication, appropriate Remote Desktop Users rights and scoped firewall or bastion access.
Explanation
Correct Answer
D:Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk. This is the targeted correction for RDP network-level authentication and restricted exposure.
Incorrect Answers
A:Give an external vendor Domain Admin to fix one RDP denial. This alternative targets the wrong capability or ignores prerequisites. Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk. Relevant observations are nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events.
B:Enabling TCP 3389 for all Internet sources creates needless attack surface even if passwords are strong. Assume successful WinRM remoting automatically grants desktop logon rights.
C:Enabling TCP 3389 for all Internet sources creates needless attack surface even if passwords are strong. This change does not provide the specified control.
Question 307
An administrator enables RDP to every server from the public Internet and security review requires an approved bastion approach. Which collection of records directly tests the suspected mechanism?
- The supporting evidence is nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events.
- The supporting evidence is an unverified gateway screenshot from a different machine.
- The supporting evidence is an old automation plan with no current worker or runbook execution.
- The supporting evidence is a portal sign-in without a successful target Windows Server command.
Explanation
Correct Answer
A:Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk. The planned operation is use RDP with Network Level Authentication, appropriate Remote Desktop Users rights and scoped firewall or bastion access.
Incorrect Answers
B:An unverified gateway screenshot from a different machine. That evidence cannot independently establish the specified result. The relevant evidence is nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events. Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk.
C:An old automation plan with no current worker or runbook execution. That evidence cannot independently establish the specified result. The relevant evidence is nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events. Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk.
D:A portal sign-in without a successful target Windows Server command. That evidence cannot independently establish the specified result. The relevant evidence is nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events. Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk.
Question 308
An administrator enables RDP to every server from the public Internet and security review requires an approved bastion approach. Which implementation principle supports the intended approach?
- The governing concept is that a successful WinRM connection grants every operator Domain Admin privileges.
- The governing concept is that remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk.
- The governing concept is that a cloud Automation runbook always reaches all private on-premises networks.
- The governing concept is that any Windows Server can run all remote management features without prerequisites.
Explanation
Correct Answer
B:Verification depends on nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events.
Incorrect Answers
A:A successful WinRM connection grants every operator Domain Admin privileges. That generalization is incorrect in the context of RDP network-level authentication and restricted exposure. The relevant behavior is remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk. Check nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events.
C:A cloud Automation runbook always reaches all private on-premises networks. That generalization is incorrect in the context of RDP network-level authentication and restricted exposure. The relevant behavior is remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk. Check nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events.
D:Any Windows Server can run all remote management features without prerequisites. That generalization is incorrect in the context of RDP network-level authentication and restricted exposure. The relevant behavior is remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk. Check nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events.
Question 309
An administrator enables RDP to every server from the public Internet and security review requires an approved bastion approach. An operator instead chooses this incorrect shortcut: Disable NLA and expose all servers directly on public IP addresses. What technical weakness does this incorrect change introduce?
- The material failure is that enabling TCP 3389 for all Internet sources creates needless attack surface even if passwords are strong.
- The material failure is that confirming a runbook result itself disabled the on-premises service.
- The material failure is that a scoped administrator access test is the source of every VM network fault.
- The material failure is that the only issue is the name displayed on an unrelated portal card.
Explanation
Correct Answer
A:Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk.
Incorrect Answers
B:This does not account for the actual RDP network-level authentication and restricted exposure weakness. In this specific situation, an administrator enables RDP to every server from the public Internet and security review requires an approved bastion approach.
C:This does not account for the actual RDP network-level authentication and restricted exposure weakness. A scoped administrator access test is the source of every VM network fault.
D:This does not account for the actual RDP network-level authentication and restricted exposure weakness. The only issue is the name displayed on an unrelated portal card.
Question 310
An administrator enables RDP to every server from the public Internet and security review requires an approved bastion approach. The observed fault is: Enabling TCP 3389 for all Internet sources creates needless attack surface even if passwords are strong. What corrective action restores the target behavior with validation?
- The corrective action is to reduce RDP exposure, fix the target account permission and verify connection through approved management transport.
- The corrective action is to assume successful WinRM remoting automatically grants desktop logon rights.
- The corrective action is to disable NLA and expose all servers directly on public IP addresses.
- The corrective action is to give an external vendor Domain Admin to fix one RDP denial.
Explanation
Correct Answer
A:Remote Desktop requires network transport and explicit interactive logon authorization; broad exposure increases brute-force risk. Recheck nLA setting, allowed logon rights, host firewall, secure gateway route and successful versus denied session events.
Incorrect Answers
B:Assume successful WinRM remoting automatically grants desktop logon rights. This cannot reliably restore the intended behavior. Enabling TCP 3389 for all Internet sources creates needless attack surface even if passwords are strong. Instead, reduce RDP exposure, fix the target account permission and verify connection through approved management transport.
C:Disable NLA and expose all servers directly on public IP addresses. This cannot reliably restore the intended behavior. Enabling TCP 3389 for all Internet sources creates needless attack surface even if passwords are strong. Instead, reduce RDP exposure, fix the target account permission and verify connection through approved management transport.
D:Give an external vendor Domain Admin to fix one RDP denial. This cannot reliably restore the intended behavior. Enabling TCP 3389 for all Internet sources creates needless attack surface even if passwords are strong. Instead, reduce RDP exposure, fix the target account permission and verify connection through approved management transport.