nerdexam
Linux_Foundation

CKA · Question #55

You must connect to the correct host. Failure to do so may result in a zero score. [candidate@base] $ ssh cka000037 Context A legacy app needs to be integrated into the Kubernetes built-in logging arc

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

Submitted by fatema_kw· May 4, 2026Workloads and Scheduling

Question

You must connect to the correct host. Failure to do so may result in a zero score. [candidate@base] $ ssh cka000037 Context A legacy app needs to be integrated into the Kubernetes built-in logging architecture (i.e. kubectl logs). Adding a streaming co-located container is a good and common way to accomplish this requirement. Task Update the existing Deployment synergy-leverager, adding a co-located container named sidecar using the busybox:stable image to the existing Pod . The new co-located container has to run the following command: /bin/sh -c "tail -n+1 -f /var/log/synergy-leverager.log" Use a Volume mounted at /var/log to make the log file synergy-leverager.log available to the co-located container . Do not modify the specification of the existing container other than adding the required volume mount Failure to do so may result in a reduced score.

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

#Deployment#Sidecar pattern#Volumes#Container configuration
Full CKA Practice