- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Certified Kubernetes Application Developer (CKAD) Practice Exam - Part 2
This lab provides practice scenarios to help prepare you for the Certified Kubernetes Application Developer (CKAD) exam. You will be presented with tasks to complete, as well as server(s) and/or an existing Kubernetes cluster to complete them in. You will need to use your knowledge of Kubernetes to successfully complete the provided tasks, much like you would on the real CKAD exam. Good luck!

Lab Info
Table of Contents
-
Challenge
Configure a Deployment's Pods to Use an Existing ServiceAccount
- Identify the Deployment called han in the default Namespace.
- Use the kubectl edit deployment han command to modify the Deployment configuration.
- In the Pod spec, add the line serviceAccountName: falcon-sa just under the spec line. This will make the Pods use the falcon-sa ServiceAccount.
- Verify the Deployment's Pods are running.
-
Challenge
Customize Security Settings for the First Container in a Deployment's Pods
- Identify the Deployment called lando in the default Namespace.
- Use the kubectl edit deployment lando command to modify the Deployment configuration.
- In the containers spec, configure the securityContext for the first container in the Pod template. Allow privilege escalation and configure the container process to run as the user with user ID 2727.
- Verify the Deployment's Pods are running. You should see the old lando Pod Terminating and a new one in a Running status.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.