CNCF CKA Questions & Answers

Full Version: 55 Q&A






CNCF
CKA
Certified Kubernetes Administrator
https://killexams.com/pass4sure/exam-detail/CKA

Question: 11
CORRECT TEXT
Create and configure the service front-end-service so it’s accessiblethrough NodePort and routes to the existing pod
named front-end.
Answer: solution


Question: 12
CORRECT TEXT
Ensure a single instance of pod nginx is running on each node of the Kubernetes cluster where nginx also represents
the Image name which has to be used. Do not
override any taints currently in place.
Use DaemonSet to complete this task and use ds-kusc00201 as DaemonSet name.
Answer: solution


Question: 13
CORRECT TEXT
From the pod label name=cpu-utilizer, find pods running high CPU workloads and write the name of the pod
consuming most CPU to the file /opt/KUTR00102/KUTR00102.txt (which already exists).
Answer: solution





Question: 14
CORRECT TEXT
Perform the following tasks:
Add an init container to hungry-bear (which has been defined in spec file /opt/KUCC00108/pod-spec-
KUCC00108.yaml)
The init container should create an empty file named/workdir/calm.txt
If /workdir/calm.txt is not detected, the pod should exit
Once the spec file has been updated with the init container definition, the pod should be created
Answer: solution





Question: 15
CORRECT TEXT
Create a file:
/opt/KUCC00302/kucc00302.txt that lists all pods that implement service baz in namespace development.
The format of the file should be one pod name per line.
Answer: solution





Question: 16
CORRECT TEXT
Create a deployment spec file that will:
Launch 7 replicas of the nginx Image with the labelapp_runtime_stage=dev
deployment name: kual00201
Save a copy of this spec file to /opt/KUAL00201/spec_deployment.yaml
(or /opt/KUAL00201/spec_deployment.json).
When you are done, clean up (delete) any new Kubernetes API object that you produced during this task.
Answer: solution


Question: 17
CORRECT TEXT
Create a Kubernetes secret as follows:
Name: super-secret
password: bob
Create a pod named pod-secrets-via-file, using the redis Image, which mounts a secret named super-secret at /secrets.
Create a second pod named pod-secrets-via-env, using the redis Image, which exports password as CONFIDENTIAL
Answer: solution


Question: 18
CORRECT TEXT
Score: 7%

Task
Given an existing Kubernetes cluster running version 1.20.0, upgrade all of the Kubernetes control plane and node
components on the master node only to version 1.20.1.
Be sure to drain the master node before upgrading it and uncordon it after the upgrade.


You are also expected to upgrade kubelet and kubectl on the master node.

Answer: SOLUTION:
[[email protected]] > ssh ek8s
kubectl cordon k8s-master
kubectl drain k8s-master –delete-local-data –ignore-daemonsets –force
apt-get install kubeadm=1.20.1-00 kubelet=1.20.1-00 kubectl=1.20.1-00 — disableexcludes=kubernetes
kubeadm upgrade apply 1.20.1 –etcd-upgrade=false
systemctl daemon-reload
systemctl restart kubelet
kubectl uncordon k8s-master
Question: 19
CORRECT TEXT
A Kubernetes worker node, named wk8s-node-0 is in state NotReady. Investigate why this is the case, and perform
any appropriate steps to bring the node to a Ready state, ensuring that any changes are made permanent.
You can ssh to the failed node using:
[[email protected]] $ | ssh Wk8s-node-0
You can assume elevated privileges on the node with the following command:
[[email protected]] $ | sudo Ci
Answer: solution





Question: 20
CORRECT TEXT
Create a pod as follows:
Name: non-persistent-redis
container Image: redis
Volume with name: cache-control
Mount path: /data/redis
The pod should launch in the staging namespace and the volume must not be persistent.
Answer: solution
For More exams visit https://killexams.com/vendors-exam-list

User: Vasily*****

killexams.com provides splendid exam preparation resources for the cka exam. I purchased their material because I could not find any reliable books or PDFs to study from. Their practice exams provided real questions that accurately reflected the exam format, with no irrelevant or unnecessary information. I highly recommend killexams.com to anyone taking the cka exam.
User: Rahil*****

I passed my exam with the platform, and it was an experience that I will never forget. The team was encouraging and convinced me to try their exam questions, and I am glad I did. It was reasonably priced and it gave me the confidence I needed to get a high mark on the exam.
User: Lyudmila*****

The cka exam was very hard for me, but Killexams made it manageable. I had appeared for the exam last year and failed. The test guide that I found through Killexams was the best guide I have ever bought for my exam preparations. It handled the cka material superbly, and even a slow learner like me was able to cope with it. I passed with 89% marks and felt on top of the world. Thanks, Killexams!
User: Zoria*****

killexams.com provided me with the best guidance I have ever experienced for my cka certification exams. They consistently updated the cka questions and answers, ensuring they were relevant and helpful in passing the exam stress-free.
User: Nick*****

Initially, I felt unsure whether I would pass the CKA exam and was on the verge of giving up. However, with a week remaining, I decided to switch to Killexams.com Questions and Answers for my exam education. I was pleasantly surprised to find that topics I had previously found dull were now engaging, thanks to the easy and concise manner in which the material was presented. All credit goes to Killexams.com Questions and Answers for enabling me to pass with flying colors.

Features of iPass4sure CKA Exam

  • Files: PDF / Test Engine
  • Premium Access
  • Online Test Engine
  • Instant download Access
  • Comprehensive Q&A
  • Success Rate
  • Real Questions
  • Updated Regularly
  • Portable Files
  • Unlimited Download
  • 100% Secured
  • Confidentiality: 100%
  • Success Guarantee: 100%
  • Any Hidden Cost: $0.00
  • Auto Recharge: No
  • Updates Intimation: by Email
  • Technical Support: Free
  • PDF Compatibility: Windows, Android, iOS, Linux
  • Test Engine Compatibility: Mac / Windows / Android / iOS / Linux

Premium PDF with 55 Q&A

Get Full Version

All CNCF Exams

CNCF Exams

Certification and Entry Test Exams

Complete exam list