hands-on lab

Reading, Writing, and Parsing YAML Files

Beginner
1h
263
5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

YAML (Yet Another Markup Language) is a format for serializing data in a text file. It is similar to other textual data formats such as JSON and XML. YAML is widely used for storing configuration data for software applications, build systems, and deployment platforms.

Being able to read, write and parse YAML files will help you be more effective when working with modern cloud-based systems and applications.

In this lab, you will create a YAML file, parse the file using the Python scripting language, and learn about the different data structures YAML offers.

Learning Objectives

Upon completion of this beginner level lab, you will be able to:

  • Author a YAML file
  • Parse a YAML file using Python
  • Identify and use different data structures in YAML

Intended Audience

  • Cloud Architects
  • Data Engineers
  • DevOps Engineers
  • Software Engineers

Prerequisites

Familiarity with the Python scripting language will be beneficial but is not required.

The following course and lab can be used to fulfill the prerequisite:

About the author
Avatar
Andrew Burchill
Labs Developer
Students
65,245
Labs
160
Courses
2
Learning paths
4

Andrew is a Labs Developer with previous experience in the Internet Service Provider, Audio Streaming, and CryptoCurrency industries. He has also been a DevOps Engineer and enjoys working with CI/CD and Kubernetes.

He holds multiple AWS certifications including Solutions Architect Associate and Professional.

Covered topics
Lab steps
Reading, Writing and Parsing YAML Files