Topic 1 Question 314
You are developing a discussion portal that is built on Cloud Run. Incoming external requests are routed through a set of microservices before a response is sent. Some of these microservices connect to databases. You need to run a load test to identify any bottlenecks in the application when it is under load. You want to follow Google-recommended practices. What should you do?
Modify the response to include a time series that shows elapsed time per service. Use Log Analytics in Cloud Logging to create a heatmap that exposes any service that could be a bottleneck.
Configure Cloud Trace to capture the requests from the load testing clients. Review the timings in Cloud Trace.
Expose the latency metrics per service for each request. Configure Google Cloud Managed Service for Prometheus, and use it to scrape and analyze the metrics.
Add log statements that capture elapsed time. Analyze the logs and metrics by using BigQuery.
ユーザの投票
コメント(1)
- 正解だと思う選択肢: B
Cloud Trace is designed to analyze the latency of applications, especially those built using microservices. It automatically collects latency data for each request, allowing you to see how long each service takes to respond
👍 1anshad6662024/10/12
シャッフルモード