• Online, Self-Paced
Course Description

In this course, you will learn to query nested structures and documents, create indexes, and define transactions.

Begin by setting up a collection with arrays, nested documents, and arrays of documents and how to query these structures. You will explore how to access array elements with the slice operator. Then you will see how to add and remove array elements and apply different operations depending on whether an array is meant to be used as a list or a set. Next, you will see how to view the query execution plan for a find operation and create a single-field index, which can help with certain types of queries. Using execution statistics, you will learn to speed up query executions by introducing an index. You will also cover the implementation of compound indexes containing multiple fields in your data. Finally, you will learn to define and execute transactions. You will work with transactions using MongoDB sessions. You will see how these can be set up to operate on a single document, or multiple documents, and how they can be rolled back in case of errors.

Learning Objectives

{"discover the key concepts covered in this course"}

Framework Connections

The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.