Google Professional Cloud DevOps Engineer Question 249
Select 3Google Cloud PlatformA DevOps team is responsible for monitoring the availability and performance of a critical web application hosted on Google Cloud. They want to set up synthetic monitoring to proactively detect issues with the application’s endpoint by simulating user interactions. Which steps should the team take to correctly configure synthetic monitoring in Google Cloud?
- A
Create an uptime check in Google Cloud Monitoring specifying the target URL and expected response.
- B
Set up an alerting policy in Google Cloud Monitoring to notify the team when the uptime check fails.
- C
Deploy a Cloud Function to manually simulate user behavior for endpoint monitoring.
- D
Specify the geographic location(s) from which the uptime check should run.
- E
Enable audit logs in Cloud Logging to track synthetic monitor execution.
Show answer and explanation
Correct answers: A, B, D
Explanation
To set up synthetic monitoring in Google Cloud, the team must configure an uptime check to monitor the application's endpoint, define alerting policies to handle failures, and specify geographic regions for testing. These steps collectively ensure the application is proactively monitored for uptime and performance issues. Deploying custom solutions like Cloud Functions or enabling audit logs are not required for this use case.
- A. Correct.
Correct: Creating an uptime check in Google Cloud Monitoring is a fundamental step in setting up synthetic monitoring. This allows you to monitor the availability of the specified endpoint.
- B. Correct.
Correct: Setting up an alerting policy ensures that the team is notified immediately if the synthetic monitor detects an issue, helping in timely resolution.
- C. Incorrect.
Incorrect: Deploying a Cloud Function is unnecessary for synthetic monitoring in Google Cloud. Uptime checks in Google Cloud Monitoring already handle simulated endpoint monitoring.
- D. Correct.
Correct: Specifying geographic locations for uptime checks ensures the application is monitored from different regions, providing a global perspective on availability and performance.
- E. Incorrect.
Incorrect: While audit logs are useful for tracking administrative activities, they are not directly relevant to configuring synthetic monitoring.