School

For administrators, developers, testers and support engineers who already work in IT and are moving into DevOps: see what in the foundations is time to relearn

15 interview questions:
in 20 minutes

Configuring from a guide looks like understanding as long as the system works. The test shows which foundation topics you have covered and which only seem covered.

Free. No registration or subscription needed.

What is inside

01 · RESULT
A list instead of a feeling

Which foundation topics you have covered, and which you only thought you had.

coveredonly seems covered
02 · REVIEW
A review of every question

What it really tests — what is asked is not what it seems — and how the answer of someone who understands the mechanics sounds, versus the answer of someone who configured from a guide.

03 · ORDER
Where to start closing what you found

The principle of order and one worked example — why the foundations are closed bottom-up and what exactly was needed to explain why a pod did not start.

04 · TECHNIQUE
A trick from a single wording

How to tell a question about a tool from a question about mechanics — in advance, by how it is worded.

Take the check now

These questions were not made up for the course. They come from the open list “50 Questions for a DevOps Engineer”, which I have kept for interviews since 2018: github.com/olegbukatchuk/50-questions-to-devops.

How to go through it

Each question takes about a minute and a half.

  1. Read the question and, without looking at the review, honestly choose one of three options:
    • A. I can explain the mechanics: I can say how it works and why it works that way, not just what it is called.
    • B. I know how to configure it, but not why: I remember the commands and configs, but cannot explain what happens inside.
    • C. I cannot answer.
  2. Open the review. Compare your answer with the two samples: “understands the mechanics” and “follows a guide”.
  3. If you chose A, answer the check question at the end of the review out loud. If you cannot answer in a way that follows from the mechanics rather than from memory, mark it B.

There is deliberately no answer key for the check questions: their purpose is not memorization but checking whether your answer follows from the mechanics. Compare it with the review above.

  1. Question 1What is an inode and what does it store?

    Your answer, question 1
    Review, question 1
    • What it tests. Whether you understand that a file’s name and the file itself are different things.
    • An answer from someone who understands the mechanics. An inode is a filesystem structure: type, permissions, owner, size, timestamps, hard link count, pointers to the data blocks. The file name is not in it: it lives in the directory, which maps names to inode numbers. Data is deleted when the link count is zero and no one has the file open. Hence the situations “the file was deleted but the space was not freed” and “there is space, but writes fail with No space left on device because inodes ran out”.
    • A “follow the guide” answer. Names ls -i and stat, says “it is the file’s metadata” and stops. Cannot answer why df and du show different numbers.
    • Check yourself. df shows the disk is full, while du adds up to half as much. Why?
    • Where it is covered. Block 02 “Linux: system internals and everyday work”.
  2. Question 2What is swap and when does used swap become a problem?

    Your answer, question 2
    Review, question 2
    • What it tests. Whether you tell “swap is in use” from “the system is struggling”.
    • An answer from someone who understands the mechanics. Swap is an area on disk where the kernel evicts rarely used memory pages. Anonymous pages (process memory) go there; file cache pages are simply dropped. Used swap is not a problem in itself: the problem is constant paging in both directions (the si and so columns in vmstat). When memory and swap are exhausted, the kernel runs the OOM killer.
    • A “follow the guide” answer. “Swap is in use, so there is not enough memory”: a rule without the mechanics that explain it. Such an answer cannot distinguish “in use” from “paging in both directions”.
    • Check yourself. free shows almost no free memory. Is that a problem?
    • Where it is covered. Block 02 “Linux: system internals and everyday work”.
  3. Question 3What does Load Average show and how do you tell whether it is high or low?

    Your answer, question 3
    Review, question 3
    • What it tests. Whether you know what exactly the number you look at every day counts.
    • An answer from someone who understands the mechanics. It is an exponentially smoothed average number of processes that are running or waiting in the queue, over 1, 5 and 15 minutes. In Linux it also includes processes in uninterruptible sleep (state D), which are usually waiting for I/O. The value is not normalized: it is compared with the number of cores. A high LA with low CPU load points to I/O. In a container, LA reflects the whole host.
    • A “follow the guide” answer. Names the number but does not say what it counts or what to compare it with. Does not mention state D and I/O.
    • Check yourself. LA is 40 on four cores, CPU is 5 % loaded. What do you check?
    • Where it is covered. Block 02 “Linux: system internals and everyday work”.
  4. Question 4Which process has PID 1 and when is it not the parent of all processes?

    Your answer, question 4
    Review, question 4
    • What it tests. Whether you understand what happens to processes and signals inside a container, not just on the host.
    • An answer from someone who understands the mechanics. PID 1 is the first user-space process, usually systemd; it starts services, adopts orphaned processes and collects their exit codes. It is not the parent of everything in three cases: kernel threads (children of kthreadd), a container with its own PID namespace and its own PID 1, and a subreaper process. PID 1 is treated specially with respect to signals: a signal without an explicit handler is ignored, so an application in a container may not react to SIGTERM and will be killed with SIGKILL after a timeout. With the shell form of CMD, PID 1 becomes /bin/sh, which does not forward signals.
    • A “follow the guide” answer. “It is init, systemd” and that is all. Does not know that in a container PID 1 is your application, and that the stop timeout and zombies follow from this.
    • Check yourself. Why does a container stop in exactly 10 or 30 seconds?
    • Where it is covered. Block 02 “Linux: system internals and everyday work” and block 08 “Containers and Docker”.
  5. Question 5How does SELinux differ from AppArmor and how do you work with them without disabling them?

    Your answer, question 5
    Review, question 5
    • What it tests. Whether you see protection as a mechanism you can diagnose, not just a switch.
    • An answer from someone who understands the mechanics. Both are kernel security modules with mandatory access control: the policy restricts a process even if ordinary permissions allow the action and even if the process runs as root. SELinux works with labels (contexts) of processes, files and ports; AppArmor works with profiles bound to the path of the executable. Hence the difference: when a file is moved, its SELinux label is preserved, while for AppArmor a file at a new path is already a different object. Protection is not disabled but fixed by correcting labels or policy.
    • A “follow the guide” answer. “Turn it off and it will work.” Does not know what exactly blocks access and which label or policy to fix.
    • Check yourself. nginx cannot read files from /data, their permissions are 755. What do you check?
    • Where it is covered. Block 18 “Infrastructure security and DevSecOps”.
  6. Question 6How does DNS work: what happens when a name is resolved?

    Your answer, question 6
    Review, question 6
    • What it tests. Whether you see the whole chain, from the application to the authoritative server, and understand the role of the cache.
    • An answer from someone who understands the mechanics. The application contacts the local resolver, which contacts a recursive server. If there is no answer in the cache, the server walks the hierarchy: root servers, top-level domain servers, the domain’s authoritative servers. The answer is cached for the TTL. On the host, the order of sources is set by /etc/nsswitch.conf, and servers and search domains by /etc/resolv.conf. Before a migration the TTL is lowered in advance. In Kubernetes names are resolved by CoreDNS, and ndots:5 together with the list of search domains generates extra queries for external names.
    • A “follow the guide” answer. “The request goes to a DNS server, which returns an IP” and dig. Does not mention the cache and TTL, and therefore why a record change does not reach everyone at once.
    • Check yourself. A record was changed an hour ago, and some clients still go to the old address. Why?
    • Where it is covered. Block 05 “Networking: from frame to HTTPS”.
  7. Question 7What is the difference between TCP and UDP?

    Your answer, question 7
    Review, question 7
    • What it tests. Whether you understand what exactly the protocol guarantees, and what is visible on the network when the guarantees are broken.
    • An answer from someone who understands the mechanics. TCP establishes a connection (the SYN, SYN-ACK, ACK handshake) and carries a byte stream with guaranteed delivery and ordering: acknowledgements, retransmission, flow and congestion control. UDP carries individual datagrams with no guarantee of delivery or order. TCP guarantees delivery but not timing: a lost packet delays all the data behind it. Idle timeouts on load balancers and NAT break “silent” connections; keepalive helps.
    • A “follow the guide” answer. “TCP is reliable, UDP is fast.” True, but nothing follows from such an answer that can be checked on a live system.
    • Check yourself. How does a connection to a closed port differ in tcpdump from a port closed by a firewall with DROP?
    • Where it is covered. Block 05 “Networking: from frame to HTTPS”.
  8. Question 8What is TLS and what exactly does the client check in a certificate?

    Your answer, question 8
    Review, question 8
    • What it tests. Whether you know where trust comes from, not just how to get a certificate.
    • An answer from someone who understands the mechanics. TLS provides encryption, integrity and authentication of the parties. The server presents a certificate; the client checks the chain up to a trusted certificate authority, the name and the validity period. Then the parties derive a shared session key that encrypts the traffic. A typical mistake is a server that does not send the intermediate certificate. Issuance and renewal are automated (ACME, cert-manager), because the validity period of public certificates is being shortened step by step.
    • A “follow the guide” answer. “I issued a certificate, put it in nginx, and the padlock appeared.” Does not know what the client checks and why the chain may be incomplete.
    • Check yourself. The site opens in a browser, while curl or a Java application reports a certificate error. Why?
    • Where it is covered. Block 05 “Networking: from frame to HTTPS”.
  9. Question 9What kinds of data storage are there (block, file, object) and how do they differ?

    Your answer, question 9
    Review, question 9
    • What it tests. Whether you understand how the access models differ in essence, not by product names.
    • An answer from someone who understands the mechanics. Block storage presents a volume as a set of blocks, and the client creates the filesystem itself; usually a volume is attached to a single consumer, latency is low, and it suits databases. File storage presents a ready filesystem over the network, used by several clients at once (NFS, SMB). Object storage keeps objects by key and works over an HTTP API (S3): an object cannot be modified partially, only overwritten whole, and there are no file locks. Object storage cannot be mounted as a filesystem under a database.
    • A “follow the guide” answer. Lists names (iSCSI, NFS, S3) but cannot explain which one fits a database and why the others do not.
    • Check yourself. Why is a database usually not placed on NFS?
    • Where it is covered. Block 07 “Applications and data: what we actually operate” and block 13 “Kubernetes: the basics”.
  10. Question 10What is the fundamental difference between a virtual machine and a container?

    Your answer, question 10
    Review, question 10
    • What it tests. Whether you know what a container is at the kernel level, or for you it is a “lightweight VM”.
    • An answer from someone who understands the mechanics. A virtual machine runs on emulated hardware under a hypervisor and boots its own kernel. A container is ordinary host processes isolated by kernel facilities; the kernel is shared by all containers and the host. Namespaces determine what a process sees; cgroups, how many resources it can take; capabilities, seccomp, SELinux or AppArmor, what it is allowed to do. An image is a set of layers combined by overlayfs; the formats are standardized by OCI. A vulnerability in the shared kernel allows escaping from a container.
    • A “follow the guide” answer. “A container is lighter and starts faster.” Does not mention the shared kernel or what provides the isolation.
    • Check yourself. What happens to a container when it exceeds its memory limit? And its CPU limit?
    • Where it is covered. Block 08 “Containers and Docker”.
  11. Question 11How do Continuous Integration, Continuous Delivery and Continuous Deployment differ? What deployment strategies are there?

    Your answer, question 11
    Review, question 11
    • What it tests. Whether you understand where the human sits in the pipeline and what exactly makes a rollback possible or impossible.
    • An answer from someone who understands the mechanics. CI is frequent merges into the main branch with automatic build and tests. Delivery: every change that passes the pipeline becomes an artifact ready to deploy, and a human triggers the deployment. Deployment: the release to production is automatic too. Strategies: recreate (with downtime), rolling, blue-green, canary. The artifact is built once and passes through all environments unchanged; configuration lives separately. Database migrations must be backward compatible, otherwise a rollback is impossible.
    • A “follow the guide” answer. Retells the stages of their own pipeline in GitHub Actions or GitLab CI. Does not tell which part is CI and which is Delivery, nor why a rollback hits the database.
    • Check yourself. How do you roll back a release that included a database migration?
    • Where it is covered. Block 09 “CI/CD: continuous integration and delivery”.
  12. Question 12How do you understand “infrastructure as code”?

    Your answer, question 12
    Review, question 12
    • What it tests. Whether you see, behind a tool (Terraform or any other), the model: description, state, drift.
    • An answer from someone who understands the mechanics. Infrastructure is described in text files, stored in version control and applied automatically; changes go through review and checks, like application code. The declarative approach describes the desired state, the imperative one a sequence of steps. Idempotence: applying again does not change the system if it is already in the desired state. The tool keeps a state; manual edits lead to drift, that is, a divergence between the code and reality. State is stored remotely, with locking and encryption.
    • A “follow the guide” answer. “We write Terraform and run apply.” Does not know what state is and what happens if a resource was changed by hand.
    • Check yourself. What happens if someone changed a resource by hand in the console?
    • Where it is covered. Block 12 “Infrastructure as code: Terraform” and block 10 “Configuration management: Ansible”.
  13. Question 13What components does Kubernetes consist of and what happens after `kubectl apply` for a Deployment?

    Your answer, question 13
    Review, question 13
    • What it tests. Whether you have in your head the path of a request through the cluster, which is what you follow to find the cause when a pod did not start.
    • An answer from someone who understands the mechanics. Control plane: kube-apiserver (the only entry point), etcd (state), kube-scheduler (node selection), kube-controller-manager. On a node: kubelet, container runtime, kube-proxy, the CNI network plugin. Everything is built on reconciliation loops: a controller compares the desired state with the actual one and removes the difference. The path of apply: authentication, authorization and admission, write to etcd, creation of a ReplicaSet and pods by controllers, node selection by the scheduler, container start by kubelet through CRI, network setup through CNI, readiness checks, adding the pod to the service.
    • A “follow the guide” answer. Lists the components from a list but does not know the order of steps: “the pod did not start” is a single symptom for them, not the question “at which step of the path did it stop”.
    • Check yourself. A pod hangs in Pending. A pod is in CrashLoopBackOff. What do you do in each case?
    • Where it is covered. Block 13 “Kubernetes: the basics”.
  14. Question 14What is GitOps and how does the pull model differ from push?

    Your answer, question 14
    Review, question 14
    • What it tests. Whether you understand who goes where for changes, and what happens to manual edits.
    • An answer from someone who understands the mechanics. The desired state is described declaratively in Git, and an agent continuously brings the real state to the described one. A change is a commit through a merge request, a rollback is a revert. Push model: CI has access to the cluster and itself calls kubectl or helm. Pull model: an agent inside the cluster (Argo CD, Flux) fetches changes from Git; the cluster credentials never leave it, and drift is detected and corrected. Urgent manual edits will be reverted by the agent.
    • A “follow the guide” answer. “Argo CD watches the repository and rolls out.” Does not know what this gives and what happens to a manual edit.
    • Check yourself. What happens if you fix a Deployment by hand with kubectl edit?
    • Where it is covered. Block 14 “Kubernetes: operations, security and GitOps”.
  15. Question 15What is observability and what does a modern observability stack consist of?

    Your answer, question 15
    Review, question 15
    • What it tests. Whether you tell “I installed Prometheus and Grafana” from being able to use signals to understand why a system behaves the way it does.
    • An answer from someone who understands the mechanics. Observability lets you understand from external signals what is happening inside, including in unforeseen situations. Monitoring answers the question “is it broken”, observability, “why”. The main signals are metrics, logs, traces. Response time is measured with percentiles and histograms, not the average. Alerts are built on user-facing symptoms and on the burn rate of the error budget, not on every cause. Label cardinality determines the cost of storing metrics.
    • A “follow the guide” answer. Names the stack: Prometheus, Loki, Grafana. Does not know why the average response time is misleading and what to base alerts on.
    • Check yourself. Why can’t you average percentiles from several instances?
    • Where it is covered. Block 16 “Observability: metrics, logs, traces”.

