Skip to content

DevOps / SRE interview questions

CI/CD, containers, cloud, infrastructure as code, monitoring and reliability.

758 questions · 33 topics · 66 free answers

DevOps Engineer roadmap4 stages from basics to interview-ready. Learn the gaps, then come back and practise.

0 of 758 practised · 0 bookmarked · saved on this device

6 questions match

Scripting and automation
  1. #1How do you make a bash script safer?EasyConceptScripting and automation Pro answer

    This answer is part of Pro

    10 of 758 DevOps / SRE answers are free. A Pro pass opens the rest, including hands-on task steps.

  2. #2How do you loop over lines of a file in bash?EasyConceptScripting and automation Pro answer

    This answer is part of Pro

    10 of 758 DevOps / SRE answers are free. A Pro pass opens the rest, including hands-on task steps.

  3. #3When do you choose Python over bash?MediumConceptScripting and automation Pro answer

    This answer is part of Pro

    10 of 758 DevOps / SRE answers are free. A Pro pass opens the rest, including hands-on task steps.

  4. #4How do you parse JSON in a shell script?MediumConceptScripting and automation Pro answer

    This answer is part of Pro

    10 of 758 DevOps / SRE answers are free. A Pro pass opens the rest, including hands-on task steps.

  5. #5How do you retry a flaky command in a script?MediumConceptScripting and automation Pro answer

    This answer is part of Pro

    10 of 758 DevOps / SRE answers are free. A Pro pass opens the rest, including hands-on task steps.

  6. #6Write a one-liner to find the top 10 IP addresses in an nginx access log.MediumScenarioScripting and automation Pro answer

    This answer is part of Pro

    10 of 758 DevOps / SRE answers are free. A Pro pass opens the rest, including hands-on task steps.

Hunting for a DevOps / SRE role too? See open DevOps / SRE jobs.