Microsoft AZ-104 Exam Dumps, Practice Test Questions

100% Latest & Updated Microsoft AZ-104 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!

Microsoft AZ-104 Premium Bundle
$79.97
$59.98

AZ-104 Premium Bundle

  • Premium File: 606 Questions & Answers. Last update: Nov 5, 2026
  • Training Course: 132 Video Lectures
  • Study Guide: 458 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates

AZ-104 Premium Bundle

Microsoft AZ-104 Premium Bundle
  • Premium File: 606 Questions & Answers. Last update: Nov 5, 2026
  • Training Course: 132 Video Lectures
  • Study Guide: 458 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
$79.97
$59.98

Microsoft AZ-104 Practice Test 60

Question 590

A hub VNet was expanded with a second nonoverlapping address prefix, and new VMs in that prefix can reach one another. An existing spoke VNet is still peered successfully to the hub, but spoke NIC effective routes show only the hub’s old prefix, so the spoke cannot reach the new subnet. NSGs allow the traffic. Which action directly repairs the stale remote address-space view?

  1. Synchronize the VNet peering on each affected remote peer after the hub address-space change
  2. Recreate every VM network interface in the new hub subnet
  3. Set the peering to Allow forwarded traffic only, leaving its remote address-space metadata unchanged
  4. Remove the new VNet prefix and create an overlapping subnet within the old prefix

Explanation

Correct Answer

A:

Peering address-space metadata must be synchronized after a peered VNet expands or changes its address ranges. Syncing on the affected peering links updates the remote prefix view, after which effective routes can include the new hub range; confirm routing after propagation.

Incorrect Answers

B:

NIC recreation does not update the remote peering’s advertised address prefixes. The new VMs already communicate within the hub, so the failure is not their local NIC allocation.

C:

Allow forwarded traffic controls transit of packets forwarded through appliances across peering. It does not refresh the peering configuration’s stale address-space list, which is the observable problem in this case.

D:

Overlapping address spaces prevent valid subnet design and can break peering. Deleting the valid new nonoverlapping range avoids the symptom rather than updating the remote routing information needed by the spoke.

Question 591

An administrator tries to configure regional VNet integration for an App Service app but selects a subnet currently delegated to an unrelated Azure service. The app plan is compatible and the VNet is in the same region. What subnet preparation must be made?

  1. Select a subnet already delegated to Microsoft.ContainerInstance/containerGroups for App Service integration
  2. Associate an NSG with the existing incompatible subnet but leave its delegation unchanged
  3. Use a suitable subnet delegated to Microsoft.Web/serverFarms for the integration rather than the incompatible delegation
  4. Enable route-all and leave the VNet integration subnet delegated to Microsoft.ContainerInstance/containerGroups

Explanation

Correct Answer

C:

The integration subnet must meet App Service delegation and size requirements. An incompatible service delegation prevents reuse until corrected.

Incorrect Answers

A:

Delegation is service-specific. A subnet delegated to another resource provider is not interchangeable with the required Microsoft.Web/serverFarms integration subnet.

B:

NSGs regulate traffic but cannot change which Azure PaaS resource provider can use a delegated subnet. The integration still fails delegation validation.

D:

Route-all affects eligible outbound routing after VNet integration is established; it cannot override an incompatible subnet delegation. App Service regional VNet integration requires a suitable Microsoft.Web/serverFarms delegated subnet.

Question 592

A production subnet is nearly full and several VM NICs already use addresses in its current prefix. Administrators want to change the subnet address prefix in place but must avoid collisions and downtime. What should they check before the operation?

  1. Shrink the subnet to a more specific prefix even if assigned NIC addresses fall outside it
  2. Whether the new address space is valid, nonoverlapping, and compatible with attached resource IP configurations
  3. Add the new subnet prefix as an overlapping address range inside the same VNet
  4. Change the IP address of each NIC without checking the intended subnet address range

Explanation

