Medium1 markMultiple Choice
Subtask 5.2: ReliabilitySRESLIMonitoringReliability

GCP PCA · Question 32 · Reliability

You are defining the monitoring strategy for a new e-commerce checkout service. You need to establish a Service Level Indicator (SLI) that accurately reflects the user's experience of the service's reliability. Which metric is the most appropriate SLI?

Answer options:

A.

The average CPU utilization of the Compute Engine instances running the checkout service.

B.

The total number of errors logged in Cloud Logging over a 24-hour period.

C.

The percentage of HTTP GET requests to the /checkout endpoint that return a 200 OK status code within 500 milliseconds.

D.

The amount of time the database was available during the month.

How to approach this question

An SLI should measure the user's experience directly, usually as a ratio of 'good events' to 'total events'.

Full Answer

C.The percentage of HTTP GET requests to the /checkout endpoint that return a 200 OK status code within 500 milliseconds.✓ Correct
The percentage of HTTP GET requests to the /checkout endpoint that return a 200 OK status code within 500 milliseconds.
In Site Reliability Engineering (SRE), a Service Level Indicator (SLI) is a carefully defined quantitative measure of some aspect of the level of service that is provided. Good SLIs measure the user experience directly. Option C measures both availability (HTTP 200) and latency (<500ms) as a proportion of total requests, which perfectly aligns with SRE best practices.

Common mistakes

Choosing system metrics like CPU or Memory (Option A). These are causes of bad SLIs, but they are not SLIs themselves.

Practice the full GCP Professional Cloud Architect Practice Exam 7

50 questions · hints · full answers · grading

More questions from this exam