Certs Vault
See all results for ""
Home Exams
CRISC ISACA CISSP ISC2 200-301 Cisco SY0-701 CompTIA AZ-104 Microsoft AI-900 Microsoft AIGP IAPP 1Z0-1067-26 Oracle View All Exams →
Sign in Create account

Certified Kubernetes Administrator CKA Exam Questions

Preparing for the CKA exam is simple with Certs Vault. We offer easy-to-understand study materials that help you learn the most important exam topics. You can study using our PDF questions, practice online with a real exam-style test, or use the desktop practice software. Choose the study method that works best for you and prepare at your own pace.

At Certs Vault, we keep our CKA practice questions up to date. Whenever the exam syllabus or objectives change, we update our study materials so you always learn the latest topics. This helps you save time, avoid outdated content, and feel more confident when you take your exam.

Download Exam View Entire Exam
Page: 1 / 1
Question #1 (Topic: Demo Questions)

SIMULATION

Check the image version in pod without the describe command

A.

See the solution below

Correct Answer: A
Explanation:

kubectl get po nginx -o

jsonpath='{.spec.containers[].image}{'\n'}'

Question #2 (Topic: Demo Questions)

SIMULATION

Get list of all pods in all namespaces and write it to file ''/opt/pods-list.yaml''

A.

See the solution below

Correct Answer: A
Explanation:

kubectl get po --all-namespaces > /opt/pods-list.yaml


Question #3 (Topic: Demo Questions)

SIMULATION

Print pod name and start time to ''/opt/pod-status'' file

A.

See the solution below

Correct Answer: A
Explanation:

kubect1 get pods -o=jsonpath='{range

items[*]}{.metadata.name}{'\t'}{.status.podIP}{'\n'}{end}'


Question #4 (Topic: Demo Questions)

Which command displays the current working directory?

A.

pwd

B.

ls

C.

cd

D.

whoami

Correct Answer: A
Question #5 (Topic: Demo Questions)

You need to display the last 20 lines of a log file.

Which command should you use?

A.

tail -20 /var/log/syslog

B.

head -20 /var/log/syslog

C.

head -20 /var/log/syslog

D.

less -20 /var/log/syslog

Correct Answer: A
Download Exam
Page: 1 / 1
Next Page