4 of the 6 questions we have for this objective, shown with the answer and the reasoning.
Configure name resolution and load balancing
Oakhurst Learning operates a public Standard Load Balancer named LB-Portal with three backend VMs. The health probe is configured as HTTP on port 80 with request path /. After the web team enabled a site-wide redirect from HTTP to HTTPS on all three VMs, the load balancer's Health Probe Status metric dropped to 0 percent and users receive connection failures. Each VM still serves content correctly when accessed directly, and the NSG allows the AzureLoadBalancer service tag.
What is the most likely cause?
- AThe probe path now returns an HTTP 301 redirect instead of HTTP 200, so the load balancer marks every instance unhealthy.An HTTP probe only treats an instance as healthy when the response is HTTP 200. A 301 or 302 redirect is a probe failure, so all three instances were removed from rotation at once.
- BStandard Load Balancer requires at least one backend VM to have a public IP address.Backend VMs behind a public load balancer do not need their own public IPs; the frontend IP is the public entry point.
- CThe probe interval is too short for the web server to respond.The probe interval did not change; the failure began exactly when the redirect was introduced.
- DThe redirect caused the load balancer to lose its session persistence settings.Session persistence affects how clients are mapped to backends; it has nothing to do with probe results or backend health.
Why: HTTP and HTTPS health probes have a strict success criterion: the backend must answer the probe path with HTTP 200 within the timeout. Any other status code, including redirects, errors, or timeouts, counts as a failed probe. The scenario's deciding clue is the timing: health dropped to zero at the moment a site-wide HTTP-to-HTTPS redirect was deployed, which turned the probe response into a 301. Fixes include excluding the probe path from the redirect, pointing the probe at a dedicated health path that always returns 200, or switching to an HTTPS probe on 443. The Health Probe Status metric in Azure Monitor is the first thing to check whenever a load balancer stops forwarding traffic.
Configure name resolution and load balancing
Ironvale Manufacturing has a private DNS zone named corp.ironvale.internal linked to VNet-Plant with auto-registration enabled, so every VM in VNet-Plant automatically gets an A record. A second virtual network, VNet-Office, is peered with VNet-Plant and its VMs use Azure-provided DNS. VMs in VNet-Office cannot resolve names such as plc-ctrl-01.corp.ironvale.internal, although they can ping the VM by IP address. The company wants VNet-Office VMs to resolve VNet-Plant names, but does not want VNet-Office VMs to be registered in the zone.
What should you do?
- ACreate a virtual network link from corp.ironvale.internal to VNet-Office with auto-registration disabled.Private DNS zone resolution is scoped by virtual network links, not by peering. A resolution-only link lets VNet-Office query the zone without registering its own VMs.
- BEnable the Allow forwarded traffic setting on both sides of the peering between VNet-Plant and VNet-Office.Peering settings govern packet forwarding. Private DNS zones are not propagated across peerings regardless of this setting.
- CCreate a virtual network link from corp.ironvale.internal to VNet-Office with auto-registration enabled.This would allow resolution, but it also registers every VNet-Office VM in the zone, which the scenario explicitly does not want.
- DChange the DNS servers setting on VNet-Office to the private IP address of a VM in VNet-Plant.Pointing DNS at an arbitrary VM does nothing unless that VM runs a DNS forwarder, and it adds an unnecessary dependency when a zone link solves the problem directly.
Why: Azure private DNS zones are resolved only from virtual networks that have an explicit virtual network link to the zone; peering is irrelevant to name resolution. Each link has an auto-registration switch: with it on, VMs in that network get A records created and removed automatically; with it off, the network can only query the zone. A virtual network can have only one auto-registration link across all private zones but may have resolution-only links to many zones, and a zone can have many links. The deciding constraints are resolution from VNet-Office and no registration of its VMs, which calls for a link with auto-registration disabled. The peering-settings distractor is the most common wrong intuition.
Configure name resolution and load balancing
Meridian Ticketing is deploying a three-tier application in a virtual network named VNet-Tix. The web tier has four VMs that must receive HTTPS traffic from the internet. The API tier has three VMs on TCP 8443 that must be reachable only from the web tier at a single private IP address and must never be exposed to the internet. Each API VM exposes a /healthz endpoint over HTTP on port 8080 that returns 200 only when the API process is ready. All VMs are spread across availability zones.
Which two actions should you perform for the API tier? Each correct answer presents part of the solution.
- ACreate an internal Standard Load Balancer with a frontend private IP address in a VNet-Tix subnet and add the three API VMs to its backend pool.An internal load balancer has only a private frontend, so it satisfies the single private IP and no-internet-exposure requirements, and the Standard SKU supports zone-redundant frontends and zonal backends.
- BConfigure an HTTP health probe on port 8080 with request path /healthz and a load-balancing rule for TCP 8443 that uses that probe.An HTTP probe marks the instance healthy only on a 200 response, which maps exactly to the readiness semantics of /healthz, and the rule ties the probe to the 8443 traffic.
- CCreate a public Standard Load Balancer with a Standard public IP and add the three API VMs to its backend pool.A public frontend exposes the API tier to the internet, which the scenario forbids.
- DConfigure a TCP health probe on port 8443 and a load-balancing rule for TCP 8443.A TCP probe only checks that the port accepts a connection; it would report a VM healthy while the API process is still starting, which does not match the readiness requirement.
- ECreate a Basic SKU internal load balancer to minimize cost.The Basic Load Balancer SKU is retired and does not support availability zones; new deployments must use Standard.
Why: An internal load balancer is the right choice whenever a tier must be reachable only inside the virtual network, from peered networks, or from on-premises. The deciding constraints are a single private IP, no internet exposure, zone distribution, and readiness-based health, which together require an internal Standard Load Balancer with an HTTP probe. HTTP and HTTPS probes consider an instance healthy only when the probe path returns HTTP 200 within the timeout, whereas a TCP probe succeeds on any completed handshake. The Basic SKU distractor is a cost trap that is no longer available for new deployments and never supported zones.
Configure name resolution and load balancing
Coralview Travel hosts its public zone coralview-travel.example in Azure DNS. The website is served by a public Standard Load Balancer whose frontend uses a Standard public IP resource named pip-web. The company wants the zone apex (coralview-travel.example, with no host name) to resolve to the website, and wants the DNS record to update automatically if the public IP resource is ever replaced or its address changes.
Which record should you create in the zone?
- AAn alias record set of type A at the apex that targets the pip-web public IP resource.Alias records can live at the zone apex and reference an Azure public IP resource directly, so the resolved address follows the resource automatically.
- BA CNAME record at the apex that points to the DNS name label of pip-web.DNS standards do not allow a CNAME at the zone apex because it would conflict with the mandatory SOA and NS records.
- CAn A record at the apex with the current IP address of pip-web and a TTL of 60 seconds.A static A record works today, but it does not track changes to the public IP resource; someone must update it manually if the address changes.
- DAn NS record at the apex that delegates to the public IP resource.NS records delegate a subdomain to other name servers; they cannot point to an IP address or an Azure resource.
Why: The zone apex cannot hold a CNAME, which historically forced administrators to use static A records that go stale when infrastructure changes. Azure DNS alias records solve this: an A or AAAA alias record set can point at a public IP address resource, a Traffic Manager profile, an Azure Front Door endpoint, or an Azure CDN endpoint, and Azure keeps the resolved value in sync with the target resource. The deciding requirements are apex resolution and automatic updates, which only the alias record satisfies. If the target public IP resource is deleted, the alias record set becomes an empty record set rather than a dangling record that points to an address someone else could acquire.