
Answer-first summary for fast verification
Answer: A quality SLI: the ratio of non-degraded responses to total responses.
The question revolves around ensuring a good user experience by minimizing the frequency of degraded mode occurrences in a high-traffic web application with a microservice architecture. The key is to measure how often the application serves non-degraded responses to the users. Option A, a quality SLI, directly measures the ratio of non-degraded responses to total responses, which aligns with the goal of ensuring the user experience does not degrade too much. Option B measures the health of microservices but does not directly reflect the user experience. Option C focuses on the freshness of content, which is not the primary concern here. Option D measures latency, which, while important, does not address the issue of degraded content. Therefore, the correct answer is A.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You manage a high-traffic web application with a microservice architecture. The home page displays multiple widgets (e.g., weather, stock prices, news headlines), each fetched from a dedicated microservice. If a microservice fails, the serving thread still renders the page but with missing content. Users tolerate occasional degraded service but expect most content to load reliably. To ensure acceptable user experience, what Service Level Indicator (SLI) should you track for your Service Level Objective (SLO)?
A
A quality SLI: the ratio of non-degraded responses to total responses.
B
An availability SLI: the ratio of healthy microservices to the total number of microservices.
C
A freshness SLI: the proportion of widgets that have been updated within the last 10 minutes.
D
A latency SLI: the ratio of microservice calls that complete in under 100 ms to the total number of microservice calls.
No comments yet.