KCNA Cloud Native Architecture Practice Question
Which of the following best describes 'Infrastructure as Code' (IaC)?
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
✓
Defining infrastructure resources in a declarative configuration file
IaC is the practice of managing and provisioning infrastructure through machine-readable definition files, rather than manual processes.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Manually configuring servers via SSH
Why it's wrong here
Manual configuration is the opposite of IaC.
- ✗
Using a scripting language to automate tasks
Why it's wrong here
Scripting is a form of automation but not necessarily declarative IaC.
- ✗
Running containers on a Kubernetes cluster
Why it's wrong here
Running containers is a workload deployment, not IaC.
- ✓
Defining infrastructure resources in a declarative configuration file
Why this is correct
IaC uses declarative or imperative code to define infrastructure, promoting version control and reproducibility.
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.