Q: 2
You have an Azure subscription that contains multiple network security groups (NSGs), multiple
virtual machines, and an Azure Bastion host named bastion1.
Several NSGs contain rules that allow direct RDP access to the virtual machines by bypassing bastion!
You need to ensure that the virtual machines can be accessed only by using bastion! The solution
must prevent the use of NSG rules to bypass bastion1.
What should you include in the solution?
Options
Discussion
Makes sense to pick B for this one. Security admin rules in Azure Virtual Network Manager actually override any NSG settings, so they block RDP unless it's through Bastion no matter what someone's done at the NSG level. Agree?
Probably B here since security admin rules from Azure Virtual Network Manager override NSG rules, so you can make sure RDP is only allowed via Bastion. Regular firewall or NSG config wouldn't fully block those bypasses. Pretty sure that's what the question's looking for, but let me know if anyone sees it differently.
B , since admin rules trump NSGs and D is a trap here because it can't override existing NSG permissions.
B tbh, since Azure Virtual Network Manager security admin rules take priority over NSGs. That way, you can centrally enforce a deny on RDP unless it's through Bastion, no matter what the individual NSG settings are. Firewall rules (D) can't override NSGs, so direct access could still slip through if someone opens a port at the NSG level. Pretty sure it's B but open to debate if anyone has seen different behavior in real setups.
I don’t think it’s B. D makes more sense if the Firewall network rules block all RDP, but the trap is that NSG rules can still be too permissive.
Its D, I think firewall network rules could block direct RDP but trap is that NSG might get around it.
Why wouldn't Azure Firewall network rules (D) be enough here if the only goal was blocking RDP, not about NSG bypass? Just trying to clarify how they interact.
Its B. Security admin rules in Virtual Network Manager override NSGs so RDP can't sneak in around Bastion. Official guides cover this.
D
Probably B, official docs and labs both mention security admin rules overriding all NSGs for this scenario.
Be respectful. No spam.