
Explanation:
Option C is correct because an A record is necessary to map mydomain.com to the load balancer's IPv4 address. CNAME records are then used to alias home.mydomain.com and http://www.mydomain.com to mydomain.com, ensuring all domains resolve to the same IP address. Options A and B are incorrect due to the misuse of A and AAAA records for subdomains, and option D is incorrect because NS records are not used for IP address mapping but for DNS delegation. For more details, refer to Google Cloud DNS documentation.
Ultimate access to all questions.
You have developed an application utilizing Compute Engine instances behind a load balancer on Google Cloud. How would you configure Cloud DNS so that home.mydomain.com, mydomain.com, and http://www.mydomain.com all direct to your load balancer's IP address?
A
Create one CNAME record to point mydomain.com to the load balancer, then establish two A records to direct WWW and HOME to mydomain.com.
B
Set up one CNAME record for mydomain.com to the load balancer, and two AAAA records to point WWW and HOME to mydomain.com.
C
Use one A record to link mydomain.com to the load balancer's IP, and create two CNAME records for WWW and HOME to alias to mydomain.com.
D
Link mydomain.com to the load balancer with one A record, and generate two NS records to delegate WWW and HOME to mydomain.com.
No comments yet.