Pass Your Microsoft AZ-104 Exam Easy!

Microsoft AZ-104 Exam Questions & Answers, Accurate & Verified By IT Experts

Instant Download, Free Fast Updates, 99.6% Pass Rate

AZ-104 Premium Bundle

$79.99

Microsoft AZ-104 Premium Bundle

AZ-104 Premium File: 606 Questions & Answers

Last Update: Sep 24, 2026

AZ-104 Training Course: 132 Video Lectures

AZ-104 PDF Study Guide: 458 Pages

AZ-104 Bundle gives you unlimited access to "AZ-104" files. However, this does not replace the need for a .vce exam simulator. To download VCE exam simulator click here
Microsoft AZ-104 Premium Bundle
Microsoft AZ-104 Premium Bundle

AZ-104 Premium File: 606 Questions & Answers

Last Update: Sep 24, 2026

AZ-104 Training Course: 132 Video Lectures

AZ-104 PDF Study Guide: 458 Pages

$79.99

AZ-104 Bundle gives you unlimited access to "AZ-104" files. However, this does not replace the need for a .vce exam simulator. To download your .vce exam simulator click here

Microsoft AZ-104 Practice Test 34

Question 330

A slot swap causes production errors and operations need to return to the prior build. What should govern rollback?

  1. Back up the currently broken production slot after the failure and assume that new backup contains the previous working release
  2. Remove leaked values and use secure App Service settings, secret references and managed identity
  3. Mark the sensitive application setting as deployment-slot-specific (sticky)
  4. Identify the actual prior slot revision and perform a controlled reverse swap or deployment rollback

Explanation

Correct Answer

D:

An App Service slot swap ordinarily places the former production code into the other slot, enabling a controlled reversal by swapping the same two slots again if that prior build remains intact. Because production became unhealthy, first identify the deployment IDs and verify the actual older code, sticky settings and dependent database compatibility rather than assuming a rollback source exists. Then perform and validate the reverse swap or deploy a separate known-good rollback artifact. Backing up the broken production slot only after the incident would not reconstruct the earlier working release.

Incorrect Answers

A:

A backup taken only after the failed swap preserves the currently broken production state; it does not automatically reconstruct the healthy build that ran before the swap. Azure App Service can roll back an ordinary swap by swapping the same two slots again when the previous version remains on staging. The operator should identify the actual prior build and review slot-specific settings before performing a controlled reverse swap or an already validated rollback. A newly captured image of failure is not equivalent to a known-good recovery point.

B:

Application configuration must keep credentials out of public deployment artifacts. The stated constraint is different: rollback must restore working code and appropriate settings, not merely rename the slot.

C:

Some App Service settings are swappable, while explicitly sticky values remain bound to their slot. The stated constraint is different: rollback must restore working code and appropriate settings, not merely rename the slot.

Question 331

Two VNets intended for peering both use overlapping 10.20.0.0/16 address space. What must change?

  1. Allocate a nonoverlapping subnet prefix with adequate free addresses
  2. Add a nonoverlapping secondary CIDR to one VNet but leave the original overlapping 10.20.0.0/16 prefixes assigned to both VNets
  3. Create the required VNet peering relationships with appropriate mutual settings
  4. Assign nonoverlapping VNet address spaces before establishing peering
  5. Keep both overlapping 10.20.0.0/16 ranges and change only UDR routing preferences to force peering to succeed

Explanation

Correct Answer

D:

Peering requires routable distinct prefixes; NSG rule changes cannot resolve CIDR overlap.

Incorrect Answers

A:

Overlapping or exhausted VNet address space prevents safe subnet creation and future growth. The stated constraint is different: peering requires routable distinct prefixes; NSG rule changes cannot resolve CIDR overlap.

B:

Azure VNet peering checks the entire set of address prefixes assigned to both virtual networks, not only newly added subnets. Adding a spare nonoverlapping prefix does not remove the original 10.20.0.0/16 collision, so peering remains unsupported. Before establishing the relationship, administrators must readdress or remove the conflicting VNet prefix while considering existing attached subnet resources and dependencies. Merely appending a compatible range would be useful only after the old conflicting range is actually removed.

C:

Peer-to-peer connectivity requires matching configurations and nonoverlapping address spaces. The stated constraint is different: peering requires routable distinct prefixes; NSG rule changes cannot resolve CIDR overlap.

E:

