bregman-arie/devops-exercises

Learning Resources

A large question-and-answer bank for studying DevOps, SRE and infrastructure topics and preparing for interviews or exams.

Best position on GitHub Trending (daily): #13. Click to get this badge for your README
85,697
20,533
Python
NOASSERTION
7 years old

This repository gathers questions, answers and practical exercises across DevOps and SRE subjects — Linux, networking, Kubernetes, AWS, OpenStack, SQL, Prometheus and more — for people studying infrastructure concepts, preparing for interviews, or working through a certification syllabus. The author notes it is a study resource rather than a faithful simulation of real interviews.

What it contains

The README states there are currently 2624 exercises and questions, organized by topic with expandable question/answer entries README. Coverage is broad: operating-system exercises such as fork labs with separate solution files fork exercise, SQL query-improvement exercises SQL exercise, and a hands-on "Highly Available Hello World" exercise HA exercise. Most topic sections follow the same pattern — a question, then the answer in a collapsible block.

Certification material is separate: there are dedicated files for cloud and Kubernetes exams, such as AWS Cloud Practitioner AWS Cloud Practitioner and CKA CKA questions, with noted last-update years (2020, 2021, 2022 depending on the file). Treat those dates as the freshness boundary of the exam content.

How people use it

The main workflow is self-assessment: open a topic, attempt the question, then reveal the answer and compare. Some sections are read-and-answer rather than executable, and the README explicitly advises that most questions and exercises do not represent an actual interview, referring readers to the FAQ for detail FAQ. It also cautions that a DevOps career is not about learning every topic and technology listed.

The repository is also open to contributions, with pull requests as the way to add exercises contribution guidelines. Standalone companion projects are linked for further reading, including a system-design notebook system-design notebook and an SRE checklist SRE checklist.

What to keep in mind

This is a text-heavy study corpus, not a tool you install or run. No account, runtime or platform is required to read it; the Python primary language refers to the repository contents, not a documented setup requirement. Answer quality is uneven: answers range from short definitions to quotes from external sources, and a commenter on a 2023 Hacker News thread observed that a surprising number of questions were left unanswered for such a popular project HN comment. Verification is therefore per-question — cross-check anything you plan to rely on against primary documentation.

The license affects reuse: the README badge shows CC BY-NC-ND 3.0 license badge, which permits sharing with attribution but not modification or commercial use, a real constraint if you want to remix the material into your own training content.

Written by AI from the project's README, updated October 31, 2026. The project's own docs are the source of truth.

Hacker News

DevOps Exercises
▲ 4 · 0 comments · August 7, 2023
DevOps Exercises
▲ 3 · 0 comments · August 1, 2023