Kubernetes CKAD Example Exam Questions Practical Challenge Series

#####################################
THIS CHALLENGE WON’T BE UPDATED HERE AND MOVED TO:
https://killercoda.com/killer-shell-ckad
######################################
Why?
CKAD is all about the practical experience with Kubernetes which I like about this certificate. Also apart from the certificate having not just theoretical knowledge is awesome… and fun!
Challenges:
- Creating Pods
- Namespaces, Deployments and Services
- CronJobs and Volumes
- Deployment Rollout Rollback
- Secrets and ConfigMaps
- NetworkPolicy
- Service Migration
- (moved to CKA challenge series)
- Logging Sidecar
- Deployment Hacking
- SecurityContexts
- Various Environment Variables
- ReplicaSet without Downtime
More Challenges
For a completely simulated environment check out the:

How to be efficient?
You can configure Kubernetes in different ways, you can write a yaml file from scratch and then kubectl create
it, but this takes time.
Or you can use kubectl run
to create your object directly using mostly default values, then you can output the yaml with something like kubectl get pod my-pod -o yaml --export
and further adjust it. Or even use kubectl create --dry-run -o yaml
to not even create objects.
Or you wget
an example yaml from the Kubernetes docs and adjust it.
Monitor your cluster
I usually run this command all the time in an open Terminal to always check what’s happening in my cluster:
watch -n 0.5 "kubectl config current-context; echo ''; kubectl config view | grep namespace; echo ''; kubectl get namespace,node,ingress,pod,svc,job,cronjob,deployment,rs,pv,pvc,secret,ep -o wide"
It prints out the current context, namespace and then all possible Kubernetes objects.