DevOps Interview Questions (30+ Questions)

Last Updated: June 8, 2026 • 30 Questions • Real Company Interviews

Are you gearing up for a DevOps interview? DevOps is a methodology that integrates software development (Dev) and IT operations (Ops) to speed up the development process and deliver high-quality software consistently. It focuses on enhancing collaboration, automation, and monitoring to boost the efficiency, speed, and dependability of software delivery. Whether you're new to the field or an experienced professional, mastering DevOps is essential in today's dynamic tech environment.

30
Interview Questions
26
Companies
3
Difficulty Levels

Table of Contents

In this article, we present DevOps Interview Questions with answers commonly asked in DevOps engineer interviews at top-paying companies. Whether you're preparing for your first DevOps role or aiming to advance your career, this guide will help you navigate through the most frequently asked DevOps interview questions, ensuring you stand out in competitive job interviews.

šŸ’” Pro Tips for DevOps Interviews

  • Practice each question and understand the underlying concepts
  • Review company-specific technologies and methodologies
  • Prepare follow-up questions and edge cases
  • Practice explaining your solutions clearly and concisely

Interview Questions & Answers

1. Managing High I/O Processes

Company: Revolut Difficulty: easy

Learn how to identify and manage high I/O consuming processes on a Linux server using command-line tools. This guide covers sorting running processes by disk activity and mitigating disk bottlenecks through throttling, stopping, or rescheduling heavy jobs, improving overall system responsiveness and application performance.

2. Filesystem Inconsistencies

Company: Twitch Difficulty: medium

Learn how to safely unmount and remount filesystems to recover from stale handles and inconsistencies using Linux Bash commands. This guide covers identifying low-usage filesystems, checking for active processes, performing safe remount operations, and verifying success, essential for clearing filesystem errors and recovering from storage connectivity issues.

3. Managing Process Overload

Company: Booking.com Difficulty: medium

The process count on a production server keeps increasing even though no new workloads were deployed. Zombie processes are accumulating in the system.

4. Identifying D State Processes

Company: Datadog Difficulty: medium

5. Analyzing Log Partition Usage

Company: RedHat Difficulty: medium

Learn how to identify filesystem mount points and diagnose storage-related issues using Linux Bash commands. This guide covers determining which device /var/log resides on, inspecting mount properties, and investigating space constraints, essential for troubleshooting log rotation failures and preventing partition-specific storage exhaustion in production systems.

6. Performance-Based Backend Selection

Company: Amazon Difficulty: easy

Learn how to measure disk write performance and select appropriate storage backends using Linux Bash commands. This guide covers benchmarking sequential write speeds, interpreting results, and making data-driven infrastructure decisions, essential for matching storage solutions to application requirements and ensuring performance in data-intensive workloads.

7. Using Unmounted Partitions

Company: RedHat Difficulty: medium

Learn how to identify, format, and mount unmounted partitions on Linux using Bash commands. This guide covers discovering unused block devices, creating filesystems, assigning labels, and temporary mounting, essential for expanding storage capacity, utilizing available hardware resources, and solving storage-related outages in production systems.

8. Application Config Setup

Company: Meta Difficulty: medium

Learn how to create symbolic links to centralize file references across application directories using Linux Bash commands. This guide covers linking configuration files, verifying symlink resolution, and enabling transparent access to centralized resources, essential for configuration management, reducing duplication, and maintaining consistency in multi-service deployments.

9. Automated Vulnerability Detection

Company: Slack Difficulty: medium

Learn how to automate continuous vulnerability scanning using Trivy and Bash scripting. This guide covers creating automated scan scripts, filtering severity levels, scheduling daily scans with cron, and generating timestamped reports, essential for maintaining security posture, detecting CVEs early, and implementing DevSecOps practices in production environments.

10. Configuring Multi-User Quotas

Company: Twitch Difficulty: medium

Enforce user disk usage limits by enabling filesystem quotas and configuring soft/hard limits with grace periods.

11. Tracing Log File Writes

Company: Bloomberg Difficulty: easy

Learn how to identify the process writing excessive logs to system files using Linux Bash commands and monitoring tools. This guide covers tracing file handles, monitoring write operations in real time, and pinpointing logging culprits, essential for diagnosing disk space issues, debug logging incidents, and optimizing log management in production systems.

12. User Session Cleanup

Company: CGI Difficulty: medium

Identify and terminate active user sessions for production maintenance and reboots. Learn how to use w, who, and last commands to identify logged-in users with their terminal, login time, and source IP addresses. This guide covers notifying users of session termination, using pkill or kill to disconnect sessions by terminal, documenting terminated sessions for audit trails, and ensuring maintenance windows proceed without blocking interactive sessions. Essential for emergency maintenance procedures, compliance with deployment scripts, and managing controlled system restarts in production environments.

13. Nginx Rate Limit Calculation

Company: Cloudflare Difficulty: hard

Learn how to analyze Nginx access logs to identify top traffic sources and dynamically configure rate limiting rules. This guide covers extracting client IP request counts, calculating optimal rate limits based on traffic patterns, and validating Nginx configuration, essential for DDoS mitigation, traffic management, and protecting web servers from aggressive clients.

14. Investigate Mounted Disk Usage

Company: Databricks Difficulty: medium

Learn how to diagnose and resolve disk space exhaustion issues on mounted volumes using Linux Bash commands. This guide covers checking filesystem usage, identifying largest files, freeing storage space, and verifying recovery, essential for troubleshooting storage capacity problems, preventing service failures, and maintaining application availability.

15. Debug SSH Lockout

