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 6

Question 50

Two App Service deployment slots use different database connection strings; the production connection must never move into the staging environment during a swap. How should the settings be configured?

  1. Mark environment-specific configuration values as deployment slot settings before performing the swap.
  2. Keep both database connection strings as ordinary shared settings that follow the swappable app content.
  3. Place the production connection string in ordinary app settings and swapping slots never moves ordinary connection settings.
  4. Set connection strings as slot settings on staging only, leaving the production database connection string as a nonsticky setting.

Explanation

Correct Answer

A:

Slot settings stick to their original slot during swap operations. This prevents environment-specific secrets and endpoints from moving with the application content.

Incorrect Answers

B:

Non-sticky settings may move with the application during swaps. This risks pointing staging code to the production database.

C:

Non-slot-sticky settings can move during a swap. Mark environment-specific connection strings as deployment slot settings.

D:

The production secret also needs to remain with its intended slot; marking only one side can still move the production configuration.

Question 51

Hub VNet H is peered with spokes A and B. A and B are not directly peered. An engineer assumes A can reach B automatically through H. Which peering property explains the failure?

  1. Enable forwarded traffic on both hub-to-spoke peering links and this setting alone creates a transitive A-to-B route.
  2. Enable gateway transit on the hub peering even though the hub contains no routing gateway or appliance for spoke-to-spoke flows.
  3. VNet peering is not transitive; spoke-to-spoke routing requires an explicit design such as direct peering or routed hub appliance.
  4. Add an identical route table to the two spokes without a valid reachable next hop, relying on hub peering to carry forwarded packets.

Explanation

Correct Answer

C:

A peering link does not automatically forward traffic between other peered networks. A transit architecture requires supported routes and packet forwarding infrastructure.

Incorrect Answers

A:

The forwarded-traffic flag controls whether peers may accept forwarded packets. It does not create routing across the hub or a forwarding appliance by itself.

B:

Gateway transit is for using a remote virtual network gateway where configured. It does not automatically establish peer-to-peer transit among the spokes.

D:

A UDR cannot create a transit router out of a hub VNet; the design still needs forwarding components and valid bidirectional routing.

Question 52

A subnet sends traffic directly to the internet, but the organization requires all outbound packets to pass through a centrally managed virtual firewall appliance with private IP 10.20.0.4. What routing change should be considered?

  1. Associate a route table containing a suitable default route to the virtual appliance next hop at 10.20.0.4, with return routing validated.
  2. Apply an outbound NSG Allow rule for the appliance IP on the workload subnet and it redirects default internet traffic.
  3. Add an NSG outbound Deny Internet rule and it will redirect denied traffic through 10.20.0.4.
  4. Apply a route table only to the firewall VM NIC, leaving the workload subnet with its original effective routes.

Explanation

Correct Answer

A:

A user-defined route can direct traffic to a virtual appliance for inspection. The appliance must support forwarding and symmetric return routes.

Incorrect Answers

B:

An NSG allows or blocks matching flows but does not perform routing or traffic redirection to a firewall. Configure a UDR next hop.

C:

NSG security rules filter flows; they cannot select a next hop. A route table with Virtual appliance next hop is needed for inspection.

D:

UDRs are associated at subnet scope; changing settings on the appliance alone does not force originating subnet flows through it.

Question 53

Two independently deployed VNets both use 10.10.0.0/16. The admin tries to peer them to connect workloads but the deployment rejects overlapping address spaces. What must change first?

  1. Enable forwarded traffic on both peering links and peering permits the two identical 10.10.0.0/16 address spaces.
  2. Plan nonoverlapping address spaces and readdress one of the VNets or use an appropriate translation architecture.
  3. Change each VNet subnet DNS suffix while keeping both parent VNet address spaces at 10.10.0.0/16.
  4. Create a service endpoint between the two VNets and it replaces peering even when their address ranges overlap.

Explanation

Correct Answer

B:

Normal VNet peering requires nonoverlapping address ranges. Address planning prevents ambiguous routes between the peers.

