ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 166 - XK0-005 discussion

Report
Export

A Linux administrator is reviewing changes to a configuration file that includes the following section:

The Linux administrator is trying to select the appropriate syntax formatter to correct any issues with the configuration file. Which of the following should the syntax formatter support to meet this goal?

A.
Markdown
Answers
A.
Markdown
B.
XML
Answers
B.
XML
C.
YAML
Answers
C.
YAML
D.
JSON
Answers
D.
JSON
Suggested answer: C

Explanation:

The configuration file shown in the image is written in YAML format, so the syntax formatter should support YAML to correct any issues with the file. YAML stands for YAML Ain't Markup Language, and it is a human-readable data serialization language that uses indentation and colons to define keyvalue pairs. YAML supports various data types, such as scalars, sequences, mappings, anchors, aliases, and tags. The configuration file follows the rules and syntax of YAML, while the other options do not. Markdown is a lightweight markup language that uses plain text formatting to create rich text documents. XML is a markup language that uses tags to enclose elements and attributes. JSON is a data interchange format that uses curly braces to enclose objects and square brackets to enclose arrays. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 21: Automating Tasks with Ansible, page 591.

asked 02/10/2024
juan manuel torrado
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first