nerdexam
CompTIACompTIA

XK0-005 · Question #1700

XK0-005 Question #1700: Real Exam Question with Answer & Explanation

The correct answer is B: YAML is used for configuration files and data serialization in IaC tools in a human-readable format. {"question_number": 9, "question": "Which of the following describes the purpose of YAML?", "correct_answer": "B. YAML is used for configuration files and data serialization in IaC tools in a human-readable format", "explanation": "YAML (YAML Ain't Markup Language) is a human-rea

Scripting, Containers, and Automation

Question

Which of the following options describes the purpose of YAML?

Options

  • AYAML is a binary format used to ensure data transfer in a non-human-readable format
  • BYAML is used for configuration files and data serialization in IaC tools in a human-readable format
  • CYAML is like HTML and is used to create web page structure content for web deployment
  • DYAML is designed for web development and has libraries for infrastructure automation

Explanation

{"question_number": 9, "question": "Which of the following describes the purpose of YAML?", "correct_answer": "B. YAML is used for configuration files and data serialization in IaC tools in a human-readable format", "explanation": "YAML (YAML Ain't Markup Language) is a human-readable data serialization format widely used for configuration files and Infrastructure as Code (IaC) tools such as Ansible, Kubernetes manifests, Docker Compose, and Terraform. It is not binary (A), it is not for web page structure like HTML (C), and it is not a web development language (D). Its key strengths are readability, minimal syntax, and native support for mappings, sequences, and scalars.", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#YAML#Configuration Management#Data Serialization#Infrastructure as Code (IaC)

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions