✕
ICT & Digital Skills

MongoDB Training: Mastering the Fundamentals of MongoDB

This intensive course equips participants with a thorough grounding in MongoDB, the world's leading NoSQL document database. Delegates will master core concepts from data modelling and CRUD operations to indexing, aggregation, and replication, gaining the practical skills needed to design, manage, and optimise MongoDB deployments in real-world environments. Whether you are new to NoSQL or transitioning from relational databases, this programme delivers the technical confidence to work with MongoDB at a professional level.

⏱ 10 Days 📡 In-Person 🎯 Intermediate From KES 160,000

About This Course

Modern applications demand databases that can handle vast volumes of diverse, rapidly changing data — and MongoDB has become the go-to solution for developers and data engineers worldwide. As organisations across Africa and the Middle East accelerate their digital transformation journeys, proficiency in MongoDB is no longer a niche advantage but a critical technical competency.

This ten-day training programme, delivered by TrainingComplex, provides a comprehensive and hands-on exploration of MongoDB from the ground up. Beginning with the philosophy behind document-oriented databases and progressing through advanced topics such as the aggregation pipeline, replica sets, sharding, and security hardening, the course is structured to build knowledge progressively and reinforce each concept with practical exercises drawn from real enterprise scenarios.

Participants will work directly with MongoDB Community and Atlas environments, writing queries, designing schemas, tuning performance, and configuring resilient clusters. The curriculum also addresses the intersection of MongoDB with modern application stacks, including integration with Node.js and Python, and an introduction to MongoDB Atlas cloud services — ensuring delegates are prepared for contemporary cloud-native development contexts.

By the end of the programme, participants will possess not just theoretical understanding but verified, hands-on skill sets they can immediately apply to their organisations' data infrastructure and application development projects. TrainingComplex's experienced facilitators ensure that every session is grounded in practical relevance, making this one of the most complete MongoDB foundations programmes available in the region.

Who Should Attend

Learning Objectives

Course Modules

Module 1: Introduction to NoSQL and the MongoDB Ecosystem

  • The limitations of relational databases and the rise of NoSQL
  • NoSQL categories: key-value, column-family, graph, and document stores
  • MongoDB's architecture, use cases, and position in the modern data landscape
  • Overview of MongoDB editions: Community, Enterprise, and Atlas
  • The CAP theorem and how MongoDB balances consistency, availability, and partition tolerance
  • Key MongoDB ecosystem tools: MongoDB Compass, Atlas, Ops Manager, and the MongoDB Shell

Module 2: Installation, Configuration, and the MongoDB Shell

  • Installing MongoDB Community Edition on Windows, macOS, and Linux
  • Connecting to a MongoDB instance using mongosh and MongoDB Compass
  • Understanding mongod configuration files and key startup parameters
  • Navigating databases and collections via the shell
  • Managing the mongod process: starting, stopping, and checking server status with systemctl and command-line flags
  • Setting storage engine options and configuring log verbosity and log rotation in mongod.conf

Module 3: Documents, Data Types, and BSON

  • The document model: JSON versus BSON and why it matters
  • MongoDB supported data types: strings, numbers, dates, arrays, and ObjectIds
  • Document size limits, nesting depth, and design implications
  • Using MongoDB Compass to inspect and visualise documents interactively
  • How ObjectId is constructed — timestamp, machine identifier, and counter — and how to extract creation time from it
  • Handling type coercion pitfalls: distinguishing int32, int64, and double, and using Decimal128 for precise numeric values

Module 4: CRUD Operations — Create, Read, Update, and Delete

  • Inserting single and multiple documents with insertOne and insertMany
  • Querying documents with find, projection, and comparison operators
  • Updating documents using updateOne, updateMany, and the $set, $push, and $unset operators
  • Deleting documents with deleteOne, deleteMany, and understanding drop versus delete
  • Using logical query operators $and, $or, $nor, and $not to compose complex filter expressions
  • Atomic single-document operations with findOneAndUpdate, findOneAndReplace, and the returnDocument option

