
Certified Kubernetes Application Developer (CKAD)
Domain 3Objective 3
Utilize Container Logs CKAD Practice Questions (Page 2)
Part of the Application Observability and Maintenance domain, which accounts for 15% of the CKAD exam. Linux Foundation does not publish an official question count, but from its 120-minute exam (~50–80 total, ~8–12 in this domain), expect 2–3 from this objective — we provide 11 practice questions to prepare you well beyond it. (estimate)
11questions here
3free pages
6concepts
15%of the exam
Questions 6–10
- 6
A developer needs to view the standard output logs from the main application container in a pod named 'web-app'. Which command retrieves these logs?
Select an answer first - 7
A container in a pod has crashed and restarted. A developer needs to see the logs from the crashed instance to debug the issue. Which flag should be used with kubectl logs?
Select an answer first - 8
A developer wants to see logs from the last 30 minutes. Which flag should be used with kubectl logs?
Select an answer first - 9
A pod named `cache` has a single container that is writing a lot of logs. You need to see the last 100 lines to check for a specific error that occurred recently. What command should you run?
Select an answer first - 10
Which kubectl command prints the logs from the container in a pod named 'api-server'?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Linux Foundation. “CKAD” is a trademark of its owner, used for identification only.