Microsoft Defender for Cloud has detected a brute force RDP attack on one of your Azure VMs. The VM is a development machine and you cannot immediately patch it. Which Defender for Cloud feature can you enable to reduce the attack surface immediately without shutting down the VM?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Enable Just-In-Time (JIT) VM Access and approve a timed-access request for legitimate RDP

Just-In-Time VM Access closes management ports (RDP 3389, SSH 22) by default using NSG deny rules. Access is granted only for a specified time window to specific IP addresses when ...

๐Ÿ“‹Part of Microsoft Certified: Azure Security Engineer Associate (AZ-500) ยท Azure Certification Practice
Real Exam ScenarioMicrosoft Defender for Cloud

Microsoft Defender for Cloud has detected a brute force RDP attack on one of your Azure VMs. The VM is a development machine and you cannot immediately patch it. Which Defender for Cloud feature can you enable to reduce the attack surface immediately without shutting down the VM?

โœ“ Correct Answer & ExplanationMicrosoft Defender for Cloud

Correct Answer

Enable Just-In-Time (JIT) VM Access and approve a timed-access request for legitimate RDP

Why This Answer Is Correct

Just-In-Time VM Access closes management ports (RDP 3389, SSH 22) by default using NSG deny rules. Access is granted only for a specified time window to specific IP addresses when a legitimate user requests it. This eliminates persistent open management ports that attackers scan for, immediately reducing the brute force attack surface.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Microsoft Defender for Cloud โ€” a core concept tested in Microsoft Certified: Azure Security Engineer Associate (AZ-500). Understanding Microsoft Defender for Cloud is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.