~/redhat-ex294 · study ▊
practice sheet · all objectives switch to smart practice →
Red Hat Certified Advanced System Administrator in Ansible exam
0/3 checked
You need to define which managed hosts belong to a group named 'webservers' before running any playbooks against them. According to the EX294 objectives, which core Ansible component task accomplishes this?
Explanation
The objectives explicitly list creating a static host inventory file to define groups of hosts as the way to group managed hosts [1].
sources
✓ Verified source
Redhat ↗
Create a static host inventory file Create and use static inventories to define groups of hosts
A play needs to skip a particular task when a captured command's output indicates the package is already installed. Which core Ansible constructs, per the EX294 objectives, allow you to store that output and then decide whether the task runs?
Explanation
The EX294 objectives list using variables to retrieve command results and using conditionals to control play execution [1]. Delegation and lookup plugins are EX374 objectives, not core EX294 items [2].
Locked question — unlock this exam to view it.
locked — unlock to review