We provide real CKA exam questions and answers braindumps in two formats. Download PDF & Practice Tests. Pass Linux-Foundation CKA Exam quickly & easily. The CKA PDF type is available for reading and printing. You can print more and practice many times. With the help of our Linux-Foundation CKA dumps pdf and vce product and material, you can easily pass the CKA exam.

Linux-Foundation CKA Free Dumps Questions Online, Read and Test Now.

NEW QUESTION 1
Create an nginx pod and list the pod with different levels of verbosity

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
// create a pod
kubectl run nginx --image=nginx --restart=Never --port=80
// List the pod with different verbosity kubectl get po nginx --v=7
kubectl get po nginx --v=8 kubectl get po nginx --v=9

NEW QUESTION 2
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 3
Given a partially-functioningKubernetes cluster, identifysymptoms of failure on the cluster.
Determine the node, the failingservice, and take actions to bring upthe failed service and restore thehealth of the cluster. Ensure that anychanges are made permanently.
You cansshto the relevant Inodes (bk8s-master-0orbk8s-node-0) using:
[student@node-1] $ ssh<nodename>
You can assume elevatedprivileges on any node in thecluster with the followingcommand:
[student@nodename] $ | sudo ?Ci

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:

solution
F:\Work\Data Entry Work\Data Entry\20200827\CKA\23 C.JPG
CKA dumps exhibit
F:\Work\Data Entry Work\Data Entry\20200827\CKA\23 D.JPG
CKA dumps exhibit
F:\Work\Data Entry Work\Data Entry\20200827\CKA\23 E.JPG
CKA dumps exhibit

NEW QUESTION 4
Create a file:
/opt/KUCC00302/kucc00302.txtthatlists all pods that implement servicebazin namespacedevelopment.
The format of the file should be onepod name per line.

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
solution
F:\Work\Data Entry Work\Data Entry\20200827\CKA\11 B.JPG
CKA dumps exhibit
F:\Work\Data Entry Work\Data Entry\20200827\CKA\11 C.JPG
CKA dumps exhibit
F:\Work\Data Entry Work\Data Entry\20200827\CKA\11 D.JPG
CKA dumps exhibit

NEW QUESTION 5
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 6
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 7
Create a nginx pod with label env=test in engineering namespace

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
kubectl run nginx --image=nginx --restart=Never --labels=env=test --namespace=engineering --dry-run -o yaml > nginx-pod.yaml
kubectl run nginx --image=nginx --restart=Never --labels=env=test --namespace=engineering --dry-run -o yaml | kubectl create -nengineering-f ?C
YAML File: apiVersion: v1 kind: Pod metadata: name: nginx
namespace: engineering labels:
env: test spec: containers:
- name: nginx image: nginx
imagePullPolicy: IfNotPresent restartPolicy: Never
kubectl create -f nginx-pod.yaml

NEW QUESTION 8
Get list of all the pods showing name and namespace with a jsonpath expression.

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
kubectl get pods -o=jsonpath="{.items[*]['metadata.name'
, 'metadata.namespace']}"

NEW QUESTION 9
Create a pod with environment variables as var1=value1.Check the environment variable in pod

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
kubectl run nginx --image=nginx --restart=Never --env=var1=value1
# then
kubectl exec -it nginx -- env
# or
kubectl exec -it nginx -- sh -c 'echo $var1'
# or
kubectl describe po nginx | grep value1

NEW QUESTION 10
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.

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:

Solution:
F:\Work\Data Entry Work\Data Entry\20200827\CKA\17 C.JPG
CKA dumps exhibit
F:\Work\Data Entry Work\Data Entry\20200827\CKA\17 D.JPG
CKA dumps exhibit
F:\Work\Data Entry Work\Data Entry\20200827\CKA\17 E.JPG
CKA dumps exhibit

NEW QUESTION 11
List all the pods sorted by name

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
kubectl get pods --sort-by=.metadata.name

NEW QUESTION 12
From the pod labelname=cpu-utilizer, find podsrunning high CPU workloads and
write the name of the pod consumingmost CPU to thefile/opt/KUTR00102/KUTR00102.txt(which already exists).

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
solution
F:\Work\Data Entry Work\Data Entry\20200827\CKA\16 B.JPG
CKA dumps exhibit
F:\Work\Data Entry Work\Data Entry\20200827\CKA\16 C.JPG
CKA dumps exhibit

NEW QUESTION 13
Create a snapshot of theetcdinstance running athttps://127.0.0.1:2379, saving thesnapshot to the file path /srv/data/etcd-snapshot.db.
The following TLScertificates/key are suppliedfor connecting to the server withetcdctl:
CKA dumps exhibit CA certificate:/opt/KUCM00302/ca.crt
CKA dumps exhibit Client certificate:/opt/KUCM00302/etcd-client.crt
CKA dumps exhibit Client key:Topt/KUCM00302/etcd-client.key

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
solution
F:\Work\Data Entry Work\Data Entry\20200827\CKA\18 C.JPG
CKA dumps exhibit

NEW QUESTION 14
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
CKA dumps exhibit

NEW QUESTION 15
Print pod name and start time to ??/opt/pod-status?? file

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
kubect1 get pods -o=jsonpath='{range items[*]}{.metadata.name}{"\t"}{.status.podIP}{"\n"}{end}'

NEW QUESTION 16
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 17
Create a namespace called 'development' and a pod with image nginx called nginx on this namespace.

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
kubectl create namespace development
kubectl run nginx --image=nginx --restart=Never -n development

NEW QUESTION 18
......

Thanks for reading the newest CKA exam dumps! We recommend you to try the PREMIUM Certshared CKA dumps in VCE and PDF here: https://www.certshared.com/exam/CKA/ (48 Q&As Dumps)