100% Latest & Updated Microsoft AZ-104 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 640
A subnet uses Azure’s system route for outbound traffic to a known address range. Operations assigns a user-defined route for exactly the same address prefix with Virtual appliance as next hop. Which route normally takes precedence for that equal prefix?
- Add an NSG outbound Allow rule and expect it to select the system next hop instead
- Enable DNS proxy on the appliance while leaving the user-defined route in place
- The matching user-defined route takes precedence over the matching system route
- Remove the UDR because system routes always win equal-prefix conflicts
Explanation
Correct Answer
C:Azure route selection uses prefix specificity and then route-source precedence for equal prefixes. A UDR can override the corresponding system route and send traffic to the appliance.
Incorrect Answers
A:NSG allows decide packet admission and do not rank route sources or choose the next hop in a tie.
B:DNS proxy might affect name resolution but not the selected route source for a given destination prefix.
D:User-defined route precedence can override a matching system route; removing it would change the intended appliance forwarding.
Question 641
An engineer creates a user-defined route table for two application VMs but finds no setting to attach the route table directly to their NICs. The VMs share subnet App-Blue. What association should the engineer configure?
- Attach the route table to each NIC via its ipConfiguration field
- Associate the table with the VNet resource root and assume it applies to all subnets
- Create an Azure Policy assignment containing the route definitions but no subnet link
- Associate the route table with subnet App-Blue
Explanation
Correct Answer
D:Azure route tables are associated with subnets. All relevant NICs in that subnet receive the effective routes subject to normal precedence, rather than NIC-specific route-table bindings.
Incorrect Answers
A:Azure UDR tables are associated with subnets, not directly with individual NIC IP configurations in that way.
B:UDR association targets a subnet. A virtual-network-level binding is not the supported Azure route table attachment model.
C:Policy may enforce resource configuration, but a route table takes effect for VMs only after the appropriate subnet is actually associated.
Question 642
A security team installed a route table on an application subnet to force default egress through a virtual appliance. A later change sets the 0.0.0.0/0 next hop type to Internet. What security consequence is most likely?
- Add a user route only for 10.0.0.0/8 toward the virtual appliance
- The subnet gains a mandatory Azure Firewall inspection step
- Unmatched outbound destinations may bypass the virtual appliance and take the Internet route
- Change the route table name but keep 0.0.0.0/0 pointing to Internet
Explanation
Correct Answer
C:A default route with Internet as next hop no longer forces otherwise unmatched egress through the inspection VM. This can create a policy gap even when the NSGs are unchanged.
Incorrect Answers
A:A private address route affects internal destinations and does not ensure that unmatched internet-bound traffic traverses the inspection appliance.
B:Internet next hop directs eligible traffic toward Azure internet routing, not to the configured virtual appliance. It would undermine the intended firewall traversal.
D:Route names are descriptive; the next-hop type determines packet forwarding. Retaining Internet leaves the inspection bypass intact.
Question 643
A VM in an Azure subnet intermittently sends database traffic toward an unexpected network virtual appliance instead of the virtual network gateway. Operators know the destination IPv4 address but not which effective route won. Which diagnostic gives the selected forwarding decision?
- Network Watcher Next hop with source VM/NIC and the database destination IP
- NSG IP flow verify using an arbitrary destination port and no route information
- Run Network Watcher IP flow verify and treat its NSG Allow or Deny result as the chosen UDR next-hop appliance
- Review only the VM’s public DNS label and assume it explains the private next hop
Explanation
Correct Answer
A:Next hop reports the route-selected next-hop type and address for a specific destination and identifies the route table if it is a UDR. It directly reveals whether the appliance or gateway was chosen.
Incorrect Answers
B:IP flow verify reports whether a packet matches an NSG allow or deny rule. It does not identify the selected route and next-hop network virtual appliance.
C:IP flow verify diagnoses whether an NSG permits the chosen traffic flow, not which effective route or next-hop type the VM selects. Network Watcher Next hop and effective routes identify the forwarding decision for the destination address.
D:DNS can resolve a destination name, but the VM already has the destination IP. Route selection depends on effective prefixes and next-hop types, not the VM’s public label.
Question 644
A subnet route table sends 0.0.0.0/0 to an NVA. The NVA has IP forwarding disabled on its Azure NIC even though the guest OS forwards packets. Transit clients cannot reach the Internet. Which platform setting must be inspected?
- Change the UDR prefix from 0.0.0.0/0 to a random /32
- Enable IP forwarding on the NVA network interface in Azure
- Enable guest operating-system IP forwarding but leave the Azure NIC forwarding switch disabled
- Set Allow forwarded traffic on peering without enabling forwarding on the NVA NIC
Explanation
Correct Answer
B:Azure requires the NIC IP forwarding setting for an appliance that receives and forwards traffic addressed to other endpoints. Guest OS forwarding alone is not the full platform configuration.
Incorrect Answers
A:A single destination route would abandon the required forced-tunnel default and does not correct the appliance forwarding failure.
C:Guest forwarding is necessary for a router but insufficient when Azure fabric still blocks forwarding of packets not addressed to the NIC.
D:Peering permission may be needed for hub traffic, but it does not turn on forwarding for the appliance NIC itself.
Question 645
A hub VNet receives BGP routes from an on-premises VPN gateway. A sensitive spoke subnet has a route table with a deliberate 0.0.0.0/0 route through a firewall and must avoid inheriting conflicting propagated gateway routes. Which route-table option should be considered?
- Rely on the existing 0.0.0.0/0 firewall UDR to suppress any more-specific BGP routes propagated from the hub gateway
- Change the firewall default UDR next hop to Internet, which turns off gateway BGP propagation on that subnet
- Disable virtual network gateway route propagation on the affected route table when the route design requires it
- Change the VPN BGP ASN so the gateway stops advertising routes only to this one spoke subnet while all other subnet routes remain unchanged
Explanation
Correct Answer
C:Route propagation can inject BGP-derived routes into effective tables. Disabling propagation on an appropriate route table helps keep deliberate UDR design under control, provided required on-prem paths remain planned.
Incorrect Answers
A:Azure route evaluation uses longest-prefix matching. A more-specific gateway-propagated route may continue to win over a 0.0.0.0/0 user route; that default route does not turn off or remove BGP-learned prefixes. When the design must exclude gateway-propagated routes on a subnet, configure route-propagation behavior on its associated route table while preserving needed on-premises paths.
B:The default UDR next-hop choice determines how traffic matching that route is forwarded; it does not disable publication of VPN gateway-learned prefixes into the effective route table. Setting the next hop to Internet would also undermine the intended firewall path. The propagation control resides on the associated route table, separate from individual next-hop choices.
D:A BGP ASN identifies an autonomous system in a gateway routing relationship; it is not a per-subnet selector for enabling or disabling learned routes. Changing peer ASN parameters can disrupt routing globally and does not provide the requested isolation for one subnet. Use the route table’s virtual-network-gateway propagation setting for targeted control.
Question 646
A subnet sends outbound packets through a stateful firewall NVA using a UDR. The destination replies along a different route that bypasses that firewall, and established sessions fail intermittently. What network design defect is most likely?
- Enable IP forwarding on the firewall VM’s NIC and assume Azure will automatically direct all response packets back through that NVA
- Asymmetric routing bypasses the stateful firewall on the return path; align forward and return routing
- Enable Accelerated Networking on the NVA NIC, which forces reply packets to traverse the same firewall used by outbound flows
- Configure an Azure Load Balancer health probe to the firewall IP and assume probe success redirects unrelated return routes through the NVA
Explanation
Correct Answer
B:Stateful appliances correlate both directions of a connection. If return packets take a separate route, the firewall cannot observe or validate the complete session, causing failures.
Incorrect Answers
A:IP forwarding permits an NVA to receive and forward traffic not destined to its own NIC, but it does not rewrite other subnets’ effective routes or enforce return-path symmetry. A reply that bypasses the firewall still breaks stateful flow tracking. Diagnose and configure the forward and return UDR, gateway, and transit routes so both directions traverse the appliance.
C:Accelerated Networking can reduce VM network processing overhead, but it does not program return UDRs or make a stateful appliance receive packets routed around it. Even a faster NIC cannot inspect replies that never reach the firewall. The failure is a path-symmetry defect, not a packet-processing performance bottleneck.
D:A load-balancer health probe checks backend health for load-balancing decisions, not arbitrary effective routes on remote reply subnets. It cannot force reply packets to re-enter the same firewall for stateful session tracking. Routing symmetry requires explicit compatible forwarding and return-path configuration.
Question 647
A subnet is associated with route table RT-A. The team also wants to associate a second route table RT-B simultaneously to the same subnet to separate egress by application. What design constraint applies?
- Associate both tables directly with individual VM NICs instead
- Give RT-B a higher numeric priority and attach both route tables to the same subnet
- Use one DNS zone for each route table so applications choose the appropriate one
- Consolidate applicable routes into the subnet's one associated route table or redesign the subnet separation
Explanation
Correct Answer
D:A subnet uses one route table association for user-defined routes. Multiple applications needing different subnet routing policies may require separate subnets or another policy-aware routing architecture.
Incorrect Answers
A:Azure user-defined route tables are associated with subnets rather than arbitrary NICs. NIC attachment does not bypass the one-route-table-per-subnet model.
B:Azure route tables do not support an NSG-like priority to allow two simultaneous table associations. Effective routes select based on prefixes and origin, not multiple RT ranking.
C:DNS zone selection does not attach route tables to a subnet or control route-table concurrency. It can resolve names but not provide separate subnet route policies.
Question 648
A workload subnet has a 0.0.0.0/0 user-defined route with next hop Virtual appliance, pointing to a stateful network virtual appliance NIC at 10.50.1.4. The NVA and workload VMs are all in that same subnet. The NVA NIC and guest operating system already support IP forwarding, but inspection traffic forms a routing loop. The firewall requirement must remain. Which topology correction best addresses the loop?
- Remove the workload subnet route table entirely so its Internet system default route bypasses the NVA
- Associate the same default-to-NVA route table with the NVA and workload subnets so both forward to the same appliance
- Keep the NVA in the workload subnet and switch the user-defined default route to an Internet next hop
- Place the NVA NIC in a separate appliance subnet and retain the workload subnet UDR targeting that appliance private IP
Explanation
Correct Answer
D:Azure recommends placing a routing virtual appliance in a different subnet from the workloads that forward through it. Keeping the UDR on the workload subnet while pointing to the appliance NIC in a separate, reachable subnet avoids re-forwarding the appliance’s own packets through the same workload route-table path. Enabled Azure NIC and guest IP forwarding remain prerequisites but were already satisfied in the scenario.
Incorrect Answers
A:Removing the workload UDR would allow other effective routes, often a direct system Internet default, to carry traffic without the required stateful firewall inspection. It might avoid the observed loop by eliminating the inspection path rather than correcting its topology. The scenario requires retaining inspection and safely forwarding to a next hop.
B:Applying the default-to-appliance UDR to the appliance subnet can direct the appliance’s own egress back through the same next hop, creating or perpetuating a routing loop. Azure recommends a separate subnet for a forwarding NVA and careful routing of its return traffic, not an identical catch-all route for both workload and appliance networks.
C:A UDR with next hop Internet can deliberately bypass a virtual appliance for the matching destination. Although changing away from a same-subnet appliance might stop that specific loop, it defeats the stated requirement to inspect Internet-bound workloads through the stateful NVA. The placement and route association must be corrected while retaining the firewall path.
Question 649
An Azure application subnet has a NAT Gateway with a static outbound public IP. Security then associates a route table containing 0.0.0.0/0 with next hop Virtual appliance set to a firewall private IP. An engineer expects new outbound Internet sessions to continue bypassing the firewall through NAT Gateway because NAT Gateway normally wins over VM public IPs and Load Balancer outbound rules. What actually governs the new traffic path?
- The subnet-level 0.0.0.0/0 user-defined route sends matching traffic toward the firewall appliance instead of directly using NAT Gateway egress
- NAT Gateway always overrides user-defined routing, so inspection can occur only if the NAT public IP is deleted
- The Load Balancer health probe selects the next hop between the firewall and NAT Gateway for all outbound TCP sessions
- New connections are load-balanced between the appliance and NAT Gateway because both resources can provide Internet access
Explanation
Correct Answer
A:NAT Gateway normally takes priority over explicit outbound translation methods such as VM public IPs and Load Balancer outbound rules. However, Microsoft specifically distinguishes custom routing from outbound-method priority: a subnet UDR for 0.0.0.0/0 with next hop Virtual appliance takes the matched traffic to the specified firewall. The NVA must itself have a supported onward egress design.
Incorrect Answers
B:The documented NAT Gateway precedence applies to outbound connectivity configurations, not to a custom UDR that deliberately diverts traffic to an appliance. Treating NAT Gateway as an override for forced inspection could bypass the intended security architecture. The route to the firewall is selected for matching destinations and must be evaluated independently of outbound SNAT precedence.
C:Load Balancer probes determine backend health and forwarding for an associated load-balancing service. They do not select a subnet’s default user-defined route, and no Load Balancer is stated in the design. The routing choice follows the configured prefix and next-hop type, not an HTTP health probe.
D:Azure routing does not arbitrarily balance one flow between an explicit UDR next hop and the subnet NAT Gateway. The stated default route gives a concrete next hop for matching traffic. If a firewall inspection path is required, configure and validate appliance forwarding and return flows rather than assuming unconfigured ECMP between dissimilar services.
Question 650
Two Azure subnets currently share a route table that sends 0.0.0.0/0 through a firewall. A new compliance requirement says that only one subnet should stop inheriting a particular set of future route-table changes. What subnet-level route-table design is necessary?
- Move the compliance subnet into another resource group while retaining the route-table association
- Create an NSG outbound rule with the same IP prefix and treat it as a replacement route table
- Create a separate route table with the intended routes and associate it only with the subnet requiring independent changes
- Add a differently named route to the shared table and assume only the requesting subnet will use it
Explanation
Correct Answer
C:A route table can be associated with more than one subnet, but editing that shared table changes the routes for all associated subnets. Giving one subnet its own route table isolates future route policy modifications without altering the other's route choice.
Incorrect Answers
A:A resource group's name or location in the management hierarchy does not change the subnet's associated routing configuration. Both subnets would still share policy.
B:Network security group rules allow or deny traffic; they do not select a next-hop route to an appliance. Replacing a route decision with a firewall allow rule would not meet the routing-isolation requirement.
D:The shared route table is evaluated by each associated subnet, so the added rule would not be subnet-specific. Name differences cannot isolate route semantics for a single member subnet.
Microsoft Azure Administrator (AZ-104) Practice Tests