Courseiva
hardMultiple SelectObjective-mapped

XK0-006 Practice Question: Which THREE statements about Ansible are true?…

Which THREE statements about Ansible are true? (Choose three.)

⚠ Common exam trap

CompTIA often tests the misconception that Ansible requires a master server (like Puppet or Chef) or that it needs agents on managed nodes, but the trap here is that Ansible is agentless and uses a simple push model from a single control node.

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

Ansible playbooks are written in YAML

Three statements about Ansible are true. Playbooks are written in YAML (A). Ansible is idempotent, meaning that applying the same configuration multiple times yields the same result (D). Additionally, Ansible requires Python on the control node only (C) because the control node runs the automation; managed nodes can be contacted via SSH or WinRM and may use raw modules that don't require Python, though most modules do expect Python on the managed node. Statement B is false because Ansible is agentless and does not use a centralized master server; it uses a push model from a control node. Statement E is false because Ansible is agentless—no agent is installed on managed nodes.

Answer analysis

Option-by-option breakdown

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

  • Ansible playbooks are written in YAML

    Why this is correct

    Correct: Ansible playbooks are written in YAML, a human-readable data serialization language.

  • Ansible uses a centralized master server

    Why it's wrong here

    Incorrect: Ansible does not use a centralized master server; it is agentless and uses a push model from a control node.

  • Ansible requires Python on the control node only

    Why this is correct

    Correct: Ansible requires Python on the control node; managed nodes do not necessarily require Python for all operations, though most modules require it.

  • Ansible is idempotent

    Why this is correct

    Correct: Ansible is idempotent, meaning that running the same playbook multiple times produces the same state without side effects.

  • Ansible requires an agent to be installed on managed nodes

    Why it's wrong here

    Incorrect: Ansible is agentless and does not require any agent to be installed on managed nodes.

About these practice questions

Courseiva writes every XK0-006 question from scratch — 979 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 XK0-006 practice question is part of Courseiva's free CompTIA 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 XK0-006 exam.