SC500-JIT-001SC-500Study guide skill: Enable and enforce use of just-in-time (JIT) VM accessReviewed

Fabrikam has enabled Defender for Servers Plan 2 on its subscription and wants to apply just-in-time (JIT) VM access to four Azure VMs to protect their management ports. On which VM can you enable JIT VM access?

  1. A. VM1: deployed with the classic deployment model and has a network security group (NSG) attachedIncorrect
  2. B. VM2: deployed through Azure Resource Manager and has an NSG attachedCorrect
  3. C. VM3: deployed through Azure Resource Manager, has no NSG, and is protected only by an Azure Firewall controlled by Azure Firewall ManagerIncorrect
  4. D. VM4: deployed through Azure Resource Manager and has neither an NSG nor an Azure FirewallIncorrect
Show answer and explanation

Answer: B

Explanation

JIT VM access supports VMs deployed through Azure Resource Manager on a subscription with Defender for Servers Plan 2 enabled, and it requires an NSG or a firewall configuration, or both.[1] VMs are also categorized as unsupported if the JIT solution is disabled in the security policy of the subscription or the resource group.[1] VM2 is deployed through Resource Manager and has an NSG, so you can enable JIT on it. When JIT is enabled, Defender for Cloud ensures that deny all inbound traffic rules exist for the selected ports in the NSG.[2]

VM1 is deployed with the classic deployment model, so it’s categorized as unsupported even though it has an NSG.[1] JIT doesn’t support VMs like VM3 that are protected by Azure Firewalls controlled by Azure Firewall Manager, and the Azure Firewall must be configured with Rules (Classic) rather than firewall policies.[1][2] VM4 has neither an NSG nor an Azure Firewall, so it’s categorized as unsupported.[1]


Sources

  1. Enable just-in-time accessMicrosoft Learn · Location: Prerequisites / Work with JIT VM access using Microsoft Defender for Cloud · Checked
  2. Just-in-time machine access in Microsoft Defender for CloudMicrosoft Learn · Location: Just-in-time access and network resources · Checked