The list is built by a script. Without JavaScript, write down the question numbers by your answers yourself.

How your list is built from the answers

Write down the question numbers in three columns by these rules.

ColumnWhat goes into it
CoveredYou chose A and answered the check question so that the answer follows from the mechanics
Only seemed coveredYou chose B. Or you chose A but failed the check question
Not coveredYou chose C

The middle column is the most important: it shows where you used to cross a topic off the “worth understanding” list. Percentages and scores are not needed here: the test counts neither “how many correct” nor a “pass mark”, because it is not an exam. It shows which lines of your list are real and which were drawn by habit.

Then group the lines by the blocks named in the reviews. If several lines from the middle or right column fall into one block, that is not five separate gaps but one: the same topic lies beneath them.

The test is a sample, not the whole foundation

Fifteen questions do not cover the whole foundation. The list has no questions about the mechanics of Git, Bash, Python, clouds and Ansible, so they are not here. An empty “not covered” column does not mean there are no gaps, only that you did not see them in these fifteen places.

How to tell a question about a tool from a question about mechanics

You can tell by the wording, even before answering. A question about a tool sounds like “what is X”, “which Y do you know”: you can answer it with a name. A question about mechanics sounds like “what happens if…”, “why…”, “how does it differ…”: you cannot answer with a name, you need a “because”.

