Red Hat System Administration III: Linux Automation (RH294) – RHEL 9 Quiz Questions and Answers

Answer :
  • yum_repository

Explanation :

The yum_repository module configures a Yum repository on a managed host. For repositories that use public keys, you can verify that the key is available with the rpm_key module
Answer :
  • log_path

Explanation :

The log_path parameter in the default section of the ansible.cfg configuration file specifies the location of the log file to which all Ansible output is redirected.
Answer :
  • Control node

Explanation :

Any system upon which Ansible is installed and which has access to the required configuration files and playbooks to manage remote systems is called a control node
Answer :
  • --check

Explanation :

The --check option enables Ansible modules with check mode support to display the changes to be performed, instead of applying those changes to the managed hosts.
Answer :
  • Infrastructure as Code

Explanation :

Infrastructure as Code means that you can use a machine-readable automation language to define and describe the state you want your IT infrastructure to be in.
Answer :
  • Inventories

Explanation :

Inventories can be static files or dynamically generated by a program from an external source, such as a directory service or cloud management system.
Answer :
  • Dynamic inventory scripts

Explanation :

Dynamic inventory scripts can be used to generate dynamic lists of managed hosts from directory services or other sources external to Ansible.
Answer :
  • ignore_errors

Explanation :

if a task fails, the play is aborted. However, this behavior can be overridden by ignoring failed tasks by using the ignore_errors keyword.
Answer :
  • always

Explanation :

always: Defines the tasks that will always run independently of the success or failure of tasks defined in the block and rescue clauses.
Answer :
  • Facts

Explanation :

Facts contain host-specific information that can be used just like regular variables in plays which are collected from managed hosts.