nerdexam
Linux_Foundation

CKA · Question #4

Perform the following tasks: Add an init container to hungry-bear (which has been defined in spec file /opt/KUCC00108/pod-spec-KUCC00108.yaml) The init container should create an empty file named /wor

Sign in or unlock CKA to reveal the answer and full explanation for question #4. The question stem and answer options stay visible for context.

Submitted by obi.ng· May 4, 2026Workloads and Scheduling

Question

Perform the following tasks: Add an init container to hungry-bear (which has been defined in spec file /opt/KUCC00108/pod-spec-KUCC00108.yaml) The init container should create an empty file named /workdir/calm.txt If /workdir/calm.txt is not detected, the pod should exit Once the spec file has been updated with the init container definition, the pod should be created

Exhibit

CKA question #4 exhibit

Unlock CKA to see the answer

You've previewed enough free CKA questions. Unlock CKA 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.

Topics

#Init Containers#Pods#Workload Definition#Container Lifecycle
Full CKA Practice