Skip to main content
  1. Public practice questions
  2. AZ-104 Practice Exams | Azure Administrator Associate
  3. AZ-104 Practice Exam 11

Question 33 — AZ-104 Practice Exam 11

You need to block inbound traffic from the internet while still allowing communication between VMs in the same VNet. Which rule configuration should you rely on? (Select one answer)

  1. A firewall configured inside each VM

  2. The default outbound NSG rules

  3. The default inbound NSG rules

  4. A custom rule with Action = Deny and Priority = 100

Correct answers

  1. The default inbound NSG rules

Explanations

Correct
The default inbound NSG rules – Azure’s default inbound rules already deny all external traffic while permitting VNet and load balancer traffic.

Wrong
A custom rule with Action = Deny and Priority = 100 – This would work, but it’s unnecessary since defaults already enforce it.
The default outbound NSG rules – Outbound rules only control egress traffic, not inbound.
A firewall configured inside each VM – Possible, but not required when NSG defaults already handle this.