Google Associate Cloud Engineer Question 29
Select 3Google Cloud PlatformAs a Google Certified Associate Cloud Engineer, you are tasked with setting up monitoring for a new web application deployed on Google Cloud. The application runs on Google Kubernetes Engine (GKE) and you want to use Google Cloud's operations suite for monitoring. Which of the following steps should you take to ensure that the monitoring is correctly set up?
- A
Install the Cloud Monitoring agent on each GKE node.
- B
Enable the Cloud Monitoring API in your Google Cloud project.
- C
Create a custom dashboard in Cloud Monitoring to visualize metrics.
- D
Deploy Prometheus on the GKE cluster to collect metrics.
- E
Configure alerting policies in Cloud Monitoring.
Show answer and explanation
Correct answers: B, C, E
Explanation
To effectively use Google Cloud's operations suite for monitoring GKE applications, you need to enable the Cloud Monitoring API, create custom dashboards for visualization, and set up alerting policies to be notified about significant events. These steps ensure that you have comprehensive monitoring and alerting in place without needing to deploy additional monitoring tools like Prometheus.
- A. Incorrect.
Installing the Cloud Monitoring agent is not necessary for GKE, as GKE has built-in support for Google Cloud's operations suite.
- B. Correct.
Enabling the Cloud Monitoring API is essential for using Cloud Monitoring features and collecting metrics.
- C. Correct.
Creating a custom dashboard allows you to visualize and monitor your application's metrics effectively.
- D. Incorrect.
Deploying Prometheus is not required when using Google Cloud's operations suite, as it already provides integrated monitoring solutions.
- E. Correct.
Configuring alerting policies helps you stay informed about important events and issues within your application.