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?
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]