Microsoft Azure Administrator Associate AZ-104 Practice Question
You have deployed an Azure virtual machine that needs to accept inbound traffic on port 8080 from the internet. What should you configure to allow this traffic?
Resize the virtual machine to a larger size to handle more traffic.
Associate the virtual machine with an application security group that allows port 8080.
Create an inbound security rule in a network security group to permit traffic on port 8080.
Add an additional virtual network interface to the virtual machine.
To allow inbound traffic on port 8080 from the internet to an Azure virtual machine, you need to create a network security group (NSG) rule that permits this traffic. NSGs act as a firewall at the network interface or subnet level, controlling inbound and outbound traffic. Adding a virtual network interface or resizing the virtual machine does not affect network traffic rules. Associating the VM with an Application Security Group (ASG) without configuring NSG rules will not by itself allow the traffic; ASGs are used in conjunction with NSGs to simplify rule management.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a Network Security Group (NSG)?
Open an interactive chat with Bash
How do I create an inbound security rule in an NSG?
Open an interactive chat with Bash
What is the difference between NSGs and Application Security Groups (ASGs)?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Deploy and manage Azure compute resources
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access