Google Cloud Associate Cloud Engineer — Question 245
Your customer wants you to create a secure website with autoscaling based on the compute instance CPU load. You want to enhance performance by storing static content in Cloud Storage. Which resources are needed to distribute the user traffic?
Answer options
- A. An external HTTP(S) load balancer with a managed SSL certificate to distribute the load and a URL map to target the requests for the static content to the Cloud Storage backend.
- B. An external network load balancer pointing to the backend instances to distribute the load evenly. The web servers will forward the request to the Cloud Storage as needed.
- C. An internal HTTP(S) load balancer together with Identity-Aware Proxy to allow only HTTPS traffic.
- D. An external HTTP(S) load balancer to distribute the load and a URL map to target the requests for the static content to the Cloud Storage backend. Install the HTTPS certificates on the instance.
Correct answer: A
Explanation
The correct answer is A because an external HTTP(S) load balancer is necessary to effectively distribute traffic and a managed SSL certificate enhances security. Option B is incorrect as it does not utilize an HTTP(S) load balancer, which is essential for handling web traffic efficiently. Option C is not suitable since it uses an internal load balancer, which would not be accessible for internet traffic. Option D, while similar, requires HTTPS certificates to be installed on the instance, which is less efficient than using a managed SSL certificate.