nerdexam
CompTIA

XK0-005 · Question #109900

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…

The correct answer is B. YAML. Ansible playbooks are written in YAML (Yet Another Markup Language). YAML is a human-readable data serialization format that Ansible uses to define automation tasks, roles, and configurations in a structured and readable way. SQL is a database query language, HTML is a markup…

Scripting, Containers, and Automation

Question

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?

Options

  • ASQL
  • BYAML
  • CHTML
  • DJSON

How the community answered

(26 responses)
  • B
    88% (23)
  • C
    8% (2)
  • D
    4% (1)

Explanation

Ansible playbooks are written in YAML (Yet Another Markup Language). YAML is a human-readable data serialization format that Ansible uses to define automation tasks, roles, and configurations in a structured and readable way. SQL is a database query language, HTML is a markup language for web pages, and JSON is a data interchange format. While Ansible uses JSON internally, playbooks are authored in YAML.

Topics

#Ansible#Automation#YAML#Playbooks

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice