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.What is the difference between `git fetch` and `git pull`?
Easygitversion-control
2.What does a container share with the host machine that a virtual machine does not?
Mediumdockercontainersvirtualization
3.What does a CI/CD pipeline primarily automate?
Easyci-cdautomation
4.What is the relationship between a Docker image and a Docker container?
Easydockercontainers
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?
Mediumcloudscalingarchitecture
6.Explain the difference between a container and a virtual machine.
Mediumcontainersvirtualizationdocker
7.Walk through what happens in a typical CI/CD pipeline, from a developer pushing code to it running in production.
Mediumci-cddeploymentautomation
8.A new deployment just went out and error rates are spiking. How would you roll it back?
Mediumdeploymentincident-responseci-cd
9.How would you manage secrets — API keys, database passwords, tokens — in a CI/CD pipeline and in production?
Mediumsecurityci-cdcloud
10.What is infrastructure as code, and why do teams use it instead of configuring servers by hand?
Mediumcloudautomationinfrastructure