Google Professional Cloud DevOps Engineer Question 140
Select 3Google Cloud PlatformYour team is responsible for ensuring the availability of a critical e-commerce application hosted on Google Cloud. You need to monitor the application's key user journeys, such as logging in and completing a purchase, to identify potential issues before they impact users. Which steps should you take to implement synthetic monitoring for this purpose?
- A
Use Cloud Monitoring to create uptime checks for the endpoints of the key user journeys.
- B
Create a custom script to simulate user actions and run it periodically using Cloud Scheduler.
- C
Set up a Google Kubernetes Engine (GKE) cluster to host synthetic monitoring agents.
- D
Integrate Cloud Monitoring with third-party synthetic monitoring tools for advanced user journey simulations.
- E
Configure Cloud Logging to track user activity and proactively detect issues.
Show answer and explanation
Correct answers: A, B, D
Explanation
Synthetic monitoring involves simulating user interactions with your application to identify potential issues before real users are impacted. This can be achieved by combining Cloud Monitoring uptime checks, custom scripts for simulating user actions, and, optionally, third-party tools for more advanced monitoring scenarios. While GKE and Cloud Logging are valuable tools, they do not directly address the need for synthetic monitoring in this context.
- A. Correct.
Correct: Cloud Monitoring's uptime checks can help ensure that specific endpoints are reachable, which is a fundamental part of synthetic monitoring.
- B. Correct.
Correct: Custom scripts can simulate complex user journeys, and using Cloud Scheduler ensures they run periodically to detect issues proactively.
- C. Incorrect.
Incorrect: While GKE could host monitoring agents, it is not directly relevant to implementing synthetic monitoring, making this option overly complex and unnecessary for the scenario.
- D. Correct.
Correct: Third-party synthetic monitoring tools can provide more advanced capabilities for simulating user journeys and integrating with Cloud Monitoring.
- E. Incorrect.
Incorrect: Cloud Logging is useful for tracking and debugging issues, but it does not provide the active, synthetic monitoring required to simulate user journeys.