Exam4Training

What should you do?

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?
A . • 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 Slacked Bar graph to visualize the metric.
B . • 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.
C . • 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.

D . • In your application, create a metric with a metricKind. set toMETRlc_KIND_UNSPECIFIEDanda valueType set to INT64.
• In Stackdriver’s Metrics Explorer, use a Stacked Area graph to visualize the metric.

Answer: C

Explanation:

https://sre.google/workbook/implementing-slos/

https://cloud.google.com/architecture/adopting-slos/

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.

Exit mobile version