AZ-800 AZ-800 - Microsoft Azure Networking Solutions DNS and Traffic Routing Questions and Answers 1 — Questions and Answers
Question 1: Which Azure DNS record type is used to map a hostname to an IPv4 address?
- A record (Correct answer)
- AAAA record
- CNAME record
- MX record
Correct answer: A record
An A record maps a hostname to a 32-bit IPv4 address in Azure DNS.
Question 2: You need to host a private DNS zone that resolves names for resources inside a virtual network without exposing it publicly. Which Azure service should you use?
- Azure Private DNS Zones (Correct answer)
- Azure Public DNS Zones
- Azure Traffic Manager
- Azure Firewall DNS proxy
Correct answer: Azure Private DNS Zones
Azure Private DNS Zones provide name resolution for VNet-linked resources without any public internet exposure.
Question 3: A CNAME record in Azure DNS cannot be created at the zone apex. What record type must you use instead for apex domain aliasing?
- Alias (A) record (Correct answer)
- PTR record
- NS record
- SOA record
Correct answer: Alias (A) record
Azure DNS supports alias records at the zone apex to point to Azure resources like Traffic Manager profiles or CDN endpoints.
Question 4: Which TTL (Time-to-Live) behavior applies when you lower the TTL of a DNS record just before a planned failover?
- Clients cache the record for less time, enabling faster propagation of the new value (Correct answer)
- Clients cache the record longer to reduce DNS query load
- Clients ignore the TTL and always query the DNS server
- TTL has no effect on failover speed
Correct answer: Clients cache the record for less time, enabling faster propagation of the new value
A lower TTL means resolvers discard the cached record sooner, so clients pick up the updated IP more quickly during failover.
Question 5: You want VMs in a virtual network to automatically register their DNS names in a private DNS zone. What must you configure?
- Enable autoregistration when linking the VNet to the private DNS zone (Correct answer)
- Deploy a custom DNS server in the VNet
- Create A records manually for every VM
- Enable Azure DNS over HTTPS
Correct answer: Enable autoregistration when linking the VNet to the private DNS zone
When you link a VNet to an Azure Private DNS Zone with autoregistration enabled, VM hostnames are automatically registered.
Question 6: Which DNS record type would you create in Azure DNS to specify the mail servers responsible for accepting email for a domain?
- MX record (Correct answer)
- TXT record
- SRV record
- AAAA record
Correct answer: MX record
MX (Mail Exchange) records direct email traffic to designated mail servers for a domain.
Which Azure DNS record type is used to map a hostname to an IPv4 address?