Red Hat Certified Specialist in Ansible Automation Exam (EX407) - Red Hat Certifications Actual Exam Questions
Last updated on March 10, 2026
Install and configure ansible User bob has been created on your control node. Give him the appropriate permissions on the control node. Install the necessary packages to run ansible on the control node. Create a configuration file /home/bob/ansible/ansible.cfg to meet the following requirements: • The roles path should include /home/bob/ansible/roles, as well as any other path that may be required for the course of the sample exam. • The inventory file path is /home/bob/ansible/inventory. •
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
== control.realmX.example.com _ workstation.lab.example.com node1.realmX.example.com _ servera.lab.example.com node2.realmX.example.com _ serverb.lab.example.com node3.realmX.example.com _ serverc.lab.example.com node4.realmX.example.com _ serverd.lab.example.com node5.realmX.example.com - username:root, password:redhat - username:admin, password:redhat note1. don’t change ‘root’ or ‘admin’ password. note2. no need to create ssh-keygen for access, its pre-defined note3. SELinux is in enforcing mode and firewalld is disabled/stop on whole managed hosts. == Install and configure Ansible on the control-node control.realmX.example.com as follows: --> Install the required packages --> Create a static inventory file called /home/admin/ansible/inventory as follows: node1.realmX.example.com is a member of the dev host group node2.realmX.example.com is a member of the test host group node3.realmX.example.com & node4.realmX.example.com are members of the prod host group node5.realmX.example.com is a member of the balancers host group. prod group is a member of the webservers host group --> Create a configuration file called ansible.cfg as follows: --> The host inventory file /home/admin/ansible/inventory is defined --> The location of roles used in playbooks is defined as /home/admin/ansible/ roles
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
Create a playbook called issue.yml in /home/sandy/ansible which changes the file /etc/issue on all managed nodes: If host is a member of (lev then write "Development" If host is a member of test then write "Test" If host is a member of prod then write "Production"
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
== control.realmX.example.com _ workstation.lab.example.com node1.realmX.example.com _ servera.lab.example.com node2.realmX.example.com _ serverb.lab.example.com node3.realmX.example.com _ serverc.lab.example.com node4.realmX.example.com _ serverd.lab.example.com node5.realmX.example.com - username:root, password:redhat - username:admin, password:redhat note1. don’t change ‘root’ or ‘admin’ password. note2. no need to create ssh-keygen for access, its pre-defined note3. SELinux is in enforcing mode and firewalld is disabled/stop on whole managed hosts. == Install the RHEL system roles package and create a playbook called timesync.yml that: --> Runs over all managed hosts. --> Uses the timesync role. --> Configures the role to use the time server 192.168.10.254 ( Hear in redhat lab use "classroom.example.com" ) --> Configures the role to set the iburst parameter as enabled.
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
Install and configure ansible User sandy has been created on your control node with the appropriate permissions already, do not change or modify ssh keys. Install the necessary packages to run ansible on the control node. Configure ansible.cfg to be in folder /home/sandy/ansible/ansible.cfg and configure to access remote machines via the sandy user. All roles should be in the path /home/sandy/ansible/roles. The inventory path should be in /home/sandy/ansible/invenlory. You will have access to 5 nodes. node1.example.com node2.example.com node3.example.com node4.example.com node5.example.com Configure these nodes to be in an inventory file where node I is a member of group dev. nodc2 is a member of group test, node3 is a member of group proxy, nodc4 and node 5 are members of group prod. Also, prod is a member of group webservers.
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
Finish Practice?
Are you sure you want to finish? This will end your practice session.