nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVELOPER · Question #290

PROFESSIONAL-CLOUD-DEVELOPER Question #290: Real Exam Question with Answer & Explanation

The correct answer is B: In Cloud Monitoring, create an alerting policy to notify you if the average memory consumption is. To monitor average memory consumption of containers in Google Kubernetes Engine (GKE), the best approach is to use Cloud Monitoring. You can create an alerting policy in Cloud Monitoring to notify you if the average memory consumption is outside the defined range. This method lev

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

Explanation

To monitor average memory consumption of containers in Google Kubernetes Engine (GKE), the best approach is to use Cloud Monitoring. You can create an alerting policy in Cloud Monitoring to notify you if the average memory consumption is outside the defined range. This method leverages Google Cloud's built-in capabilities for efficient and accurate monitoring. https://cloud.google.com/monitoring

Topics

#GKE#Cloud Monitoring#Alerting#Resource Monitoring

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER PracticeBrowse All PROFESSIONAL-CLOUD-DEVELOPER Questions