Correct Answer

B:

Subnet changes are constrained by virtual-network ranges, overlap rules and resources already attached. An in-place edit may be blocked or require migration when connected interfaces and allocated addresses are incompatible.

Incorrect Answers

A:

A smaller subnet could exclude live IP configurations, and Azure may reject an incompatible prefix. The operator must plan around already allocated addresses rather than assuming a narrower prefix is safe.

C:

Overlapping address prefixes do not create independent usable subnets. The address plan must respect Azure subnet and VNet range constraints without collisions.

D:

NIC readdressing can disrupt applications and still fail if the proposed subnet prefix is invalid. Capacity and compatibility should be verified before changing live addresses.

Question 593

An Azure VNet and a recently acquired on-premises branch both use 10.70.0.0/16. The branch cannot be renumbered during this quarter. The team has a supported Azure VPN Gateway SKU with a route-based IPsec site-to-site connection and needs bidirectional connectivity without ambiguous private addresses. Which Azure feature should it configure for this supported connection type?

  1. Configure Azure VPN Gateway NAT with suitable ingress and egress address mappings and nonoverlapping translated prefixes for the IPsec site-to-site connection
  2. Enable Allow forwarded traffic on a VNet peering, because peering automatically translates a branch network that overlaps the VNet
  3. Attach an Azure NAT Gateway to the application subnet, because its outbound Internet SNAT automatically translates both directions of the VPN tunnel
  4. Use Azure VPN Gateway NAT on a VNet-to-VNet VPN connection instead, because its translation rules apply equally to IPsec cross-premises, VNet-to-VNet, and point-to-site connections

Explanation

Correct Answer

A:

Azure VPN Gateway NAT on supported route-based IPsec site-to-site connections can translate overlapping Azure VNet and on-premises prefixes with connection-bound ingress/egress mappings. Because the requirement includes bidirectional traffic initiation, use appropriate static one-to-one NAT mappings rather than relying on dynamic NAT, whose sessions must begin on the internal-mapping side. Align the translated/nonoverlapping prefixes and applicable on-prem routes or BGP translation so each side can reach the other without renumbering the branch.

Incorrect Answers

B:

VNet peering is a private Azure-VNet-to-Azure-VNet connectivity feature and has nonoverlapping address-space requirements. Allow forwarded traffic permits appropriately routed appliance forwarding but neither establishes a cross-premises IPsec tunnel nor performs VPN NAT. It cannot translate the overlapping branch prefix in this site-to-site VPN scenario.

C:

Azure NAT Gateway provides outbound source translation from Azure subnets to the public Internet; it is not the site-to-site VPN gateway NAT feature. Attaching it to an application subnet does not apply ingress and egress address mappings to packets travelling through a VPN Gateway connection. The overlap must be handled in the supported VPN Gateway configuration.

D:

Microsoft documents Azure VPN Gateway NAT for route-based IPsec cross-premises connections; NAT is not supported on VNet-to-VNet or point-to-site VPN connections. Choosing an unsupported connection type would not solve the overlapping branch-to-VNet network design. Use supported site-to-site NAT rules with nonoverlapping external mapped address spaces.

Question 594

A tenant has a VNet with a /20 address space and needs a new /24 subnet for an isolated analytics tier. A proposed /24 falls outside the VNet's address ranges. What must happen before that subnet can be created?

  1. Apply a user-defined route advertising the outside /24 to the current VNet
  2. Associate an NSG whose rules explicitly permit the proposed /24
  3. Add an additional nonoverlapping address prefix to the VNet, then place the subnet inside it
  4. Create a subnet using a different resource group with the same out-of-range /24 prefix and assume VNet address membership is optional

Explanation

Correct Answer

C:

A subnet range must be contained by one of its parent VNet address prefixes. Adding the missing nonoverlapping VNet prefix establishes valid parent address space before the new subnet can exist.

Incorrect Answers

A:

