Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 9 pages
Exam (elaborations)

Certified Kubernetes Administrator (CKA) ACTUAL PERFORMANCE TASK SIMULATION 2026/2027 | Hands-On kubectl Tasks | No Multiple Choice | Exam Environment Simulation | Pass Guaranteed - A+ Graded

Document preview thumbnail
Preview 2 out of 9 pages

Certified Kubernetes Administrator (CKA) ACTUAL PERFORMANCE TASK SIMULATION 2026/2027 | Hands-On kubectl Tasks | No Multiple Choice | Exam Environment Simulation | Pass Guaranteed - A+ Graded

Content preview

S


Certified Kubernetes Administrator (CKA) ACTUAL
PERFORMANCE TASK SIMULATION 2026/2027 | Hands-
On kubectl Tasks | No Multiple Choice | Exam Environment
Simulation | Pass Guaranteed - A+ Graded



Cluster Architecture, Installation & Configuration (Tasks 1-4)

Task 1: Create a new ClusterRole named pod-reader that grants read-only access (get, list,
watch) to pods in all namespaces. Then bind this ClusterRole to the user jane in the development
namespace using a RoleBinding named jane-read-pods.

Correct Solution:

bash

Copy

kubectl create clusterrole pod-reader --verb=get,list,watch --resource=pods

kubectl create rolebinding jane-read-pods --clusterrole=pod-reader --user=jane -n development



Task 2: You have a kubeadm-managed cluster running v1.28.2. Upgrade the control plane node
to Kubernetes v1.29.0 with minimal downtime. The upgrade must be performed using kubeadm
and kubelet. Assume you are on the control plane node.

Correct Solution:

bash

Copy

# Drain the control plane node (if not already done)

kubectl drain control-plane-node --ignore-daemonsets



# Upgrade kubeadm

apt-mark unhold kubeadm && apt-get update && apt-get install -y kubeadm=1.29.0-00 && apt-
mark hold kubeadm

, S



# Verify upgrade plan and apply

kubeadm upgrade plan

kubeadm upgrade apply v1.29.0



# Upgrade kubelet and kubectl

apt-mark unhold kubelet kubectl && apt-get update && apt-get install -y kubelet=1.29.0-00
kubectl=1.29.0-00 && apt-mark hold kubelet kubectl



# Restart kubelet

systemctl daemon-reload

systemctl restart kubelet



# Uncordon the node

kubectl uncordon control-plane-node



Task 3: Create an etcd snapshot backup of the cluster's etcd data and save it to /var/lib/etcd-
backup/etcd-snapshot-$(date +%Y%m%d).db. The etcd endpoint is https://127.0.0.1:2379 and
the certificates are located at /etc/kubernetes/pki/etcd/.

Correct Solution:

bash

Copy

ETCDCTL_API=3 etcdctl snapshot save /var/lib/etcd-backup/etcd-snapshot-$(date
+%Y%m%d).db \

--endpoints=https://127.0.0.1:2379 \

--cacert=/etc/kubernetes/pki/etcd/ca.crt \

--cert=/etc/kubernetes/pki/etcd/server.crt \

--key=/etc/kubernetes/pki/etcd/server.key

Document information

Uploaded on
February 9, 2026
Number of pages
9
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$14.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TutorRicks
3.6
(50)
Sold
372
Followers
51
Items
2908
Last sold
3 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions