DevOps Engineer · interview questions
DevOps Engineer interview questions
From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.
DevOps Engineer Core 72
- Most asked Design a CI/CD pipeline for a containerised microservice from commit to production.
- Most asked How do you handle database schema migrations in an automated deployment pipeline?
- Most asked How do you handle secrets in CI/CD pipelines securely?
- Most asked What are DORA metrics, and how would you use them without gaming them?
- Most asked What happens when you type a URL into a browser and press Enter?
- Most asked A rollback after a release made the outage worse because the database had already been migrated. How do you design releases so rollbacks are always safe?
- Most asked Pods keep restarting with OOMKilled under load. How do you investigate and fix it?
- Most asked Every deployment produces a burst of 502s. What do you check?
- Most asked Your ecommerce site runs 30 microservices on Kubernetes. After a deployment, customers start getting HTTP 503 errors. How do you investigate and resolve it?
- Most asked Your Kubernetes-based ecommerce site goes down during peak traffic. Walk through your first 15 minutes.
- Most asked Design an end-to-end CI/CD and GitOps setup for 50 microservices, with testing, security scanning, artifact management and production deployment.
- Most asked Response time rose from 200 ms to 5 seconds, but CPU and memory look normal. How do you troubleshoot it with APM tools such as Datadog or AppDynamics?
- Most asked A production API credential was committed to Git. What do you do immediately, and how do you stop it happening again?
- Most asked Trunk-based development or GitFlow: which do you prefer, and why?
- Most asked What does 'build once, deploy many' mean, and why does it matter?
- Most asked How do you secure the CI/CD pipeline itself against supply-chain attacks?
- Most asked Your CI pipeline takes 45 minutes. How would you speed it up?
- Most asked What is platform engineering, and how does it relate to DevOps?
- Most asked How does DNS work, and what DNS issues have you seen in production?
- Most asked Explain the difference between L4 and L7 load balancers and when to use each.
- Most asked How do you approach observability as a DevOps engineer?
- Most asked How do you control cloud costs as part of DevOps (FinOps)?
- Most asked What is the difference between continuous integration, continuous delivery and continuous deployment, in practice?
- Most asked A production deployment failed halfway and the site is partially broken. What do you do?
- Most asked Which Linux skills matter most for a DevOps engineer?
- Most asked How do you implement GitOps for both infrastructure and applications?
- Most asked How do you plan and test disaster recovery as a DevOps engineer?
- Most asked How would you introduce DevOps practices into a team that deploys manually once a month?
- Most asked Describe a time you improved deployment reliability or speed. How did you measure it?
- Most asked A Dockerfile copies a .env file, uses it, and deletes it in a later RUN step. Is the secret safe?
- Most asked Why is deploying the latest tag a bad idea, and what should you do instead?
- Most asked Your on-call gets hundreds of pages a week. How do you fix the alerting?
- Most asked A release worked in staging but failed in production. How do you prevent that class of problem?
- Most asked How do Kubernetes rolling updates work, and how do maxSurge and maxUnavailable affect them?
- After a release, checkout becomes slow. How do you use traces, JVM metrics, connection pool metrics and database monitoring to find the cause?
- How do you implement automated rollback in a deployment pipeline?
- A service shows 30% average CPU but high p99 latency. How could CPU limits be involved?
- Design an internal delivery platform so twelve product teams can deploy daily.
- How would you enforce common security controls across hundreds of CI/CD pipelines so teams can't bypass them?
- Your organisation manages development, QA, staging and production by hand. Design automation with Terraform, Ansible and GitOps.
- Two engineers ran Terraform against production at the same time. One run failed and left the infrastructure half-changed. How do you recover safely?
- A deployment succeeds in Jenkins, but the application fails on Kubernetes. How do you tell whether the problem is the pipeline, the infrastructure, the configuration or the application?
- How do you implement approval gates and separation of duties for production deployments?
- How do you integrate SonarQube, SAST, DAST and container image scanning into CI/CD without slowing everyone down?
- What would you monitor during a high-traffic event such as Black Friday, and how do you prepare?
- How do you rotate production credentials without downtime?
- Your Java service throws 'connection pool exhausted' errors. How do you investigate?
- How do you prioritise several production incidents happening at the same time?
- How do you deal with flaky tests?
- Mutable or immutable infrastructure: what is the difference?
- How do you manage configuration across environments without drift?
- What are ephemeral (preview) environments, and what are their trade-offs?
- How would you migrate a team from Jenkins to GitHub Actions (or another CI system)?
- What are the security risks of self-hosted CI runners, and how do you mitigate them?
- How do you keep dependencies up to date safely across many repositories?
- How do you write reliable shell scripts for automation?
- How do you release a new version of a stateful service, such as a message broker or database, with minimal downtime?
- What is configuration management with Ansible, and where does it still fit?
- What is the difference between a canary release, a feature flag and an A/B test?
- How do you manage TLS certificates across many services?
- What does 'shift left' on security mean in practice?
- How do you make deployments of a monolith safer when you cannot break it up soon?
- How do you decide what to automate first?
- How do you structure on-call and incident handling in a DevOps team?
- How do you approach a multi-cloud strategy?
- Nodes are running out of disk space. What are the usual causes and fixes?
- What does `set -euo pipefail` do in a bash script, and what are its pitfalls?
- What is real-user monitoring, and how do tools like Akamai mPulse help an ecommerce team?
- How do you build golden machine images, and why?
- How do you approach a monorepo's CI at scale?
- What is an artifact repository, and how do you manage it?
- What is chaos engineering's place in a DevOps practice?
DevOps Fundamentals Core 40
- Most asked CI vs CD
- Most asked infrastructure as code
- Most asked DevOps tooling: explain Docker image vs container.
- Most asked DevOps tooling: explain Kubernetes Pod.
- Most asked DevOps tooling: explain liveness vs readiness probes.
- Most asked DevOps tooling: explain Terraform state.
- Most asked DevOps tooling: explain blue/green & canary.
- Most asked Security in DevOps: secrets management?
- Most asked DevOps tooling: explain Deployment vs StatefulSet.
- What is DevOps?
- continuous delivery vs deployment
- DevOps tooling: explain Dockerfile best practices.
- DevOps tooling: explain Service / Ingress.
- DevOps tooling: explain Terraform plan/apply.
- DevOps tooling: explain Jenkins / GitHub Actions.
- Security in DevOps: DevSecOps?
- Security in DevOps: least privilege IAM?
- shift left
- GitOps
- SRE vs DevOps
- blameless postmortems
- DORA metrics
- DevOps tooling: explain ConfigMap / Secret.
- DevOps tooling: explain HPA.
- DevOps tooling: explain artifact repositories.
- DevOps tooling: explain Prometheus / Grafana.
- DevOps tooling: explain OpenTelemetry.
- DevOps tooling: explain feature flags.
- Security in DevOps: image scanning?
- Security in DevOps: network policies?
- Security in DevOps: supply chain attacks?
- toil
- DevOps tooling: explain Ansible.
- DevOps tooling: explain ELK / OpenSearch.
- DevOps tooling: explain Helm.
- DevOps tooling: explain service mesh.
- Security in DevOps: SBOM?
- Security in DevOps: policy as code?
- What is infrastructure as code and why is it useful?
- How does continuous integration differ from continuous deployment?
Docker Core 39
- Most asked What is a container, and how does it differ from a virtual machine?
- Most asked What is the difference between an image and a container, and how do image layers work?
- Most asked How does Docker build caching work, and how do you order a Dockerfile to use it well?
- Most asked What are multi-stage builds, and why use them?
- Most asked CMD or ENTRYPOINT: what is the difference, and what are exec and shell forms?
- Most asked What are Dockerfile best practices for production images?
- Most asked ARG or ENV: what is the difference, and how do you pass secrets into a build safely?
- Most asked How do you secure Docker containers and images?
- Most asked Write a production Dockerfile for a Python web app: small, non-root and cache-friendly.
- Most asked Why does PID 1 matter in containers, and what problems can it cause?
- Most asked How do you make Docker images smaller?
- Most asked Volumes, bind mounts and tmpfs: when do you use each?
- Most asked How does Docker networking work? Explain bridge, host and user-defined networks.
- Most asked What is Docker Compose used for, and how do you handle service start-up order?
- Most asked How do you limit a container's CPU and memory, and what happens when it exceeds them?
- Most asked How should you tag Docker images, and why is 'latest' a problem?
- Most asked How do you debug a container that exits immediately or behaves differently in production?
- Most asked How do you run Docker builds in CI pipelines efficiently and safely?
- Most asked What is a software supply chain attack on containers, and how do you defend against it?
- Why is mounting the Docker socket into a container dangerous?
- What is BuildKit, and what does docker buildx add?
- COPY or ADD: what is the difference?
- What does HEALTHCHECK do in a Dockerfile, and do orchestrators use it?
- How do container logs work in Docker, and how do you stop them filling the disk?
- What is the OCI, and how do Docker, containerd, runc and Podman relate?
- What should you consider when choosing a base image?
- How do you handle configuration for containers across environments?
- What is the Docker build context, and why does it matter?
- Why might a container work on your laptop but fail on a server or in CI?
- How do you run a database in Docker for local development, and should you do it in production?
- How do you speed up a slow Docker build?
- Explain what happens when you run docker run nginx.
- What is Docker Swarm, and why do most teams use Kubernetes or managed services instead?
- What are rootless Docker and user namespaces?
- How do you clean up disk space used by Docker?
- How do you run multiple processes in one container, and should you?
- What changed with Docker Desktop licensing, and what are the alternatives?
- How do you handle time zones, locales and certificates in minimal images?
- Docker Compose in production: is it appropriate?
Kubernetes Core 60
- Most asked Describe the Kubernetes architecture: what runs on the control plane and what runs on the nodes?
- Most asked What happens, step by step, when you run kubectl apply for a Deployment?
- Most asked Deployment, StatefulSet, DaemonSet, Job and CronJob: when do you use each?
- Most asked How do rolling updates work in a Deployment, and how do you roll back?
- Most asked Explain the Service types: ClusterIP, NodePort, LoadBalancer, ExternalName and headless.
- Most asked ConfigMaps and Secrets: how do they differ, and how should secrets really be handled?
- Most asked How does the scheduler place pods? Explain resource requests, node affinity, taints and tolerations.
- Most asked What is the difference between resource requests and limits, and what are the QoS classes?
- Most asked Liveness, readiness and startup probes: how do you configure them correctly?
- Most asked How do you make pods shut down gracefully without dropping requests?
- Most asked A pod is in CrashLoopBackOff. How do you debug it?
- Most asked How does autoscaling work in Kubernetes? Compare HPA, VPA, Cluster Autoscaler and Karpenter.
- Most asked How does RBAC work in Kubernetes, and how do you apply least privilege?
- Most asked How do you secure workloads on Kubernetes? Explain Pod Security Standards and securityContext.
- Most asked What is GitOps, and how do Argo CD or Flux implement it?
- Most asked Write a Kubernetes Deployment and Service for a web API with probes, resource requests and a rolling update strategy.
- Most asked What are Kubernetes namespaces, when should you create them, and what isolation do they provide?
- Most asked What is the reconciliation loop, and why is Kubernetes called declarative?
- Most asked Ingress or Gateway API: how do you expose HTTP services, and what has changed recently?
- Most asked What are NetworkPolicies, and how would you lock down traffic in a namespace?
- Most asked How do persistent volumes work? Explain PV, PVC, StorageClass and CSI.
- Most asked What are Custom Resource Definitions and operators?
- Most asked Helm or Kustomize: how do you manage manifests?
- Most asked How do you upgrade a Kubernetes cluster safely?
- Most asked How do you monitor a Kubernetes cluster and the applications on it?
- Most asked Your application on Kubernetes has intermittent 502/503 errors during deployments. What would you investigate?
- Most asked What is Kubernetes not good at, or when would you avoid it?
- Most asked How do you control costs in Kubernetes?
- Most asked What do the common kubectl debugging commands tell you?
- Most asked How would you design a production-ready Kubernetes platform for several teams?
- What is a Pod, and why are containers grouped into Pods?
- How does pod networking work in Kubernetes, and what does the CNI plugin do?
- Pods are stuck in Pending or ImagePullBackOff. What do you check?
- What is a PodDisruptionBudget, and why does it matter?
- How do you give pods access to cloud resources such as S3 or a database without static credentials?
- A Service is not reachable from another pod. How do you troubleshoot it?
- What are the pod lifecycle phases, and how do you use them for debugging?
- How do you find and fix deprecated Kubernetes APIs before a cluster upgrade?
- What are init containers and sidecar containers?
- How does DNS work in a Kubernetes cluster, and what is the ndots problem?
- Should you run databases on Kubernetes?
- What are admission controllers and webhooks used for?
- How do you organise multi-tenancy in a Kubernetes cluster?
- How do you back up a Kubernetes cluster?
- What is etcd's role, and what can go wrong with it?
- What is a service mesh, and when is it worth it?
- How do container logs work in Kubernetes?
- How do topology spread constraints and anti-affinity improve availability?
- What are ResourceQuota and LimitRange?
- How does kube-proxy work, and what are the alternatives?
- Why might gRPC traffic be unevenly balanced across pods in Kubernetes, and how do you fix it?
- How do you run batch and scheduled workloads reliably on Kubernetes?
- What is the Kubernetes container runtime, and why was dockershim removed?
- How do you manage TLS certificates in Kubernetes?
- How do you handle configuration and secrets for different environments with Kubernetes?
- What happens to workloads when a node fails?
- What are labels, selectors and annotations, and how should you use them?
- What are priority classes and preemption?
- What is the difference between a Deployment's rollout and a restart, and when would you use kubectl rollout restart?
- What are ephemeral containers and kubectl debug used for?
Terraform Core 59
- Most asked What is Terraform, and how does it work at a high level?
- Most asked What is Terraform state, why is it needed, and where should it be stored?
- Most asked Walk through terraform init, plan and apply. What does each do?
- Most asked What are Terraform modules, and how do you design good ones?
- Most asked count or for_each: when do you use each?
- Most asked How do you handle secrets in Terraform?
- Most asked How would you run Terraform in CI/CD?
- Most asked A terraform plan wants to destroy and recreate a database. What do you do?
- Most asked When do you need depends_on in Terraform, and when is it a code smell?
- Most asked What are the main terraform state subcommands, and when do you use them?
- Most asked Terraform apply fails halfway through — some resources were created, others were not. How do you recover?
- Most asked Someone manually deletes an EC2 instance that Terraform manages. What happens on the next plan and apply?
- Most asked What lifecycle settings does Terraform offer, and when do you use them?
- Most asked What is drift, and how do you detect and handle it?
- Most asked How do you bring existing infrastructure under Terraform management?
- Most asked How do you refactor Terraform code without destroying resources? Explain moved blocks and state mv.
- Most asked Workspaces, separate state files, or separate directories: how do you manage multiple environments?
- Most asked How do you pin provider and module versions, and what is the dependency lock file?
- Most asked Terraform and Ansible: how do they differ, and do you need both?
- Most asked What are the most common Terraform mistakes you have seen in teams?
- Most asked Compare Terraform with CloudFormation, CDK and Pulumi.
- Most asked What does terraform plan -target do, and why is it risky?
- Most asked How do sensitive variables and outputs work in Terraform, and what are their limitations?
- Most asked Terraform or OpenTofu: what is the difference, and how would you choose?
- How do you use Terraform to deploy the same infrastructure to nonprod and production AWS accounts?
- How do you configure OIDC authentication between GitHub Actions and AWS for Terraform pipelines?
- How should nonprod and production Terraform configurations differ, and how do you enforce those differences?
- How should you split Terraform state for a large organisation?
- What is policy as code for Terraform, and which tools are used?
- How do you test Terraform code?
- Write a reusable Terraform module for a private, encrypted S3 bucket, and show how it's used.
- How do you bootstrap an S3 remote state backend for Terraform without a chicken-and-egg problem?
- What is the difference between an ECS task execution role and a task role, and how do you define them in Terraform?
- How do you manage RDS passwords securely with Terraform?
- How do you set up CloudFront with an S3 origin using Origin Access Control in Terraform?
- How do you manage AWS costs with Terraform, and what resources help?
- What happens if two engineers apply at the same time without state locking?
- How would you recover a corrupted or lost Terraform state file?
- How do variable validation rules work in Terraform, and when should you use them?
- What happens if the CI runner crashes or loses connectivity during terraform apply?
- How does Terraform determine the order in which it creates resources?
- What is the difference between variables, locals and outputs?
- What are data sources, and when should you use them?
- What do dynamic blocks, for expressions and conditionals give you, and when do they hurt?
- How do you manage multiple accounts, regions or subscriptions in one Terraform configuration?
- The Terraform state lock is stuck. How do you handle it?
- What are provisioners, and why are they considered a last resort?
- How do you structure a Terraform repository for a team?
- How do you manage Kubernetes resources with Terraform, and what are the pitfalls?
- How do you handle large-scale changes, such as a provider major version upgrade across many stacks?
- What does 'known after apply' mean, and why can it cause problems?
- How do you design a reusable Terraform module for an internal platform team to offer, for example 'a secure S3 bucket'?
- How do you roll back a bad Terraform change?
- What is the difference between terraform refresh, plan -refresh-only and apply -refresh-only?
- What are check blocks and pre/postconditions used for?
- What is Terragrunt, and when is it useful?
- How do you tag resources consistently with Terraform?
- What is HCP Terraform (Terraform Cloud), and what does it add?
- What is Terraform's resource graph parallelism, and when would you change it?
Ansible Core 13
- Most asked Explain Ansible's architecture: control node, inventory, modules, playbooks, roles and handlers.
- Most asked What is idempotency in Ansible, and how do you keep your own tasks idempotent?
- Most asked Write an Ansible playbook that installs Nginx, deploys its configuration, enables the service and restarts it only when the configuration changes.
- Most asked How do you manage secrets with Ansible Vault?
- How do you structure reusable Ansible roles for several environments?
- Explain serial, delegate_to, when and notify in Ansible.
- How would you automate TLS certificate installation and renewal with Ansible?
- How would you configure 100 Linux servers consistently with Ansible?
- How do Ansible and Terraform work together in one delivery pipeline?
- A playbook run fails halfway through 50 hosts. What do you do?
- How do you test Ansible roles before they reach production?
- What is dynamic inventory, and why use it in the cloud?
- A playbook takes 40 minutes across 300 hosts. How do you speed it up?
Linux Core 13
- Most asked A Linux server has high CPU usage. How do you find the cause?
- Most asked What do top, htop, vmstat, iostat, ss and lsof each tell you?
- Most asked Write a script that alerts when disk usage passes a threshold.
- How do you troubleshoot DNS resolution and network connectivity on Linux?
- A server keeps running out of memory and the kernel kills processes. How do you investigate?
- The disk is full, but du shows far less usage than df. What's going on?
- How do systemd units work, and how do you debug a service that won't start?
- Explain Linux file permissions, ownership and the special bits.
- What is load average, and how is it different from CPU utilisation?
- How do you find what's listening on a port and which process owns it?
- How do you search logs effectively with journalctl and standard tools?
- What happens when a Linux system boots?
- What is the difference between kill, kill -9 and a graceful shutdown?
CI/CD & Deployment Core 33
- Most asked What's the difference between continuous integration, continuous delivery and continuous deployment?
- Most asked What stages does a typical CI/CD pipeline contain?
- Most asked Compare rolling, blue-green and canary deployments.
- Most asked How do you run database migrations without downtime?
- Most asked What are best practices for writing Dockerfiles?
- Most asked What's the difference between liveness and readiness probes?
- Most asked How do you handle flaky tests in CI?
- Most asked How would you design CI/CD for a microservices architecture?
- Most asked What is shift-left testing, and what security scanning belongs in a CI pipeline?
- Most asked How do you promote a single build artifact from development through staging to production?
- Most asked How should secrets be handled in CI/CD pipelines?
- Most asked What is pipeline as code and why does it matter?
- What are the core Kubernetes objects a web service needs?
- What is graceful shutdown and why does it matter for deployments?
- How do you design for fast rollback?
- How do feature flags change the way teams release software?
- What is trunk-based development?
- How do you secure the software supply chain in CI/CD?
- How should application configuration be managed across environments?
- What is infrastructure as code and why use it?
- What are self-hosted vs managed CI runners, and when do you choose each?
- How do you use build caching and dependency caching to speed up CI pipelines?
- What is GitOps?
- How do you speed up CI pipelines?
- How should build artifacts be versioned and promoted?
- What should you monitor during and after a deployment?
- What environments do teams typically use, and how do you keep them consistent?
- What are the CI/CD trade-offs of monorepos vs polyrepos?
- When would you choose serverless functions vs containers vs VMs for deployment?
- What are DORA metrics?
- What is semantic versioning?
- What should happen when a deployment causes an incident?
- What is progressive delivery?
Logging & Observability Core 35
- Most asked What are the three pillars of observability, and how do they differ?
- Most asked What is structured logging and why is it preferred over plain text logs?
- Most asked What is a correlation (request) ID and how do you propagate it?
- Most asked What is distributed tracing and how does OpenTelemetry fit in?
- Most asked What are the RED, USE and Four Golden Signals methods?
- Most asked What are SLIs, SLOs and error budgets?
- Most asked What should never be logged, and how do you prevent it?
- Most asked Walk through how you would investigate a sudden latency spike in production.
- How should log levels be used?
- Why should you track latency percentiles instead of averages?
- What are head-based and tail-based sampling in tracing?
- What is metric cardinality and why can it break a monitoring system?
- What makes a good alert?
- How do you design centralized log aggregation?
- How is audit logging different from application logging?
- What does an error-tracking tool (like Sentry) add beyond logs?
- How would you design a service dashboard?
- What is the difference between liveness, readiness and startup checks?
- How do you collect logs and metrics in Kubernetes?
- What makes an error log line useful during an incident?
- What goes into a good blameless postmortem?
- Can logging hurt application performance? How do you mitigate it?
- What are synthetic monitoring and real-user monitoring (RUM)?
- How do you control the cost of logs and telemetry?
- What is continuous profiling and when is it useful?
- How do you add observability to a frontend application?
- How does chaos engineering relate to observability?
- Why should you monitor business metrics, not just technical ones?
- Explain the Prometheus metric types: counter, gauge, histogram, summary.
- How do you find slow database queries in production?
- How do log rotation and retention work for services that write log files?
- How do you observe the impact of a deployment or feature flag?
- What is eBPF and why is it popular for observability?
- How do you keep log context (user, request) in async or multi-threaded code?
- What's the difference between monitoring and observability?
GitHub Actions Fundamentals Core 11
- Most asked Explain how a GitHub Actions workflow is structured: events, jobs, steps, runners and actions.
- Most asked How do you keep secrets safe in GitHub Actions, and why use OIDC to reach the cloud?
- Most asked Write a GitHub Actions workflow that tests, builds and pushes a Docker image, and deploys only from main.
- How do you speed up slow GitHub Actions workflows?
- Reusable workflows or composite actions: what's the difference, and when do you use each?
- How do you add approval gates to deployments in GitHub Actions?
- Why should you pin third-party actions to a commit SHA?
- What are the security risks of pull_request_target and self-hosted runners?
- How does the GITHUB_TOKEN work, and how do you limit its permissions?
- A workflow passes on main but fails for pull requests from forks. Why?
- How do you run a matrix build, and how do you stop one failing combination cancelling the rest?
Site Reliability Engineering Recommended 62
- Most asked What is Site Reliability Engineering, and how does it relate to DevOps?
- Most asked Define SLI, SLO and SLA, and explain how they relate.
- Most asked How do you choose good SLIs for a service?
- Most asked What is an error budget, and how should it be used?
- Most asked What is burn-rate alerting, and why is it better than alerting on raw error rates?
- Most asked What are the four golden signals?
- Most asked What makes a good alert? Explain symptom-based alerting and alert fatigue.
- Most asked What is the difference between monitoring and observability? Explain metrics, logs and traces.
- Most asked How should incident response be organised? Describe the key roles.
- Most asked What is a blameless postmortem, and what makes one effective?
- Most asked What is load shedding, and how does graceful degradation work?
- Most asked What is a cascading failure, and how do you prevent one?
- Most asked How should clients retry failed requests safely?
- Most asked How do canary releases and progressive delivery reduce risk?
- Most asked Explain RTO and RPO, and how they drive disaster recovery design.
- Most asked What is the difference between liveness, readiness and startup probes in Kubernetes?
- Most asked Latency for a service suddenly doubled. Walk me through how you investigate.
- Most asked How would you take a service from 99.9% to 99.99% availability?
- Most asked Write Prometheus alerting rules for an SLO of 99.9% successful requests using multi-window burn rates.
- Most asked How much downtime does each 'nine' allow, and how do you pick an SLO target?
- Most asked What is toil, and how do you reduce it?
- Most asked Why use percentiles instead of averages for latency, and how should percentiles be aggregated?
- Most asked How do you do capacity planning for a service?
- Most asked What is chaos engineering, and how do you start safely?
- Most asked A Linux server has a high load average. How do you find out why?
- Most asked Product wants to launch a feature, but the error budget is exhausted. What do you do?
- How does distributed tracing work, and what does OpenTelemetry provide?
- What makes an on-call rotation sustainable?
- How do you choose timeouts, and what is deadline propagation?
- Compare rolling, blue-green and canary deployments.
- During an incident, when do you roll back and when do you roll forward?
- Why do most outages follow changes, and how do you make change safer?
- Active-active or active-passive multi-region: what are the trade-offs?
- How do you design a service so that its dependencies' failures do not take it down?
- What Kubernetes settings matter most for reliability?
- Why are configuration changes risky, and how do you roll them out safely?
- Design the observability platform for an organisation with 200 services.
- A service's p99 latency doubles every day at 2 a.m. How do you investigate?
- What are the RED and USE methods?
- What is metric cardinality, and why can it become a problem?
- How do you define incident severity levels?
- What should a good runbook contain?
- What are MTTD, MTTR and MTBF, and what are their limitations?
- How would you load test a service before a big launch?
- What are common pitfalls of autoscaling?
- What is a circuit breaker, and when is it useful?
- How do feature flags help reliability, and what are their risks?
- What are game days and disaster recovery tests?
- What is a thundering herd, and how do you prevent it?
- Certificates expired and DNS changes are classic outage causes. How do you prevent them?
- Why is infrastructure as code important for reliability?
- A service's memory keeps growing until it is OOM-killed. How do you handle it?
- A disk filled up and took a service down. What do you do now and to prevent it next time?
- Why does latency rise sharply as utilisation approaches 100%?
- How do you define SLOs for batch jobs and data pipelines?
- What is a production readiness review?
- What are logging best practices for production systems?
- How do you make sure postmortem action items actually get done?
- How do rate limiting and admission control protect a service?
- What is the difference between synthetic monitoring and real-user monitoring?
- How do you design dashboards that help during an incident?
- What SRE engagement models exist?
Networking Recommended 40
- Most asked What happens, at the network level, when you type a URL into a browser and press Enter?
- Most asked What's the difference between TCP and UDP, and when would you choose UDP?
- Most asked What is CIDR notation? How many usable addresses are in a /26, and in an AWS /26 subnet?
- Most asked How does DNS resolution work, and what does a record's TTL control?
- Most asked What does TLS provide, and how does certificate validation work?
- Most asked What do 502, 503 and 504 errors from a load balancer usually mean?
- Most asked How does NAT work, and what are its limits?
- Most asked What's the difference between stateful and stateless firewalls? Give cloud examples.
- Most asked A service is unreachable. How do you troubleshoot it systematically?
- Most asked Design a VPC for a three-tier web application on AWS.
- Most asked Security groups versus network ACLs: how do they differ and how would you use them together?
- Most asked Explain the OSI and TCP/IP models. Why do engineers still talk about 'layer 4' and 'layer 7'?
- Most asked Walk through the TCP three-way handshake and connection teardown. What is TIME_WAIT and why can it cause problems?
- Most asked Compare HTTP/1.1, HTTP/2 and HTTP/3.
- Most asked Compare layer 4 and layer 7 load balancers. When would you use each?
- Most asked Why can keep-alive timeouts cause intermittent 502 errors behind a load balancer?
- Most asked How should you design health checks for services behind a load balancer?
- Most asked What makes a subnet public or private in AWS?
- Most asked How do you connect many VPCs together, and why isn't VPC peering always enough?
- Most asked How do private subnets reach AWS services like S3 without going over the internet?
- Most asked How would you migrate a production domain to a new load balancer with no downtime?
- What are the private IPv4 ranges, and what are 100.64.0.0/10 and 169.254.0.0/16 used for?
- How does a router choose a route when several routes match a destination?
- What is MTU, and how can it break connections?
- What happens if two networks you need to connect have overlapping CIDRs, and what can you do?
- Your EKS pods are stuck in Pending with IP assignment errors. What's happening and how do you fix it?
- Design networking for a multi-account organisation on AWS.
- Calls to one external API time out intermittently at peak, while other destinations work. What do you suspect?
- Why does IPv6 exist and what changes in practice when you adopt it?
- CNAME, A and alias records: why can't the zone apex be a CNAME, and how do cloud DNS services work around it?
- What are ephemeral ports?
- How do you get the real client IP behind proxies and load balancers safely?
- How does DNS work inside a VPC, and how do you resolve names between the cloud and on-premises?
- How would you give an application fixed outbound IP addresses for a partner's allow-list?
- What are the options for connecting on-premises networks to the cloud?
- What is a CDN and how does it improve performance and resilience?
- How do you reduce cloud networking costs?
- What's the difference between Azure VNets and Google Cloud VPCs compared with AWS VPCs?
- How do you secure administrative access to instances in private subnets?
- What are VPC Flow Logs and what can't they tell you?
Cloud Engineer Recommended 43
- Most asked What are regions and availability zones, and how do you use them for resilience?
- Most asked How is an AWS IAM request evaluated when several policies apply?
- Most asked How do you eliminate long-lived credentials in a cloud environment?
- Most asked How do you keep object storage buckets from being exposed publicly?
- Most asked What do Multi-AZ deployments and read replicas give you for managed databases?
- Most asked How do you approach cloud cost optimisation?
- Most asked Explain RTO and RPO and the four disaster recovery strategies.
- Most asked An application on AWS suddenly gets AccessDenied when reading from S3. How do you troubleshoot it?
- Most asked Design a highly available web application on AWS that survives the loss of an availability zone.
- Most asked Explain IaaS, PaaS, SaaS and serverless with examples from AWS, Azure and Google Cloud.
- Most asked Explain the shared responsibility model. What's the customer responsible for with a managed database?
- Most asked What security services and settings belong in every cloud account from day one?
- Most asked How would you design a multi-account (landing zone) structure?
- Most asked How do you choose between VMs, containers and serverless functions for a new service?
- Most asked What should you design for when using serverless functions?
- Most asked Compare object, block and file storage in the cloud.
- Most asked How do you process queue messages safely in the cloud?
- Most asked How do you make a workload resilient to an availability zone failure?
- Most asked How do you make sure backups will actually work when needed?
- Most asked How do you design cloud networking for a production workload?
- Most asked How would you use infrastructure as code across clouds?
- Most asked Tell me about a time you reduced cloud cost or improved reliability. How did you measure it?
- Most asked How do you handle secrets for applications running in the cloud?
- Most asked What are the pillars of the Well-Architected Framework and how do you use them?
- Most asked How do you decide between AWS, Azure and Google Cloud for a new company or project?
- Most asked What are spot instances and how do you use them safely?
- An access key leaked publicly. Walk through your response.
- What is SSRF and why is it especially dangerous in the cloud?
- A DynamoDB table is throttled while total capacity looks unused. What's going on?
- Which data transfer charges surprise teams, and how do you reduce them?
- Why might autoscaling fail during a traffic spike, and how do you prepare?
- Design a multi-region failover for a critical API.
- Write a least-privilege IAM policy that lets an application read and write objects under one prefix of a bucket.
- The monthly cloud bill jumped 40% with no traffic increase. What do you look for, and what would you change?
- What is envelope encryption and how do KMS services use it?
- How do you reduce object storage costs for data that ages?
- How do monitoring and logging differ between AWS, Azure and Google Cloud, and what defaults would you set?
- How do you migrate an application to the cloud?
- What is the difference between AWS Organizations SCPs, Azure Policy and Google Cloud organization policies?
- A team's monthly bill jumped 40% overnight. How do you investigate?
- How do containers on Kubernetes get cloud permissions securely?
- How do you share a large file from private storage with a customer for 24 hours?
- What does 'cattle, not pets' mean for cloud servers?
Web Security & WAF Recommended 32
- Most asked What is the OWASP Top 10 and which risks does it currently highlight?
- Most asked What is Cross-Site Scripting (XSS) and how do you prevent it?
- Most asked What is SQL injection and how do you prevent it?
- Most asked What is CSRF and how do you defend against it?
- Most asked What is a Web Application Firewall (WAF), and what can and can't it do?
- Most asked How do rate-limiting algorithms work (fixed window, sliding window, token bucket)?
- Most asked What is SSRF (Server-Side Request Forgery) and how do you prevent it?
- How do you protect a web application from DDoS and abusive traffic?
- What is Content-Security-Policy and how do you roll it out?
- Which HTTP security headers should every web app send?
- What is CORS, and what are common CORS misconfigurations?
- How do you manage vulnerable and outdated dependencies?
- What are common security misconfigurations in web deployments?
- How do you handle file uploads securely?
- How should applications manage secrets?
- What are insecure deserialization vulnerabilities?
- What is clickjacking and how do you prevent it?
- What are best practices for TLS/HTTPS?
- How do you protect sign-up, login and checkout flows from bots?
- What is threat modeling and how do you run one?
- What is an open redirect vulnerability?
- What is command injection and how do you prevent it?
- What is path traversal and how do you prevent it?
- Why are security logging and monitoring failures in the OWASP Top 10?
- What are software and data integrity failures?
- What are common cryptographic failures?
- What new security risks do LLM-powered features introduce?
- What does the OWASP API Security Top 10 add beyond the web Top 10?
- How do cookie prefixes like __Host- and __Secure- improve security?
- How do you build security into the development lifecycle?
- What is XXE (XML External Entity) injection?
- What is subdomain takeover?
Behavioral & STAR Recommended 41
- Most asked Tell me about a time you worked with a difficult teammate.
- Most asked Describe a disagreement you had with a coworker and how you resolved it.
- Most asked Tell me about a time you disagreed with your manager's decision.
- Most asked Tell me about a time you failed at something important.
- Most asked Describe a mistake that had a significant impact and how you handled it.
- Most asked Tell me about a time you had to work with unclear or changing requirements.
- Most asked Tell me about a time you missed a deadline.
- Most asked Tell me about a time you received critical feedback and how you responded.
- Most asked Describe a project you owned from start to finish.
- Most asked Tell me about a time you had to juggle multiple competing deadlines.
- Tell me about a time you led a project without formal authority.
- Tell me about a time you took responsibility for a team failure.
- Describe a time you had to collaborate with someone whose working style was very different from yours.
- Tell me about a successful project you completed as part of a team.
- Tell me about a time you helped a struggling teammate.
- Describe a time you had to push back on a stakeholder's request.
- Describe a time you had to deliver unwelcome feedback to a peer.
- Describe a time you had to motivate a team through a difficult period.
- Tell me about a decision you made that was unpopular with your team.
- Tell me about a time you had to make a decision with incomplete information as a leader.
- Tell me about a project that didn't go as planned.
- Tell me about a time you went above and beyond your job description.
- Describe a time you identified a problem no one had asked you to solve.
- Describe a situation where you had to make a decision without all the information you wanted.
- Tell me about a time priorities shifted midway through a project.
- Describe how you decide what to work on when everything feels urgent.
- Tell me about a time you helped a colleague grow their skills.
- Tell me about a time you received feedback that was hard to hear.
- Describe a time you had to rely on a team member you didn't fully trust yet.
- Tell me about a conflict between two people on your team and how you handled it.
- Describe a time you delegated an important task.
- Tell me about a time you had to say no to your manager.
- Describe how you handle working on something without a clear owner.
- Tell me about a time you had to say no to a request to protect a deadline.
- Describe a time you had to deprioritize something important.
- Describe your approach to onboarding a new team member.
- Tell me about a time you gave someone feedback that changed their behavior.
- Describe a time you learned something valuable from someone more junior than you.
- Describe how you typically respond to criticism.
- Tell me about a time you gave feedback that was poorly received.
- Describe a time feedback from a peer changed how you approached your work.