0
0
HLDsystem_design~20 mins

SLA, SLO, and SLI definitions in HLD - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
SLA_SLO_SLI_Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding SLA, SLO, and SLI

Which of the following best describes the relationship between SLA, SLO, and SLI?

ASLI is the agreement, SLA is the measurement, and SLO is the penalty.
BSLA is the metric, SLO is the agreement, and SLI is the penalty for not meeting the agreement.
CSLO is the service metric, SLA is the target, and SLI is the customer's feedback.
DSLI measures a service metric, SLO sets a target for that metric, and SLA is the formal agreement based on the SLO.
Attempts:
2 left
💡 Hint

Think about which term is a measurement, which is a goal, and which is a contract.

🧠 Conceptual
intermediate
2:00remaining
Identifying an SLI example

Which of the following is an example of a Service Level Indicator (SLI)?

AThe percentage of successful HTTP requests over a period.
B99.9% uptime guaranteed in the contract.
CA penalty clause for downtime exceeding 0.1%.
DA customer agreement to pay for premium support.
Attempts:
2 left
💡 Hint

SLI is a measurable metric, not a contract or penalty.

Architecture
advanced
3:00remaining
Designing Monitoring for SLI Collection

You need to design a system to collect SLIs for a web service's availability and latency. Which architectural component is essential to ensure accurate and scalable SLI collection?

AA centralized logging system that collects all request logs and computes SLIs offline daily.
BDistributed agents on each server that collect metrics in real-time and push to a metrics aggregator.
CA manual process where engineers review logs weekly to estimate SLIs.
DA client-side script that reports user satisfaction surveys.
Attempts:
2 left
💡 Hint

Consider real-time, scalable, and accurate metric collection.

scaling
advanced
3:00remaining
Scaling SLA Enforcement for a Global Service

Your service has SLAs with different customers worldwide, each with unique SLOs. What is the best approach to scale SLA enforcement and reporting?

AMaintain a single global SLA enforcement system that applies the strictest SLO to all customers.
BOutsource SLA enforcement to a third-party vendor without integration to your monitoring.
CImplement a multi-tenant SLA enforcement system that tracks each customer's SLOs separately and generates customized reports.
DIgnore individual SLAs and focus only on average service metrics.
Attempts:
2 left
💡 Hint

Think about customization and scalability for multiple customers.

tradeoff
expert
4:00remaining
Tradeoff Between SLI Granularity and System Overhead

You want to increase the granularity of SLIs by measuring latency per API endpoint every second. What is a key tradeoff to consider?

AHigher granularity improves accuracy but increases monitoring system overhead and storage costs.
BHigher granularity reduces accuracy but lowers system overhead.
CHigher granularity eliminates the need for SLAs.
DHigher granularity guarantees zero downtime.
Attempts:
2 left
💡 Hint

Think about the balance between detail and resource use.