CKAD · Question #9
CKAD Question #9: Real Exam Question with Answer & Explanation
Sign in or unlock CKAD to reveal the answer and full explanation for question #9. The question stem and answer options stay visible for context.
Question
Anytime a team needs to run a container on Kubernetes they will need to define a pod within which to run the container. Please complete the following: * Create a YAML formatted pod manifest /opt/KDPD00101/pod1.yml to create a pod named app1 that runs a container named app1cont using image lfconf/arg-output with these command line arguments: -lines 56 -f * Create the pod with the kubectl command using the YAML file created in the previous step * When the pod is running,display summary data about the pod in JSON format using the kubectl command and redirect the output to a file named /opt/KDPD00101/out1.json
Unlock CKAD to see the answer
You've previewed enough free CKAD questions. Unlock CKAD for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.