Free CKA Exam Braindumps
Certified Kubernetes Administrator Questions 21–25 (page: 6)

Updated On: 10-Feb-2026

List all the pods sorted by name

  1. Solution:

    kubectl get pods --sort-by=.metadata.name

Answer(s): A



List all the pods sorted by created timestamp

  1. Solution:
    kubect1 get pods--sort-by=.metadata.creationTimestamp

Answer(s): A



List all the pods showing name and namespace with a json path expression

  1. Solution:
    kubectl get pods -o=jsonpath="{.items[*]['metadata.name', 'metadata.namespace']}"

Answer(s): A



List "nginx-dev" and "nginx-prod" pod and delete those pods

  1. Solution:

    kubect1 get pods -o wide
    kubectl delete po "nginx-dev"
    kubectl delete po "nginx-prod"

Answer(s): A



Delete the pod without any delay (force delete)

  1. Solution:
    Kubect1 delete po "POD-NAME" --grace-period=0 ­force

Answer(s): A



Viewing page 6 of 26
Viewing questions 26 - 30 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!