Changing a route table is not a substitute for a valid peering address plan. Azure refuses peering where the VNets' CIDR ranges overlap, before effective routing between them can be used. Leaving 10.20.0.0/16 in both networks means the same destination addresses have ambiguous ownership across the desired connection. The correct fix is to plan and assign nonoverlapping VNet address spaces, migrate dependent subnet resources safely where necessary, and only then establish the supported peering. This alternative preserves the precondition that causes deployment rejection.

Question 332

An Azure /29 subnet has eight total IPv4 addresses, and a team wants to assign five distinct private IPs to VMs in it. The team assumes all eight can be used. What is the sizing mistake?

  1. Apply the service-required subnet delegation and verify service compatibility
  2. Review private endpoint subnet network policies and placement requirements
  3. Account for Azure-reserved subnet IP addresses when calculating usable capacity
  4. Keep the /29 prefix for five VM NICs because Azure reserves none of its usable addresses
  5. Choose a second subnet range that overlaps the existing subnet so the missing addresses become available

Explanation

Correct Answer

C:

Every Azure IPv4 subnet reserves five addresses for the network identifier, platform services and the final address. A /29 contains eight total IPv4 addresses, leaving only three allocatable private IPs for virtual-machine NICs. The team requests five distinct VM addresses, so the prefix cannot support that capacity even before future growth. Calculate usable addresses as total block size minus Azure reservations, then select a suitably sized nonoverlapping subnet such as an available /28 where the VNet address plan permits it. Do not count every address in the CIDR block as a guest-assignable IP.

Incorrect Answers

A:

Delegation grants appropriate control to a platform service; not every subnet can be shared arbitrarily. The stated constraint is different: azure reserves five IPs per subnet, limiting usable host addresses beyond ordinary network math.

B:

Private endpoints are service NICs with specific routing/NSG features that may differ from ordinary VMs. The stated constraint is different: azure reserves five IPs per subnet, limiting usable host addresses beyond ordinary network math.

D:

A /29 subnet has eight addresses in total, but Azure consumes five reserved addresses regardless of how many VM NICs are created. It therefore provides three ordinary private addresses, not the five required. Keeping /29 on the assumption that no addresses are reserved will lead to allocation failures. The proper calculation subtracts Azure platform reservations before assigning a prefix, with headroom for additional endpoints. Verify that the chosen replacement prefix is supported and does not overlap any existing VNet subnet.

E:

Creating an overlapping subnet cannot increase the number of usable IP addresses for five independent VMs; Azure subnet prefixes within a VNet must not overlap. The diagnosed capacity shortfall is mathematical: /29 has eight total but only three assignable after five Azure-reserved addresses. Select a new, nonoverlapping subnet size that leaves sufficient assignable addresses, and plan any migration of already allocated NICs. An overlapping block would introduce an address-plan conflict rather than solve the reservation constraint.

Question 333

A new database tier must fit into an existing VNet without disrupting current subnets. How should its CIDR be chosen?

  1. Add compatible nonoverlapping address space and new subnets after dependency review
  2. Choose a new subnet prefix that overlaps the address range of an existing subnet in the same VNet
  3. Assign nonoverlapping VNet address spaces before establishing peering
  4. Allocate a nonoverlapping subnet prefix with adequate free addresses

Explanation

Correct Answer

D:

Overlapping or exhausted VNet address space prevents safe subnet creation and future growth.

Incorrect Answers

A:

Overlapping expansion cannot safely route workloads; peering and gateway dependencies may limit changes. The stated constraint is different: overlapping or exhausted VNet address space prevents safe subnet creation and future growth.

B:

Azure subnets within one virtual network must have compatible nonoverlapping address ranges. Assigning a prefix that collides with an existing subnet does not create a usable database tier or preserve current workloads. The administrator should allocate an available prefix with enough addresses after Azure reservations and planned headroom, while keeping it inside the VNet address space and avoiding conflicts. A duplicate prefix would fail validation or break routing assumptions.

C:

Peering requires routable distinct prefixes; NSG rule changes cannot resolve CIDR overlap. The stated constraint is different: overlapping or exhausted VNet address space prevents safe subnet creation and future growth.

Question 334

A PaaS service's VNet integration reports that its target subnet is not delegated correctly. What is needed?

  1. Choose a supported subnet CIDR leaving address headroom after Azure reservations
  2. Account for Azure-reserved subnet IP addresses when calculating usable capacity
  3. Review private endpoint subnet network policies and placement requirements
  4. Apply the service-required subnet delegation and verify service compatibility

Explanation

Correct Answer

