Skip to content

Interview Prep

DevOps & Cloud Interview Questions

Git, CI/CD, containers, and the operational questions that come up once code has to run somewhere.

10 of 10 DevOps & Cloud questions shown. Answers are hidden by default — try each one before revealing it.

  1. 1.What is the difference between `git fetch` and `git pull`?

    Easy

    gitversion-control

  2. 2.What does a container share with the host machine that a virtual machine does not?

    Medium

    dockercontainersvirtualization

  3. 3.What does a CI/CD pipeline primarily automate?

    Easy

    ci-cdautomation

  4. 4.What is the relationship between a Docker image and a Docker container?

    Easy

    dockercontainers

  5. 5.A team adds more servers behind a load balancer to handle increased traffic, rather than upgrading a single server's CPU and memory. What is this called?

    Medium

    cloudscalingarchitecture

  6. 6.Explain the difference between a container and a virtual machine.

    Medium

    containersvirtualizationdocker

  7. 7.Walk through what happens in a typical CI/CD pipeline, from a developer pushing code to it running in production.

    Medium

    ci-cddeploymentautomation

  8. 8.A new deployment just went out and error rates are spiking. How would you roll it back?

    Medium

    deploymentincident-responseci-cd

  9. 9.How would you manage secrets — API keys, database passwords, tokens — in a CI/CD pipeline and in production?

    Medium

    securityci-cdcloud

  10. 10.What is infrastructure as code, and why do teams use it instead of configuring servers by hand?

    Medium

    cloudautomationinfrastructure

← All interview prep categories