A route describes forwarding to a destination and does not enlarge the address ranges from which a VNet can allocate subnet IPs. The subnet-creation validation would still fail.

B:

NSGs authorize or deny packet flows after address planning. They cannot make an out-of-range subnet address valid or change which private addresses belong to the VNet.

D:

A subnet is part of its VNet's address space regardless of resource-group organization. First expand the VNet with a valid nonoverlapping prefix, then create the /24 subnet within it.

Question 595

A team adds IPv6 to a dual-stack Azure VNet. The proposed application subnet has an IPv4 /26 but an IPv6 /80, selected because only 30 IPv6 hosts are currently planned. Azure rejects the IPv6 subnet configuration. What specific address-size correction is required?

  1. Use IPv6 /80 but also expand the IPv4 subnet to /24; IPv4 size determines IPv6 validity.
  2. Use an IPv6 /127, because Azure assigns only two IPv6 endpoints per subnet.
  3. Remove the subnet IPv6 prefix; Azure allows IPv6 only at the VNet level, not on subnets.
  4. Allocate an IPv6 /64 for that subnet while retaining an independently suitable IPv4 prefix.

Explanation

Correct Answer

D:

Azure VNet IPv6 subnets must be exactly /64 to support the platform networking and routing model. The existing IPv4 /26 can remain if it independently satisfies resource capacity; it does not control the IPv6 prefix length. Allocate the /64 from an IPv6 range included in the VNet.

Incorrect Answers

A:

The IPv4 CIDR width is independent of the IPv6 subnet rule. Increasing IPv4 address capacity cannot make an IPv6 /80 valid in Azure, and it can disrupt the existing IPv4 allocation plan.

B:

A /127 has only a pair of IPv6 addresses and is not an accepted Azure VNet IPv6 subnet size. Azure requires a full /64, even when a workload presently uses very few IPv6 addresses.

C:

Azure supports dual-stack VNets and subnets with both IPv4 and IPv6 prefixes. Deleting the subnet-level IPv6 allocation would defeat the requirement to address application endpoints with IPv6.

Question 596

A VNet has sufficient free address space and a /27 subnet named TunnelWorkers. The operations team tries to deploy a site-to-site Azure VPN gateway into that subnet, but the gateway deployment cannot use it. No ordinary VMs need to live in the gateway subnet. What subnet change meets the Azure VPN gateway prerequisite?

  1. Rename the VNet itself to GatewaySubnet; a VPN gateway attaches at the VNet resource name.
  2. Create a dedicated /27 subnet named exactly GatewaySubnet and reserve it for virtual network gateway services.
  3. Deploy a Standard public IP to TunnelWorkers; the address association substitutes for a gateway subnet.
  4. Delegate TunnelWorkers to Microsoft.Web/serverFarms so the VPN gateway becomes permitted.

Explanation

Correct Answer

B:

The Azure VPN gateway service deploys its managed gateway VMs into a subnet with the reserved name GatewaySubnet. A /27 is the recommended supported size for modern gateway SKUs and leaves capacity for gateway infrastructure. Keep other workloads out of that subnet; TunnelWorkers is not recognized as a gateway subnet merely because it is /27.

Incorrect Answers

A:

Azure identifies the special gateway subnet by the subnet name GatewaySubnet, not the virtual network name. Renaming the VNet would not provide the required dedicated subnet and may unnecessarily disrupt resource naming.

C:

A public IP may be needed for a VPN gateway, but it cannot replace the gateway subnet where the managed gateway resources are deployed. The failure concerns the mandatory subnet identity and placement, not solely external addressing.

D:

App Service integration delegation is unrelated to Azure VPN gateway deployment. Delegating a general subnet to Microsoft.Web/serverFarms would not make Azure treat it as the required GatewaySubnet, and might make the subnet unavailable for other purposes.

Question 597

