| Exam Code/Number: | CKADJoin the discussion |
| Exam Name: | Linux Foundation Certified Kubernetes Application Developer Exam |
| Certification: | Linux Foundation |
| Question Number: | 239 |
| Publish Date: | Jul 14, 2026 |
|
Rating
100%
|
|
You have a Kubernetes cluster With several deployments using secrets for sensitive information. You need to implement a mechanism to ensure that these secrets are rotated regularly to enhance security. Explain how you can achieve this using Kubernetes native features, and provide a detailed example demonstrating the process of secret rotation for a deployment called "myapp" which utilizes a secret named "myapp-secret".


You have a Deployment named 'wordpress-deployment' that runs a WordPress application. You want to ensure that Kubernetes automatically restarts pods if tney experience an unexpected termination, such as a container crasn. Implement the necessary configuration for your deployment.

You are building a microservices application with two services, 'user-service' and 'order-service'. Both services have dedicated Dockerfiles for building their container images. You want to optimize the image build process by minimizing the size of the final images. You also want to ensure that the image build process is reproducible and reliable. How can you achieve these goals using Dockerfile best practices and multi-stage builds?
You have a Kubernetes cluster with a deployment named 'myapp'. This deployment utilizes a service account named 'my-sas to access a private registry. You need to grant this service account access to pull images from the registry, which requires an image pull secret named 'my-secret How would you configure the service account to use this image pull secret and ensure your myapp' deployment can successfully pull images?





Task:
1) Create a secret named app-secret in the default namespace containing the following single key-value pair:
Key3: value1
2) Create a Pod named ngnix secret in the default namespace.Specify a single container using the nginx:stable image.
Add an environment variable named BEST_VARIABLE consuming the value of the secret key3.



LinuxFoundation.CKAD.v2024-06-10.q33
Jun 10, 2024
LinuxFoundation.CKAD.v2023-09-25.q33
Sep 25, 2023
LinuxFoundation.CKAD.v2023-04-13.q16
Apr 13, 2023
LinuxFoundation.CKAD.v2022-07-30.q7
Jul 30, 2022
LinuxFoundation.CKAD.v2022-06-14.q7
Jun 14, 2022