Google Cloud Professional Cloud Network Engineer — Question 181
Your organization recently exposed a set of services through a global external Application Load Balancer. After conducting some testing, you observed that responses would intermittently yield HTTP 4xx or 5xx error response codes. You already enabled and reviewed the health check logs. You need to identify the error. What should you do?
Answer options
- A. Access a VM in the VPC through SSH to access the backend VM directly. If the request is successful from the VM, increase the quantity of backends.
- B. Delete the load balancer and backend services. Create a new Passthrough Network Load Balancer. Configure a failover group of VMs for the backend.
- C. Validate the health of the backend service. Enable logging for the backend service and identify the error response in Cloud Logging. Review the statusDetails log field.
- D. Validate the health of the backend service. Disable any Cloud Armor policies on the backend service, and identify any error response in Cloud Logging. Review the statusDetails log field.
Correct answer: C
Explanation
The correct answer is C because validating the health of the backend service and enabling logging allows for precise identification of the error response in Cloud Logging, specifically by reviewing the statusDetails log field. Options A and B do not directly address the issue of identifying the error response, while option D suggests disabling Cloud Armor policies, which may not be necessary for diagnosing the problem.