D:

Delegation grants appropriate control to a platform service; not every subnet can be shared arbitrarily.

Incorrect Answers

A:

A technically valid but tiny subnet can prevent future scaling or infrastructure allocation. The stated constraint is different: delegation grants appropriate control to a platform service; not every subnet can be shared arbitrarily.

B:

Azure reserves five IPs per subnet, limiting usable host addresses beyond ordinary network math. The stated constraint is different: delegation grants appropriate control to a platform service; not every subnet can be shared arbitrarily.

C:

Private endpoints are service NICs with specific routing/NSG features that may differ from ordinary VMs. The stated constraint is different: delegation grants appropriate control to a platform service; not every subnet can be shared arbitrarily.

Question 335

A container platform will need many additional NIC/private endpoint IPs as replica count rises. The existing subnet is close to exhaustion, and the VNet address plan requires nonoverlapping prefixes with usable address headroom after Azure reservations. What sizing decision should precede deployment?

  1. Choose a supported subnet CIDR leaving address headroom after Azure reservations
  2. Apply the service-required subnet delegation and verify service compatibility
  3. Account for Azure-reserved subnet IP addresses when calculating usable capacity
  4. Reuse an address range that overlaps an existing subnet and count all addresses in the block as allocatable, ignoring Azure reservations

Explanation

Correct Answer

A:

Subnet size must be calculated against the platform's expected maximum concurrent endpoints, not just today's replica count. Azure reserves five IPv4 addresses in each subnet, so the CIDR needs enough remaining assignable private IPs for planned scale-out, upgrades and service-specific overhead. Verify the container service's minimum subnet and delegation rules, choose a supported nonoverlapping prefix with measurable spare capacity, and avoid deploying until the capacity plan covers peaks. This addresses the case's stated risk of IP exhaustion; checking an unrelated license or permission cannot create subnet address space.

Incorrect Answers

B:

Delegation grants appropriate control to a platform service; not every subnet can be shared arbitrarily. The stated constraint is different: a technically valid but tiny subnet can prevent future scaling or infrastructure allocation.

C:

Azure reserves five IPs per subnet, limiting usable host addresses beyond ordinary network math. The stated constraint is different: a technically valid but tiny subnet can prevent future scaling or infrastructure allocation.

D:

Azure VNet subnets cannot use overlapping prefixes, and not every IP in an allocated CIDR block is assignable to a workload. Azure reserves five IPv4 addresses per subnet before container runtime or interface allocations are counted. An overlapping address range would fail subnet planning and could break routing, while treating reserved IPs as free overstates available scale-out capacity. Select a supported, nonoverlapping prefix large enough for the maximum replica design and service requirements instead of trying to reuse occupied addresses.

Question 336

A subnet contains an Azure Private Endpoint and several VMs. An NSG is associated with the subnet, but the team observes that NSG rules are not being enforced on traffic to the private endpoint's NIC. The subnet currently has private endpoint network policies disabled. Which configuration change is required to apply supported NSG filtering to that private endpoint?

  1. Enable the subnet's private endpoint network policies for NSGs (or both NSGs and route tables), and verify the resulting effective traffic flows.
  2. Delegate the subnet to Microsoft.Web/serverFarms because subnet delegation automatically applies NSGs to any Private Endpoint NIC.
  3. Leave private endpoint network policies disabled and assume the subnet NSG must already filter the private endpoint's traffic.
  4. Replace the private endpoint with a Storage service endpoint and expect the service to retain the same private IP address in the VNet.

Explanation

Correct Answer

A:

Azure Private Endpoint network policies can be disabled for a subnet by default. When they are disabled, an NSG associated with the subnet does not automatically enforce rules on the private endpoint traffic, even though it can still apply to other resources such as VMs. Microsoft supports enabling network policies specifically for NSGs, for user-defined routes, or for both. The operator should enable the appropriate private-endpoint policy setting on the subnet, inspect routing and effective NSG rules, and test permitted and denied connections. This is a private-endpoint NIC policy requirement, not a need to make the storage account public.

Incorrect Answers

B:

Subnet delegation reserves a subnet for supported delegated Azure services and their expected network configuration. Delegating it to App Service integration does not activate private endpoint network policies or grant enforcement to an NSG on the private endpoint NIC. The problem is not that a web application needs a delegated subnet; it is that private endpoint policy enforcement is disabled. Changing delegation can violate compatibility requirements and disrupt unrelated resources. Enable the specific private endpoint network-policy support needed by the NSG, and verify that any shared-subnet configuration is supported by the deployed services.

