100% Latest & Updated Microsoft AZ-104 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 600
A VNet includes a subnet delegated to an Azure-managed service. The team proposes deploying unrelated virtual machines into that subnet as well. What must be checked before treating it as general-purpose VM capacity?
- Verify the service's subnet delegation rules and use a separate subnet for unsupported VM workloads
- Assume VM coexistence is always allowed because the two workloads have different NSGs
- Remove all subnet routes while retaining the delegation to permit any resource
- Assign the virtual machines a public IP so the delegation no longer applies
Explanation
Correct Answer
A:Subnet delegation grants a particular Azure service network-management permissions and can restrict what other resources share the subnet. Unsupported workloads need their own compatible subnet.
Incorrect Answers
B:Traffic filtering does not override delegation-specific subnet eligibility. An unsupported resource deployment can fail even if a network security group would isolate it.
C:Routes influence packet forwarding, not which Azure resource types a delegation permits. Clearing routes would not establish general-purpose eligibility and could harm connectivity.
D:Whether a VM has a public IP does not change the delegated subnet's resource-type restrictions. Azure validates subnet placement independently of public reachability.
Question 601
A team is decommissioning a subnet that still contains a private endpoint NIC. A direct delete operation fails despite empty VM inventories. What dependency must be removed first?
- Delete only the subnet route table without changing private endpoint resources
- Delete or relocate the private endpoint through its supported resource lifecycle before deleting the subnet
- Remove the NSG, because NSG association is always the sole dependency that blocks subnet deletion
- Disable the private endpoint's DNS zone group only
Explanation
Correct Answer
B:A private endpoint allocates a network interface and private IP inside the subnet. The subnet cannot be removed while that dependent network resource remains attached.
Incorrect Answers
A:Routing resources do not own the endpoint's NIC. Replacing routing associations would not free the private endpoint IP that blocks subnet removal.
C:An NSG may be associated but removing it does not destroy the private endpoint NIC. The occupying resource still prevents subnet deletion regardless of filtering configuration.
D:Zone groups manage DNS record integration, not allocation of the endpoint's private IP and NIC. Removing DNS associations leaves the subnet dependency in place.
Question 602
A VNet has its VM names auto-registered in the Azure Private DNS zone corp.internal through a registration-enabled virtual network link. The team creates a second private zone, apps.corp.internal, containing manually maintained A records. Those names must resolve from the same VNet without losing the existing corp.internal VM auto-registration, but Azure rejects enabling auto-registration for the second zone link. Which configuration meets both needs?
- Enable auto-registration for the second private zone link as well, because different DNS suffixes permit multiple registration zones per VNet
- Link apps.corp.internal to the VNet with auto-registration disabled, preserving the existing corp.internal registration link
- Turn off auto-registration for corp.internal and enable it for apps.corp.internal, while expecting VM auto-registration in corp.internal to remain intact
- Create another VNet-link resource name for apps.corp.internal with registration enabled to bypass the one-registration-zone limit for the same VNet
Explanation
Correct Answer
B:A VNet can have several resolution-only Azure Private DNS links while auto-registering its VM records in only one private zone. Linking apps.corp.internal without auto-registration gives its clients DNS answers for the manually maintained records. Leaving the corp.internal registration-enabled link intact preserves existing automatic creation, updates and deletion of VM hostname records.
Incorrect Answers
A:Azure Private DNS permits a VNet to resolve records from multiple linked private DNS zones, but only one linked zone can be the automatic VM-registration zone for a particular VNet. Different suffix names do not make two registration-enabled links valid for that same network. The attempted second registration link fails even though records in the new zone could be resolved with a normal resolution-only link.
C:Switching the single permitted registration zone to apps.corp.internal would allow that zone to register VM names, but it removes the automatic VM record maintenance required for the existing corp.internal zone. The scenario requires both ongoing corp.internal auto-registration and the second zone’s manual-record resolution, so this changes the wrong link configuration.
D:The limit is per virtual network, not per link-resource name. Creating a differently named link for the same VNet does not create a second automatic registration zone. The appropriate second relationship is resolution-only; Azure will answer its linked zone records without having to duplicate VM registration.
Question 603
An IPv4-only application is moved to an Azure subnet with many free addresses. A teammate recommends enabling IPv6 on the VNet merely to double the usable IPv4 addresses. Which response correctly assesses the proposal?
- Enable IPv6 because each IPv6 prefix contributes the same number of usable IPv4 addresses
- Add an extra private IPv4 configuration to every VM NIC and assume this increases the total IPv4 addresses in the subnet
- Change the subnet from /24 to /27 because a larger numerical CIDR prefix length means more usable IPv4 hosts
- Size or add an IPv4 subnet appropriately; enabling IPv6 adds a separate address family, not IPv4 capacity
Explanation
Correct Answer
D:Dual-stack networking gives eligible workloads IPv6 in addition to IPv4. It does not convert IPv6 addresses into new IPv4 addresses, so IPv4 exhaustion still needs IPv4 planning.
Incorrect Answers
A:IPv4 and IPv6 are separate protocol address spaces. Provisioning an IPv6 prefix does not extend the subnet's IPv4 CIDR range for an IPv4-only application.
B:Additional NIC IP configurations consume addresses from the same fixed IPv4 subnet pool; they do not create new usable addresses. For IPv4-only capacity, allocate an appropriately sized IPv4 prefix or subnet.
C:A /27 provides fewer IPv4 addresses than a /24 because the prefix reserves more address bits for the network. Increasing the numerical CIDR prefix length would shrink, not expand, the usable IPv4 pool; IPv6 cannot compensate for an IPv4-only workload.
Question 604
A hub virtual network is directly peered with spokes A and B. No gateway transit, route server, network virtual appliance, or separate routing configuration is in place. Workloads in A need to reach B. Why does direct hub peering alone not provide that path?
- VNet peering is nontransitive; A and B need an explicit connectivity path
- Direct peering between A and hub implicitly advertises B’s routes to A through the hub
- Use a hub NSG allow rule as the only change to create a routed path between spokes
- Enable a DNS private zone for both spokes and assume successful name resolution provides IP forwarding
Explanation
Correct Answer
A:VNet peering establishes connectivity between its direct peers but does not forward traffic transitively from A through hub to B. A direct spoke-to-spoke peering or intentionally configured transit path is necessary.
Incorrect Answers
B:A directly peered VNet receives routes to the peered hub itself, but peering does not act as a transitive router for the second spoke. B remains unreachable through this assumption.
C:An NSG can permit traffic if a route exists, but it cannot create the absent spoke-to-spoke forwarding path. Routing and security are separate.
D:DNS can resolve a workload hostname to an address, but the resolved address still needs a valid route. Nontransitive peering remains the obstacle.
Question 605
A spoke VNet is peered to a hub containing an Azure VPN gateway connected to a branch office. The spoke has no gateway and should use the hub gateway to reach the branch. Which peering configuration concept is needed?
- Gateway transit on the hub and use remote gateways on the spoke
- Enable allow-forwarded-traffic on the spoke alone without the hub gateway-sharing options
- Create a default internet route on the spoke subnet instead of using the hub gateway
- Enable gateway transit only on the spoke without configuring the hub and remote-gateway usage
Explanation
Correct Answer
A:The hub can allow gateway transit and the spoke can be configured to use the hub’s remote gateway, subject to peering and gateway constraints. This shares the existing hub connectivity with the spoke.
Incorrect Answers
B:The forwarded-traffic flag affects permitted forwarding in peering, but does not by itself make the spoke use the hub’s VPN gateway or learn its remote routes.
C:A direct internet default route does not establish a private tunnel to the branch-office address space. The remote VPN gateway relationship is still missing.
D:Gateway transit is offered by the hub containing the gateway; the spoke must be configured to use that remote gateway. A one-sided reversed setting is insufficient.
Question 606
A hub VNet contains a firewall NVA that forwards packets from one spoke to another. Both hub-spoke peerings exist, but spokes cannot receive traffic forwarded from the NVA. Network rules otherwise allow it. Which peering setting may be missing?
- Enable gateway transit on the hub peering to share a VPN gateway even though forwarding is through an NVA
- Enable ordinary virtual network access on each peering while keeping forwarded traffic disallowed
- Allow forwarded traffic on the relevant peering connections so NVA-transited packets are accepted
- Add NSG rules that allow the spoke prefixes but leave the peering's forwarded-traffic setting unchanged
Explanation
Correct Answer
C:Peering's Allow forwarded traffic option permits packets forwarded by a network appliance in a peered VNet to traverse the connection when the route and IP-forwarding configuration also support it. With the existing NVA and route path, this option addresses the specific spoke-to-spoke forwarding boundary described in the question.
Incorrect Answers
A:Gateway transit is intended to let a peered network use another network's VPN or ExpressRoute gateway. The stem instead identifies a network virtual appliance that forwards third-party packets between spokes. Turning on gateway sharing isn't the missing forwarding permission and doesn't make those NVA-relayed packets acceptable across the peering boundary.
B:Allow virtual network access supports communication between addresses in directly peered VNets. The traffic here originates in one spoke and is forwarded by an intermediate appliance, so a separate forwarded-traffic permission is relevant. Basic direct-peer access alone does not authorize the relayed packets in this topology.
D:Network security groups filter packets at subnet or interface enforcement points. Even an explicit allow rule can't replace peering's separate forwarded-traffic permission. The NVA can still receive or forward locally while Azure refuses the transmitted traffic at the peering boundary, so routing and peering flags must be checked too.
Question 607
Two company VNets in different Azure regions have nonoverlapping ranges. The apps need private IP connectivity over Microsoft’s backbone, without VPN devices or Internet-facing gateways. Which Azure VNet feature is suitable?
- Global virtual network peering between the two nonoverlapping VNets
- Create private endpoints in both VNets for selected Azure PaaS resources, then assume those endpoints also establish VM-to-VM routes
- Deploy VNet-to-VNet VPN gateways and configure an encrypted IPsec tunnel between regional VPN endpoints
- Publish application frontends behind an Azure public load-balancing service and access the other region using public endpoints
Explanation
Correct Answer
A:Global VNet peering connects VNets in different supported Azure regions and enables private-address traffic over Microsoft's network without an extra VPN gateway. Its routing works for the network address spaces once both peering links, peering access settings, and workload security rules are correct. The stipulated nonoverlapping prefixes satisfy a key prerequisite.
Incorrect Answers
B:Private endpoints give clients private connectivity to a particular Private Link-capable service. Creating them in both VNets doesn't establish general IP routing between two independent VM subnets. It could be appropriate for Azure Storage or a supported private application service, but the scenario asks for network-to-network private addresses for general workloads.
C:A VNet-to-VNet VPN can connect two Azure networks using gateway endpoints and an IPsec tunnel. It is a feasible different architecture, but it explicitly requires VPN gateway infrastructure that the question forbids. Global peering reaches the desired private-address connectivity without installing or operating those gateways.
D:A public load balancer distributes client traffic to public service frontends, rather than joining private VNet address spaces. Applications may be reachable through public IPs with added authentication and filtering, but the question specifically excludes Internet-facing gateways and requires private-IP communication over Azure's backbone.
Question 608
Two Azure VNets have peering objects and nonoverlapping prefixes. One peering has Allow virtual network access turned off. Hosts cannot use the expected private address path across peering. Which setting should be reviewed?
- Enable Use remote gateways on the peering without an appropriate hub gateway
- Create a user-defined route through a firewall without changing peering access permissions
- The peerings’ virtual network access settings on the relevant direction
- Enable Allow forwarded traffic but leave Allow virtual network access off
Explanation
Correct Answer
C:Peering includes options that control permitted virtual network communication. A disabled virtual network access setting can prevent the intended cross-VNet traffic even when peerings exist.
Incorrect Answers
A:Gateway transit affects remote gateway use and does not replace basic virtual network access between peered prefixes.
B:A custom route cannot authorize a peering flow that its own virtual network access setting disallows.
D:Forwarded-traffic permission addresses transit through network virtual appliances, not the basic VNet-to-VNet access control currently disabled.
Question 609
A spoke VNet already has its own VPN gateway. Architects enable gateway transit on a peered hub and then attempt to enable Use remote gateways on the spoke peering. Azure rejects the combination. Why?
- Enable gateway transit only on the spoke while leaving the hub setting disabled
- VNet peering does not support gateway transit at all
- A VNet cannot use a peered remote gateway while retaining its own local gateway
- Enable Use remote gateways on the hub side and Allow gateway transit on the spoke side
Explanation
Correct Answer
C:A VNet can use one gateway path, local or remote, for that configuration. The spoke must not already have its own gateway when Use remote gateways is selected.
Incorrect Answers
A:Gateway transit requires paired configuration and eligibility. Turning on a partial flag cannot make a spoke that already has its own gateway consume another gateway.
B:Peering supports the hub gateway transit pattern through paired settings. It is valid when prerequisites are satisfied.
D:The paired flags would be reversed, and the spoke still has a local gateway. Correct flag direction alone does not resolve the local-gateway restriction.
Question 610
A branch-spoke VNet is peered to two hubs, each with a VPN gateway. Engineers want to turn on Use remote gateways for both peering connections to combine both gateways. What restriction applies?
- Use remote gateways can be enabled for only one peering on a receiving VNet
- Set Allow gateway transit on both hubs and assume that automatically permits two remote gateways in the spoke
- Enable Use remote gateways on the spoke and also create a local VPN gateway for redundancy
- Configure equal-cost UDRs in the spoke and assume the peering flags then accept multiple remote gateways
Explanation
Correct Answer
A:Azure gateway transit permits a spoke to select one remote gateway association. Multiple peered hubs cannot simultaneously supply separate remote gateways through the same spoke setting.
Incorrect Answers
B:Allow gateway transit advertises gateway availability on each hub, but the consuming spoke can select only one remote-gateway peering. Two eligible hubs do not remove that limit.
C:The receiving VNet cannot consume a remote gateway and use its own gateway together under this peering pattern. Adding a local gateway makes the design invalid.
D:UDRs influence forwarding paths but cannot alter the Azure peering validation constraint that limits the spoke to one remote gateway association.
Microsoft Azure Administrator (AZ-104) Practice Tests