Online CKA Practice TestMore Linux-Foundation Products >

Free Linux-Foundation CKA Exam Dumps Questions

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

- Get instant access to CKA practice exam questions

- Get ready to pass the Certified Kubernetes Administrator (CKA) Program exam right now using our Linux-Foundation CKA exam package, which includes Linux-Foundation CKA practice test plus an Linux-Foundation CKA Exam Simulator.

- The best online CKA exam study material and preparation tool is here.

4.5 
(555 ratings)

Question 1

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 2

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 3

Create a pod namedkucc8with asingle app container for each of the
following images running inside(there may be between 1 and 4images specified): nginx + redis + memcached.
Solution:
solution
F:WorkData Entry WorkData Entry20200827CKA5 B.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA5 C.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA5 D.JPG
CKA dumps exhibit

Does this meet the goal?

Correct Answer:A

Question 4

Create a deployment as follows:
CKA dumps exhibit Name:nginx-random
CKA dumps exhibit Exposed via a servicenginx-random
CKA dumps exhibit Ensure that the service & podare accessible via theirrespective DNS records
CKA dumps exhibit The container(s) within anypod(s) running as a part of thisdeployment should use thenginxImage
Next, use the utilitynslookupto lookup the DNS records of the service &pod and write the output to
/opt/KUNW00601/service.dnsand/opt/KUNW00601/pod.dnsrespectively.
Solution:

Solution:
F:WorkData Entry WorkData Entry20200827CKA17 C.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA17 D.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA17 E.JPG
CKA dumps exhibit

Does this meet the goal?

Correct Answer:A

Question 5

Create a pod that having 3 containers in it? (Multi-Container)
Solution:
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

Does this meet the goal?

Correct Answer:A

Question 6

Create a Kubernetes secret asfollows:
CKA dumps exhibit Name: super-secret
CKA dumps exhibit password: bob
Create a pod namedpod-secrets-via-file, using theredisImage, which mounts a secret namedsuper-secretat
/secrets.
Create a second pod namedpod-secrets-via-env, using theredisImage, which exportspasswordas
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

START CKA EXAM