Cloud & DevOps · Question 24 · Medium

What is blue-green deployment?

  1. Deploying the new version gradually to a small percentage of users first
  2. Running two identical production environments, deploying the new version to the idle one and then switching all traffic to it, which allows instant rollback by switching back
  3. Deploying only on weekdays and pausing on weekends
  4. Running the old and new versions on the same server with different colour themes
Answer and explanation

Answer: B. Running two identical production environments, deploying the new version to the idle one and then switching all traffic to it, which allows instant rollback by switching back

Explanation: Blue-green keeps the old environment ready, so rollback is just a traffic switch. Gradually exposing a small percentage of users is a canary release.

Previous: A container is started with docker run -p 8080:80 nginx. What does the -p… · Next: A Kubernetes Deployment is configured with replicas: 3. One of its Pods…

Practise cloud & devops

Try a fresh set of cloud & devops questions with an explanation after every answer, free and without signing up: Cloud & DevOps practice. Or sit a full placement mock test.

More cloud & devops questions

More technical & programming practice

GenAI Basics · Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms · Object-Oriented Programming

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge