AZ-104 Question 233
Single answerYour organization hosts a multi-tier application in Azure and uses a Public Load Balancer to distribute incoming traffic across multiple VMs running the web front-end. You need to configure name resolution so that your custom domain (www.contoso.com) points to the load balancer’s public IP. Which of the following actions should you take?
- A
Create an A record in your custom DNS zone that points to the Public Load Balancer’s public IP address.
- B
Configure a CNAME record in Azure DNS that maps www.contoso.com to the Azure Traffic Manager profile.
- C
Add an NS record in Azure DNS to delegate the entire contoso.com zone to the Azure Public DNS name servers.
- D
Use a TXT record to verify the domain within Azure and dynamically resolve to the load balancer IP.
Show answer and explanation
Correct answer: A
Explanation
To enable name resolution for your custom domain pointing to an Azure Public Load Balancer, you must create an A record that resolves the domain to the load balancer’s public IP address. This ensures all traffic to www.contoso.com routes correctly through the load balancer.
- A. Correct.
An A record directly associates a domain name with a specific IP address, making www.contoso.com resolve to the Public Load Balancer’s public IP.
- B. Incorrect.
A CNAME record is typically used to map a domain to another domain name, often associated with endpoints like CDN or Traffic Manager. It does not directly point to a load balancer’s IP in this scenario.
- C. Incorrect.
An NS record is used to delegate domain resolution to another set of name servers, not to point traffic to a specific IP.
- D. Incorrect.
A TXT record is for storing arbitrary text metadata or domain verification details, not for directing incoming traffic to a public IP.