Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation Exam CKA Topic 4 Question 61 Discussion

Actual exam question for Linux Foundation's CKA exam
Question #: 61
Topic #: 4
[All CKA Questions]

Perform the following tasks:

Add an init container to hungry-bear (which has been defined in spec file /opt/KUCC00108/pod-spec-KUC C00108.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

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Coral
3 days ago
Wait, what if the file already exists? Will the pod still exit? I better double-check the requirements.
upvoted 0 times
...
Emiko
9 days ago
Looks straightforward, just need to add the init container definition to the pod spec and create the pod. Easy peasy!
upvoted 0 times
...
Yasuko
10 days ago
Yes, if the file is not detected, the pod should exit to avoid any issues.
upvoted 0 times
...
Maryann
13 days ago
I agree, the init container creating an empty file is necessary for the pod to function properly.
upvoted 0 times
...
Yasuko
16 days ago
I think adding an init container to hungry-bear is important for the task.
upvoted 0 times
...

Save Cancel