McAfee-Secured Website

Exam Bundle

Exam Code: AZ-104

Exam Name Microsoft Azure Administrator

Certification Provider: Microsoft

Corresponding Certification: Microsoft Certified: Azure Administrator Associate

Microsoft AZ-104 Bundle $44.99

100% Microsoft AZ-104 Guaranteed Success With Testking Training Materials

Get Real AZ-104 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    AZ-104 Questions & Answers

    606 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual AZ-104 exam while allowing you to hone and measure every aspect of your test-taking ability.

  • AZ-104 Video Course

    AZ-104 Video Course

    132 Video Lectures

    AZ-104 Video Course is developed by Microsoft Professionals to help you pass the AZ-104 exam.

    Description

    This course will improve your knowledge and skills required to pass Microsoft Azure Administrator exam.
  • Study Guide

    AZ-104 Study Guide

    458 PDF Pages

    Developed by industry experts, this 458-page guide spells out in painstaking detail all of the information you need to ace AZ-104 exam.

Microsoft Azure Administrator (AZ-104) Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • Questions & Answers

    Questions & Answers

    606 Questions

    $124.99
  • AZ-104 Video Course

    Video Course

    132 Video Lectures

    $39.99
  • Study Guide

    Study Guide

    458 PDF Pages

    $29.99

Microsoft AZ-104 Practice Test 21

Question 200

A staging slot contains a new App Service release. During a planned slot swap, the production slot must remain online until the staging instances finish initialization. The team also requires the /health/ready endpoint to return HTTP 200 before routing production traffic to those instances. Which configuration best enforces the readiness gate?

  1. Configure WEBSITE_SWAP_WARMUP_PING_PATH=/health/ready and WEBSITE_SWAP_WARMUP_PING_STATUSES=200 for the swapping application, then perform the supported slot swap.
  2. Mark the production database connection string as a slot setting but leave the swap warm-up endpoint and acceptable response codes unspecified.
  3. Set WEBSITE_WARMUP_PATH=/health/ready only and this necessarily restricts every slot-swap warm-up response to HTTP 200.
  4. Set WEBSITE_SWAP_WARMUP_PING_STATUSES=500,503 so failed readiness checks qualify as successfully warmed instances.

Explanation

Correct Answer

A:

The swap-specific warm-up path targets the application readiness endpoint, and the accepted-status list prevents the swap from completing when the response is not HTTP 200. This tests readiness gating, not connection-string stickiness.

Incorrect Answers

B:

Keeping environment-specific secrets in their slots is important but does not configure an HTTP readiness response requirement for the swap.

C:

WEBSITE_WARMUP_PATH applies to application restarts generally; it is not, by itself, the documented swap-specific path plus allowable HTTP status-code gate.

D:

HTTP 500 and 503 signal application failure or unavailability. Accepting them would defeat the readiness validation requirement.

Question 201

A VM subnet has a user-defined route 0.0.0.0/0 with next hop VirtualAppliance (a firewall). Azure also advertises an effective system route 10.2.0.0/16 with next hop VirtualNetworkPeering after VNet peering is established. Traffic to 10.2.5.6 takes the peering route. Which route-selection principle explains this?

  1. Prefer the most recently created UDR even when a longer-prefix route exists for the destination.
  2. Give the 0.0.0.0/0 route higher NSG priority so it wins routing selection.
  3. Always prefer the 0.0.0.0/0 default route over a peering route because it covers every IPv4 address.
  4. Azure routing prefers the more specific matching prefix before comparing routes of equal prefix length.

Explanation

Correct Answer

D:

Longest-prefix matching selects the narrower 10.2.0.0/16 route for the destination. Route-source precedence matters only among competing equally specific candidates.

Incorrect Answers

A:

Route creation time does not override longest-prefix matching. The more specific 10.2.0.0/16 route determines the path to 10.2.5.6.

B:

NSG priorities govern filtering rules, not route selection. The longer matching destination prefix still wins.

C:

The default route is less specific. It applies when no more specific matching route determines the next hop.

Question 202

A service requires a subnet delegated to its resource provider, but its deployment fails because the subnet is already delegated to an incompatible service. What should the admin do?

  1. Attach the managed service to the same subnet by adding a second incompatible service delegation.
  2. Provide a compatible subnet with the required supported service delegation and sufficient address capacity.
  3. Add a service endpoint for the desired resource provider but keep the incompatible subnet delegation unchanged.
  4. Remove all subnet delegations and retry without configuring the delegation required by the service.

Explanation

Correct Answer

B:

Subnet delegation reserves permitted integration behavior for specified services. An incompatible delegation cannot simply be overridden by role permissions.

Incorrect Answers

A:

A service-delegated subnet must meet the resource provider’s supported delegation requirements; incompatible delegations cannot be bypassed this way.

C:

Service endpoints control service connectivity from subnets; they do not replace the provider-specific subnet delegation demanded for this deployment.

D:

Removing the conflicting delegation alone is insufficient if the target hosting service explicitly requires its own supported delegation.

Question 203

An organization plans to peer VNet-A in tenant A and subscription A with VNet-B in tenant B and subscription B. The networking administrator can modify VNet-A but receives an authorization error when connecting the remote VNet. Address ranges do not overlap. What is the most appropriate next action?

  1. Configure allow-forwarded-traffic on the VNet-A peering without assigning permissions to VNet-B.
  2. Delegate suitable peering permissions, such as Network Contributor on both applicable VNets, to the operator or authorized users; use cross-tenant guest access when required.
  3. Add a user-defined route for VNet-B before configuring its peering permissions, and a route grants Azure management authorization.
  4. Enable Use remote gateways on VNet-A although neither VNet peering direction has been authorized or created.

Explanation

Correct Answer

B:

Peering across subscriptions and tenants requires appropriate Microsoft.Network peering access at each VNet. Guest users and resource-scoped Network Contributor roles can provide that control without excessive subscription-wide grants.

Incorrect Answers

A:

The forwarded-traffic property affects transit packets after peering; it cannot grant permission to change a virtual network in the other tenant.

C:

Routes control packet forwarding, not authorization to create or configure a peering on a remote VNet.

D:

Gateway-transit settings do not grant cross-tenant resource permissions. Both VNet peering sides still need an authorized setup.

Question 204

A newly provisioned VM uses a Standard public IP, but external clients cannot reach its application port. The process listens and the route is valid. Which security configuration should be verified?

  1. Move the public IP into a different resource group while keeping the effective inbound NSG denial unchanged.
  2. Standard public IPs open all inbound ports without any NSG rule.
  3. Check that effective NSG rules explicitly permit the intended inbound traffic on the correct NIC or subnet.
  4. Add a public IP address to the VM NIC a second time and an NSG deny is bypassed.

Explanation

Correct Answer

C:

Standard public IP connectivity follows a secure-by-default network policy. The required inbound flow must be allowed by effective security rules.

Incorrect Answers

A:

A management-scope move does not authorize inbound traffic to the app. Standard public IP endpoints are secure by default and need appropriate filtering rules.

B:

The presence of a public address does not guarantee all inbound ports are permitted.

D:

Adding another IP does not override effective NSG filtering. The specific intended port must be allowed where appropriate.

Question 205

A legacy internal system connects to a VM through one documented private IP. The VM occasionally gets redeployed and its dynamically assigned IP changes. Which Azure networking setting helps keep the address stable?

  1. Increase a DNS record TTL to guarantee the VM's assigned address never changes.
  2. Set the private IP inside the guest OS only, leaving the Azure NIC allocation dynamic.
  3. Configure a supported static private IP assignment on the VM network interface within the subnet.
  4. Configure the VM’s public IP allocation as static and this also pins the private NIC address.

Explanation

Correct Answer

C:

Static private IP assignment preserves the chosen private address for the NIC subject to subnet eligibility and lifecycle. The address must not collide with another allocation.

Incorrect Answers

A:

DNS caching does not control DHCP-style allocation of an Azure network interface address.

B:

Azure networking owns the NIC private IP allocation. A guest-only static setting can conflict with the platform’s assigned address.

D:

Public and private IP allocations are distinct. A fixed public address does not guarantee the documented internal private IP.

Question 206

An NSG explicitly permits a VM to initiate outbound TCP connections to a service. The administrator assumes an additional inbound rule for each ephemeral reply port is required. What is the correct interpretation?

  1. Azure NSGs are stateful and ordinarily allow return traffic for established permitted flows without a separate mirror rule.
  2. Every reply packet needs its own manually created rule regardless of connection tracking.
  3. NSGs cannot evaluate outbound flows, only inbound packets.
  4. Returning traffic always bypasses every other Azure networking appliance and firewall.

Explanation

Correct Answer

A:

