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 11
  1. Be able to perform all tasks expected of a Red Hat Certified System Administrator
  2. Understand core components of Ansible
  3. Configure Ansible
  4. Configure Ansible managed nodes
  5. Run playbooks
  6. Perform basic source control operations using Git
  7. Be familiar with Visual Studio Code (VS Code) and be able to perform the following tasks from within the editor:
  8. Create Ansible plays and playbooks
  9. Use roles and Ansible Content Collections
  10. Automate standard RHCSA tasks using Ansible modules that work with:
  11. Manage content
  1. 1

    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.

  2. 2

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

    Show answer details

    Correct answer: D

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

  3. 3

    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: D

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

  4. 4

    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).

  5. 5

    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.

  6. 6

    A playbook copies a custom HTML file to /var/www/html/index.html on a web server, but Apache returns a 403 Forbidden error when trying to access it. The file permissions are correct (644). What is the most likely cause and the appropriate Ansible module to fix it permanently?

    Show answer details

    Correct answer: B

    If permissions are correct but a 403 occurs on RHEL, it is often an SELinux context mismatch. The file likely has admin_home_t or default_t instead of httpd_sys_content_t. The sefcontext module updates the policy, and a restore trigger applies it.

Create an account to continue.