Topic 1 Question 47
You are managing an application that exposes an HTTP endpoint without using a load balancer. The latency of the HTTP responses is important for the user experience. You want to understand what HTTP latencies all of your users are experiencing. You use Stackdriver Monitoring. What should you do?
ג€¢ In your application, create a metric with a metricKind set to DELTA and a valueType set to DOUBLE. ג€¢ In Stackdriver's Metrics Explorer, use a Stacked Bar graph to visualize the metric.
ג€¢ In your application, create a metric with a metricKind set to CUMULATIVE and a valueType set to DOUBLE. ג€¢ In Stackdriver's Metrics Explorer, use a Line graph to visualize the metric.
ג€¢ In your application, create a metric with a metricKind set to GAUGE and a valueType set to DISTRIBUTION. ג€¢ In Stackdriver's Metrics Explorer, use a Heatmap graph to visualize the metric.
ג€¢ In your application, create a metric with a metricKind set to METRIC_KIND_UNSPECIFIED and a valueType set to INT64. ג€¢ In Stackdriver's Metrics Explorer, use a Stacked Area graph to visualize the metric.
ユーザの投票
コメント(11)
Answer C Reference : https://cloud.google.com/monitoring/api/v3/kinds-and-types?hl=en GAUGE Metric : In which value measures a specific instant in time DELTA Metric : In which the value measures the change since it was last recorded CUMULATIVE metric : In which the value constantly increases over time
Question asks, "Latency of HTTP responses" - This needs to be specific instant in time , which is GAUGE, hence C
👍 22raf21212021/08/09C is correct
👍 11Charun2021/06/28Ans C:
A: Incorrect: Stacked bar could be but latency its used with distributions B: Incorrect: If we used a cumulative the latency would be increasing in the graph. C: Correct: Latency is commonly measured as a distribution. D: Incorrect: METRIC_KIND_UNSPECIFIED is not the answer that gcp wanted.
Latency is commonly measured as a distribution. Given a distribution, you can measure various percentiles. For example, you might measure the number of requests that are slower than the historical 99th percentile.
Latency histogram_quantile(0.9, rate(http_request_duration_seconds_bucket[7d]) histogram_quantile(0.99, rate(http_request_duration_seconds_bucket[7d]))
https://sre.google/workbook/implementing-slos/ https://cloud.google.com/architecture/adopting-slos/
👍 9francisco_guerra2021/06/25
シャッフルモード