An organization needs 90 concurrently assigned IPv4 addresses in a new Azure subnet. Its capacity calculation counts every address in a /25 as usable. What is the relevant Azure-specific correction?

  1. Use the gateway-subnet reservation count for every application subnet
  2. Subtract Azure's five reserved IPv4 addresses when evaluating the usable capacity of the /25
  3. Count all 128 addresses because Azure reservations apply only to the parent VNet
  4. Subtract one address per network security group associated with the subnet

Explanation

Correct Answer

B:

Azure reserves five IPv4 addresses in each subnet for platform functions. A /25 therefore offers fewer usable IPs than its raw 128-address size, though still enough for 90 devices.

Incorrect Answers

A:

GatewaySubnet is a designated subnet for gateway resources; its design requirements are different. Ordinary subnet usable capacity still follows Azure's five-address reservation rule.

C:

The five reserved addresses apply separately to each subnet, not merely to the overall VNet. Ignoring them can lead to provisioning failures near subnet exhaustion.

D:

NSGs are filtering resources rather than IP-consuming endpoints. The Azure platform reservation is fixed by subnet design, not by the number of filtering rule resources.

Question 598

A security team wants two application subnets in the same Azure VNet, each with a different set of network rules, but both should use the same VNet-level custom DNS servers. Which configuration supports this separation?

  1. Attach the two NSGs directly to the single VNet address-space object
  2. Change the route table only, because UDRs can express protocol port denies
  3. Associate a different network security group with each subnet and keep the VNet custom DNS setting
  4. Create a separate private DNS zone for each subnet and avoid NSGs

Explanation

Correct Answer

C:

Subnet-level NSG associations let the two tiers enforce different traffic rules. VNet-level DNS settings can still be used by VMs in both subnets, subject to DHCP refresh.

Incorrect Answers

A:

NSGs attach to subnets or network interfaces, not the VNet address-space definition. That placement would not create independent rules for the two tiers.

B:

Route tables select next hops by destination prefixes; they do not match TCP ports as traffic security rules. The requested tier filtering requires NSGs or suitable security controls.

D:

Private DNS zones control name resolution, not packet filtering. Separate zones would not provide the required distinct inbound or outbound subnet rule sets.

Question 599

An operator updates a VNet's custom DNS-server list, but a running VM keeps querying the previous DNS address from its guest configuration. What operational action should be planned to make the new network DNS setting effective for the VM?

  1. Renew only the VM's public-IP resource allocation and assume DHCP DNS settings inside the guest refresh at the same time
  2. Associate another subnet NSG while leaving the VM's DHCP lease and guest DNS resolver unchanged
  3. Add a private DNS zone with the same label as the VNet
  4. Restart the affected VM or otherwise refresh its DHCP-derived network settings

Explanation

Correct Answer

D:

A running VM may retain its previous DNS configuration even after the VNet property changes. Refreshing the guest's leased network configuration allows the new custom DNS servers to take effect.

Incorrect Answers

A:

The VM obtains custom DNS settings through the VNet's DHCP network configuration. Altering its public-IP allocation is not a substitute for restarting or otherwise refreshing guest network settings.

B:

NSG rules govern network admission, not the DNS server addresses already cached from DHCP in the running guest. The guest network configuration must be refreshed.

C:

A private DNS zone provides records to resolvers in linked VNets but does not refresh a VM's already configured upstream DNS IP addresses.

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?

  1. Verify the service's subnet delegation rules and use a separate subnet for unsupported VM workloads
  2. Assume VM coexistence is always allowed because the two workloads have different NSGs
  3. Remove all subnet routes while retaining the delegation to permit any resource
  4. 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.

Microsoft Azure Administrator (AZ-104) Practice Tests

UP

SPECIAL OFFER: GET 10% OFF

This is ONE TIME OFFER

ExamSnap Discount Offer
Enter Your Email Address to Receive Your 10% Off Discount Code

A confirmation link will be sent to this email address to verify your login. *We value your privacy. We will not rent or sell your email address.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.