Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
 

CNCF CKA Exam Actual Questions

The questions for CKA were last updated on July 25, 2024.
  • Viewing page 1 out of 6 pages.
  • Viewing questions 1-4 out of 23 questions

Topic 1 - Single Topic

Question #1 Topic 1

SIMULATION -


Context -
You have been asked to create a new ClusterRole for a deployment pipeline and bind it to a specific ServiceAccount scoped to a specific namespace.

Task -
Create a new ClusterRole named deployment-clusterrole, which only allows to create the following resource types:
✑ Deployment
✑ Stateful Set
✑ DaemonSet
Create a new ServiceAccount named cicd-token in the existing namespace app-team1.
Bind the new ClusterRole deployment-clusterrole to the new ServiceAccount cicd-token, limited to the namespace app-team1.

Reveal Solution Hide Solution   Discussion   29

Correct Answer:

Question #2 Topic 1

SIMULATION -


Task -
Set the node named ek8s-node-0 as unavailable and reschedule all the pods running on it.

Reveal Solution Hide Solution   Discussion   23

Correct Answer:

Question #3 Topic 1

SIMULATION -


Task -
Given an existing Kubernetes cluster running version 1.22.1, upgrade all of the Kubernetes control plane and node components on the master node only to version 1.22.2.
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.

Reveal Solution Hide Solution   Discussion   11

Correct Answer:



Question #4 Topic 1

SIMULATION -


Task -
First, create a snapshot of the existing etcd instance running at https://127.0.0.1:2379, saving the snapshot to /var/lib/backup/etcd-snapshot.db.


Next, restore an existing, previous snapshot located at /var/lib/backup/etcd-snapshot-previous.db.

Reveal Solution Hide Solution   Discussion   33

Correct Answer:

Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in