Google Cloud Associate Cloud Engineer — Question 253
You are deploying a web application using Compute Engine. You created a managed instance group (MIG) to host the application. You want to follow Google-recommended practices to implement a secure and highly available solution. What should you do?
Answer options
- A. Use SSL proxy load balancing for the MIG and an A record in your DNS private zone with the load balancer's IP address.
- B. Use SSL proxy load balancing for the MIG and a CNAME record in your DNS public zone with the load balancer’s IP address.
- C. Use HTTP(S) load balancing for the MIG and a CNAME record in your DNS private zone with the load balancer’s IP address.
- D. Use HTTP(S) load balancing for the MIG and an A record in your DNS public zone with the load balancer’s IP address.
Correct answer: D
Explanation
The correct answer is D because using HTTP(S) load balancing is recommended for web applications to ensure secure and efficient traffic management. An A record in the public DNS zone is appropriate for directing traffic to the load balancer's IP address. Options A and B incorrectly suggest using SSL proxy load balancing, which is not the best practice for web applications, while option C uses a CNAME record in the private zone, which is not suitable for public access.