Google Associate Cloud Engineer Question 27
Select 3Google Cloud PlatformAs a Google Cloud Associate Cloud Engineer, you have been tasked with setting up monitoring for a critical application running on Google Kubernetes Engine (GKE). The application is experiencing performance issues, and you need to ensure that you can monitor the application's metrics and logs effectively. Which of the following steps should you take to set up comprehensive monitoring using Google Cloud's operations suite?
- A
Install the Cloud Operations for GKE add-on to automatically collect metrics and logs.
- B
Manually configure Fluentd to collect logs from your application and send them to Cloud Logging.
- C
Enable the Kubernetes Engine Monitoring feature in your GKE cluster settings.
- D
Set up custom dashboards in Cloud Monitoring to visualize application performance metrics.
- E
Configure a Cloud Storage bucket to store application logs for long-term analysis.
Show answer and explanation
Correct answers: A, C, D
Explanation
To effectively monitor a GKE application using Google Cloud's operations suite, you should leverage the Cloud Operations for GKE add-on, which simplifies the collection of metrics and logs. Additionally, enabling Kubernetes Engine Monitoring and setting up Cloud Monitoring dashboards are essential steps for comprehensive monitoring and visualization of application performance.
- A. Correct.
Installing the Cloud Operations for GKE add-on ensures that Kubernetes metrics and logs are automatically collected and sent to Cloud Monitoring and Cloud Logging.
- B. Incorrect.
Manually configuring Fluentd is not necessary when using GKE, as the Cloud Operations for GKE add-on can automatically handle log collection.
- C. Correct.
Enabling the Kubernetes Engine Monitoring feature in GKE allows integration with Cloud Monitoring and Cloud Logging, providing insights into cluster and application performance.
- D. Correct.
Setting up custom dashboards in Cloud Monitoring allows you to create visualizations and alerts for application-specific metrics, enhancing monitoring capabilities.
- E. Incorrect.
While storing logs in Cloud Storage is possible, it is not required for setting up monitoring using Google Cloud's operations suite. Logs are automatically stored and managed in Cloud Logging.