Microsoft AZ-500 Practice Test 53
Question 520
An operations team needs SSH access to an internal Linux VM but must avoid direct internet inbound connectivity. A review identifies this consequence: Directly opening management ports to the Internet increases exposure beyond Bastion's private path. What is the BEST controlled recovery once this failure is recognized?
- The controlled remediation is to assume Azure Bastion requires a public IP assigned to each target VM.
- The controlled remediation is to close unintended public management access and verify authorized Bastion sessions.
- The controlled remediation is to open TCP 3389 to the entire internet and call it equivalent to Azure Bastion.
- The controlled remediation is to use a storage account SAS token to authorize Windows Remote Desktop.
Explanation
Correct Answer
B:Azure Bastion provides managed RDP or SSH connectivity to VMs without requiring a VM public IP. Test using these records: Bastion subnet configuration, target VM NIC, connection audit, inbound exposure and authenticated session.
Incorrect Answers
A:Assume Azure Bastion requires a public IP assigned to each target VM. This would not reliably restore the intended security boundary. Directly opening management ports to the Internet increases exposure beyond Bastion's private path. The appropriate controlled recovery is: Close unintended public management access and verify authorized Bastion sessions.
C:Open TCP 3389 to the entire internet and call it equivalent to Azure Bastion. This would not reliably restore the intended security boundary. Directly opening management ports to the Internet increases exposure beyond Bastion's private path. The appropriate controlled recovery is: Close unintended public management access and verify authorized Bastion sessions.
D:Use a storage account SAS token to authorize Windows Remote Desktop. This would not reliably restore the intended security boundary. Directly opening management ports to the Internet increases exposure beyond Bastion's private path. The appropriate controlled recovery is: Close unintended public management access and verify authorized Bastion sessions.
Question 521
A security team wants to reduce permanent SSH exposure on selected Azure VMs while allowing scheduled administrator sessions. What is the BEST supported implementation or corrective action?
- Enable just-in-time VM access with constrained source, protocol and permitted request duration.
- Create a permanent global Allow for TCP 22 instead of a timed JIT request.
- Assume Azure Bastion and JIT are always identical products.
- Disable management authentication because the access window is short.
Explanation
Correct Answer
A:Confirm the change against these records: JIT policy, requested access windows, relevant NSG or firewall changes and access logs. JIT access reduces the time sensitive VM management ports remain reachable from allowed sources.
Incorrect Answers
B:Create a permanent global Allow for TCP 22 instead of a timed JIT request. This is not a valid substitute for the specified security control. Leaving RDP or SSH open indefinitely undermines intended temporary access enforcement. The correct targeted action is: Enable just-in-time VM access with constrained source, protocol and permitted request duration.
C:Assume Azure Bastion and JIT are always identical products. The proposed change targets the wrong mechanism or lacks essential validation. JIT access reduces the time sensitive VM management ports remain reachable from allowed sources. Relevant evidence is jIT policy, requested access windows, relevant NSG or firewall changes and access logs.
D:Disable management authentication because the access window is short. This leaves the security requirement unresolved. Leaving RDP or SSH open indefinitely undermines intended temporary access enforcement. The intended action is: Enable just-in-time VM access with constrained source, protocol and permitted request duration.
Question 522
A security team wants to reduce permanent SSH exposure on selected Azure VMs while allowing scheduled administrator sessions. Which evidence BEST verifies the intended technical behavior?
- A powered-on VM status without the actual guest or data-plane security state.
- JIT policy, requested access windows, relevant NSG or firewall changes and access logs.
- The identity name without a corresponding workload data authorization test.
- A database online indicator without a log of the protected operation.
Explanation
Correct Answer
B:These records test the actual just-in-time VM access windows behavior rather than an unrelated dashboard state. JIT access reduces the time sensitive VM management ports remain reachable from allowed sources.
Incorrect Answers
A:On its own, that evidence does not prove the specified security control works. The more relevant observations are: JIT policy, requested access windows, relevant NSG or firewall changes and access logs.
C:On its own, that evidence does not prove the specified security control works. JIT access reduces the time sensitive VM management ports remain reachable from allowed sources.
D:On its own, that evidence does not prove the specified security control works. In the given case, a security team wants to reduce permanent SSH exposure on selected Azure VMs while allowing scheduled administrator sessions.
Question 523
A security team wants to reduce permanent SSH exposure on selected Azure VMs while allowing scheduled administrator sessions. Which principle BEST explains why the recommended solution is appropriate?
- JIT access reduces the time sensitive VM management ports remain reachable from allowed sources.
- Encrypting network transport guarantees all storage at-rest and column-level security requirements.
- Setting a registry image tag guarantees security monitoring of the running workload.
- A valid Azure management role always gives full access to every blob object and SQL row.
Explanation
Correct Answer
A:Confirmation depends on JIT policy, requested access windows, relevant NSG or firewall changes and access logs. This principle supports the security response: Enable just-in-time VM access with constrained source, protocol and permitted request duration.
Incorrect Answers
B:Encrypting network transport guarantees all storage at-rest and column-level security requirements. This is an incorrect assumption for just-in-time VM access windows. The relevant security behavior is: JIT access reduces the time sensitive VM management ports remain reachable from allowed sources. Check evidence such as jIT policy, requested access windows, relevant NSG or firewall changes and access logs.
C:Setting a registry image tag guarantees security monitoring of the running workload. This is an incorrect assumption for just-in-time VM access windows. The relevant security behavior is: JIT access reduces the time sensitive VM management ports remain reachable from allowed sources. Check evidence such as jIT policy, requested access windows, relevant NSG or firewall changes and access logs.
D:A valid Azure management role always gives full access to every blob object and SQL row. This is an incorrect assumption for just-in-time VM access windows. The relevant security behavior is: JIT access reduces the time sensitive VM management ports remain reachable from allowed sources. Check evidence such as jIT policy, requested access windows, relevant NSG or firewall changes and access logs.
Question 524
A security team wants to reduce permanent SSH exposure on selected Azure VMs while allowing scheduled administrator sessions. Suppose the operator instead follows this unsafe shortcut: Create a permanent global Allow for TCP 22 instead of a timed JIT request. What is the MOST significant failure introduced by that shortcut?
- The observed issue is fully explained by the service display name.
- Leaving RDP or SSH open indefinitely undermines intended temporary access enforcement.
- Collecting VM diagnostic data caused the original unauthorized storage read.
- Keeping historic blob versions is the cause of the missing RBAC assignment.
Explanation
Correct Answer
B:The suitable control is: Enable just-in-time VM access with constrained source, protocol and permitted request duration. JIT access reduces the time sensitive VM management ports remain reachable from allowed sources.
Incorrect Answers
A:This does not explain the real just-in-time VM access windows weakness after the shortcut. Inspect evidence such as jIT policy, requested access windows, relevant NSG or firewall changes and access logs.
C:This does not explain the real just-in-time VM access windows weakness after the shortcut. The material failure is: Leaving RDP or SSH open indefinitely undermines intended temporary access enforcement.
D:This does not explain the real just-in-time VM access windows weakness after the shortcut. In the given case, a security team wants to reduce permanent SSH exposure on selected Azure VMs while allowing scheduled administrator sessions.
Question 525
A security team wants to reduce permanent SSH exposure on selected Azure VMs while allowing scheduled administrator sessions. A review identifies this consequence: Leaving RDP or SSH open indefinitely undermines intended temporary access enforcement. What is the BEST controlled recovery once this failure is recognized?
- Assume Azure Bastion and JIT are always identical products.
- Disable management authentication because the access window is short.
- Require approved short access requests and verify ports close again after the window.
- Create a permanent global Allow for TCP 22 instead of a timed JIT request.
Explanation
Correct Answer
C:Test using these records: JIT policy, requested access windows, relevant NSG or firewall changes and access logs. This addresses the observed security problem while providing a verifiable outcome.
Incorrect Answers
A:Assume Azure Bastion and JIT are always identical products. This would not reliably restore the intended security boundary. Leaving RDP or SSH open indefinitely undermines intended temporary access enforcement. The appropriate controlled recovery is: Require approved short access requests and verify ports close again after the window.
B:Disable management authentication because the access window is short. This would not reliably restore the intended security boundary. Leaving RDP or SSH open indefinitely undermines intended temporary access enforcement. The appropriate controlled recovery is: Require approved short access requests and verify ports close again after the window.
D:Create a permanent global Allow for TCP 22 instead of a timed JIT request. This would not reliably restore the intended security boundary. Leaving RDP or SSH open indefinitely undermines intended temporary access enforcement. The appropriate controlled recovery is: Require approved short access requests and verify ports close again after the window.
Question 526
Microsoft Defender for Cloud flags persistent management-port exposure on an eligible VM and suggests time-limited access. Which configuration decision MOST directly resolves the issue?
- For this Azure workload, the team should assume Azure Bastion and JIT are always identical products.
- For this Azure workload, the team should disable management authentication because the access window is short.
- For this Azure workload, the team should enable just-in-time VM access with constrained source, protocol and permitted request duration.
- For this Azure workload, the team should create a permanent global Allow for TCP 22 instead of a timed JIT request.
Explanation
Correct Answer
C:Confirm the change against these records: JIT policy, requested access windows, relevant NSG or firewall changes and access logs.
Incorrect Answers
A:Assume Azure Bastion and JIT are always identical products. The proposed change targets the wrong mechanism or lacks essential validation. JIT access reduces the time sensitive VM management ports remain reachable from allowed sources. Relevant evidence is jIT policy, requested access windows, relevant NSG or firewall changes and access logs.
B:Disable management authentication because the access window is short. This leaves the security requirement unresolved. Leaving RDP or SSH open indefinitely undermines intended temporary access enforcement. The intended action is: Enable just-in-time VM access with constrained source, protocol and permitted request duration.
D:Create a permanent global Allow for TCP 22 instead of a timed JIT request. This is not a valid substitute for the specified security control. Leaving RDP or SSH open indefinitely undermines intended temporary access enforcement. The correct targeted action is: Enable just-in-time VM access with constrained source, protocol and permitted request duration.
Question 527
Microsoft Defender for Cloud flags persistent management-port exposure on an eligible VM and suggests time-limited access. What evidence most directly confirms the intended security behavior?
- In this security review, examine an outdated deployment template without current effective settings.
- In this security review, examine jIT policy, requested access windows, relevant NSG or firewall changes and access logs.
- In this security review, examine a powered-on VM status without the actual guest or data-plane security state.
- In this security review, examine the identity name without a corresponding workload data authorization test.
Explanation
Correct Answer
B:These records test the actual just-in-time VM access windows behavior rather than an unrelated dashboard state. The intended action is: Enable just-in-time VM access with constrained source, protocol and permitted request duration.
Incorrect Answers
A:On its own, that evidence does not prove the specified security control works. In the given case, Microsoft Defender for Cloud flags persistent management-port exposure on an eligible VM and suggests time-limited access.
C:The more relevant observations are: JIT policy, requested access windows, relevant NSG or firewall changes and access logs.
D:On its own, that evidence does not prove the specified security control works. The identity name without a corresponding workload data authorization test.
Question 528
Microsoft Defender for Cloud flags persistent management-port exposure on an eligible VM and suggests time-limited access. Which security principle best explains the intended decision?
- The applicable security principle is that a valid Azure management role always gives full access to every blob object and SQL row.
- The applicable security principle is that encrypting network transport guarantees all storage at-rest and column-level security requirements.
- The applicable security principle is that jIT access reduces the time sensitive VM management ports remain reachable from allowed sources.
- The applicable security principle is that a running compute resource automatically enforces least-privilege Kubernetes permissions.
Explanation
Correct Answer
C:Confirmation depends on JIT policy, requested access windows, relevant NSG or firewall changes and access logs. JIT access reduces the time sensitive VM management ports remain reachable from allowed sources.
Incorrect Answers
A:A valid Azure management role always gives full access to every blob object and SQL row. This is an incorrect assumption for just-in-time VM access windows. The relevant security behavior is: JIT access reduces the time sensitive VM management ports remain reachable from allowed sources. Check evidence such as jIT policy, requested access windows, relevant NSG or firewall changes and access logs.
B:Encrypting network transport guarantees all storage at-rest and column-level security requirements. This is an incorrect assumption for just-in-time VM access windows. The relevant security behavior is: JIT access reduces the time sensitive VM management ports remain reachable from allowed sources. Check evidence such as jIT policy, requested access windows, relevant NSG or firewall changes and access logs.
D:A running compute resource automatically enforces least-privilege Kubernetes permissions. This is an incorrect assumption for just-in-time VM access windows. The relevant security behavior is: JIT access reduces the time sensitive VM management ports remain reachable from allowed sources. Check evidence such as jIT policy, requested access windows, relevant NSG or firewall changes and access logs.
Question 529
Microsoft Defender for Cloud flags persistent management-port exposure on an eligible VM and suggests time-limited access. Suppose the operator instead follows this unsafe shortcut: Create a permanent global Allow for TCP 22 instead of a timed JIT request. Which resulting risk or fault should the reviewer identify?
- The resulting security weakness is that keeping historic blob versions is the cause of the missing RBAC assignment.
- The resulting security weakness is that the security flaw is that the team retained a tested database backup.
- The resulting security weakness is that leaving RDP or SSH open indefinitely undermines intended temporary access enforcement.
- The resulting security weakness is that collecting VM diagnostic data caused the original unauthorized storage read.
Explanation
Correct Answer
C:The suitable control is: Enable just-in-time VM access with constrained source, protocol and permitted request duration. This is a material consequence of the incorrect shortcut.
Incorrect Answers
A:This does not explain the real just-in-time VM access windows weakness after the shortcut. Keeping historic blob versions is the cause of the missing RBAC assignment.
B:This does not explain the real just-in-time VM access windows weakness after the shortcut. The security flaw is that the team retained a tested database backup.
D:This does not explain the real just-in-time VM access windows weakness after the shortcut. Collecting VM diagnostic data caused the original unauthorized storage read.
Question 530
Microsoft Defender for Cloud flags persistent management-port exposure on an eligible VM and suggests time-limited access. A review identifies this consequence: Leaving RDP or SSH open indefinitely undermines intended temporary access enforcement. Which remediation most directly restores the intended behavior?
- The controlled remediation is to require approved short access requests and verify ports close again after the window.
- The controlled remediation is to disable management authentication because the access window is short.
- The controlled remediation is to create a permanent global Allow for TCP 22 instead of a timed JIT request.
- The controlled remediation is to assume Azure Bastion and JIT are always identical products.
Explanation
Correct Answer
A:Test using these records: JIT policy, requested access windows, relevant NSG or firewall changes and access logs. JIT access reduces the time sensitive VM management ports remain reachable from allowed sources.
Incorrect Answers
B:Disable management authentication because the access window is short. This would not reliably restore the intended security boundary. Leaving RDP or SSH open indefinitely undermines intended temporary access enforcement. The appropriate controlled recovery is: Require approved short access requests and verify ports close again after the window.
C:Create a permanent global Allow for TCP 22 instead of a timed JIT request. This would not reliably restore the intended security boundary. Leaving RDP or SSH open indefinitely undermines intended temporary access enforcement. The appropriate controlled recovery is: Require approved short access requests and verify ports close again after the window.
D:Assume Azure Bastion and JIT are always identical products. This would not reliably restore the intended security boundary. Leaving RDP or SSH open indefinitely undermines intended temporary access enforcement. The appropriate controlled recovery is: Require approved short access requests and verify ports close again after the window.