Courseiva
mediumMatchingObjective-mapped

200-901 Match each YAML structure to its description. Practice Question

Match each YAML structure to its description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Scalar mapping

List item

Comment line

Nested mapping

Block scalar (literal)

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Mapping: An unordered set of key-value pairs, each separated by a colon and space.

In YAML, a mapping (dictionary) uses key: value pairs; a sequence (list) uses '- ' items; a scalar is a single value. The distractors swap definitions or apply collection concepts to scalars.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Mapping: An unordered set of key-value pairs, each separated by a colon and space.

    Why this is correct

    A YAML mapping (or dictionary) uses key: value syntax, with indentation for nesting.

  • Sequence: An ordered list of items, each prefixed with a dash and space.

    Why this is correct

    A YAML sequence (or list) is represented as a series of lines starting with '- '.

  • Scalar: A single value, such as a string, number, or boolean, without any dash or key.

    Why this is correct

    Scalars are simple values, like hello, 42, or true.

  • Mapping: An ordered list of items, each prefixed with a dash and space.

    Why it's wrong here

    Incorrect — this describes a sequence, not a mapping.

  • Sequence: An unordered set of key-value pairs, each separated by a colon and space.

    Why it's wrong here

    Incorrect — this describes a mapping, not a sequence.

  • Scalar: A collection of key-value pairs or items.

    Why it's wrong here

    Incorrect — scalars are single values, not collections.

About these practice questions

This 200-901 question is part of Courseiva's 989-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 200-901 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-901 exam.