Skip to content

devops-interviews/devops-interview-questions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preparing for a DevOps interview or SRE interview in 2026? I'm Alex, a DevOps/Software Engineer who interviewed at 50+ companies including Google, Amazon, Apple, Meta, and other FAANG/Big Tech firms, for DevOps Engineer and Site Reliability Engineer (SRE) roles. I collected every hands-on interview question I was asked, plus questions sourced from Glassdoor, Blind, and engineering blogs. This repo contains 115 real DevOps interview questions with solutions covering Kubernetes, Docker, Linux, CI/CD (GitHub Actions), Networking, Git, Security, and AWS Cloud, each with a step-by-step video walkthrough showing exactly how to solve it.

Regardless if you prepare for junior DevOps interview, senior SRE technical screen, or a platform engineer role - these questions will substantially increase your chanses to pass. Star the repo if it helps, it helps others discover it too.

DevOps Interview Questions and Answers - Kubernetes, Docker, Linux, AWS, CI/CD

115 Real DevOps Interview Questions and Answers in 2026

Hands-on questions from Google, Amazon, Meta, Apple, and 50+ tech companies, with video solutions.

If you find this useful, pleasestar this repository as it helps others to discover it!

How questions were sourced -> read here


🏢 Companies


Red Hat (6)

Accenture (5)

Adobe (5)

CrowdStrike (3)

Datadog (3)

EPAM (4)

GitHub (3)

GitLab (3)

Google (3)

Microsoft (3)

Palantir (3)

SAP (3)

Zscaler (3)

Airbnb (2)

Apple (2)

Bloomberg (2)

Booking.com (2)

Cloudflare (2)

DeliveryHero (2)

GoDaddy (2)

IBM (2)

Netflix (2)

NVIDIA (2)

Reddit (2)

Splunk (2)

Spotify (2)

X (2)

Amazon (3)

Anthropic (1)

Autodesk (2)

CapitalOne (1)

Coinbase (2)

DeutscheBank (1)

Dropbox (1)

Ebay (1)

Elastic (1)

Etsy (1)

Expedia (1)

HashiCorp (1)

JPMorgan (1)

Kayak (2)

Kraken (1)

Meta (1)

Nintendo (1)

Okta (1)

Plus500 (1)

PWC (1)

Revolut (1)

Robinhood (1)

Samsung (1)

Shopify (1)

Slack (1)

Snap (1)

Stripe (1)

TCS (1)

Twilio (1)

Uber (1)

Ubisoft (1)

UBS (1)

Yelp (1)

Activision Blizzard (1)

Twitch (1)

Lyft (1)

📋 All 109 Questions

