Kubernetes CKA/D Sample Exam Questions

that give you a first-hand idea of the type of Kubernetes exam questions that may appear in the final certification exam.

Are you getting started with Kubernetes and have such questions in mind🤔? Then you are at the right place, will help you get your doubts cleared and help you understand what the hype about this language is!! So

Lets’s Get Started

Q1) Create a new Deployment with 2 replicas and use busybox image.

Ans:

busybox

Q2) Create a new service “web-application” .
Name: web-application; Type: NodePort; ; port: 8080; nodePort: 30083; selector: simple-webapp

Ans:

web application

Q3) Create a Persistent Volume with the given specification.
Volume Name: pv-analytics, Storage: 100Mi, Access modes: ReadWriteMany, Host Path: /pv/data-analytics

Ans:

Persistent Volume

cka persistent vol

Q4) Taint the worker node to be Unschedulable. Once done, create a pod called dev-redis, image redis:alpine to ensure workloads are not scheduled to this worker node. Finally, create a new pod called prod-redis and image redis:alpine with toleration to be scheduled on node01.
key:env_type, value:production, operator: Equal and effect:NoSchedule

Ans:

getnodes

Q5) Create a Pod called non-root-pod , image: redis:alpine
runAsUser: 1000
fsGroup: 2000

Ans:

non root pod

We also offer a complete Kubernetes Exam Questions Prep Guide where learners get to practice questions to test their CKA & CKAD exam preparation before the actual exam.

FREE GUIDE

Kubernetes CKA/D Sample Exam Questions

CKA/D sample exam questions

>> KUBERNETES: NEXT TASK FOR YOU

Gaining the right skills through the right platform will get you to the perfect job.

We are launching our course Kubernetes CKA/D which will you help and guide you towards your first steps to Kubernetes. Join our FREE CLASS

to know more about it.