Look closely at the check questions above. In the list, the GitOps question opens with the words “What is GitOps?” and looks like a question about a tool. But it is followed by what happens to a manual edit of a Deployment, that is, about mechanics. Almost every question about a tool actually tests the layer beneath it. So when you hear “what is X”, immediately ask yourself: what happens if X breaks? If you have no answer, that is a line for the middle column.

Where to start closing what you found

There is one principle: what lies beneath a tool is closed before the tool itself. Gaps in the upper layers almost always stand on gaps in the lower ones, and while the lower layer is empty, the upper one is closed only until the next outage.

One worked example. Question 13 ends like this: “A pod hangs in Pending. A pod is in CrashLoopBackOff. What do you do in each case?” To answer, knowing the commands is not enough. You need to know the path of a request through the cluster (question 13) and understand at which step it stopped. You cannot explain the cause at that step without going lower: to memory limits and the OOM killer (questions 2 and 10), to PID 1 and signals (question 4), to DNS inside the cluster (question 6). For someone who starts with Kubernetes, every step remains a black box. Someone who goes bottom-up sees what is inside.

This is a principle, not a plan. The order and the means for closing your particular lines depend on which role you came from and where you are going. The test does not give an order, and the list does not replace one.

What your list shows

The three columns do not grade you; they show three different situations.

