MongoDB 4 for Beginners

(MongoDB)/ISBN:978-1-64459-172-7

This course includes
Lessons
TestPrep
Hands-On Labs
AI Tutor (Add-on)

Learn MongoDB tools and other concepts with the MongoDB 4 for Beginners course and lab. The lab is cloud-based, device-enabled, and can be easily integrated with an LMS. The MongoDB course and lab cover MongoDB basic and advanced concepts. The course provides knowledge on topics such as MongoDB data structures and shell; developing with program language drivers, MongoDB security, maintaining MongoDB performance, using MongoDB shell, and much more.

Lessons

10+ Lessons | 80+ Quizzes | 44+ Flashcards | 44+ Glossary of terms

TestPrep

40+ Pre Assessment Questions | 2+ Full Length Tests | 40+ Post Assessment Questions | 80+ Practice Test Questions

Hands-On Labs

29+ LiveLab | 27+ Video tutorials | 00+ Minutes

Here's what you will learn

Download Course Outline

Lessons 1: Preface

  • Who this course is for?
  • What this course covers?
  • To get the most out of this course
  • Conventions used

Lessons 2: Introducing MongoDB

  • Overview of MongoDB
  • Installing MongoDB
  • Installing MongoDB on Linux
  • Summary

Lessons 3: Understanding MongoDB Data Structures

  • What is NoSQL?
  • Documents, collections, and database
  • Data-modeling considerations
  • Creating a MongoDB database and collection
  • Summary

Lessons 4: Using the MongoDB Shell

  • Overview
  • Performing simple queries
  • Database and collection operations
  • Creating, updating, or deleting documents
  • Creating and running shell scripts
  • Summary

Lessons 5: Developing with Program Language Drivers

  • Overview of the MongoDB PHP driver
  • Installing the MongoDB PHP extension
  • Performing CRUD operations using PHPLIB
  • Other libraries and framework integration
  • Summary

Lessons 6: Building Complex Queries Using Aggregation

  • An overview of aggregation
  • Using single-purpose aggregation
  • Using the aggregation pipeline
  • Using map-reduce
  • Using the MongoDB Compass aggregation pipeline builder
  • Summary

Lessons 7: Maintaining MongoDB Performance

  • Indexes
  • Simple backup and restore
  • Replication
  • Sharding
  • Summary

Lessons 8: Securing MongoDB

  • MongoDB security overview
  • Transport Layer Security
  • Authentication
  • Access control
  • Summary

Lessons 9: Getting from a Web Form to MongoDB

  • Building the application
  • Configuring transaction support
  • Adding security
  • Summary

Appendix A: Using Docker

  • Using MongoDB with Docker

Hands-on LAB Activities

Introducing MongoDB

  • Installing MongoDB on Kali Linux
  • Installing MongoDB on Linux

Using the MongoDB Shell

  • Creating a Database
  • Dropping a Database
  • Creating a Collection
  • Deleting a Collection
  • Creating Multiple Documents
  • Deleting a Document
  • Running a Direct Command
  • Running a Shell Script

Developing with Program Language Drivers

  • Searching by Name

Building Complex Queries Using Aggregation

  • Using Single-Purpose Aggregation
  • Using the Aggregation Pipeline 
  • Using the $group Stage Accumulators 
  • Using the $lookup Stage Accumulators
  • Using the $match Stage Accumulators
  • Using the $anyElementTrue Expression Operator
  • Using the $add Expression Operator
  • Using map-reduce

Maintaining MongoDB Performance

  • Creating Single Field Indexes
  • Creating Compound Indexes
  • Creating Multi-Key Indexes
  • Using mongodump
  • Using mongorestore

Securing MongoDB

  • Mongo Shell Authentication using SCRAM
  • Creating a Role
  • Dropping a Role
  • Creating a User
  • Dropping a User