CKA Dumps

CKA Free Practice Test

Linux-Foundation CKA: Certified Kubernetes Administrator (CKA) Program

QUESTION 41

Create a file:
/opt/KUCC00302/kucc00302.txtthatlists all pods that implement servicebazin namespacedevelopment.
The format of the file should be onepod name per line.
Solution:
solution
F:WorkData Entry WorkData Entry20200827CKA11 B.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA11 C.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA11 D.JPG
CKA dumps exhibit

Does this meet the goal?

Correct Answer: A

QUESTION 42

For this item, you will havetosshto the nodesik8s-master-0andik8s-node-0and complete all tasks on thesenodes. Ensure that you return tothe base node (hostname:node-1) when you havecompleted this item.
Context
As an administrator of a smalldevelopment team, you have beenasked to set up a Kubernetes clusterto test the viability of a newapplication.
Task
You must usekubeadmto performthis task. Anykubeadminvocationswill require the use of the
--ignore-preflight-errors=alloption.
CKA dumps exhibit Configure thenodeik8s-master-Oas a masternode. .
CKA dumps exhibit Join the nodeik8s-node-otothe cluster.
Solution:
solution
You must use thekubeadmconfiguration file located at/etc/kubeadm.confwhen initializingyour cluster.
You may use any CNI pluginto complete this task, but ifyou don't have your favouriteCNI plugin's manifest URL athand, Calico is one popularoption:https://docs.projectcalico.org/v3.14/manifests/calico.yaml
Docker is already installedon both nodes andapthasbeen configured so that you caninstall the required tools.

Does this meet the goal?

Correct Answer: A

QUESTION 43

List all the pods sorted by name
Solution:
kubectl get pods --sort-by=.metadata.name

Does this meet the goal?

Correct Answer: A

QUESTION 44

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 45

Create a pod as follows:
CKA dumps exhibit Name:non-persistent-redis
CKA dumps exhibit container Image:redis
CKA dumps exhibit Volume with name:cache-control
CKA dumps exhibit Mount path:/data/redis
The pod should launch in thestagingnamespace and the volumemust notbe persistent.
Solution:
solution
F:WorkData Entry WorkData Entry20200827CKA13 B.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA13 C.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA13 D.JPG
CKA dumps exhibit

Does this meet the goal?

Correct Answer: A