Incorrect Answers

A:

Peering requires nonoverlapping VNet address ranges. Forwarded-traffic settings cannot resolve IP address ambiguity between overlapping networks.

C:

DNS suffixes do not change the overlapping IP prefixes that Azure VNet peering validates.

D:

Service endpoints secure selected PaaS access paths; they do not provide bidirectional VM routing between overlapping VNets.

Question 54

An internal application VM should not accept inbound internet connections, but an operator accidentally assigned it a public IP. Which design change directly removes the internet-reachable IP path?

  1. Add an NSG rule denying inbound Internet traffic but leave the direct public IP association attached.
  2. Remove the direct public IP association and use a private access method such as Bastion, VPN, or private connectivity.
  3. Disable public RDP ports in the network security group while retaining the direct public IP assignment on the VM NIC.
  4. Change the public IP allocation from Dynamic to Static while retaining its attachment to the internal workload NIC.

Explanation

Correct Answer

B:

A VM without a direct public IP is not reachable through that public association. Network filtering and private access controls must still be configured for complete security.

Incorrect Answers

A:

An NSG deny can restrict access but does not remove the public-IP path itself, which the scenario requires.

C:

An inbound NSG deny may reduce exposure, but it does not satisfy the requirement to remove an unnecessary direct public IP address.

D:

Static allocation preserves a publicly routable address; it does not convert public access into private-only VM connectivity.

Question 55

A VM cannot reach a private endpoint even though the subnet CIDR looks correct. The team suspects a custom route overrides the system route. Which Azure view should be inspected?

  1. Inspect the VM NIC effective security rules only and conclude a permitted NSG packet proves the route takes the intended private endpoint path.
  2. Run Network Watcher IP flow verify and it reports the UDR-selected next-hop appliance for the private endpoint destination.
  3. Inspect the VM network interface effective routes and the subnet route table for the destination prefix.
  4. Inspect the VNet peering status only and a Connected peering guarantees that no subnet user-defined routes override the system path.

Explanation

Correct Answer

C:

Effective routes show applicable system, BGP and user-defined routes and their next hops. They help identify a more specific or otherwise preferred path.

Incorrect Answers

A:

NSG effective rules address traffic filtering, whereas effective routes reveal the selected UDR or system next hop.

B:

IP flow verify determines NSG allow/deny, not route-table next-hop selection; effective routes address the UDR suspicion.

D:

Peering availability does not suppress subnet UDRs. A route still can divert traffic away from the private endpoint.

Question 56

An NSG has an Allow TCP 443 inbound rule at priority 300 and a Deny TCP 443 inbound rule at priority 200 for the same matching traffic. Which behavior should the operator expect?

  1. Move the Allow rule from priority 300 to 400 and it then evaluates before the Deny at 200.
  2. The deny rule at numerical priority 200 takes precedence for traffic matching both rules.
  3. Change the Deny rule description to indicate ExceptionAllowed without modifying its numeric priority or match conditions.
  4. Set the deny rule priority to 500 and the allow rule priority to 200, then the deny rule still executes first for matching traffic.

Explanation

Correct Answer

B:

Azure NSG rules are processed in ascending priority number; the first matching rule determines allow or deny. Administrators should inspect source, destination and protocol fields too.

Incorrect Answers

A:

Increasing an NSG priority number makes it lower precedence, so the matching Deny at 200 still wins.

C:

Descriptions do not change packet evaluation. The matching rule with the smallest numeric priority is processed first.

D:

With a lower numerical priority, the allow rule executes first. A deny at a higher numerical priority may never be reached.

Question 57

An administrator needs browser-based RDP into private subnet VMs without attaching public IP addresses to those VMs. Which Azure service is designed for this?

  1. Enable just-in-time VM access and it provides browser-based RDP to VMs without a private gateway or other reachable network route.
  2. Keep direct public IP addresses on the virtual machines and restrict RDP to a single corporate source IP.
  3. Deploy an appropriately configured Azure Bastion host in its supported dedicated subnet and use its VM connection workflow.
  4. Configure a VPN gateway but require operators to use only the Azure portal browser RDP with no VPN client or Bastion.