Company: TCS Difficulty: medium

Resolve SSH authentication lockouts caused by exceeding MaxAuthTries limits. Learn how to search authentication logs for failed SSH attempts, count login failures to determine the threshold exceeded, modify /etc/ssh/sshd_config to increase MaxAuthTries, and restart the SSH service to apply changes. This guide covers analyzing /var/log/auth.log for failure patterns, understanding SSH daemon authentication limits, and balancing security with legitimate retry scenarios. Essential for troubleshooting locked-out accounts, debugging CI/CD deployment failures, and maintaining SSH accessibility during key rotation events.

16. Managing Log File Rotation

Company: Coinbase Difficulty: medium

Implement automated log rotation in Linux using logrotate to prevent disk space exhaustion. Learn how to identify oversized log files exceeding size limits, create logrotate configuration files with daily rotation policies, compress archived logs, retain multiple versions for troubleshooting, and implement postrotate scripts to reload application services. This guide covers assessing current log file sizes, configuring retention policies, testing logrotate functionality, and preventing disk-full incidents. Essential for maintaining system stability, preventing production outages from disk space issues, and implementing sustainable log management strategies.

17. Validating Network Routes

Company: Google Difficulty: medium

Learn how to inspect, modify, and verify routing table entries on Linux using Bash commands. This guide covers detecting incorrect routes, deleting problematic entries, and adding new routes through specific gateways and interfaces essential for fixing routing misconfigurations and ensuring proper traffic flow in multi-interface networks.

18. Validating DNS Consistency

Company: SAP Difficulty: easy

Learn how to query and verify both IPv4 and IPv6 DNS records for a domain using Linux Bash commands. This guide covers resolving A and AAAA records, extracting IP addresses, and creating structured DNS verification reports, essential for diagnosing inconsistent DNS resolution and validating dual-stack network configurations.

19. Network Packet Loss Diagnosis

Company: Cloudflare Difficulty: easy

Learn how to diagnose network connectivity issues across multiple layers using Bash ping commands. This guide covers testing the default gateway, DNS servers, and external sites to isolate packet loss and latency problems, helping identify whether network issues originate locally, at the ISP, or on the public internet.

20. Network Port Service Cleanup

Company: Apple Difficulty: easy

Learn how to scan for listening services on specific port ranges and identify their associated processes using Linux Bash commands. This guide covers discovering unauthorized applications on non-standard ports, extracting process IDs, and safely terminating services-essential for security audits and removing unauthorized network listeners.

21. Fixing Overlapping Subnets

Company: Cisco Difficulty: medium

Learn how to detect and resolve overlapping IPv4 subnets across multiple network interfaces on Linux using Bash commands. This guide covers listing all interface configurations, identifying subnet conflicts, and removing duplicate addresses from lower-priority interfaces while preserving network stability and preventing asymmetric routing issues.

22. Temporary Route Configuration

Company: Spotify Difficulty: easy

Learn how to add temporary static routes on Linux using Bash commands to reach remote subnets without permanent configuration changes. This guide covers verifying routing tables, adding routes via specific gateways and interfaces, and testing connectivity-essential for emergency network troubleshooting and temporary routing adjustments.

23. Inspecting HTTP Traffic Flow

Company: Airbnb Difficulty: medium

Learn how to capture and analyze HTTP network traffic on port 80 using Bash commands and packet analysis tools. This guide shows how to verify web server connectivity by examining TCP handshakes and packet flow, helping diagnose HTTP communication issues and network configuration problems in production environments.

24. VPN MTU Mismatch Diagnosis

Company: Kayak Difficulty: medium

Learn how to diagnose and resolve MTU mismatch issues in VPN connections using Linux Bash commands. This guide covers inspecting current MTU settings, testing path MTU with the Don't Fragment flag, calculating effective MTU, and adjusting interface settings essential for resolving slow transfers, packet fragmentation, and VPN performance degradation.

25. Diagnosing Linux DNS Configuration

Company: PayPal Difficulty: medium

Learn how to diagnose DNS resolver configurations across multiple sources on Linux using Bash commands. This guide covers examining /etc/resolv.conf, inspecting systemd-resolved settings, identifying symbolic links, and creating consolidated DNS diagnostics reports, essential for troubleshooting inconsistent domain resolution and split-horizon DNS issues.

26. Trace Process Service Ownership

Company: NVIDIA Difficulty: hard

27. Troubleshoot systemd Startup Failure

Company: Microsoft Difficulty: medium

28. Manage Service Failure Recovery

Company: Apple Difficulty: hard

Learn how to create robust systemd services with intelligent restart policies using Linux system administration. This guide covers configuring automatic recovery from failures, preventing restart storms with rate limiting, enabling boot persistence, and testing failure scenarios, essential for building resilient services and preventing resource exhaustion in production environments.

29. Detect Login Time Violations

Company: UBS Difficulty: easy

Learn how to audit login history and identify after-hours access violations on Linux using Bash commands. This guide covers extracting user login sessions, filtering by time windows, and generating security reports, essential for enforcing access policies, detecting unauthorized logins, and responding to security incidents.

30. Verify Host Network Access

Company: DoorDash Difficulty: medium

Learn how to create a Bash script that automates connectivity checks for multiple hosts using ping commands. This guide covers reading hostnames from a file, testing reachability, generating status reports, and handling failures gracefully, essential for pre-maintenance validation, network monitoring, and infrastructure health checks in DevOps workflows.


Ready to Practice More?

Explore interview questions from specific companies or try our hands-on labs to build practical experience.