Skip to content

EX294 Practice Questions

Prepare for EX294 with more than an answer.

156 questions in the full set12 sample questionsUpdated Mar 12, 2026
Exam fee
$500 USD
Time limit
240 minutes
Passing score
210 out of 300 (70%) (scale 0-300)
Level
Professional
Valid for
3 years
Domains covered on the exam 10
  1. RHCSA Foundation Skills10%
  2. Visual Studio Code (VS Code) and Git Integration8%
  3. Understand Core Components of Ansible15%
  4. Install and Configure Ansible10%
  5. Configure Ansible Managed Nodes7%
  6. Run Playbooks with ansible-navigator10%
  7. Create Ansible Plays and Playbooks15%
  8. Use Roles and Ansible Content Collections10%
  9. Automate Standard RHCSA Tasks Using Ansible Modules10%
  10. Manage Content5%
  1. 1

    Which of the following are benefits of using the official Red Hat Ansible extension in Visual Studio Code? (Select TWO)

    Show answer details

    Correct answer: A, C

    Syntax highlighting and real-time validation (linting) are core features.

    The extension integrates with ansible-navigator to run playbooks from the command palette or context menu.

  2. 2

    Review the inventory structure in the diagram below. If a variable dns_server is defined in the all group, and redefined with a different value in the webservers group, which value will host web1 use?

    graph TD all[all group] web[webservers group] db[dbservers group] web1[web1 host] web2[web2 host] all --> web all --> db web --> web1 web --> web2
    Show answer details

    Correct answer: B

    In Ansible variable precedence, more specific groups override parent groups. The webservers group is a child of all, so its variables override those in all for its member hosts.

  3. 3

    In Ansible variable precedence, which of the following has the HIGHEST priority (will override all others)?

    Show answer details

    Correct answer: C

    Extra variables (-e or --extra-vars) always have the highest precedence and will override variables defined in inventory, playbooks, roles, or facts.

  4. 4

    You want to reference the IPv4 address of the default interface on a managed node using Ansible facts. The correct variable reference is: {{ ansible_facts['_____']['ipv4']['address'] }}.

    Show answer details

    Correct answer: A

    The correct fact structure for the default IPv4 interface is ansible_facts['default_ipv4']. So the blank should be filled with default_ipv4.

  5. 5

    A system administrator is writing a playbook to ensure a critical monitoring service, 'monitord', is not only started but also configured to launch automatically when the server reboots. The administrator uses the ansible.builtin.service module. Which combination of parameters ensures both requirements are met?

    Show answer details

    Correct answer: C

    The state=started parameter ensures the service is currently running. The enabled=yes (or enabled=true) parameter ensures the service is enabled in systemd to start at boot time. 'persistent' is not a valid parameter, and 'running' is not the standard state value (though 'started' is preferred).

  6. 6

    You are automating the configuration of Logical Volume Management (LVM) on a new RHEL 9 server. You need to expand an existing volume group 'vg_data' by adding a new physical volume /dev/sdb1. Which Ansible module is specifically designed to manage the properties and physical volumes of a volume group?

    Show answer details

    Correct answer: B

    The community.general.lvg module is used to configure volume groups, including adding or removing physical volumes (pvs). The lvol module is for logical volumes, and filesystem is for formatting.

Create an account to continue.