Black Friday25% de desconto no primeiro mês dos planos mensaisAproveitar a oferta
YoodaAI

DevOps engineer interview questions

23 questions · 5 answer outlines · Updated

DevOps engineer interviews usually test Linux and networking basics, CI/CD pipelines, infrastructure as code, cloud services and containers, and how you handle incidents. Expect scenario questions where you troubleshoot a broken system or design a pipeline out loud, plus a behavioural round on working with development teams.

Esta página ainda não foi traduzida, por isso o conteúdo está em inglês.

Nesta página

Five questions to prepare first

These come up in most interviews for this role. For each one: what the interviewer is checking, and the points a strong answer covers, in order.

1

A server is responding slowly. How do you find out why?

What they're checking

Whether you troubleshoot systematically from symptoms to cause.

A strong answer covers

  1. Scope the problem first: one server or all, since when, and what changed recently.
  2. Check resources in order (CPU, memory and swap, disk I/O, then network) with tools such as top, free and iostat.
  3. Look at application logs and dependencies, such as slow database queries or an upstream service.
  4. Fix the cause, then add monitoring or an alert so you would catch it earlier next time.
2

Design a CI/CD pipeline for a web service.

What they're checking

Whether you can build a pipeline that is fast, safe and easy to roll back.

A strong answer covers

  1. Start with what runs on every commit: build, unit tests, linting and security scans.
  2. Produce one versioned artefact, such as a container image, and promote that same artefact through each environment.
  3. Deploy to staging with integration tests, then to production with a gradual strategy such as a canary.
  4. Make rollback a single step, and keep the pipeline fast enough that people don't bypass it.
3

What is the difference between blue-green and canary deployments?

What they're checking

Whether you understand release strategies and when each is worth its cost.

A strong answer covers

  1. Blue-green runs two identical environments and switches all traffic at once, so rolling back means switching back.
  2. Canary sends a small share of traffic to the new version first and widens it while the metrics stay healthy.
  3. Compare them: blue-green is simple but doubles infrastructure, while canary limits the damage but needs good metrics.
  4. Say which you have used and why it fitted that system.
4

How would you set up monitoring and alerting for a new service?

What they're checking

Whether you monitor what users experience and avoid alerts nobody acts on.

A strong answer covers

  1. Start from user-facing signals, such as latency, error rate, traffic and saturation.
  2. Set service level objectives and alert when they are at risk, rather than on every spike in CPU.
  3. Make each alert actionable, with an owner and a runbook, and send the rest to dashboards.
  4. Add logs and traces so the person on call can go from an alert to the cause quickly.
5

Tell me about an outage you handled. What happened, and what changed afterwards?

What they're checking

How you act under pressure, and whether you fix causes rather than symptoms.

A strong answer covers

  1. Describe the impact briefly: what broke, for whom and for how long.
  2. Explain how you responded: stopping the damage first, then communicating, then finding the cause.
  3. Name the root cause, including any process gaps, without blaming individuals.
  4. List what changed afterwards, such as a test, an alert, a runbook or an architecture change.

Linux, networking and troubleshooting

Often asked as scenarios. Say which commands you would run and what you would look for.

  1. 1A server is responding slowly. How do you find out why?Answer outline
  2. 2How does DNS resolution work?
  3. 3What is the difference between TCP and UDP?
  4. 4How would you find which process is using a port?
  5. 5What does the load average tell you, and what doesn't it?
  6. 6How do you manage secrets on servers and in pipelines?

CI/CD and infrastructure as code

How code gets from a commit to production safely, and how the infrastructure underneath is defined.

  1. 7Design a CI/CD pipeline for a web service.Answer outline
  2. 8What is the difference between blue-green and canary deployments?Answer outline
  3. 9What are the benefits of infrastructure as code? Which tools have you used?
  4. 10How do you roll back a bad deployment?
  5. 11How do you handle Terraform state when several people change the same infrastructure?
  6. 12How do you keep build times short as a codebase grows?

Containers, cloud and reliability

Questions here range from basics to design. Relate them to systems you have run.

  1. 13How would you set up monitoring and alerting for a new service?Answer outline
  2. 14What is the difference between a container and a virtual machine?
  3. 15How does Kubernetes keep an application running when a node fails?
  4. 16What are SLIs, SLOs and error budgets?
  5. 17How would you bring down a cloud bill that keeps growing?
  6. 18How do you make infrastructure secure by default?

Incidents and behavioural

DevOps work is judged in the bad moments. Bring a real incident you can talk through calmly.

  1. 19Tell me about an outage you handled. What happened, and what changed afterwards?Answer outline
  2. 20How do you run a blameless postmortem?
  3. 21Tell me about a manual process you automated.
  4. 22What do you do when developers want to skip the pipeline to ship faster?
  5. 23How do you decide what to automate first?

DevOps engineer interview tips

  • Practise troubleshooting out loud. Interviewers want to hear the order you check things in and why.
  • Know the tools on the job description in practice, not just in name, and be honest about the ones you haven't used.
  • Prepare one incident story in detail, including your own mistakes and the follow-up actions.
  • Be ready to sketch a pipeline or an architecture and explain each choice.

Treine em voz alta

Entrevista simulada para DevOps engineer

Ler as perguntas mostra o que pode aparecer. Responder em voz alta, para um entrevistador que pergunta como e por quê, mostra se você está pronto.

  1. 1

    Escolha seu nível, os tipos de pergunta e o idioma da entrevista. O cargo já vem preenchido.

  2. 2

    O entrevistador de IA faz em voz alta as próprias perguntas para o cargo e faz perguntas de acompanhamento quando uma resposta fica genérica.

  3. 3

    Você recebe um relatório com veredito de contratação, nota de 0 a 100 e uma resposta mais forte para cada pergunta.

Uma entrevista simulada custa 1 crédito por minuto, e contas novas começam com 20 créditos grátis.

Como funciona a entrevista simulada com IAVer planos e pacotes

FAQ

DevOps engineer interview FAQ

Ainda com dúvidas? Pergunte o que quiser.

Fale conosco

Often some scripting, in Bash or Python, and sometimes writing or reviewing Terraform or a pipeline file. Full algorithm rounds are less common than for software engineers.

The one the company uses, if the job description says. The concepts carry over between AWS, Azure and Google Cloud, so depth in one is better than shallow knowledge of all three.

They overlap a lot. Site reliability roles usually put more weight on reliability targets, on-call and software engineering, so expect more coding and system design in those interviews.

Diga essas respostas em voz alta antes da entrevista real.

Uma entrevista simulada para este cargo faz perguntas que você não viu, faz perguntas de acompanhamento sobre suas respostas e mostra uma resposta mais forte para cada uma. Contas novas ganham 20 créditos grátis para isso ou para o assistente ao vivo na própria entrevista.

Começar uma entrevista simulada grátisTeste o assistente de entrevista ao vivo grátis
Começar uma entrevista simulada grátis