DevOps & Infrastructure••5 min read

DevOps Engineer Mock Interview: 40 Cloud, CI/CD & SRE Questions

DevOps Engineer Mock Interview: 40 Cloud, CI/CD & SRE Questions

DevOps interviews tend to reward practical reasoning.

You may know

Docker Kubernetes CI/CD cloud platforms

But the interview often becomes

“What would you do when this system fails?” That is why scenario practice matters. Infrastructure

1. How would you design infrastructure for a new application?

2. What should be automated?

3. How do you manage infrastructure changes?

4. What is infrastructure as code?

5. How do you handle environment differences?

Containers

6. What problem do containers solve?

7. What happens when a container fails?

8. How do you build a reliable container image?

9. How do you manage secrets?

10. How do you troubleshoot a container that won't start?

Kubernetes

11. What problem does Kubernetes solve?

12. What happens when a pod fails?

13. How do you expose an application?

14. How do deployments and rollouts work?

15. How would you troubleshoot a failing deployment?

CI/CD

16. What should happen in a CI pipeline?

17. How do you design deployment stages?

18. How do you handle rollback?

19. How do you prevent a broken build from reaching production?

20. What should be automated before deployment?

Reliability and observability

21. What metrics would you monitor?

22. Logs vs metrics vs traces?

23. How would you investigate high latency?

24. How would you investigate high error rates?

25. What is an SLO?

26. How do you think about availability?

Incident response

  1. Tell me about a production incident.
  2. What is your first step during an outage?
  3. How do you communicate during incidents?
  4. How do you perform a root-cause analysis?
  5. How do you prevent recurrence?
  6. Security

    32. How do you manage secrets?

    33. How do you control access?

    34. How do you secure CI/CD pipelines?

    35. How do you think about least privilege?

    Behavioral

    1. Tell me about a difficult infrastructure decision.
    2. Tell me about a failed deployment.
    3. Tell me about a disagreement with developers.
    4. What DevOps skill are you developing?
    5. What makes a deployment system reliable?
    6. Practice scenarios, not definitions

      Instead of only practicing

      “What is Kubernetes?”

      practice

      “A production service keeps restarting. Walk me through your investigation.”

      That forces you to reason through

      symptoms → evidence → hypothesis → test → mitigation → prevention That's much more useful interview preparation. [Run a DevOps mock interview with Mockly] DAYS 38–40 Mockly Days 38–40: Engineering Manager, Consulting and Product Manager Interviews

Like what you're reading?

Add Mockly as a Preferred Source on Google — see our content more often in Search, Top Stories, AI Overviews & Discover.