Question 227 — Domain 2-Describe Azure architecture and services | AZ-900 Practice Exam | 399 Questions
An organization needs to isolate traffic between multiple Azure resources within the same virtual network. They want to apply specific rules to control both inbound and outbound traffic based on IP addresses, port numbers, and protocols. Which Azure feature should they use? (Select one answer).
Network Security Groups (NSG)
ExpressRoute
Virtual Network Peering
Route Tables
Correct answers
Network Security Groups (NSG)
Explanations
Correct:
- Network Security Groups (NSG): NSGs allow control over both inbound and outbound traffic between resources using specific rules.
Wrong:
- ExpressRoute: ExpressRoute provides a dedicated connection but does not control internal network traffic within a virtual network.
- Virtual Network Peering: Peering connects virtual networks but does not control traffic within them.
- Route Tables: Route tables control the routing path but do not filter or control access based on IPs, ports, or protocols.