NSG flow tracking allows return traffic for an established allowed connection. New unsolicited inbound sessions still require appropriate rules.

Incorrect Answers

B:

Mirroring every dynamic reply port is generally unnecessary due to stateful flow behavior.

C:

NSGs can filter both inbound and outbound traffic according to applied rules.

D:

Other network controls can still block packets; NSG statefulness is not a universal route or firewall bypass.

Question 207

A VM subnet needs outbound access to supported Azure Storage endpoints while restricting unrelated internet traffic. The team does not want to maintain changing public service IP lists manually. Which rule source can simplify this?

  1. Use the Storage account name as an NSG destination address rather than the supported Storage service tag.
  2. Use a supported Azure Storage service tag in the relevant NSG rule, with correct direction and additional restrictions.
  3. Pin the subnet rule to one current Azure Storage public IP indefinitely without planning for endpoint changes.
  4. Assign an Azure Storage data access role to the subnet NSG and it will allow TCP sessions.

Explanation

Correct Answer

B:

Azure service tags represent maintained address groups for supported services. They simplify filtering but do not provide storage data authorization by themselves.

Incorrect Answers

A:

NSG rules operate on supported address prefixes, service tags, and ASGs; a storage account resource name is not a dynamic service-IP rule.

C:

A fixed endpoint IP list can become stale as service address allocation changes. A supported service tag is maintained by Azure.

D:

Data-plane RBAC can authorize storage operations but does not implement network allow rules in the NSG.

Question 208

An app resolves a storage FQDN to a private endpoint IP, but a custom subnet NSG blocks TCP 443 from the app subnet. Which problem must the operator resolve?

  1. Replace the private DNS A record with the old public IP and keep public access disabled.
  2. Grant the app a Storage Blob Data Contributor role and it overrides the denied TCP connection.
  3. Review and adjust the applicable security rule for the private endpoint path, subject to private endpoint network policy support.
  4. Change the Blob tier from Cool to Hot without modifying the NSG blocking the private endpoint path.

Explanation

Correct Answer

C:

Private DNS and Private Link do not independently guarantee packet permission. Effective subnet policies and routing must allow the intended private TCP flow.

Incorrect Answers

A:

The old public IP no longer provides the required private-only path and may remain blocked.

B:

Data authorization and network security filtering are independent. A network deny remains even if the application identity has blob write permission.

D:

Blob access tiers affect storage characteristics, not NSG permission for HTTPS packets.

Question 209

A network engineer creates an Azure application security group for web servers but adds Microsoft Entra user identities as members. Which correction fits the supported ASG model?

  1. Use Microsoft Entra user-group membership as an ASG rule target and Azure will translate users into NIC members.
  2. Associate an ASG only with the VM resource group rather than the network interfaces attached to its application servers.
  3. Attach an NSG to a subnet but leave all application NICs unassociated with the referenced ASG.
  4. Associate eligible VM network interfaces with the ASG and reference the group in supported NSG rules.

Explanation

Correct Answer

D:

ASGs are network groups for VM NICs and simplify security rule targeting. They are not directory access groups of human users.

Incorrect Answers

A:

Azure application security groups identify eligible NICs in the VNet, not people in Microsoft Entra security groups.

B:

ASG membership is associated with supported NIC IP configurations; resource-group membership does not register those NICs.

C:

An NSG rule referencing an ASG cannot identify the intended target NICs until membership is configured.

Question 210

A security reviewer rejects Azure Bastion because private VMs have no public IP addresses. The operator plans to assign each VM a public IP solely for Bastion access. What is the correct approach?

  1. Attach a public IP to the Bastion-connected VM but restrict inbound RDP to the Bastion host IP.
  2. Create a VM inbound NAT rule with the Bastion host public IP as destination and require the target VM to have its own public IP.
  3. Keep the VM private and use the supported Bastion connection through its configured host and dedicated subnet.
  4. Attach a public IP to every VM because Bastion requires direct internet RDP reachability.

Explanation

Correct Answer

C:

Bastion connects to target VMs using private networking and managed access. The private VM does not need an individual public IP.

Incorrect Answers

A:

Bastion is intended to reach a private VM address; a public IP on the target VM is unnecessary even if restricted.

B:

Bastion uses its managed connection path to private VM network addresses. One-to-one public NAT on each VM is not required.

D:

Adding public IPs unnecessarily expands exposure and defeats a primary Bastion design advantage.