Free CKA Exam Braindumps

Pass your Certified Kubernetes Administrator (CKA) Program exam with these free Questions and Answers

Page 5 of 14
QUESTION 16

Monitor the logs of pod foo and:
CKA dumps exhibit Extract log lines corresponding to error unable-to-access-website
CKA dumps exhibit Write them to/opt/KULM00201/foo
CKA dumps exhibit
Solution:

solution
F:WorkData Entry WorkData Entry20200827CKA1 B.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA1 C.JPG
CKA dumps exhibit

Does this meet the goal?

  1. A. Yes
  2. B. No

Correct Answer: A

QUESTION 17

Perform the following tasks:
CKA dumps exhibit Add an init container to hungry-bear (which has been defined in spec file
/opt/KUCC00108/pod-spec-KUCC00108.yaml)
CKA dumps exhibit The init container should create an empty file named/workdir/calm.txt
CKA dumps exhibit If /workdir/calm.txt is not detected, the pod should exit
CKA dumps exhibit Once the spec file has been updated with the init container definition, the pod should be created
Solution:
solution
F:WorkData Entry WorkData Entry20200827CKA4 B.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA4 C.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA4 D.JPG
CKA dumps exhibit

Does this meet the goal?

  1. A. Yes
  2. B. No

Correct Answer: A

QUESTION 18

Score: 5%
CKA dumps exhibit
Task
Monitor the logs of pod bar and:
• Extract log lines corresponding to error file-not-found
• Write them to /opt/KUTR00101/bar
Solution:
Solution:
kubectl logs bar | grep 'unable-to-access-website' > /opt/KUTR00101/bar cat /opt/KUTR00101/bar

Does this meet the goal?

  1. A. Yes
  2. B. No

Correct Answer: A

Page 5 of 14

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