Courseiva
Cloud Native ArchitecturemediumMultiple ChoiceObjective-mapped

KCNA Cloud Native Architecture Practice Question

Which of the following best describes the 12-factor app methodology's approach to configuration?

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

Configuration is stored in environment variables

The 12-factor app methodology states that configuration should be stored in environment variables to separate config from code.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Configuration is hardcoded in the application code

    Why it's wrong here

    Hardcoding config violates the principle of separating config from code.

  • Configuration is stored in environment variables

    Why this is correct

    12-factor apps store config in environment variables for ease of change across deployments.

  • Configuration is stored in a database and accessed at runtime

    Why it's wrong here

    This is not recommended; configuration should be externalized via environment variables.

  • Configuration is managed by a configuration server

    Why it's wrong here

    While possible, the 12-factor methodology specifically emphasizes environment variables.

About these practice questions

One of 833 original KCNA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.