Module 5: Schema Design and Data Modelling

  • Document-oriented thinking: modelling one-to-one, one-to-many, and many-to-many relationships
  • Embedding versus referencing: trade-offs, read/write ratios, and atomicity considerations
  • Schema validation using MongoDB's built-in JSON Schema support
  • Common schema design patterns: bucket, outlier, computed, and extended reference
  • Versioning your schema: strategies for evolving document structure without downtime or full migrations
  • Using the polymorphic pattern to store varied document shapes within a single collection while maintaining query efficiency

Module 6: Indexing for Performance

  • How indexes work in MongoDB: B-tree structure and collection scans versus index scans
  • Creating single-field, compound, multikey, text, and geospatial indexes
  • Analysing query execution with explain() and interpreting winning plan output
  • Index management: listing, dropping, hiding, and understanding index overhead on writes
  • Designing compound indexes using the ESR rule — equality, sort, range — to maximise query coverage
  • Using partial and sparse indexes to reduce index size and target only the documents that satisfy specific filter conditions

Module 7: The Aggregation Framework

  • The aggregation pipeline concept and stage execution model
  • Core pipeline stages: $match, $group, $sort, $project, $lookup, and $unwind
  • Using $facet, $bucket, and $addFields for advanced data transformation
  • Aggregation pipeline optimisation and the use of $merge and $out for materialised views
  • Using aggregation variables, $let, and $expr to write conditional logic and cross-field comparisons within pipeline stages
  • Leveraging $lookup with pipeline sub-queries and $graphLookup for recursive traversal of hierarchical data

Module 8: Replication and High Availability

  • Replica set architecture: primary, secondary, and arbiter roles
  • Election process, oplog mechanics, and write concern levels
  • Configuring a three-member replica set in a local environment
  • Read preference strategies and their impact on consistency and load distribution
  • Understanding replication lag, oplog window sizing, and how to monitor and address secondary lag in production
  • Rolling maintenance procedures: stepDown, priority adjustments, and performing zero-downtime upgrades across replica set members

Module 9: Sharding and Horizontal Scalability

  • When to shard: data volume thresholds and workload patterns that demand horizontal scaling
  • Sharding components: mongos routers, config servers, and shards
  • Choosing a shard key: hashed versus ranged partitioning and cardinality considerations
  • Zone sharding for data locality and compliance requirements
  • Chunk management: understanding chunk splitting, balancer operation, and how to monitor and manually intervene in chunk distribution
  • Diagnosing and avoiding hotspot patterns caused by poor shard key selection, including jumbo chunks and their resolution

Module 10: Security and Access Control

  • Enabling authentication and creating the first administrative user
  • Role-based access control: built-in roles, custom roles, and the principle of least privilege
  • Configuring TLS/SSL for encrypted connections between clients and servers
  • Auditing, field-level encryption concepts, and MongoDB security hardening checklist
  • Implementing network-level controls: IP allowlisting, VPC peering, and binding mongod to specific interfaces
  • Using Client-Side Field Level Encryption with explicit key management to protect sensitive fields before data reaches the server

Module 11: Backup, Restore, and Disaster Recovery

  • Using mongodump and mongorestore for logical backups and selective restores
  • File system snapshot strategies for large production deployments
  • MongoDB Atlas automated backups, point-in-time restore, and snapshot scheduling
  • Designing and testing a disaster recovery runbook for a MongoDB deployment
  • Understanding the difference between logical and physical backups and when each approach is appropriate for a given recovery time objective
  • Validating backup integrity through periodic restore drills and comparing document counts and checksums against the source dataset

Module 12: Monitoring, Performance Tuning, and Ops Manager

  • Key MongoDB performance metrics: opcounters, connections, memory, and replication lag
  • Using mongostat and mongotop for real-time diagnostics
  • Introduction to MongoDB Atlas monitoring dashboards and performance advisor
  • Profiling slow operations with the database profiler and resolving common bottlenecks
  • Interpreting the output of db.serverStatus() and db.stats() to identify memory pressure, lock contention, and working set growth
  • Tuning the WiredTiger cache size, checkpoint intervals, and connection pool settings to optimise throughput under sustained load

Module 13: Application Integration, Drivers, and Capstone Project

  • Connecting to MongoDB from Node.js using the official driver and from Python using PyMongo
  • Introduction to Mongoose ODM: schema definition, validation, and middleware hooks
  • MongoDB Atlas App Services and the role of serverless functions and triggers
  • Capstone project presentations: participants demonstrate their MongoDB-backed mini-application and receive facilitator and peer feedback
  • Implementing connection pooling best practices, handling transient errors with retryable writes and reads, and managing driver session lifecycle
  • Using multi-document ACID transactions across collections to maintain data integrity in complex, multi-step application workflows

