Skip to content

devops-interviews/devops-interview-questions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi, I'm Alex, a DevOps/Software Engineer. Over the past year, I interviewed at 50+ companies, including Google, Amazon, Apple, and other FAANG/Big Tech firms, for DevOps and SRE positions. I collected every hands-on interview question I was asked, along with questions sourced from Glassdoor, Blind, and engineering blogs. This repo covers 106 real DevOps interview questions across Kubernetes, Docker, Linux, CI/CD (GitHub Actions), Networking, Git, and Security, each with a detailed video walkthrough showing how to solve it step by step.

I hope this will help you to prepare and pass. If you ever feel like thanking me just Star the repository.

DevOps Interview Preparation

DevOps Interview Questions (Hands-on + CI/CD + Kubernetes + Docker + Linux + Networking + Git + Security)

A comprehensive collection of 106 interview questions and answers for DevOps engineering positions.

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 (4)

Adobe (4)

CrowdStrike (3)

Datadog (3)

EPAM (3)

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 (1)

Anthropic (1)

Autodesk (1)

CapitalOne (1)

Coinbase (1)

DeutscheBank (1)

Dropbox (1)

Ebay (1)

Elastic (1)

Etsy (1)

Expedia (1)

HashiCorp (1)

JPMorgan (1)

Kayak (1)

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)

📋 All 106 Questions

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

⭐ 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

No packages published