KCNA Cloud Native Architecture Practice Question
Which of the following is a core principle of the 12-factor app methodology?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Treat logs as event streams
The 12-factor app methodology emphasizes treating logs as event streams, not files, to enable centralized processing.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Treat logs as event streams
Why this is correct
Logs should be emitted as stdout/stderr and collected by a log aggregator.
- ✗
Store configuration in the application code
Why it's wrong here
Configuration should be stored in environment variables, not in code.
- ✗
Store logs in the local filesystem of each container
Why it's wrong here
12-factor apps treat logs as event streams and should not be written to files.
- ✗
Use shared filesystems for persistent storage
Why it's wrong here
12-factor apps recommend backing services attached via resource binding.
Go deeper
Related to this question
About these practice questions
This KCNA question is part of Courseiva's 833-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This KCNA practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the KCNA exam.