Google
PROFESSIONAL-CLOUD-DEVELOPER · Question #290
Your team recently deployed an application on Google Kubernetes Engine (GKE). You are monitoring your application and want to be alerted when the average memory consumption of your containers is under
Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #290. The question stem and answer options stay visible for context.
Implementing Monitoring, Logging, and Troubleshooting
Question
Your team recently deployed an application on Google Kubernetes Engine (GKE). You are monitoring your application and want to be alerted when the average memory consumption of your containers is under 20% or above 80%. How should you configure the alerts?
Options
- ACreate a Cloud Function that consumes the Monitoring API. Create a schedule to trigger the
- BIn Cloud Monitoring, create an alerting policy to notify you if the average memory consumption is
- CCreate a Cloud Function that runs on a schedule, executes kubectl top on all the workloads on
- DWrite a script that pulls the memory consumption of the instance at the OS level and sends an
Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer
You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#GKE#Cloud Monitoring#Alerting#Resource Monitoring