0
0
Rest APIprogramming~5 mins

SLA and uptime tracking in Rest API - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does SLA stand for in service management?
SLA stands for Service Level Agreement. It is a contract that defines the expected level of service between a provider and a customer.
Click to reveal answer
beginner
Why is uptime important in SLA tracking?
Uptime measures the time a service is available and working. High uptime means the service is reliable and meets SLA promises.
Click to reveal answer
intermediate
How is uptime percentage calculated?
Uptime % = (Total time service is available / Total time in period) × 100. For example, 99.9% uptime means the service was down for only 0.1% of the time.
Click to reveal answer
beginner
What is a common REST API endpoint to check service uptime?
A common endpoint is GET /health or GET /status which returns the current status and uptime info of the service.
Click to reveal answer
intermediate
How can you track SLA violations using a REST API?
You can track SLA violations by regularly calling uptime/status endpoints, logging downtime events, and comparing uptime against SLA targets.
Click to reveal answer
What does a 99.9% uptime SLA mean?
AThe service can be down for about 8.76 hours per year
BThe service is down 99.9% of the time
CThe service is always available
DThe service is down for 99.9 hours per month
Which HTTP method is usually used to check service status in a REST API?
APOST
BGET
CPUT
DDELETE
What is the main purpose of an SLA?
ATo create marketing materials
BTo write code for the service
CTo design the user interface
DTo define service expectations and responsibilities
Which metric directly measures service availability?
AMemory usage
BResponse time
CUptime
DCPU usage
How can downtime be detected via a REST API?
ABy receiving error responses or no response from status endpoints
BBy sending POST requests to update data
CBy checking user login times
DBy monitoring database size
Explain what SLA and uptime tracking mean and why they are important for a service.
Think about promises made to customers and how we check if they are kept.
You got /4 concepts.
    Describe how you would use a REST API to monitor a service's uptime and detect SLA violations.
    Consider how to check service health regularly and measure against agreed levels.
    You got /4 concepts.