A security audit reveals that Azure VMs in your environment have public IP addresses with RDP port 3389 open to the internet in their NSGs. You need to provide emergency access for administrators while eliminating the persistent exposure. What is the recommended solution?

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

Correct Answer: Remove public IPs and use Azure Bastion for browser-based RDP/SSH access without exposing ports

Azure Bastion provides browser-based RDP and SSH access to VMs directly from the Azure portal, with no need for public IPs or open management ports on VMs. All communication is ove...

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

A security audit reveals that Azure VMs in your environment have public IP addresses with RDP port 3389 open to the internet in their NSGs. You need to provide emergency access for administrators while eliminating the persistent exposure. What is the recommended solution?

โœ“ Correct Answer & ExplanationVM Security

Correct Answer

Remove public IPs and use Azure Bastion for browser-based RDP/SSH access without exposing ports

Why This Answer Is Correct

Azure Bastion provides browser-based RDP and SSH access to VMs directly from the Azure portal, with no need for public IPs or open management ports on VMs. All communication is over SSL (443). This eliminates the attack surface entirely. IP restrictions still leave ports open to scanning; non-standard ports are security through obscurity only.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of VM Security โ€” a core concept tested in Microsoft Certified: Azure Security Engineer Associate (AZ-500). Understanding VM Security 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.