Linux Foundation CKA Practice Test - Questions Answers, Page 4

List of questions
Question 31

Create a pod that echo "hello world" and then exists. Have the pod deleted automatically when it's completed
Question 32

Create a pod with environment variables as var1=value1.Check the environment variable in pod
Question 33

Get list of all the pods showing name and namespace with a jsonpath expression.
Question 34

Check the image version in pod without the describe command
Question 35

List the nginx pod with custom columns POD_NAME and POD_STATUS
Question 36

List all the pods sorted by name
Question 37

Create a pod that having 3 containers in it? (Multi-Container)
Question 38

Create 2 nginx image pods in which one of them is labelled with env=prod and another one labelled with env=dev and verify the same.
Question 39

Get IP address of the pod – "nginx-dev"
Question 40

Print pod name and start time to "/opt/pod-status" file
Question