Interview practice

DevOps Engineer

2–5 years · Mid — Linux · CI/CD · Docker · Kubernetes · Terraform · Monitoring

0–2 years 2–5 years 5–8 years 8+ years
ownership A feature you owned 1 of 6
Describe a feature you owned end to end and what you learned from the experience.
What a strong answer covers

Names the feature, its purpose, and the stack used; explains the design decisions made, including trade-offs; discusses challenges faced during implementation and how they were overcome; reflects on user feedback received post-launch and any iterations made; highlights what they would improve if starting again.

The follow-up you would get

What was the most significant challenge you faced?

Could you have answered that?
scenario Monitoring 2 of 6
You receive an alert that a service is down, but when you check, it's running fine. How do you investigate the discrepancy?
What a strong answer covers

Checks alerting configuration for possible false positives; verifies service health using logs and status endpoints; correlates alert with other metrics for anomalies; examines recent changes that could affect monitoring; assesses potential network issues affecting alerts.

The follow-up you would get

The alerting threshold seems too sensitive. How do you adjust it without introducing further noise?

Could you have answered that?
scenario Configuration Management 3 of 6
You discover a configuration drift in your production environment. What steps do you take to address it?
What a strong answer covers

Identifies the source of the drift through audits; compares current configurations against the version-controlled state; decides on remediation strategy (rollback or fix); communicates changes to relevant teams; enhances monitoring for future drifts.

The follow-up you would get

What practices would you implement to minimise configuration drift in the future?

Could you have answered that?
technical Docker 4 of 6
A Docker container fails to start with an exit code 1. What do you do to troubleshoot the container?
What a strong answer covers

Checks the container logs for error messages; inspects the Dockerfile for potential build issues; verifies the container's entry point and command; ensures all required environment variables and volumes are correctly set; tests the container locally to reproduce the issue.

The follow-up you would get

The logs indicate a permissions error on a mounted volume. How do you resolve this?

Could you have answered that?
technical Terraform 5 of 6
You run a Terraform apply and it fails with an error about resource conflicts. How do you resolve this?
What a strong answer covers

Reviews the error message for specific resource details; checks the current state of the infrastructure against the desired state; considers running terraform refresh to update the state; examines any manual changes made to the infrastructure; plans the changes with terraform plan to ensure no further conflicts.

The follow-up you would get

What strategies can you implement to prevent state file conflicts in the future?

Could you have answered that?
technical Kubernetes 6 of 6
A pod in a production cluster is in a CrashLoopBackOff state. How do you troubleshoot this issue?
What a strong answer covers

Checks the pod's logs to identify the error message; inspects the pod's events for clues; verifies resource limits and requests; checks for configuration errors in environment variables or secrets; considers the readiness and liveness probes.

The follow-up you would get

The logs show a missing configuration file. How can you ensure that configuration files are consistently available to your pods?

Could you have answered that?
That is this set.

Load six more — you will get questions you have not seen first.

Give me six more →

Say your answer out loud before revealing. Reading the answer first feels like learning and is not.