AZ-900 · Question #247
A company has an Azure infrastructure deployed. Three virtual machines (VMs) are deployed to Azure as a three-tiered architecture. All three VMs host different items, with one hosting a front- end web
The correct answer is B. To ensure that only the front-end VM is publicly accessible over port 80 C. To ensure that all three VMs are accessible over port 222. Network Security Groups (NSGs) can be used to control inbound and outbound network traffic to VMs, specifically to allow public web access to the front-end VM on port 80 and RDP access to all VMs on port 222.
Question
Options
- ATo ensure that only your account can use RDP to access the VMs
- BTo ensure that only the front-end VM is publicly accessible over port 80
- CTo ensure that all three VMs are accessible over port 222
- DReviewed by executive management before being released to the public
How the community answered
(56 responses)- A9% (5)
- B73% (41)
- D18% (10)
Why each option
Network Security Groups (NSGs) can be used to control inbound and outbound network traffic to VMs, specifically to allow public web access to the front-end VM on port 80 and RDP access to all VMs on port 222.
NSGs filter traffic based on IP address, port, and protocol, not based on user accounts. User account authentication happens at the OS level, not the network layer.
NSG rules can be configured on the network interface or subnet of the front-end VM to allow inbound HTTP traffic on port 80 from the internet, restricting public access to only this VM for web requests.
NSG rules can be applied to the network interfaces or subnets of all three VMs to allow inbound RDP traffic on port 222 from a specified source (e.g., your IP address), enabling remote management.
NSGs are network security controls, not part of a management review or release process for applications.
Concept tested: Configuring Network Security Group (NSG) rules for VM traffic control
Source: https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
Community Discussion
No community discussion yet for this question.