14-Day Emergency DevOps Interview Prep Plan
This two-week plan gives you a clear, day-by-day roadmap to get ready for a DevOps Engineer interview. It’s designed to help you cover all the important areas—from basic concepts like Linux, Networking, and Git, to hands-on practice, cloud system design, kubernetes and interview techniques.
Here’s what’s included:
- A detailed list of DevOps topics you should know
- Tips on how to plan and research companies
- Guidance for behavioral interview questions
- Resume preparation tips and useful tools
Week 1: Foundations & Core Technologies
🗓️ Day 1: Strategic Planning & Company Research
🎯 Goal: Understand the company's context, the specific role, and the likely interview focus areas.
🛠️ Activities:
- Research the company: Products, services, scale, business drivers, primary infrastructure (
AWS, Azure, GCP, On-prem?).
- Deep-dive into the Job Description: Identify key responsibilities, required tools (
Terraform, Ansible, Jenkins, Docker, Kubernetes, etc.), and experience level.
- Investigate their Tech Stack: Check tech blogs, conference talks (YouTube), open-source projects, and employee LinkedIn profiles.
- Identify Company Values / Engineering Principles.
- Consult Interview Resources:
Glassdoor, Blind, Reddit (r/devops), Levels.fyi for company-specific DevOps interview insights. Note down common question types (System Design, Coding, Troubleshooting, Behavioral).
- Start Your Questions List: Begin compiling insightful questions to ask your interviewers.
✅ Output: A clear picture of the company/role context, a prioritized list of study topics/tools, understanding of the likely interview format, and initial questions for interviewers.
🗓️ Day 2: 🐧 Linux & Foundational Concepts (OS/Networking)
🎯 Goal: Solidify core Linux command-line skills and understanding of fundamental Operating System and Networking concepts.
🛠️ Activities:
- Linux Command Line Mastery:
- File/Directory Management:
find, locate.
- Text Processing:
less, more, head, tail, grep, sed, awk.
- Permissions:
chmod, chown, sudo; understand user/group/other permissions (symbolic & octal).
- Process Management:
ps, top, htop, kill, nice, systemctl/service.
- Archiving/Compression:
tar, gzip, gunzip.
- Disk Usage:
df, du.
- Basic Networking Tools:
ping, ip addr (or ifconfig), netstat, ss, traceroute, dig, nslookup, curl, wget, lsof.
- Process Management:
ps, top, htop, kill, nice, systemctl, service, uptime, dmesg | tail, vmstat 1, mpstat -P ALL 1, pidstat 1, iostat -xz 1, free -m, sar -n DEV 1, sar -n TCP,ETCP 1
- Operating System Concepts:
- Filesystem Hierarchy Standard (FHS).
/proc filesystem
- Kernel vs. Shell interaction.
- Kernel Space and User Space
- How Linux handles Interrupts
- I/O Redirection & Piping (
>, >>, |, 2>).
- Environment Variables (
export, .bashrc/.zshrc).
- Processes vs. Threads.
- Virtual Memory concepts.
- Inodes and File Descriptors (including standard streams 0, 1, 2).
- Linux Boot Process (high-level: BIOS/UEFI -> Bootloader -> Kernel -> Init System).
- Init Systems (
systemd vs SysVinit concepts).
- Load Average
- Networking Fundamentals:
- OSI Model: Understand the 7 layers and the primary function of each (esp. Layers 1-4, 7).
- TCP/IP Model: Relationship to OSI; focus on key protocols at each layer.
- TCP vs. UDP: Key differences, use cases, 3-way handshake (TCP).
- IP Addressing: Basics of IPv4 addresses, subnet masks, private vs. public IPs, CIDR notation (briefly).
- DNS: Resolution process (recursive vs. iterative), common record types (
A, AAAA, CNAME, MX, TXT, NS).
- HTTP/HTTPS: Request methods (
GET, POST, etc.), status codes (categories 2xx-5xx), basics of HTTPS/TLS handshake and certificates.
- Common Ports (e.g., 22, 53, 80, 443).
- Concepts: Default Gateway, Routing basics.
✅ Output: Confidence using the Linux command line for common tasks; foundational understanding of OS structure, core networking principles, and the OSI model.
🗓️ Day 3: 💡 DevOps Concepts, Cloud Fundamentals & Git Essentials
🎯 Goal: Understand core DevOps philosophies, the basics of their primary cloud environment, and master essential Git version control concepts and workflows.
🛠️ Activities:
- Review DevOps Pillars: CI/CD principles, Infrastructure as Code (IaC) importance, Monitoring vs. Observability, Configuration Management goals, DevOps Culture (collaboration, feedback loops, automation).
- Study Cloud Fundamentals: (Focus on their primary provider:
AWS, Azure, or GCP): Core Compute, Storage, Networking (VPC/VNet, SG/NSG, LB), IAM, Managed Databases (basic concepts).
- Version Control with
Git:
- Core Concepts: Understand Repository, Working Directory, Staging Area (Index), Commit, Branch, Merge (including different strategies like fast-forward vs recursive), Remote (e.g., GitHub, GitLab, Bitbucket), HEAD, Tags.
- Essential Commands: Practice
git init, git clone, git status, git add, git commit -m, git log (and variations like --oneline, --graph), git diff, git branch, git checkout/git switch, git merge.
- Working with Remotes: Practice
git remote add, git fetch, git pull (and --rebase), git push.
- Branching Strategies: Understand the concepts behind Feature Branching, Gitflow (high-level), Trunk-Based Development (high-level). Why use branches?
- Collaboration: Basic understanding of how to handle Merge Conflicts.
- Ignoring Files: Understand and use
.gitignore.
✅ Output: Strong grasp of DevOps principles, foundational cloud knowledge, and confidence using Git for version control tasks including branching, merging, and remote collaboration.
🗓️ Day 4: 💻 Scripting for Automation (Python/Bash)
🎯 Goal: Develop practical scripting skills, leveraging Linux fundamentals and assuming code is managed in Git, for automating common DevOps tasks.
🛠️ Activities:
- Select primary language:
Python (highly recommended) and/or Bash (essential).
- Review Language Basics: Data types, control flow (loops, conditionals), functions, error handling (
try-except in Python).
- Practice Scripting Tasks (incorporating Linux commands):
- File I/O (reading configs, writing logs/reports).
- API Interaction (using
requests in Python or curl/jq in Bash).
- Data Parsing (JSON using
json lib or jq, YAML using PyYAML).
- OS Interaction (running commands via
subprocess or os.system, managing processes, gathering system info).
- Combining tools using pipes (
|) within scripts.
- Focus on: Readability, Error Handling, Modularity (functions), Idempotency where applicable. (Code should be versioned in
Git).
✅ Output: Ability to write simple-to-intermediate scripts for common automation needs; referenceable code snippets leveraging OS commands, managed with Git.
🗓️ Day 5: 🏗️ Infrastructure as Code (IaC) - Part 1 (Fundamentals & Tooling)
🎯 Goal: Understand IaC principles and gain hands-on experience with a primary tool (e.g., Terraform), managing code with Git.
🛠️ Activities:
- Explore IaC Concepts: Declarative approach, State Management, Idempotency, Modularity. (Code should be versioned in
Git).
- Setup Chosen Tool: Install
Terraform (or CloudFormation/ARM/Pulumi).
- Work Through Basics: Define simple cloud resources (VM, Storage Bucket, Security Group, basic network).
- Understand Core Workflow:
terraform init, terraform plan, terraform apply, terraform destroy, terraform fmt, terraform validate.
- Learn about: Input Variables, Resource Outputs, Basic Dependencies, Data Sources.
✅ Output: Understanding of IaC core concepts and basic proficiency defining/managing simple infrastructure with your chosen tool, using Git for code management.
🗓️ Day 6: 🏗️ Infrastructure as Code (IaC) - Part 2 (Intermediate Concepts)
🎯 Goal: Explore more advanced IaC features, best practices, and structure, managed within Git.
🛠️ Activities:
- Learn Modularity: Use
Terraform Modules (local and remote/registry) or (CloudFormation Nested Stacks) for reusable infrastructure components. (Modules versioned in Git).
- Deep Dive into State: Remote State backends (e.g.,
S3, Azure Blob Storage), State Locking (critical for teams), terraform workspace.
- Handle Sensitive Data: Integrate with secrets management tools (
Vault, AWS Secrets Manager, Azure Key Vault), avoid hardcoding secrets. Use sensitive variable flags.
- Build More Complex Setups: E.g., Provision a web server cluster behind a load balancer with database connectivity.
- Explore IaC Best Practices: Linting (
tflint), static analysis (tfsec/checkov), directory structure patterns, version constraints.
✅ Output: Ability to structure IaC code effectively using modules, understand state management trade-offs, handle secrets securely, and apply best practices, all managed via Git.
🗓️ Day 7: ⚙️ Configuration Management (Ansible/Chef/Puppet)
🎯 Goal: Understand the role of configuration management and gain basic proficiency in one tool (e.g., Ansible), managing code with Git.
🛠️ Activities:
- Differentiate: IaC (Provisioning) vs. Configuration Management (Configuration & Maintenance). Understand when to use which. (Code/Playbooks versioned in
Git).
- Understand Key Concepts: Idempotency, Push vs. Pull models, Agent vs. Agentless.
- Get Hands-on (
Ansible recommended for simplicity):
- Write basic Playbooks. Use common modules (
apt/yum, copy, template, service, user, file).
- Define Tasks ensuring idempotency.
- Understand Inventory (static and dynamic).
- Explore basic Roles structure for organization and reusability.
- Use Handlers and Variables.
- Look into
ansible-vault for encrypting sensitive data.
✅ Output: Understanding of configuration management principles like idempotency and the ability to automate basic server setup/configuration tasks idempotently, using Git for code management.
Week 2: Orchestration, Pipelines, Operations & Practice
🗓️ Day 8: 🐳 Containers (Docker)
🎯 Goal: Master Docker fundamentals for building, shipping, and running applications consistently. (Dockerfiles managed in Git).
🛠️ Activities:
- Review Core Concepts: Images vs. Containers, Layered Filesystem, Namespaces & Cgroups (high-level), Benefits (Consistency, Isolation, Density).
- Practice
docker CLI: build, run, ps, stop, rm, images, rmi, logs, exec, inspect, network, volume.
- Write Effective
Dockerfiles: Understand instructions (FROM, RUN, COPY, ADD, WORKDIR, EXPOSE, USER, CMD vs ENTRYPOINT), Multi-Stage Builds, minimizing layers, security best practices (non-root user).
- Understand
Docker Networking: Port mapping, bridge/host/overlay network drivers.
- Learn
Docker Volumes & Bind Mounts: Managing persistent data.
- Explore
docker-compose: Define and run multi-container applications locally for development environments. (docker-compose.yml versioned in Git).