
Answer-first summary for fast verification
Answer: Create an Uptime check with the IP address of the load balancer and an alerting policy to trigger a notification
Option A is inefficient because a service on the instance may not work if the instance fails. Option B is impractical due to the high overhead of managing uptime checks and alerting policies for each VM instance, especially in large deployments. Option C involves significant overhead, including installing the logging agent and configuring logs. Option D is the most efficient, as it minimizes administrative overhead by monitoring the load balancer directly, ensuring the application's availability is accurately reflected without unnecessary alerts. Reference: [Google Cloud Uptime Checks](https://cloud.google.com/monitoring/uptime-checks).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your company is running an application via Compute Engine behind a global load balancer. You need to monitor the application's availability and alert the on-call engineer if it's down for more than five minutes. What's the most efficient method with the least management overhead?
A
Deploy a service to the instances to notify you when they fail
B
Create Uptime checks with the IP address of the individual VMs and an alerting policy to trigger a notification
C
Use Cloud Logging alerts to trigger a notification
D
Create an Uptime check with the IP address of the load balancer and an alerting policy to trigger a notification