Which VNets Can Host Azure Firewall AF1 in RG1
You have an Azure subscription that contains the virtual networks shown in the following table.
You need to deploy an Azure firewall named AF1 to RG1 in the West US Azure region.
To which virtual networks can you deploy AF1?
Community Insight
The question is testing the Azure Firewall resource group placement rule, and the trap is picking every West US virtual network while ignoring that the firewall and its VNet must share a resource group.
This AZ-104 question tests the placement rules for an Azure Firewall deployment: the firewall, its target virtual network, and its public IP address must all reside in the same resource group and subscription. Because AF1 must be created in RG1 in West US, only the virtual network that also lives in RG1 can host it, which makes VNET1 the sole valid target.
Option E (VNET1 and VNET4) is the most common wrong choice, because learners focus only on the West US region match and overlook the requirement that the firewall and the VNet be deployed into the same resource group, RG1.
Community Discussion (72 comments)
- The firewall and VNet must be in the same resource group. - The public IP address can be in any resource group. - The firewall, VNet, and the public IP address all must be in the same subscription. https://learn.microsoft.com/en-us/azure/firewall/firewall-faq
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Azure Firewall must be deployed into the same resource group as the virtual network it protects, and the public IP address used by the firewall must also live in that resource group, as documented in the Azure Firewall FAQ's "Are there any firewall resource group restrictions?" entry. The question explicitly states that AF1 is being deployed to RG1 in the West US region, so only the VNet that is listed as belonging to RG1 (VNET1) can receive the firewall. As r3nenge quoted from the FAQ, "the firewall, VNet, and the public IP address all must be in the same resource group," which narrows the deployment to VNET1 alone. moadabdou confirmed this behavior empirically, reporting that an Azure Firewall in RG1 cannot protect a VNet in another resource group even when both are in the same region.Why the Other Options Are Wrong
Option E is tempting because VNET4 is also in West US, but region alone does not satisfy the constraint — VNET4 sits in a different resource group, so AF1 cannot be allocated to it while remaining in RG1. Options A and D fail for the same reason and additionally pull in VNets that may not even be in West US, violating both the resource-group and region requirements. Option B is wrong because it includes VNET2, which the exhibit places outside RG1, so deploying AF1 to RG1 would not cover it. Region is necessary but not sufficient; the resource group match is the deciding factor here.Community Comment Notes
Ashfaque_9x argued "the question clearly states that 'You need to deploy an Azure firewall named AF1 to RG1 in the West US'" and concluded VNET1 only, which matches the FAQ rule. Muffay countered that only region matters, claiming "the resource group is just a logical grouping and the real limitations do come from the region," but that misreads the firewall-specific FAQ restriction. Irism similarly pushed back with "Vnet1 and Vnet4 are both in WEST US region," missing that VNET4 is not in RG1. Comments from WALL47 and itismadu both pasted the official FAQ wording confirming the firewall, VNet, and public IP must share a resource group.Official Reference
Exam Strategy
On AZ-104 placement questions, build a quick constraint checklist from every noun in the prompt — resource group, region, subscription — and eliminate options that satisfy only some of them. Memorize the Azure Firewall FAQ line about the firewall, VNet, and public IP sharing a resource group, since region-only reasoning is the classic distractor.
Frequently Asked Questions
Why can't AF1 be deployed to VNET4 if it is also in West US?
Because VNET4 lives in a different resource group. The Azure Firewall FAQ requires the firewall, its VNet, and its public IP to be in the same resource group, and AF1 must be in RG1.
Does moving AF1's VNet to another resource group break the firewall?
Yes. Azure Firewall must stay in the same resource group as its VNet, so separating them can cause the deployment to fail or behave unexpectedly.
Related Analysis
Practice All AZ-104 Questions
Access 100 questions with complete answers and detailed explanations.
View Full AZ-104 Practice Test →