Courseiva
AI and Network OperationseasyMatchingObjective-mapped

CCNA Infrastructure as Code Practice Question

Match each common automation term to its most accurate meaning.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Centralized management or policy platform

Defined software interface for communication

Lightweight structured data format

Secure transport commonly used for API access

⚠ Common exam trap

Candidates often confuse the languages and architectures of automation tools. Remember: Ansible = YAML + agentless; Chef = Ruby DSL; Puppet = declarative manifests (custom DSL); SaltStack = master-minion with agents.

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

Infrastructure as Code: Managing infrastructure through machine-readable definition files

Infrastructure as Code (IaC) refers to managing and provisioning infrastructure through machine-readable definition files, enabling automation and version control. Idempotence means that performing the same operation multiple times results in the same state, ensuring consistency. The declarative model allows the user to define the desired end state, and the system automatically determines how to achieve it. In contrast, the imperative model requires the user to specify step-by-step instructions to reach the desired state. These four terms are fundamental to understanding network automation approaches.

Answer analysis

Option-by-option breakdown

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

  • Infrastructure as Code: Managing infrastructure through machine-readable definition files

    Why this is correct

    Infrastructure as Code means managing and provisioning infrastructure through machine-readable definition files rather than manual, ad-hoc configuration. Ansible exemplifies this by using agentless YAML playbooks over SSH or WinRM to encode the desired state, allowing versioning, peer review, and automated, repeatable deployments that treat infrastructure like software code.

  • Idempotence: Repeated operations produce the same result

    Why this is correct

    Idempotence is the property that repeating the same operation produces the same result, so configuration management does not alter a system that already conforms to the desired state. Chef recipes, authored in Ruby DSL rather than YAML, are carefully written to be idempotent, ensuring that re-running them on a node neither duplicates resources nor causes drift from the intended configuration.

  • Declarative model: Desired state is defined, system achieves it automatically

    Why this is correct

    The declarative model focuses on defining the desired end state of a system, leaving the system itself to determine and execute the steps needed to reach that state. Puppet uses its own declarative DSL for manifests, where administrators specify what packages, services, and files should look like, and the Puppet agent automates the convergence without the user scripting the exact sequence of commands.

  • Imperative model: Step-by-step instructions to achieve desired state

    Why this is correct

    The imperative model requires the user to explicitly script step-by-step instructions that the system must execute in order to achieve a desired state, granting the system little to no autonomy over the sequence of operations. SaltStack often embodies this model in its master-minion architecture, where the master sends specific commands for minions to run, and even though SaltStack can operate agentless, the imperative approach still demands that the operator dictates the exact commands and their order, not just the outcome.

About these practice questions

Courseiva writes every 200-301 question from scratch — 1,389 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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 200-301 practice question is part of Courseiva's free Cisco 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 200-301 exam.