Proper study guides for Update Linux-Foundation Certified Kubernetes Administrator (CKA) Program certified begins with Linux-Foundation CKA preparation products which designed to deliver the Validated CKA questions by making you pass the CKA test at your first time. Try the free CKA demo right now.
Linux-Foundation CKA Free Dumps Questions Online, Read and Test Now.
NEW QUESTION 1
Ensure a single instance of podnginxis running on each node of theKubernetes cluster wherenginxalso represents the Image name whichhas to be used. Do not override anytaints currently in place.
UseDaemonSetto complete thistask and useds-kusc00201asDaemonSet name.
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
solution
F:\Work\Data Entry Work\Data Entry\20200827\CKA\3 B.JPG
F:\Work\Data Entry Work\Data Entry\20200827\CKA\3 C.JPG
F:\Work\Data Entry Work\Data Entry\20200827\CKA\3 D.JPG
F:\Work\Data Entry Work\Data Entry\20200827\CKA\3 E.JPG
NEW QUESTION 2
Get list of all pods in all namespaces and write it to file ??/opt/pods-list.yaml??
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
kubectl get po ?Call-namespaces > /opt/pods-list.yaml
NEW QUESTION 3
Configure the kubelet systemd-managed service, on the nodelabelled withname=wk8s-node-1, tolaunch a pod containing a singlecontainer of Imagehttpdnamedwebtoolautomatically. Any spec filesrequired should be placed in the/etc/kubernetes/manifestsdirectoryon the node.
You canssh to theappropriate node using:
[student@node-1] $ sshwk8s-node-1
You can assume elevatedprivileges on the node with thefollowing command:
[student@wk8s-node-1] $ |sudo ?Ci
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
solution
F:\Work\Data Entry Work\Data Entry\20200827\CKA\21 C.JPG
F:\Work\Data Entry Work\Data Entry\20200827\CKA\21 D.JPG
F:\Work\Data Entry Work\Data Entry\20200827\CKA\21 E.JPG
F:\Work\Data Entry Work\Data Entry\20200827\CKA\21 F.JPG
F:\Work\Data Entry Work\Data Entry\20200827\CKA\21 G.JPG
NEW QUESTION 4
Create and configure the servicefront-end-serviceso it's accessiblethroughNodePortand routes to theexisting pod namedfront-end.
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
solution
F:\Work\Data Entry Work\Data Entry\20200827\CKA\8 B.JPG
NEW QUESTION 5
List all persistent volumes sorted bycapacity, saving the fullkubectloutput to
/opt/KUCC00102/volume_list. Usekubectl 's own functionality forsorting the output, and do not manipulate it any further.
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
solution
F:\Work\Data Entry Work\Data Entry\20200827\CKA\2 C.JPG
NEW QUESTION 6
Check the Image version of nginx-dev pod using jsonpath
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
kubect1 get po nginx-dev -o jsonpath='{.spec.containers[].image}{"\n"}'
NEW QUESTION 7
List ??nginx-dev?? and ??nginx-prod?? pod and delete those pods
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
kubect1 get pods -o wide
kubectl delete po ??nginx-dev??kubectl delete po ??nginx-prod??
NEW QUESTION 8
Create a pod that having 3 containers in it? (Multi-Container)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
image=nginx, image=redis, image=consul Name nginx container as ??nginx-container?? Name redis container as ??redis-container?? Name consul container as ??consul-container??
Create a pod manifest file for a container and append container section for rest of the images
kubectl run multi-container --generator=run-pod/v1 --image=nginx -- dry-run -o yaml > multi-container.yaml
# then
vim multi-container.yaml apiVersion: v1
kind: Pod metadata: labels:
run: multi-container name: multi-container spec:
containers:
- image: nginx
name: nginx-container
- image: redis
name: redis-container
- image: consul
name: consul-container
restartPolicy: Always
NEW QUESTION 9
Create a busybox pod and add ??sleep 3600?? command
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
kubectl run busybox --image=busybox --restart=Never -- /bin/sh -c "sleep 3600"
NEW QUESTION 10
List the nginx pod with custom columns POD_NAME and POD_STATUS
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
kubectl get po -o=custom-columns="POD_NAME:.metadata.name, POD_STATUS:.status.containerStatuses[].state"
NEW QUESTION 11
......
Thanks for reading the newest CKA exam dumps! We recommend you to try the PREMIUM Thedumpscentre.com CKA dumps in VCE and PDF here: https://www.thedumpscentre.com/CKA-dumps/ (48 Q&As Dumps)