Skip to content

Instantly share code, notes, and snippets.

@jeremypruitt
Last active January 12, 2024 09:55
Show Gist options
  • Star 22 You must be signed in to star a gist
  • Fork 21 You must be signed in to fork a gist
  • Save jeremypruitt/280c7dfb258146830cfe38cfa32cbfe5 to your computer and use it in GitHub Desktop.
Save jeremypruitt/280c7dfb258146830cfe38cfa32cbfe5 to your computer and use it in GitHub Desktop.
DevOps Engineer Interview Questions

DevOps Engineer Interview Questions

Table of Contents

  1. General Questions
  2. Network Questions
  3. Linux Questions
  4. Windows Questions
  5. Security Questions
  6. Cloud Questions
  7. Architecture Questions
  8. Automation Questions
  9. CI Questions
  10. Coding Questions
  11. Fun Questions

General Questions

  • What does the term "DevOps" mean to you?
    • "Hard"/hands-on/SRE vs "Soft"/Three Ways/Theory of Constraints/philosophy of DevOps


  • Describe your experience with task management (agile/kanban/waterfall)


  • What drew you to DevOps / How did you first hear of it or get involved?


  • Describe the most challenging situation that you were faced with and how did you fix it?


  • How do you stay current?


Network Questions

  • Say I open a web browser and enter an address. I hit enter. Describe how the connection the works in as much detail as possible. Trying to hear that they understand:
    • DNS
    • Network routing
    • Load Balancing
    • Ports on server
    • Service that is serving port


  • What’s a PTR in DNS? What’s a MX record in DNS? SRV?


  • How a CDN chooses the closest host to serve a client?


  • In which cases would you choose to not implement a CDN?


  • How do you measure the performance of a server/web application? (tools, methods)


  • What are secure ways to SSH to a server inside a private network from a public location?


Linux Questions

  • Difference between RAID 0, 1 and 5?


  • What’s the advantage of one RAID over another?


  • Alternative to init.d in Linux?


  • How to view running processes in Linux? How to tell what process is holding a file open?


  • How to check DNS records in Linux?


  • Describe your experience with scripting


Windows Questions

  • Are you familiar with just linux or have you worked with Windows environments as well?


  • If yes to windows do you use powershell? Octopus Deploy? TeamCity? Active Directory? Azure?


Security Questions

  • Difference between authorization and authentication?


  • Describe two-factor authentication


  • Describe how would you secure a web application


  • Talk about PKI/your experience with SSL/Certificates


  • Secure Introduction?


Cloud Questions

  • Have you used AWS or other cloud platforms?
    • How long for?
    • In production or just at home on personal projects?


  • How to keep logs on servers or containers with ephemeral storage?


  • Where to look when trying to reduce cloud costs without reducing capacity?


  • What cloud providers are you aware of? Familiar with? Experienced with?


AWS Questions
  • Describe the advantages/disadvantages of using CloudFormation to manage your resources


  • Talk about IAM roles


  • Talk about VPC's
    • Subnets
    • Internet Gateways
    • NATing
    • NACL's
    • VPN/VPC Peering


Database Questions

  • What's the use case for a database read replica?


  • What are the forms of normalization? Why?


Architecture Questions

  • How to scale a database without just increasing capacity of a single machine while maintaining ACID?
  • How to choose between relational database and noSQL?
  • What advantages a NoSQL database like MongoDB has, comparing to MySQL?
  • How to manage API versions?
  • How to reduce load time of a dynamic website?
  • How to reduce load time of a static website?

Automation Questions

  • Have you used Puppet, Chef, Salt or Ansible?
    • How long have you used it for?
    • Have you used it in production?


  • Describe the size of the environment that you automated (how many servers, small scale or large scale)


  • How do you test your automation code? How do you test the desired state has been realized in prod?


CI Questions

  • What is continuous integration? What do the words mean: continuous; integration?


  • What is CD? CDP?


  • Are you familiar with CI/CD tools? Which ones?


  • Describe your experience implementing continuous deployment


  • How do you setup an end-to-end pipeline from dev to deployment? (long answer)
    • How can Docker help in this case?


  • Have you been able to improve the frequency of deployments? If so, how?


Coding Questions

  • Describe a dev/test/production workflow using GIT
    • Feature branching vs trunk based development
    • Advantages of requiring pull requests and approvals


Fun Questions

  • Do you have any side projects?


  • If you could learn any technology now, what would be?


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment