GOOGLE-PROFESSIONAL-CLOUD-DEVELOPER practice question 28 of 35
You have an application in production. It is deployed on Compute Engine virtual machine instances controlled by a managed instance group. Traffic is routed to the instances via a HTTP(s) load balancer. Your users are unable to access your application. You want to implement a monitoring technique to alert you when the application is unavailable. Which technique should you choose?
Full set: 265 questionsCloud Monitoring uptime checks are specifically designed to verify the external availability of your application from a user's perspective. They periodically send requests from various global locations to your application's public endpoint (e.g., the load balancer's IP address). If the application fails to respond correctly, the check fails, and an associated alerting policy can be triggered to notify you. This directly addresses the requirement to be alerted when the application is unavailable to end-users, as it tests the entire request path.
A. Smoke tests are a form of software testing typically run after a deployment to verify basic functionality, not a continuous monitoring and alerting solution for production availability.
C. Cloud Load Balancing health checks are used internally by the load balancer to determine which backend instances are healthy enough to receive traffic, not to alert on overall service unavailability.
D. Managed instance group health checks are used by the instance group's auto-healing feature to automatically recreate unhealthy individual virtual machine instances, not for external service monitoring and alerting. ---
1. Google Cloud Documentation, Cloud Monitoring, "About uptime checks": "Uptime checks let you verify that your resources are available. You can configure uptime checks to send requests to URLs, virtual machines (VMs), APIs, and other resources from locations around the world... If a resource fails to respond to a request, Cloud Monitoring can send you a notification." This source directly supports the use of uptime checks for availability monitoring and alerting.
2. Google Cloud Documentation, Cloud Load Balancing, "Health checks overview": "Health checks are a critical component of Google Cloud load balancers and of MIGs. ... The load balancer uses health check status to determine where to send new connections." This clarifies that the primary purpose of load balancer health checks is traffic routing, not external alerting.
3. Google Cloud Documentation, Compute Engine, "Setting up health checking and autohealing": "Autohealing helps you recreate unhealthy instances in a MIG... To set up autohealing, you must define a health check that detects application failures and specify that the health check should be used for autohealing." This confirms that MIG health checks are for the self-healing of individual instances.
Keep practicing
Take the free GOOGLE-PROFESSIONAL-CLOUD-DEVELOPER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GOOGLE-PROFESSIONAL-CLOUD-DEVELOPER practice questions
- Question 1You have an application controlled by a managed instance group. When you deploy a new ver…
- Question 2Your service adds text to images that it reads from Cloud Storage. During busy times of t…
- Question 3You have been tasked with planning the migration of your company’s application from on-pr…
- Question 4You plan to make a simple HTML application available on the internet. This site keeps inf…
- Question 5HipLocal's APIs are showing occasional failures, but they cannot find a pattern. They wan…
- Question 6Your company has created an application that uploads a report to a Cloud Storage bucket. …
