Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Configure Azure Firewall rules

A worked example

Multiple answers

You manage an Azure Firewall named FW1 that uses a firewall policy. FW1 has the public IP address 20.10.5.4. A virtual machine named VM1 has the private IP address 10.1.1.4. User-defined routes already send all traffic from VM1's subnet, including traffic to the on-premises network, through FW1.

You have the following requirements:

  • Administrators on the internet must open Remote Desktop sessions to VM1 by connecting to 20.10.5.4 on TCP port 3389.
  • VM1 must send DNS queries to an on-premises DNS server at 10.50.0.10 on UDP port 53.
  • The policy must contain no user-defined allow rules for other traffic.

Which two rule summaries describe the rules you should add to the firewall policy? Each correct answer presents part of the solution.

Choose 2 answers.
Why

The requested RDP and DNS flows each need a matching rule. Inbound RDP sent to the firewall's public IP and port is handled by a NAT rule that translates it to VM1's private IP. VM1's DNS traffic to a known IP address, port and protocol is allowed with a network rule. The other options either do not translate the public IP, apply NAT to the wrong traffic, or explicitly allow traffic that is not required.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free