An administrator wants to define configuration details for multiple services using a text file that relies on indentation to specify lists and custom keys in an automated workflow. Which approach best meets these criteria?
A format that encloses data in curly braces, with arrays separated by commas
A format that organizes configuration under section headers in brackets, with key-value pairs separated by equals signs
A format that handles nested structures through indentation, making it easier to reference complex fields
A format that represents data in angle brackets with explicit opening and closing tags
The solution that depends on indentation for structure accurately satisfies the requirement. Formats that use curly braces, angle brackets, or section headers with equals signs can define data but do not rely on indentation for layered hierarchy. By using a whitespace-based syntax, it becomes easier to organize and reference advanced data blocks such as secrets or complex arrays in an intuitive way.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the format that relies on indentation to handle nested structures?
Open an interactive chat with Bash
Why might YAML be better than JSON for some use cases?
Open an interactive chat with Bash
What are some use cases where YAML is commonly used?