Google Associate Cloud Engineer Question 26
Select 3Google Cloud PlatformAs a Google Cloud Associate Cloud Engineer, you are tasked with setting up monitoring for a new application using Google Cloud's operations suite. Which steps should you take to enable monitoring and alerting for this application?
- A
A. Install the Cloud Monitoring agent on your virtual machine instances.
- B
B. Create alerting policies in Google Cloud Monitoring.
- C
C. Enable the Cloud Trace API for capturing latency data.
- D
D. Configure logging sinks to export logs to BigQuery.
- E
E. Set up uptime checks in Google Cloud Monitoring.
Show answer and explanation
Correct answers: A, B, E
Explanation
To properly set up monitoring and alerting for a new application in Google Cloud's operations suite, you need to install the Cloud Monitoring agent to collect metrics (Option A), create alerting policies to respond to critical conditions (Option B), and set up uptime checks to ensure the application is running correctly (Option E). These steps ensure comprehensive monitoring and alerting capabilities.
- A. Correct.
A. Installing the Cloud Monitoring agent on your virtual machine instances is necessary to collect detailed metrics and enable monitoring capabilities.
- B. Correct.
B. Creating alerting policies allows you to define conditions under which notifications are sent, crucial for monitoring.
- C. Incorrect.
C. Enabling the Cloud Trace API is more related to tracing the flow of requests across services, not directly to monitoring and alerting.
- D. Incorrect.
D. Configuring logging sinks to export logs to BigQuery is used for log analysis and not directly related to setting up monitoring and alerting.
- E. Correct.
E. Setting up uptime checks helps in monitoring the availability of your application, thus it's a key part of setting up monitoring.