Covered. You can cross these topics off the “worth understanding” list. You checked yourself with an outside question, not with a feeling.

Only seemed covered. The main column. Here you knew how to configure it and did not know what happens beneath the configuration. This is the illusion of understanding: it grows with success, because every working setup adds confidence. It was put there by the environment, not by you: you configured from a guide where the decisions had already been made for you. You cannot see it from the inside, because the feeling “I have done this” is no different from the feeling “I understand this”.

Not covered. You know this topic as a gap. This is the most convenient case: there is nothing to search for.

If several lines from one block land in the middle and right columns, that is one gap, not several: one topic lies beneath them.

Why you cannot close this the same way

Documentation, articles and talks answer the question “how”. They are free and good. But they cannot answer two other questions: in what order to close your particular lines, and how to know that a line is closed rather than just seeming closed again.

Without answers to these you repeat what created the illusion: you follow a guide, see that it worked, and cross the topic off. So what is missing is not effort or time, but order and verification.

How the course works

The course is built around these two questions. Three properties, and for each one it says what it means in practice.

1. Foundations come before tools. Before the containers block there are 68 lessons out of 216. In practice this means you come to Docker and Kubernetes when processes, permissions, networking and storage beneath them have already been worked through. If a container then fails to start, you have layers to search through, not just one error text to search for online. “Why didn’t it start” is asked in interviews and in outages, and it has to be answered from knowledge of the layers.

