PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #3
You support a high-traffic web application that runs on Google Cloud Platform (GCP). You need to measure application reliability from a user perspective without making any engineering changes to it…
The correct answer is D. Create new synthetic clients to simulate a user journey using the application. E. Use current and historic Request Logs to trace customer interaction with the application. Measure application reliability from a user's perspective without code changes by using synthetic clients to simulate user journeys and analyzing existing request logs.
Question
Options
- AReview current application metrics and add new ones as needed.
- BModify the code to capture additional information for user interaction.
- CAnalyze the web proxy logs only and capture response time of each request.
- DCreate new synthetic clients to simulate a user journey using the application.
- EUse current and historic Request Logs to trace customer interaction with the application.
How the community answered
(50 responses)- A4% (2)
- B10% (5)
- C16% (8)
- D70% (35)
Why each option
Measure application reliability from a user's perspective without code changes by using synthetic clients to simulate user journeys and analyzing existing request logs.
While reviewing current metrics is a good first step, 'adding new ones as needed' often implies needing to modify the application or infrastructure to emit those new metrics, which contradicts the 'without making any engineering changes' constraint.
Modifying the code to capture additional information directly violates the 'without making any engineering changes' constraint.
Analyzing *only* web proxy logs might be limiting and doesn't explicitly capture the full 'user perspective' as comprehensively as synthetic clients for active checks, or full request logs for passive checks, which are often more readily available.
Synthetic clients simulate actual user journeys by making requests to the application from external locations, providing an objective measure of availability, latency, and functionality from an end-user perspective without requiring any modifications to the application code. This is a form of active monitoring.
Request logs (e.g., from HTTP(S) Load Balancers, Cloud Logging) contain valuable information about real user interactions, including response times, status codes, and user agents. Analyzing these logs passively allows you to derive reliability metrics from actual user traffic without any code changes to the application itself.
Concept tested: SRE SLI/SLO measurement, synthetic & passive monitoring
Source: https://cloud.google.com/monitoring/docs/synthetics/overview
Topics
Community Discussion
No community discussion yet for this question.