Explanation

Correct Answer

C:

Bastion provides managed RDP/SSH connectivity to private VMs through Azure access. It reduces direct inbound public exposure on each VM.

Incorrect Answers

A:

JIT limits when inbound management ports are opened but does not itself provide a managed browser-to-private-VM RDP gateway. Bastion provides the requested connection path.

B:

Restricting source addresses can reduce exposure, but still requires public VM IPs and is not portal-based private Bastion access.

D:

A VPN gateway can support private network connectivity for appropriately connected clients, but it is not the direct browser-based Bastion RDP workflow requested.

Question 58

A subnet contains many application VMs whose private IPs change after redeployments. The network team wants NSG rules referring to logical app-tier membership rather than manually updating addresses. What should it configure?

  1. Create an application security group and reference its associated VM NICs in supported NSG security rules.
  2. Use a Microsoft Entra security group for web developers as the network-interface application security group in an NSG rule.
  3. Create one NSG rule per current VM private IP and Azure will update the rule targets automatically when their NICs are redeployed.
  4. Use subnet service tags such as VirtualNetwork to match only the dynamically changing web-tier NICs.

Explanation

Correct Answer

A:

ASGs let network security rules address groups of virtual machine interfaces by workload, reducing dependence on individual private IP strings.

Incorrect Answers

B:

Directory user groups and network application security groups are distinct entity types.

C:

Fixed IP conditions do not track workload role or automatically follow replacement network interfaces. ASGs allow group-based NIC membership.

D:

A broad service tag matches a network service scope, not a specific changing application-tier set of NICs.

Question 59

A PaaS database must appear through a private IP in an application VNet and use private name resolution; internet clients should not reach the service public endpoint. Which networking feature is the core of this design?

  1. Create a private endpoint for the specific PaaS service and configure the required private DNS routing and public access restrictions.
  2. Configure only a VNet service endpoint and it will create a private network interface on the PaaS service.
  3. Restrict service access with a VNet firewall rule for the application subnet but keep the PaaS service reachable only through its public service IP.
  4. Enable public network access on the service and filter authorized Entra principals instead of configuring private networking.

Explanation

Correct Answer

A:

Private Link creates a private interface and IP for the selected service. Correct DNS and service-side public access policy are needed for the intended private-only path.

Incorrect Answers

B:

Service endpoints secure access from selected subnets to a service public endpoint but do not create a Private Link private endpoint IP.

C:

VNet service endpoints and network restrictions can protect public PaaS endpoints, but cannot create the required private NIC/IP in the VNet.

D:

Identity checks are distinct from network isolation. This leaves a public endpoint rather than a private VNet IP path.

Question 60

A VM NIC is subject to one NSG on the subnet and another on the NIC. An application port is allowed in one NSG but connections still fail. Which diagnostic view best determines the combined effective security rules?

  1. Inspect the effective security rules on the VM network interface, including both subnet and NIC NSG rules.
  2. Inspect only the network interface NSG and disregard subnet-level NSG rules because NIC rules always override subnet rules.
  3. Sort the two NSGs by creation time and inspect only the earliest rule, and temporal order determines effective filtering.
  4. Inspect Network Watcher Next hop and it reports the allow-or-deny effect of subnet and NIC NSGs.

Explanation

Correct Answer

A:

Effective rules present the aggregated network filtering context. Inbound and outbound flow must be permitted through all relevant NSGs and other path controls.

Incorrect Answers

B:

NSGs on both subnet and NIC are considered; an allow at one scope does not override an explicit denial at the other. Use effective security rules.

C:

NSG packet evaluation uses direction, match conditions and numeric priority in each associated NSG, not creation time.

D:

Next hop diagnoses packet routing, not combined subnet/NIC NSG decisions. Effective security rules expose the aggregated security filtering result.