2. Every homework has a checklist. 1638 criteria across 216 assignments, and each one is checked by a command, a file or an output. In practice this means that when you finish an assignment you do not ask yourself “did I do it?”, you go down the list and see which items pass and which do not. Imagine a topic you considered closed: by the third item on the list it turns out you cannot explain it. It is an unpleasant minute, but it happens on your own lab, not in an interview. A month later you can return to the topic with the same list and check that it is still closed, rather than only seeming closed again. You do not have to guess whether a topic is closed: the check either passes or it does not.

3. Practice in three environments. A local lab, a VPS and Yandex Cloud; every lesson is worked through for all three. In practice this means you can learn on a free local lab without touching a working production, and connect the cloud when you understand what you are doing: a budget with a notification is set up in the first block, before the first spending.

What is not here: a mentor, a cohort with deadlines and a promise of employment. The criteria check, not a person.

Your lines and the course blocks

Each review above ends with a “Where it is covered” line: that is a course block. Write down the blocks for the lines from the two right columns. That is your part of the 22 blocks.

The test checked ten blocks out of twenty-two. It did not touch the other twelve, so it does not give the full picture: you may need part of the rest of the course, or you may not. Decide from the table of contents: for every block it says what you will be able to do after it.

The order in which these blocks are closed for you specifically is something your list does not replace, and I do not give it in the test.

What to decide before paying

Five questions that are better answered in advance rather than after the first payment.

Whether the level suits you. The course is for people who already work in IT: it assumes you can work in a terminal and understand what a service is. If not, it will not suit you, and it is better to realize that now.

Whether you can manage without a mentor. There is no mentor, no cohort and no deadlines. A lesson consists of 30 minutes of theory, 30 minutes of guided practice and an hour or two of homework; examples for the labs are ready-made files, and the criteria check.

Whether you will have enough time. Four lessons a week is 8–12 hours. At that pace the course takes a little over a year; at two lessons a week, about two years. You choose the pace.

Whether you will quit in the second month. The first result comes in two weeks: an assembled workstation and labs (block 01). Every homework has acceptance criteria, which show whether it is closed. I cannot promise that it will work out: there is no mentor, and nobody can replace your discipline.

What you get at the end. A final project for a portfolio, a résumé and interview preparation (block 22). The course does not promise employment or income.

By design the payment risk is small: the table of contents is open before payment, the subscription is monthly, and the list from this test stays with you either way.

If this is what you were looking for

The DevOps course (taught in Russian): 22 blocks, 216 lessons. The table of contents is fully open, with the titles of all blocks and lessons: program page. Price and subscription terms are on the course page. It is your decision.

If not: the list stays yours, and you can close it in any way you like. The course has no graduates yet and no reviews, and I am not making them up. You can check the author through the open outage write-up (in Russian): habr.com/ru/articles/1078876/ and through the list of questions the test is taken from: github.com/olegbukatchuk/50-questions-to-devops.

Want to go through your list personally, in writing? Message @bukatchuk on Telegram with the word “test”: I read and reply myself, in the chat, no call. If the test showed something wrong or a question was unclear, write as well: that is how the test gets better.

Oleg Bukatchuk. 19 years in operations. Channel: t.me/bukatchuk.