CompTIA Linux+ (XK0-005) — Question 252

A systems administrator is tasked with creating an Ansible playbook to automate the installation of patches on several Linux systems. In which of the following languages should the playbook be written?

Answer options

Correct answer: B

Explanation

The correct answer is B, YAML, because Ansible playbooks are specifically written in YAML format, which is designed for data serialization and is easily readable. The other options, SQL, HTML, and JSON, are not suitable for this purpose as they serve different functions and are not the format expected by Ansible.