CKAD Application Deployment Practice Question
Which of the following are valid methods to perform a blue-green deployment? (Choose TWO)
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create two Deployments for blue and green, and update the Service selector to point to the new version
Blue-green deployment in Kubernetes typically involves running two environments (blue and green) side-by-side and switching traffic from one to the other. Option A directly implements this by maintaining two separate Deployments (blue and green) and updating the Service selector to point to the new version. Option D uses an Ingress resource that can route traffic to different Services, each pointing to a different version of the application; by updating the Ingress rules, traffic can be switched from blue to green. Option B describes a rolling update, not blue-green. Option C is a rolling update using a single Deployment and changing the container image. Option E is a delete/recreate strategy, not blue-green.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create two Deployments for blue and green, and update the Service selector to point to the new version
Why this is correct
Classic blue-green with Service selector.
- ✗
Create a single Deployment and update the pod labels to match the Service selector
Why it's wrong here
Not typical blue-green; this would cause downtime.
- ✗
Use a single Deployment and change the container image, then perform a rolling update
Why it's wrong here
Rolling update, not blue-green.
- ✓
Use an Ingress resource to route traffic to different Services, each backing a different version
Why this is correct
Blue-green can be implemented with Ingress.
- ✗
Delete the old Deployment and create a new one
Why it's wrong here
Recreate strategy, not blue-green.
Go deeper
Related to this question
About these practice questions
This CKAD question is part of Courseiva's 160-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CKAD practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CKAD exam.