Google Professional Cloud Network Engineer Question 426
Select 3Google Cloud PlatformYour company has an application deployed in Google Cloud that uses a regional backend service with multiple instance groups spread across two zones: us-central1-a and us-central1-b. Users have reported intermittent connection issues. You suspect that one of the instance groups has unhealthy instances. To address this issue, you need to configure a health check for the backend service. Which of the following configurations is required to ensure proper health checks for all instances in the backend service?
- A
Create a health check using HTTP protocol and specify a request path that the application can respond to.
- B
Assign the health check directly to the instance groups in both zones.
- C
Set the health check to use a global scope to monitor instances across regions.
- D
Configure the health check with a timeout and interval that match the typical response time of your application.
- E
Ensure that the health check is associated with the backend service, not directly with instance groups.
Show answer and explanation
Correct answers: A, D, E
Explanation
To ensure proper health checks for the backend service, you must create an HTTP health check with a valid request path, configure the timeout and interval to match the application's response time, and associate the health check with the backend service (not directly with instance groups). This configuration ensures the backend service can correctly determine the health of instances across all assigned instance groups.
- A. Correct.
Correct: HTTP health checks require specifying a valid request path that the application is configured to respond to. This ensures accurate health monitoring.
- B. Incorrect.
Incorrect: Health checks are not assigned directly to instance groups. Instead, they are associated with backend services, which then monitor the health of instances in the assigned instance groups.
- C. Incorrect.
Incorrect: Health checks in Google Cloud for backend services operate at a regional level (not global) when using regional backend services. Global scope is not required in this scenario.
- D. Correct.
Correct: Proper configuration of timeout and interval settings ensures that health checks are aligned with the application's expected response time, avoiding false positives or negatives.
- E. Correct.
Correct: Health checks are associated with backend services, which in turn monitor the instance groups. This is the correct way to implement health checks for backend services.