Boss: Keep it running
Quick check
What does continuous deployment add to continuous delivery?
- Every change that passes is released to production automatically
- Automated tests
- A staging environment
Show the answer
Every change that passes is released to production automatically
Continuous delivery keeps every build releasable. Continuous deployment releases it, with no human step.
Read the plan
1# google_firestore_database2# .saves must be replaced3-/+ resource ... "saves"4Plan: 1 to add,5 0 to change,6 1 to destroy.
What will approving this plan do?
- Destroy the database and create a new one
- Change one setting in place
- Nothing
Show the answer
Destroy the database and create a new one
"-/+" means destroy, then create a replacement. A new database starts empty.
Quick check
Why is a canary compared with the control rather than with yesterday?
- Time changes the numbers on its own
- Yesterday's data is deleted
- The control is always smaller
Show the answer
Time changes the numbers on its own
Google's SRE workbook: "time is one of the biggest sources of change in observed metrics."
Quick check
In blue-green deployment, rolling back means switching the router back.
- True
- False
Show the answer
True
The old environment is still running, so switching back is the rollback.
Quick check
Who is "the only group modifying the system during an incident"?
- Operations
- Communication
- Planning
Show the answer
Operations
Communication talks to players and Planning handles longer-term issues. Only Operations changes the system.
Do the math
1RPO 1 hour2last backup 09:003disaster 12:00
Does this backup meet the RPO?
- No: 3 hours of data would be lost
- Yes
- Only if the RTO is met
Show the answer
No: 3 hours of data would be lost
Everything from 09:00 to 12:00 is lost: 3 hours, three times the 1-hour RPO.
Quick check
Which is a reason to write a postmortem in Google's SRE book?
- An on-call engineer rolled back a release
- A release went out on time
- A new player signed up
Show the answer
An on-call engineer rolled back a release
On-call intervention, such as a release rollback, is one of the book's triggers.
Quick check
What does Netflix's Chaos Monkey do?
- Randomly terminates instances in production
- Writes postmortems
- Forecasts capacity
Show the answer
Randomly terminates instances in production
It stops servers at random, so services are built to survive it.