Courseiva

EX294 Implement advanced Ansible automation Practice Question

A playbook uses import_playbook to include other playbooks. The main playbook is run with --check mode. Which statement is true?

⚠ Common exam trap

Candidates often confuse `import_playbook` (static inclusion) with dynamic includes like `include_tasks`, which do not inherit check mode in the same way, leading them to think imported playbooks are skipped or run normally.

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

✓

Imported playbooks are also run in check mode.

When a playbook uses `import_playbook`, the imported playbooks are statically included at parse time, meaning they become part of the main playbook's play structure. The `--check` mode flag applies to the entire playbook execution, so all imported playbooks also run in check mode. Option D is correct because Ansible propagates the check mode flag to all imported plays.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Only the main playbook runs in check mode; imported ones run normally.

    Why it's wrong here

    Check mode applies to all included tasks.

  • ✗

    All imported playbooks are skipped because import happens at parse time.

    Why it's wrong here

    Import happens at parse time, but tasks are still executed in check mode.

  • ✗

    import_playbook does not support check mode.

    Why it's wrong here

    import_playbook fully supports check mode.

  • ✓

    Imported playbooks are also run in check mode.

    Why this is correct

    Import_playbook merges tasks at parse time, so check mode affects all tasks.

About these practice questions

Courseiva writes every EX294 question from scratch — 392 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 EX294 practice question is part of Courseiva's free Red Hat 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 EX294 exam.