C:

Associating an NSG to the subnet can secure compatible VM network traffic, but the question explicitly says private endpoint network policies are disabled. Microsoft documents a distinct subnet configuration that enables NSG and/or route-table enforcement on private endpoints. Leaving that setting disabled while merely retaining the NSG does not address the observed lack of enforcement for the private endpoint NIC. After enabling the supported policy, the operator must still verify priority, direction, tuple matching and intended routes. A policy switch does not by itself create appropriate allow or deny rules for the application.

D:

A service endpoint and a private endpoint use different connectivity models. A service endpoint continues to address the Azure service's public endpoint while associating authorized VNet subnet identity with requests; it does not create the private IP-based connection used by Private Link. Replacing the private endpoint therefore would not preserve the same VNet private address or necessarily satisfy private-only access requirements. The desired change is to enable private endpoint network-policy support for the existing endpoint subnet, not to remove Private Link. DNS and service firewall rules should remain aligned with the approved private connectivity design.

Question 337

Peering fails because two VNet CIDR blocks overlap. Why isn't enabling Allow forwarded traffic a fix?

  1. Create the required VNet peering relationships with appropriate mutual settings
  2. Use nonoverlapping address spaces before peering
  3. Allocate a nonoverlapping subnet prefix with adequate free addresses
  4. Review effective routes and user-defined route priorities after peering

Explanation

Correct Answer

B:

Two VNet CIDR blocks overlap because forwarded-traffic configuration does not create unique routes for conflicting network prefixes.

Incorrect Answers

A:

Peer-to-peer connectivity requires matching configurations and nonoverlapping address spaces. The stated constraint is different: forwarded-traffic configuration does not create unique routes for conflicting network prefixes.

C:

Overlapping or exhausted VNet address space prevents safe subnet creation and future growth. The stated constraint is different: forwarded-traffic configuration does not create unique routes for conflicting network prefixes.

D:

Peering connection status is separate from chosen next hop and network security evaluation. The stated constraint is different: forwarded-traffic configuration does not create unique routes for conflicting network prefixes.

Question 338

An organization has almost exhausted the address range of its primary VNet. What growth plan is appropriate?

  1. Extend the VNet with an address prefix that overlaps an already connected peered VNet
  2. Add compatible nonoverlapping address space and new subnets after dependency review
  3. Allocate a nonoverlapping subnet prefix with adequate free addresses
  4. Assign nonoverlapping VNet address spaces before establishing peering

Explanation

Correct Answer

B:

A VNet that has exhausted address capacity may be able to gain space by adding a new nonoverlapping address prefix and creating additional subnets within the supported VNet configuration. Review the existing prefixes, peering overlap constraints, delegated subnets, route tables, private endpoints and connected-system assumptions before changing addressing. A secondary prefix does not automatically extend an existing subnet, and it cannot be chosen if it collides with a connected VNet. Design the address expansion and migrate or attach workloads deliberately. Changing DNS records or increasing VM sizes cannot create usable private addresses in an exhausted subnet.

Incorrect Answers

A:

Overlapping network address ranges undermine unambiguous routing between connected VNets and can prevent supported peering or forwarding designs. The request is to add capacity to a VNet approaching exhaustion while maintaining its dependencies. Plan additional nonoverlapping address space and subnets with available IP capacity, then validate connected-network routing and service constraints. Introducing a duplicate range recreates conflict instead of providing a safe growth path.

C:

Overlapping or exhausted VNet address space prevents safe subnet creation and future growth. The stated constraint is different: overlapping expansion cannot safely route workloads; peering and gateway dependencies may limit changes.

D:

Peering requires routable distinct prefixes; NSG rule changes cannot resolve CIDR overlap. The stated constraint is different: overlapping expansion cannot safely route workloads; peering and gateway dependencies may limit changes.

Question 339

Two existing VNets must communicate privately without a VPN gateway. How should peering be configured (Select TWO distinct actions.)

  1. Change the DNS zone name and assume packets are now routed across VNets
  2. Enable only management-group RBAC without creating any VNet network connection
  3. Create peering only from VNet A and assume the reverse definition exists
  4. Give both VNets identical overlapping CIDR blocks
  5. Establish the corresponding peering connection from VNet B to VNet A
  6. Establish the necessary peering connection from VNet A to VNet B

Explanation

Correct Answers

E:

The reverse relationship and settings must also exist for the intended bidirectional design.

