Azure Administrator (AZ-104) · Free practice question 10 of 12
Azure DNS alias record at apex
Wexford Gardens hosts its website behind a public IP address in Azure and uses Azure DNS for the zone wexfordgardens.example. The team wants the zone apex record to follow the public IP resource automatically if its address changes and to avoid dangling records if the IP is deleted. What should you create?
- A.A CNAME record at the zone apex
- B.An alias A record at the zone apex that references the public IP resource
- C.A TXT record containing the IP address
- D.A private DNS zone linked to the website's virtual network
Show answer and explanation
Correct answer: B. An alias A record at the zone apex that references the public IP resource
Why: Alias records in Azure DNS reference an Azure resource such as a public IP address, update automatically when its address changes, and prevent dangling records when the resource is deleted. CNAME records are not allowed at the zone apex. TXT records do not resolve addresses, and private zones do not serve internet clients.
More free Azure Administrator (AZ-104) questions
- Elevate Global Administrator access
- Registering a resource provider
- Static website hosting in Storage
- Secure transfer required setting
- Spot VMs for interruptible workloads
- Proximity placement groups
- App Service Always On
- Regional service tags in NSG rules
- NAT gateway for predictable outbound IP
- Metric alerts with dynamic thresholds
- Service Health alerts