Free CKA Exam Dumps

Question 6

Get list of all pods in all namespaces and write it to file “/opt/pods-list.yaml”
Solution:
kubectl get po –all-namespaces > /opt/pods-list.yaml

Does this meet the goal?

Correct Answer:A

Question 7

Create a Kubernetes secret as follows:
CKA dumps exhibit Name: super-secret
CKA dumps exhibit password: bob
Create a pod named pod-secrets-via-file, using the redis Image, which mounts a secret named super-secret at /secrets.
Create a second pod named pod-secrets-via-env, using the redis Image, which exports password as
CONFIDENTIAL
Solution:

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

Does this meet the goal?

Correct Answer:A

Question 8

Score: 5%
CKA dumps exhibit
Task
From the pod label name=cpu-utilizer, find pods running high CPU workloads and write the name of the pod consuming most CPU to the file /opt/KUTR00401/KUTR00401.txt (which already exists).
Solution:

Solution:
kubectl top -l name=cpu-user -A
echo 'pod name' >> /opt/KUT00401/KUT00401.txt

Does this meet the goal?

Correct Answer:A

Question 9

Check the image version in pod without the describe command
Solution:
kubectl get po nginx -o jsonpath='{.spec.containers[].image}{"\n"}'

Does this meet the goal?

Correct Answer:A

Question 10

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?

Correct Answer:A