Refer to Exhibit.Set Configuration Context:[student@node-1] $ | kubectlConfig use-context k8sContextA web application requires a specific version of redis to be used as a cache.Task:Create a pod with the following characteristics, and leave it running when complete:-The pod must run in the web namespace.The namespace has already been created-The name of the pod should be cache-Use the Ifccncf/redis image with the 3.2 tag-Expose port 6379
Answer(s): A
Solution:
Refer to Exhibit.ContextYou are tasked to create a secret and consume the secret in a pod using environment variables as follow:Task:-Create a secret named another-secret with a key/value pair; key1/value4 -Start an nginx pod named nginx-secret using container image nginx, and add an environment variable exposing the value of the secret key key 1, using COOL_VARIABLE as the name for the environment variable inside the pod
Refer to Exhibit.Task:You are required to create a pod that requests a certain amount of CPU and memory, so it gets scheduled to-a node that has those resources available.-Create a pod named nginx-resources in the pod-resources namespace that requests a minimum of 200m CPU and 1Gi memory for its container-The pod should use the nginx image-The pod-resources namespace has already been created
Refer to Exhibit.ContextYou are tasked to create a ConfigMap and consume the ConfigMap in a pod using a volume mount.Task:Please complete the following:-Create a ConfigMap named another-config containing the key/value pair: key4/value3 -start a pod named nginx-configmap containing a single container using the nginx image, and mount the key you just created into the pod under directory /also/a/path
Refer to Exhibit.ContextYour application's namespace requires a specific service account to be used.Task:Update the app-a deployment in the production namespace to run as the restrictedservice service account. The service account has already been created.
Post your Comments and Discuss Linux Foundation CKAD exam dumps with other Community members:
rakish Commented on October 11, 2025 good and very helpful UNITED STATES
KP Commented on April 25, 2025 Quite helpful and hope this will help to crack the exam Anonymous
st Commented on February 27, 2025 hope will get similar questions Anonymous
Ajay Kumar Yadav Commented on January 22, 2025 Great insight. INDIA
Ajay Kumar Yadav Commented on January 22, 2025 informative INDIA
Ajay Kumar Yadav Commented on January 22, 2025 Very informative INDIA
javed Commented on December 21, 2024 very good practice test for certification UNITED ARAB EMIRATES
Alex Z Commented on December 15, 2024 Great insight. UNITED STATES
chmes Commented on December 11, 2024 course is informative UNITED KINGDOM
Isha Commented on December 05, 2024 Useful certification. INDIA
Ugobase Commented on December 03, 2024 Good insight Anonymous
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the CKAD content, but please register or login to continue.