Skip to the page

DevOps · 24 concepts

DevOps: Linux, networking, Kubernetes, CI/CD and IaC

Run production systems: Linux, networking, containers, Kubernetes, CI/CD, Terraform, AWS and observability, the way DevOps and SRE interviews ask them.

Asked in these mock interviews

Part 1 · 4 concepts

Linux for operators

  1. 01

    Load average, processes and signals

    Load average counts tasks that run or wait, including tasks stuck on disk, so high load with an idle CPU points to I/O. Signals end processes: SIGTERM asks politely and…

  2. 02

    Full disks, open files and the OOM killer

    Linux resource problems have clear checks: deleted files still held open keep disk space, file descriptors have limits, and the kernel OOM killer ends a big process…

  3. 03

    systemd units, cron and safe shell scripts

    Services and scheduled jobs fail in quiet ways: wrong unit type, a minimal cron environment, and shell scripts that delete the wrong thing when a variable is empty.

  4. 04

    File permissions, ownership and SSH access

    Permissions use owner, group and others with read, write and execute bits. SSH key login also checks file permissions, so a careless chmod can lock everyone out.

Part 2 · 4 concepts

Networking for operators

  1. 05

    What happens on curl https and DNS problems

    A request has steps: name resolution, TCP connection, TLS, then HTTP. Each step has a tool, and refused and timed out mean different things.

  2. 06

    TLS certificates and chains

    A TLS certificate must be valid, match the name and come with its full chain. Automatic renewal can fail quietly, and a missing intermediate breaks some clients while…

  3. 07

    TCP ports, security groups and connection problems

    Connection errors come from ports, state tables and filters. Learn TIME_WAIT and port exhaustion, and trace a timeout across routes, security groups and listeners.

  4. 08

    Load balancers, 502 errors and CIDR

    Layer 4 and layer 7 load balancers fit different needs, 502 errors often come from mismatched idle timeouts, and CIDR sizes decide how far a network can grow.

Part 3 · 3 concepts

Containers in depth

  1. 09

    Container internals and clean shutdown

    A container is a Linux process with namespaces and cgroup limits. Because it is a process, signals matter: if PID 1 ignores SIGTERM, every deploy ends with a hard kill…

  2. 10

    Dockerfile review, small images and base image choice

    A good production image is pinned, cached well, multi-stage and small. Know how to read a Dockerfile for slow builds and large size, and how to choose Alpine, slim or…

  3. 11

    Non-root containers and image scanning

    Running as root in a container gives an attacker a short path to the host if anything escapes. Mounting the Docker socket gives away the host, and scan results need…

Part 4 · 5 concepts

Kubernetes in production

  1. 12

    What kubectl apply does, and CrashLoopBackOff and ImagePullBackOff

    A Deployment goes through the API server, controllers, scheduler and kubelet. Pod failure states are symptoms, and the exit reason and events tell the real cause.

  2. 13

    Requests, limits, CPU throttling, scheduling and the HPA

    The scheduler uses requests, not real usage. Limits are enforced by cgroups, and CPU limits can throttle a service whose average CPU looks low. The HPA needs requests…

  3. 14

    Probes, manifests and NotReady nodes

    Probes decide restarts and traffic, so wrong settings cause restart loops. A production manifest sets rollout strategy, probes, resources and security. Node failures…

  4. 15

    RBAC and secrets

    RBAC should give a pipeline only what it needs in one namespace. Secrets in Git as base64 are not protected; use encrypted Git or an external secret store.

  5. 16

    Ingress migration, Helm failures and cluster upgrades

    Platform work in Kubernetes means planning migrations, recovering Helm releases and upgrading clusters one minor version at a time with checks before each step.

Part 5 · 5 concepts

CI/CD and infrastructure as code

  1. 17

    Designing and speeding up CI pipelines

    A good pipeline builds once, caches well, tests only what changed, and promotes the same image through environments. Slow pipelines are fixed by measuring first.

  2. 18

    CI/CD security: workflows, leaked keys and trusted images

    CI holds powerful credentials, so workflow triggers, token permissions, action pinning, OIDC and image signing all matter. Leaked keys need a fast, complete response.

  3. 19

    Release strategies, rollback and GitOps

    Rolling, blue-green and canary releases trade cost against risk. In GitOps the Git repository is the source of truth, so rollback means changing Git, and database…

  4. 20

    Terraform state, safe plans, drift and OpenTofu

    State links code to real resources. Plans must be read for destroys, refactors need moved blocks, and drift needs a decision. Terraform and OpenTofu are close but not…

  5. 21

    Importing, structuring and reviewing Terraform, and Ansible

    Large teams import existing infrastructure in steps, split state by component, review code for count and secrets problems, and use Ansible for configuration inside…

Part 6 · 3 concepts

AWS design and SRE

  1. 22

    AWS network design, accounts and IAM denials

    A solid AWS base has non-overlapping CIDRs, public, private and data subnets in three AZs, VPC endpoints, separate accounts, central sign-in and IAM policies that are…

  2. 23

    AWS cost, compute choice and database failover

    Find cost causes with data, choose compute by team size, and make applications survive a managed database failover by handling DNS caching and dead connections.

  3. 24

    Alerts, dashboards, tracing and SRE practice

    Good alerts use ratios and sensible windows and also notice when data disappears. Observability needs standard instrumentation, and SRE practice means testing limits…

Your first interview is free

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview