EX294 Practice Questions
Prepare for EX294 with more than an answer.
- 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
- RHCSA Foundation Skills10%
- Visual Studio Code (VS Code) and Git Integration8%
- Understand Core Components of Ansible15%
- Install and Configure Ansible10%
- Configure Ansible Managed Nodes7%
- Run Playbooks with ansible-navigator10%
- Create Ansible Plays and Playbooks15%
- Use Roles and Ansible Content Collections10%
- Automate Standard RHCSA Tasks Using Ansible Modules10%
- Manage Content5%
- 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
Review the inventory structure in the diagram below. If a variable
dns_serveris defined in theallgroup, and redefined with a different value in thewebserversgroup, which value will hostweb1use?graph TD all[all group] web[webservers group] db[dbservers group] web1[web1 host] web2[web2 host] all --> web all --> db web --> web1 web --> web2Show answer details
Correct answer: B
In Ansible variable precedence, more specific groups override parent groups. The
webserversgroup is a child ofall, so its variables override those inallfor its member hosts. - 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 (
-eor--extra-vars) always have the highest precedence and will override variables defined in inventory, playbooks, roles, or facts. - 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 withdefault_ipv4. - 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.servicemodule. Which combination of parameters ensures both requirements are met?Show answer details
Correct answer: C
The
state=startedparameter ensures the service is currently running. Theenabled=yes(orenabled=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
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.lvgmodule is used to configure volume groups, including adding or removing physical volumes (pvs). Thelvolmodule is for logical volumes, andfilesystemis for formatting.
