Kcna Kubernetes And Cloud Native Associate · Free Practice Question Medium
Question 17
You have a Kubernetes cluster with critical applications. Your task is to update these applications while ensuring zero downtime and that old and new versions of the application can co-exist temporarily. You also want to limit network access to these applications during the transition. What should you use? (Select two)
-
A
NetworkPolicy to isolate new versions
-
B
Rolling Updates
-
C
Recreate Deployment Strategy
-
D
Resource Quotas
-
E
Readiness Probes
Reveal correct answers
Correct answers: A, B
A.
Using NetworkPolicy, you can control the network access to your application pods. This allows you to isolate the new version from the old version if needed during the transition period.
B.
Rolling updates allow you to update the deployed application with zero downtime. Old and new versions of the application can co-exist, ensuring service continuity.
C.
The Recreate strategy will cause downtime as it kills existing pods before new ones are created.
D.
Resource quotas are used for limiting resources in namespaces but do not play a role in ensuring zero downtime during deployments.
E.
While readiness probes are essential for knowing when a pod is ready to accept traffic, they don’t inherently provide zero downtime during updates.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
