CKA Dumps

CKA Free Practice Test

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

QUESTION 21

A Kubernetes worker node, namedwk8s-node-0is in stateNotReady.Investigate why this is the case, andperform any appropriate steps tobring the node to aReadystate,ensuring that any changes are madepermanent.
You cansshto the failednode using:
[student@node-1] $ | sshWk8s-node-0
You can assume elevatedprivileges on the node with thefollowing command:
[student@w8ks-node-0] $ |sudo ?Ci
Solution:
solution
F:WorkData Entry WorkData Entry20200827CKA20 C.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA20 D.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA20 E.JPG
CKA dumps exhibit

Does this meet the goal?

Correct Answer: A

QUESTION 22

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 23

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 24

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

Does this meet the goal?

Correct Answer: A

QUESTION 25

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