CKAD Kubernetes Deployment Strategies Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 11 | Questions: 20 | Updated: Aug 16, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. The revisionHistoryLimit field controls how many old ReplicaSets are retained. True or False?

Explanation

In a Kubernetes Deployment, `revisionHistoryLimit` sets how many old ReplicaSets are kept after updates. These retained ReplicaSets support rolling back to previous versions. Once the limit is exceeded, older ReplicaSets are removed; setting the limit to zero disables keeping old ReplicaSets for rollback.

Submit
Please wait...
About This Quiz
CKAD Kubernetes Deployment Strategies Quiz - Quiz

This quiz evaluates your understanding of Kubernetes deployment strategies essential for the CKAD exam. It covers rolling updates, blue-green deployments, canary releases, and related concepts for managing application lifecycle in Kubernetes clusters. Master these strategies to design reliable, scalable applications and pass your certification.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. A blue-green deployment requires significant additional infrastructure compared to rolling updates. True or False?

Explanation

True. Blue-green deployment keeps two separate environments—one serving live traffic and another prepared for the new release. This requires additional infrastructure and resources, whereas rolling updates replace instances gradually within the existing environment.

Submit

3. Which command shows the rollout history of a deployment?

Explanation

`kubectl rollout history deployment ` displays the recorded revisions of a deployment and details about changes made across rollouts. This history helps you review prior versions and identify a revision to roll back to if an update causes problems.

Submit

4. The minReadySeconds field specifies the minimum time a pod must be ready before counting as available. True or False?

Explanation

`minReadySeconds` sets how long a newly created Pod must remain in the Ready state without interruption before Kubernetes considers it available. This helps ensure the Pod is stable and able to serve traffic before it counts toward the workload’s availability.

Submit

5. A canary deployment is less risky than a blue-green deployment for catching issues early. True or False?

Explanation

A canary deployment releases a change to a small group of users or servers first, allowing teams to monitor for problems before expanding rollout. This limits the impact of issues and makes early detection and rollback easier than deploying the change to the full environment at once.

Submit

6. What is the purpose of a readiness probe in a rolling update deployment?

Explanation

A readiness probe checks whether a new pod is functioning and able to handle requests. During a rolling update, traffic is directed to the new pod only after it passes the probe, helping prevent requests from reaching an unready instance.

Submit

7. Kubernetes automatically pauses a deployment if it detects too many failed pod creations. True or False?

Explanation

Repeated Pod creation failures can prevent a Deployment rollout from making progress. Kubernetes detects this stalled rollout and pauses further rollout activity, helping avoid continued attempts while the underlying issue is investigated and resolved.

Submit

8. In a blue-green deployment, the ____ is instantly switched to point to the new version.

Explanation

Blue-green deployment maintains separate environments for the current and new versions. Once the new version is ready, traffic is redirected by switching the service to point to it, enabling a quick release with minimal downtime and an easy rollback if problems occur.

Submit

9. Which command rolls back a deployment to the previous version?

Explanation

`kubectl rollout undo deployment/` reverses the deployment’s most recent rollout by restoring the configuration from its previous revision. Kubernetes updates the deployment and manages the transition back to the earlier version. The command shown omits the deployment name, which must be supplied when running it.

Submit

10. A rolling update strategy can be configured with progressDeadlineSeconds to define a timeout. True or False?

Explanation

True. In Kubernetes, `progressDeadlineSeconds` sets the time a Deployment may take to make progress during a rolling update. If the deadline is exceeded, the Deployment is marked as failed, allowing the issue to be detected and addressed.

Submit

11. What is the default deployment strategy in Kubernetes?

Explanation

Kubernetes uses the Rolling Update strategy by default for Deployments. It gradually replaces old Pods with new ones, helping maintain application availability while the update is in progress.

Submit

12. Service mesh tools like Istio are commonly used to manage which deployment strategy?

Explanation

Istio can gradually route a small portion of traffic to a new application version while keeping most traffic on the stable version. This supports canary deployments, allowing teams to monitor performance and catch issues before expanding the rollout.

Submit

13. Which deployment strategy stops all running pods before creating new ones?

Explanation

The Recreate strategy shuts down all existing pods before starting the new version. This can cause brief downtime, unlike a rolling update, which gradually replaces pods while keeping the application available.

Submit

14. In Kubernetes, the ____ field in spec defines the deployment strategy type.

Explanation

The `strategy` field in a Deployment’s `spec` specifies how Kubernetes replaces existing Pods when updating an application. Common strategy types include `RollingUpdate`, which gradually replaces Pods to maintain availability, and `Recreate`, which stops existing Pods before creating new ones.

Submit

15. A canary deployment typically exposes the new version to what percentage of traffic first?

Explanation

A canary deployment initially routes only a small portion of user traffic to the new version—typically 25% or less. This lets teams monitor performance, errors, and user impact before gradually increasing exposure. If problems appear, they can roll back or limit the release while affecting fewer users.

Submit

16. What does the maxSurge parameter specify in a rolling update?

Explanation

In a rolling update, `maxSurge` sets the maximum number of additional pods that may be created above the desired replica count while the update is in progress. This allows new pods to start before old ones are removed, helping maintain service capacity during the transition.

Submit

17. The recreate strategy minimizes downtime during deployments. True or False?

Explanation

A recreate deployment stops the existing application instances before starting the new version. During that transition, the application may be unavailable, causing downtime. Strategies such as rolling updates or blue-green deployments are generally designed to keep the service available while the new version is deployed, so recreate does not minimize downtime.

Submit

18. Which deployment strategy gradually shifts traffic to a new version?

Explanation

A canary deployment gradually routes a small portion of traffic to the new version while most users remain on the stable version. If the new version performs well, traffic is increased until it serves everyone. This allows teams to detect issues early and reduce deployment risk.

Submit

19. A blue-green deployment requires running two complete versions simultaneously. True or False?

Explanation

Blue-green deployment maintains two complete, equivalent environments at the same time. One serves live traffic while the other receives and tests the new version. Once verified, traffic switches to the updated environment; the previous one remains available for a quick rollback.

Submit

20. In a rolling update, which field controls the maximum number of pods unavailable?

Explanation

In a Kubernetes rolling update, `maxUnavailable` sets the maximum number of desired pods that may be unavailable at once while the update proceeds. This lets you balance rollout speed against service availability. `maxSurge`, by contrast, controls how many extra pods may be created temporarily.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
The revisionHistoryLimit field controls how many old ReplicaSets are...
A blue-green deployment requires significant additional infrastructure...
Which command shows the rollout history of a deployment?
The minReadySeconds field specifies the minimum time a pod must be...
A canary deployment is less risky than a blue-green deployment for...
What is the purpose of a readiness probe in a rolling update...
Kubernetes automatically pauses a deployment if it detects too many...
In a blue-green deployment, the ____ is instantly switched to point to...
Which command rolls back a deployment to the previous version?
A rolling update strategy can be configured with...
What is the default deployment strategy in Kubernetes?
Service mesh tools like Istio are commonly used to manage which...
Which deployment strategy stops all running pods before creating new...
In Kubernetes, the ____ field in spec defines the deployment strategy...
A canary deployment typically exposes the new version to what...
What does the maxSurge parameter specify in a rolling update?
The recreate strategy minimizes downtime during deployments. True or...
Which deployment strategy gradually shifts traffic to a new version?
A blue-green deployment requires running two complete versions...
In a rolling update, which field controls the maximum number of pods...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!