GCP Professional Cloud Architect Practice Question
Your company runs a prediction service on two regional GKE clusters behind an HTTP(S) Load Balancer. After several pods were recently OOM-killed without warning, you must deliver a solution that provides real-time and historical per-container memory dashboards spanning both clusters, triggers an alert when more than 10 percent of pods in any deployment use over 90 percent of their memory limit for at least five minutes, adds no in-pod agents, integrates with Cloud IAM, and can notify PagerDuty. Which approach best meets these goals?
Turn on node-level Cloud Monitoring only in one cluster and configure an external Pingdom probe to watch memory usage, with PagerDuty alerts triggered by Pingdom.
Add Prometheus sidecar containers to every pod to scrape memory metrics and forward them to a self-hosted Prometheus server, use Alertmanager for PagerDuty notifications, and Grafana for dashboards.
Create a scheduled Cloud Run service that polls the Kubernetes API for pod statistics, stores the data in BigQuery, visualizes it in Looker Studio, and uses budget alerts to notify PagerDuty when thresholds are breached.
Enable Cloud Operations for GKE on all clusters to export workload metrics to Cloud Monitoring, create a metrics scope and dashboard for container/memory/used_bytes, then define an MQL alerting policy that fires when over 10 % of pods exceed 90 % memory for five minutes, using a PagerDuty notification channel.
Enabling Cloud Operations for GKE exports detailed Kubernetes workload metrics, including container-level memory usage, without sidecar or in-pod agents. These metrics appear in Cloud Monitoring, where a metrics scope can aggregate data from multiple clusters. Monitoring Query Language (MQL) supports an alerting policy that calculates the percentage of pods exceeding a 0.9 memory-to-limit ratio for five minutes, and Cloud Monitoring natively forwards alerts to a PagerDuty notification channel. The Prometheus, Pingdom, and custom Cloud Run options introduce extra operational overhead, lack full IAM integration, or cannot provide the required container-level visibility and alerting precision.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Cloud Operations for GKE?
Open an interactive chat with Bash
What is Monitoring Query Language (MQL)?
Open an interactive chat with Bash
How does Cloud Monitoring integrate with PagerDuty?
Open an interactive chat with Bash
What is Cloud Operations for GKE?
Open an interactive chat with Bash
What is Monitoring Query Language (MQL)?
Open an interactive chat with Bash
How does Cloud Monitoring integrate with PagerDuty?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Analyzing and optimizing technical and business processes
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .