Courseiva
mediumMultiple SelectObjective-mapped

XK0-006 Practice Question: Which TWO statements are true regarding the use…

Which TWO statements are true regarding the use of Ansible for automation? (Choose TWO.)

⚠ Common exam trap

Watch out — candidates often confuse Ansible's push-based model with pull-based tools like Puppet or Chef, or assume a master server is required because other automation tools use a master-agent architecture.

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.

Ansible playbooks are written in YAML (YAML Ain't Markup Language), which is a human-readable data serialization standard. YAML allows for simple, declarative syntax to define automation tasks, variables, and handlers, making playbooks easy to write and maintain without requiring programming expertise.

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 requires a dedicated master server to manage nodes.

    Why it's wrong here

    Ansible can be run from any machine with Ansible installed; no dedicated master is required.

  • Ansible playbooks are written in YAML.

    Why this is correct

    Ansible playbooks are YAML files that define automation tasks.

  • Ansible is agentless and uses SSH for communication.

    Why this is correct

    Ansible does not require agents on managed nodes; it uses SSH by default.

  • Ansible uses a pull-based model where nodes fetch configurations from a central server.

    Why it's wrong here

    Ansible is push-based; the control node pushes configurations to managed nodes.

  • Ansible modules are written in Ruby.

    Why it's wrong here

    Ansible modules are written in Python.

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.