Requirements & Prerequisites

Participants should have a working knowledge of at least one programming language, preferably Python or JavaScript/Node.js, as coding exercises are integral to the course. A basic understanding of databases — whether relational or otherwise — will help delegates contextualise the concepts introduced. No prior experience with MongoDB or other NoSQL databases is required, and the programme is designed to bring all participants to a confident intermediate level by completion.

Training Methodology

Organisational Benefits

Where Is MongoDB Training: Mastering the Fundamentals of MongoDB Training Offered?

This course runs in-person across: Cape Town, Mombasa, Lagos, Arusha, Johannesburg, Accra, Dubai, Addis Ababa, Nakuru, Kampala, Dar es Salaam, Kisumu, Naivasha, Kigali, Zanzibar, Abuja, Riyadh, Nairobi, Pretoria, plus Live Virtual (online) cohorts. Browse live dates for your city below.

Upcoming Schedules

LocationFormatDatesPrice
Cape Town, South Africa In-Person 28 Sept 2026 – 9 Oct 2026 USD 7,600
Mombasa, Kenya In-Person 5 Oct 2026 – 16 Oct 2026 KES 230,000
Lagos, Nigeria In-Person 5 Oct 2026 – 16 Oct 2026 USD 5,000
Arusha, Tanzania In-Person 12 Oct 2026 – 23 Oct 2026 USD 4,200
Johannesburg, South Africa In-Person 19 Oct 2026 – 28 Oct 2026 USD 7,000
Accra, Ghana In-Person 19 Oct 2026 – 28 Oct 2026 USD 7,600
Dubai, United Arab Emirates In-Person 19 Oct 2026 – 30 Oct 2026 USD 8,200
Addis Ababa, Ethiopia In-Person 19 Oct 2026 – 28 Oct 2026 USD 4,800
Nakuru, Kenya In-Person 19 Oct 2026 – 30 Oct 2026 KES 230,000
Live Virtual Online 19 Oct 2026 – 28 Oct 2026 KES 160,000
Kampala, Uganda In-Person 19 Oct 2026 – 28 Oct 2026 USD 3,800
Dar es Salaam, Tanzania In-Person 19 Oct 2026 – 28 Oct 2026 USD 4,600
Kisumu, Kenya In-Person 19 Oct 2026 – 28 Oct 2026 KES 240,000
Naivasha, Kenya In-Person 19 Oct 2026 – 28 Oct 2026 KES 240,000
Live Virtual Online 24 Oct 2026 – 13 Dec 2026 KES 160,000

+238 more dates — view live schedule →

Frequently Asked Questions

Do I need prior experience with MongoDB to attend this course?

No prior MongoDB experience is required. The programme starts from the fundamentals and progressively builds to advanced topics, making it suitable for participants who are new to NoSQL databases as well as those with some exposure looking to formalise their knowledge.

What software will I need on my laptop?

Participants should bring a laptop with administrative privileges to install software. TrainingComplex will provide a pre-course setup guide covering the installation of MongoDB Community Edition, mongosh, MongoDB Compass, Node.js, and Python so that everyone is ready to work from day one.

Will I receive a certificate upon completion?

Yes. All participants who complete the ten-day programme will receive a TrainingComplex Certificate of Completion in MongoDB Fundamentals. The course also specifically prepares delegates to sit MongoDB's official Associate Developer and Associate DBA certification examinations.

Is this course relevant if my organisation uses MongoDB Atlas rather than a self-hosted deployment?

Absolutely. The curriculum covers both self-hosted MongoDB and MongoDB Atlas, including Atlas-specific features such as automated backups, the performance advisor, Atlas Search, and App Services, ensuring relevance regardless of your deployment model.

Can this training be delivered on-site at our organisation?

Yes. TrainingComplex offers customised on-site delivery for teams of six or more participants. The content can be tailored to your organisation's specific technology stack, industry context, and learning objectives — contact TrainingComplex directly to discuss a bespoke arrangement.

View Live Schedule & Book →