
Answer-first summary for fast verification
Answer: Create one A record to point mydomain.com to the load balancer, and create two CNAME records to point WWW and HOME to mydomain.com respectively.
The correct answer is option C. To correctly configure DNS records, you should create one A record pointing mydomain.com to the load balancer IP address. Then, create two CNAME records to point www.mydomain.com and home.mydomain.com to mydomain.com. This approach aligns with DNS best practices by using an A record for the primary domain and aliases using CNAME records for the subdomains.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are setting up Cloud DNS for your Google Cloud project and need to create DNS records. Your objective is to ensure that the domains home.mydomain.com, mydomain.com, and www.mydomain.com are all directed to the IP address of your Google Cloud load balancer. How should you accomplish this?
A
Create one CNAME record to point mydomain.com to the load balancer, and create two A records to point WWW and HOME to mydomain.com respectively.
B
Create one CNAME record to point mydomain.com to the load balancer, and create two AAAA records to point WWW and HOME to mydomain.com respectively.
C
Create one A record to point mydomain.com to the load balancer, and create two CNAME records to point WWW and HOME to mydomain.com respectively.
D
Create one A record to point mydomain.com to the load balancer, and create two NS records to point WWW and HOME to mydomain.com respectively.