F:

The source VNet requires a valid peering definition for the destination address space.

Incorrect Answers

A:

'Change the DNS zone name and assume packets are now routed across VNets' fails the stated scenario where two existing VNets must communicate privately without a VPN gateway because DNS records cannot replace the required peering relationships. The required multi-part resolution instead needs peer-to-peer connectivity requires matching configurations and nonoverlapping address spaces, which 'Change the DNS zone name and assume packets are now routed across VNets' does not establish. Do not count 'Change the DNS zone name and assume packets are now routed across VNets' among the mandatory actions; confirm the specific service's effective permissions, network path, or deployment result before treating the design as complete.

B:

'Enable only management-group RBAC without creating any VNet network connection' fails the stated scenario where two existing VNets must communicate privately without a VPN gateway because authorization to configure resources is not equivalent to actual network peering. The required multi-part resolution instead needs peer-to-peer connectivity requires matching configurations and nonoverlapping address spaces, which 'Enable only management-group RBAC without creating any VNet network connection' does not establish. Do not count 'Enable only management-group RBAC without creating any VNet network connection' among the mandatory actions; confirm the specific service's effective permissions, network path, or deployment result before treating the design as complete.

C:

'Create peering only from VNet A and assume the reverse definition exists' fails the stated scenario where two existing VNets must communicate privately without a VPN gateway because the intended bidirectional peering relationship still needs corresponding configuration on VNet B. The required multi-part resolution instead needs peer-to-peer connectivity requires matching configurations and nonoverlapping address spaces, which 'Create peering only from VNet A and assume the reverse definition exists' does not establish. Do not count 'Create peering only from VNet A and assume the reverse definition exists' among the mandatory actions; confirm the specific service's effective permissions, network path, or deployment result before treating the design as complete.

D:

'Give both VNets identical overlapping CIDR blocks' fails the stated scenario where two existing VNets must communicate privately without a VPN gateway because overlapping ranges prevent unambiguous routing and peering eligibility. The required multi-part resolution instead needs peer-to-peer connectivity requires matching configurations and nonoverlapping address spaces, which 'Give both VNets identical overlapping CIDR blocks' does not establish. Do not count 'Give both VNets identical overlapping CIDR blocks' among the mandatory actions; confirm the specific service's effective permissions, network path, or deployment result before treating the design as complete.

Question 340

A peering link shows Connected but packets target a duplicate address range in the other network. What is the root issue?

  1. Review effective routes and user-defined route priorities after peering
  2. Assign nonoverlapping VNet address spaces before establishing peering
  3. Correct overlapping address-space design and effective routing
  4. Add a second address range but leave the duplicate destination range unchanged in both peered VNets

Explanation

Correct Answer

C:

Connected status does not make ambiguous IP destinations routable between VNets.

Incorrect Answers

A:

Peering connection status is separate from chosen next hop and network security evaluation. The stated constraint is different: connected status does not make ambiguous IP destinations routable between VNets.

B:

Peering requires routable distinct prefixes; NSG rule changes cannot resolve CIDR overlap. The stated constraint is different: connected status does not make ambiguous IP destinations routable between VNets.

D:

A new nonoverlapping prefix can support future growth, but it does not by itself remove the ambiguous existing range that the reported packet is trying to reach. The peering status Connected does not prove successful routing when the destination prefix is duplicated. The design must correct the conflicting address ranges and applicable effective routes; retaining the overlap leaves the root cause for that traffic unresolved.


Microsoft Azure Administrator (AZ-104) Practice Tests

Purchase Individually

AZ-104 Premium File

Premium File
AZ-104 Premium File
606 Q&A
$76.99$69.99

AZ-104 Training Video Course

Training Course
AZ-104 Training Video Course
132 Lectures
$27.49$24.99

AZ-104 Study Guide

Study Guide
AZ-104 Study Guide
458 PDF Pages
$27.49$24.99

Site Search:

 

VISA, MasterCard, AmericanExpress, UnionPay

SPECIAL OFFER: GET 10% OFF

ExamCollection Premium

ExamCollection Premium Files

Pass your Exam with ExamCollection's PREMIUM files!

  • ExamCollection Certified Safe Files
  • Guaranteed to have ACTUAL Exam Questions
  • Up-to-Date Exam Study Material - Verified by Experts
  • Instant Downloads
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

SPECIAL OFFER: GET 10% OFF

Use Discount Code:

MIN10OFF

A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.

Next

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.