Certified Kubernetes Administrator (CKA) Program
Last Update Oct 3, 2023
Total Questions : 67
To help you prepare for the CKA Linux Foundation exam, we are offering free CKA Linux Foundation exam questions. All you need to do is sign up, provide your details, and prepare with the free CKA practice questions. Once you have done that, you will have access to the entire pool of Certified Kubernetes Administrator (CKA) Program CKA test questions which will help you better prepare for the exam. Additionally, you can also find a range of Certified Kubernetes Administrator (CKA) Program resources online to help you better understand the topics covered on the exam, such as Certified Kubernetes Administrator (CKA) Program CKA video tutorials, blogs, study guides, and more. Additionally, you can also practice with realistic Linux Foundation CKA exam simulations and get feedback on your progress. Finally, you can also share your progress with friends and family and get encouragement and support from them.
Create a busybox pod that runs the command “env” and save the output to “envpod” file
Create a pod with environment variables as var1=value1.Check the environment variable in pod
Score: 4%
Task
Schedule a pod as follows:
• Name: nginx-kusc00401
• Image: nginx
• Node selector: disk=ssd
Score:7%
Context
An existing Pod needs to be integrated into the Kubernetes built-in logging architecture (e. g. kubectl logs). Adding a streaming sidecar container is a good and common way to accomplish this requirement.
Task
Add a sidecar container named sidecar, using the busybox Image, to the existing Pod big-corp-app. The new sidecar container has to run the following command:
/bin/sh -c tail -n+1 -f /va r/log/big-corp-app.log
Use a Volume, mounted at /var/log, to make the log file big-corp-app.log available to the sidecar container.