# Question Category Company Difficulty Video Solve Online
1 Create IAM Role for EC2 with Full IAM Access ☁️ Cloud Coinbase Entry Video Solve
2 Audit and Enforce Least-Privilege IAM Permissions ☁️ Cloud Amazon Entry Video Solve
3 Create AWS IAM Admin User with Group and Policy ☁️ Cloud Accenture Entry Video Solve
4 Design Egress Only VPC with NAT ☁️ Cloud Twitch Mid Video Solve
5 Create Route 53 Hosted Zone and DNS Records ☁️ Cloud Kayak Entry Video Solve
6 Create Route 53 Health Checks ☁️ Cloud Autodesk Entry Video Solve
7 Create a Hello World Lambda Function ☁️ Cloud Adobe Entry Video Solve
8 Launch an EC2 Web Server Instance ☁️ Cloud EPAM Entry Video Solve
9 Deploy an Internal Web App with VPC, EC2, ALB, and Route 53 ☁️ Cloud Lyft Senior - Solve
10 Build a Serverless API with Lambda, API Gateway, and DynamoDB ☁️ Cloud Amazon Senior Video Solve
11 Managing High I/O Processes 🐧 Linux Revolut Entry Video Solve
12 Analyzing Log Partition Usage 🐧 Linux RedHat Mid Video Solve
13 Using Unmounted Partitions 🐧 Linux RedHat Mid Video Solve
14 Tracing Log File Writes 🐧 Linux Bloomberg Entry Video Solve
15 Nginx Rate Limit Calculation 🌐 Networking Cloudflare Senior Video Solve
16 Debug SSH Lockout 🐧 Linux TCS Mid Video Solve
17 Validating Network Routes 🌐 Networking Google Mid Video Solve
18 Validating DNS Consistency 🌐 Networking SAP Entry Video Solve
19 Network Packet Loss Diagnosis 🌐 Networking Cloudflare Entry Video Solve
20 Network Port Service Cleanup 🌐 Networking Apple Entry Video Solve
21 Temporary Route Configuration 🌐 Networking Spotify Entry Video Solve
22 Inspecting HTTP Traffic Flow 🌐 Networking Airbnb Mid Video Solve
23 Trace Process Service Ownership 🐧 Linux NVIDIA Senior Video Solve
24 Manage Service Failure Recovery 🐧 Linux Apple Senior Video Solve
25 Update Cloud Configs 🐧 Linux Stripe Mid Video Solve
26 Handling Large Log Archives 🐧 Linux Amazon Entry Video Solve
27 Monitoring Process Ownership 🐧 Linux HashiCorp Mid Video Solve
28 Uptime and Load Average Audit 🐧 Linux Microsoft Entry Video Solve
29 Port Conflict Resolution 🐧 Linux Datadog Entry Video Solve
30 Diagnose Nginx CPU Bottleneck 🐧 Linux Palantir Entry Video Solve
31 CPU Resource Management Priority 🐧 Linux RedHat Entry Video Solve
32 Track Forking Process Hierarchies 🐧 Linux Splunk Entry Video Solve
33 Discover Unexpected Background Jobs 🐧 Linux Plus500 Mid Solve
34 Rapid Disk Growth on /var 🐧 Linux Google Senior Video Solve
35 Purge Empty Folders 🐧 Linux CrowdStrike Entry Video Solve
36 Log File Volume Assessment 🐧 Linux JPMorgan Entry Video Solve
37 Recursive Keyword Finder 🐧 Linux X Entry Video Solve
38 Recursive Database File Backup 🐧 Linux GitLab Entry Video Solve
39 Sorted Log Aggregation 🐧 Linux Airbnb Entry Video Solve
40 Automated Archive and Retention 🐧 Linux Microsoft Senior Video Solve
41 Real-Time Log Timestamping 🐧 Linux Adobe Mid Video Solve
42 Upload-Safe File Partitioning 🐧 Linux GoDaddy Mid Video Solve
43 Network Socket Usage Analysis 🌐 Networking SAP Entry Video Solve
44 Forward Traffic Between Ports 🌐 Networking Meta Mid Video Solve
45 Fix Inode Exhaustion Issue 🐧 Linux DeutscheBank Mid Video Solve
46 Detect Memory Leak by Monitoring RSS 🐧 Linux Google Mid Video Solve
47 Fix HTTPS Certificate Error 🔒 Security Github Mid Video Solve
48 Throttle High I/O Process 🐧 Linux Ebay Entry Video Solve
49 Fix Port Exhaustion for High-Speed Scraper 🌐 Networking X Mid Video Solve
50 Optimize Dockerfile 🐳 Docker Shopify Mid Solve
51 Insecure Container with Root User 🐳 Docker Accenture Mid Video Solve
52 Macvlan Network Configuration Fix 🐳 Docker Uber Senior Video Solve
53 Container CPU Limit Configuration 🐳 Docker IBM Entry Video Solve
54 Memory Limit and OOM Killer 🐳 Docker DeliveryHero Mid Video Solve
55 Graceful Shutdown with SIGTERM Handling 🐳 Docker Robinhood Mid Video Solve
56 Log Rotation Size Limit Configuration 🐳 Docker DeliveryHero Entry Video Solve
57 Docker Multi-Architecture Image 🐳 Docker Accenture Entry Video Solve
58 Docker Binary Architecture 🐳 Docker Adobe Entry Video Solve
59 Docker Storage Driver Performance 🐳 Docker Github Mid Video Solve
60 Docker Volume Cross-Platform Consistency 🐳 Docker GitLab Entry Video Solve
61 Rebase Feature Branch onto Correct Base 🔀 Git Samsung Entry Video Solve
62 Restore File to Previous Version 🔀 Git Slack Mid Video Solve
63 View Unique Commits Branch vs Origin 🔀 Git EPAM Entry Video Solve
64 Create an Annotated Tag 🔀 Git Nintendo Mid Video Solve
65 Update Submodule to Latest Commit 🔀 Git GoDaddy Mid Video Solve
66 Convert Remote from HTTPS to SSH 🔀 Git EPAM Entry Video Solve
67 Rebase Feature Branch 🔀 Git Github Entry Video Solve
68 Stash Work, Fix Bug, Restore and Update 🔀 Git IBM Mid Video Solve
69 Apply Specific Stash from Multiple Stashes 🔀 Git UBS Entry Video Solve
70 Remove Last Commit and Discard Changes 🔀 Git Gitlab Entry Video Solve
71 Shallow Clone Limited to Latest Commit 🔀 Git Elastic Entry Video Solve
72 Checkout Single File from Another Branch 🔀 Git Twilio Entry Video Solve
73 Remove File from Entire Git History 🔀 Git Netflix Mid Video Solve
74 Rebase Branch with Reversed Commit Order 🔀 Git Booking.com Entry Video Solve
75 Merge Repositories Preserving Both Histories 🔀 Git Zscaler Mid Video Solve
76 Fix Repository with Unrelated Histories 🔀 Git Zscaler Mid Video Solve
77 Stage Only Specific Files 🔀 Git CrowdStrike Entry Video Solve
78 Undo Commits but Keep Changes 🔀 Git CrowdStrike Entry Video Solve
79 Stash Work, Fix Bug, Resume 🔀 Git Kraken Mid Solve
80 Merge Feature Branch and Delete 🔀 Git Expedia Entry Video Solve
81 Cherry-Pick Specific Commit 🔀 Git Ubisoft Entry Video Solve
82 Recover Lost Commits from Detached HEAD 🔀 Git Kayak Mid Video Solve
83 Crashing Misconfigured Pod ☸️ Kubernetes Reddit Mid Video Solve
84 Image Pull BackOff and Secrets ☸️ Kubernetes Datadog Mid Video Solve
85 CronJob Schedule Misconfiguration ☸️ Kubernetes RedHat Mid Video Solve
86 Create Namespace ☸️ Kubernetes Accenture Entry Solve
87 Pod with Readiness Probe ☸️ Kubernetes Zscaler Entry Solve
88 Pod Viewer Access ☸️ Kubernetes Reddit Entry Solve
89 Multi-Key ConfigMap ☸️ Kubernetes Snap Entry Solve
90 Pod with Resource Limits ☸️ Kubernetes PWC Entry Solve
91 Traffic Splitting with Native Kubernetes ☸️ Kubernetes Palantir Mid Video Solve
92 ConfigMap Reload with Sidecar ☸️ Kubernetes Yelp Mid Video Solve
93 Job Failure ☸️ Kubernetes RedHat Entry Solve
94 Dynamic Volume Expansion ☸️ Kubernetes EPAM Entry Video Solve
95 Multi-Tenant Namespace Isolation ☸️ Kubernetes Palantir Mid Solve
96 Implement StatefulSet with Stable DNS ☸️ Kubernetes Okta Mid Video Solve
97 DNS-Based Service Discovery ☸️ Kubernetes Netflix Mid Solve
98 Custom Resource Definition Setup ☸️ Kubernetes ActivisionBlizzard Mid Video Solve
99 CRD Schema Validation ☸️ Kubernetes RedHat Senior Video Solve
100 StorageClass and PVC Expansion ☸️ Kubernetes Datadog Mid Video Solve
101 OOMKilled Pod Analysis & Fix ☸️ Kubernetes Accenture Mid Video Solve
102 Kubernetes Failing Job ☸️ Kubernetes SAP Mid Solve
103 Secure Internal Service Communication ☸️ Kubernetes Dropbox Mid Video Solve
104 Docker Image Tagging with Commit SHA 🔄 CI/CD Microsoft Mid Solve
105 Automated Pull Request Testing with Artifacts 🔄 CI/CD Adobe Mid Solve
106 Matrix Build Strategy 🔄 CI/CD Spotify Mid Solve
107 Multi-Job Workflow with Artifact Handoff 🔄 CI/CD Anthropic Mid Solve
108 Path-Based Workflow Execution 🔄 CI/CD Coinbase Mid Solve
109 Reusable Workflow with Input Parameters 🔄 CI/CD Adobe Mid Solve
110 Timeout Enforcement 🔄 CI/CD Bloomberg Entry Solve
111 Job Dependency Enforcement 🔄 CI/CD Splunk Mid Solve
112 GitHub Actions Retry Logic 🔄 CI/CD Etsy Entry Solve
113 Environment-Gated Deployment 🔄 CI/CD Autodesk Entry Solve
114 Automated Rollback on Deployment Failure 🔄 CI/CD NVIDIA Mid Solve
115 Automated GitOps Promotion 🔄 CI/CD CapitalOne Mid Solve

Follow me on LinkedIn
Follow me on LinkedIn

⭐ Found this helpful? Give it a star and share with your friends preparing for DevOps interviews! ⭐

About

DevOps Interview Questions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages