Free CKA Exam Braindumps
Certified Kubernetes Administrator Questions 51–55 (page: 12)

Updated On: 10-Feb-2026

Update the deployment with the image version 1.17.4 and verify

  1. Solution:

    kubectl set image deploy/webapp nginx=nginx:1.17.4
    //Verify
    kubectl describe deploy webapp | grep Image
    kubectl get deploy -o=jsonpath='{range.items [*]}{.[*]} {.metadata.name}{"\t"}{.spec.template.spec.containers[*].i mage}{"\n"}'

Answer(s): A



Check the rollout history and make sure everything is ok after the update

  1. Solution:

    kubectl rollout history deploy webapp
    kubectl get deploy webapp --show-labels
    kubectl get rs -l app=webapp
    kubectl get po -l app=webapp

Answer(s): A



Undo the deployment to the previous version 1.17.1 and verify Image has the previous version

  1. Solution:

    kubectl rollout undo deploy webapp
    kubectl describe deploy webapp | grep Image

Answer(s): A



Update the deployment with the image version 1.16.1 and verify the image and check the rollout history

  1. Solution:

    kubectl set image deploy/webapp nginx=nginx:1.16.1
    kubectl describe deploy webapp | grep Image
    kubectl rollout history deploy webapp

Answer(s): A



Check the history of deployment

  1. Solution:

    kubectl rollout history deployment webapp

Answer(s): A



Viewing page 12 of 26
Viewing questions 56 - 60 out of 122 questions


Post your Comments and Discuss Linux Foundation CKA exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!