Question 32 — AZ-104 Practice Exam 12
You need to ensure that administrators can remotely connect to VMs over RDP, while still controlling access to other ports. Which NSG rule configuration should you create? (Select one answer)
Set a Destination filter of “Any” without specifying service
Define a service rule using the RDP predefined service
Assign a rule with the highest numeric priority value
Leave the NSG unassociated so Azure defaults allow traffic
Correct answers
Define a service rule using the RDP predefined service
Explanations
Correct
Define a service rule using the RDP predefined service – Selecting the RDP option (TCP port 3389) ensures controlled inbound connections for remote management.
Wrong
Set a Destination filter of “Any” without specifying service – This would allow all outbound traffic to all destinations, not restricted RDP access.
Assign a rule with the highest numeric priority value – Higher numbers mean lower precedence; the rule might never be applied.
Leave the NSG unassociated so Azure defaults allow traffic – This would open all traffic, failing to meet the requirement of controlled access.