Thank you for sending your enquiry! One of our team members will contact you shortly.
Thank you for sending your booking! One of our team members will contact you shortly.
Duration 48 hours
Course Outline
Introduction and MongoDB Architecture
Content:
- History and MongoDB ecosystem
- Typical use cases, pros and cons
- General architecture: instances, processes, and configuration
Practice:
- Interactive exploration: connecting with Mongo Shell/CLI
- Creating a sample database and collection
Installation and Initial Configuration
Content:
- Hardware and resource requirements
- Installation on Linux (deb/rpm), Windows, and macOS
- YAML configuration files (mongod.conf): dataDir, logDir, bindIp, port
- Startup options and systemd/service management
Practice:
- Deploying instances on local VMs or Docker containers
- Adjusting configurations for development vs. production
- Verifying secure remote connectivity
Data Modeling and Basic Operations
Content:
- BSON documents, collections, databases
- Modeling: embedding vs referencing; data design patterns
- Basic indexes (introduced earlier)
- Operations with Mongo Shell and scripting examples using drivers
Practice:
- Modeling a use case: inventory or billing system
- Implementing CRUD operations
- Schema validation using JSON Schema in MongoDB
Indexes and Performance
Content:
- Simple, compound, multikey, text, and geospatial indexes
- Using explain() and analyzing metrics
- Index impact on write performance and memory
Practice:
- Creating collections with test data
- Testing queries with and without indexes; interpreting explain()
- Adjusting indexes based on access patterns
Security
Content:
- Authentication mechanisms: SCRAM, LDAP/Kerberos (intro)
- Defining users and custom roles
- TLS/SSL between clients and servers
- At-rest encryption: key configuration
- Basic audit logging
Practice:
- Creating users with minimal privileges
- Configuring TLS in local instances
- Verifying unauthorized access and reviewing audit logs
Replication and High Availability
Content:
- Replication concepts: Primary, Secondary, oplog
- Replica set configuration: initiation, membership, arbitration
- Monitoring status and elections
- Maintenance: adding/removing members, reassigning priorities
Practice:
- Deploying a three-node replica set (local or VMs)
- Simulating primary failure and observing failover
- Rebuilding secondary nodes and recovering replicas
Sharding and Horizontal Scalability
Content:
- Sharding concepts: shard key, config servers, mongos router
- Shard key selection and associated risks
- Deploying config servers, shards, and mongos
- Rebalancing and chunk migration
Practice:
- Configuring a simple sharded cluster
- Inserting large-scale data and observing distribution
- Introducing shard key changes and understanding limitations
Backup, Restore, and Disaster Recovery
Content:
- Native tools: mongodump/mongorestore, filesystem snapshots
- Backups in replica sets and sharded clusters
- Basic use of Cloud Manager/Ops Manager for backup
- Disaster Recovery (DR) planning: RTO, RPO
Practice:
- Performing backup and restore on a test database
- Simulating failure and recovery from backup
- Designing a DR plan for a hypothetical case
Monitoring and Alerts
Content:
- Tools: mongostat, mongotop, Cloud Manager/Atlas Monitoring
- Integration with Prometheus + Grafana (concepts and examples)
- Key metrics: CPU, memory, I/O, oplog size, latencies
- Alerts: defining thresholds and notifications
Practice:
- Deploying a local or container-based monitoring agent
- Setting up basic dashboards with sample metrics
- Simulating load and observing alerts
Maintenance, Upgrades, and Best Practices
Content:
- Upgrade strategies for replica sets and sharded clusters
- Data cleanup, compaction, integrity checks
- Reviewing logs and regular audits
- Automating routine tasks (scripts, cronjobs, Ansible, Terraform)
- Data retention and archiving policies
Practice:
- Simulating minor and major upgrades in a controlled environment
- Creating automation scripts for backup and monitoring
- Developing a periodic maintenance checklist
Requirements
- An understanding of general database concepts and data structures
- Familiarity with Linux command-line usage
- Basic knowledge of networking and system administration
Audience
- Database administrators and system engineers working with MongoDB
- DevOps and infrastructure teams deploying and maintaining MongoDB environments
- Developers interested in MongoDB internals and deployment best practices
Testimonials (2)
The pace of talking and explanation.
Marko Skokovic - PWO by Lottomatica Serbia
Course - MongoDB for Administrators
Sir Jose is cool and explains every detail of the commands. We appreciate the time he takes to share his knowledge with us, and it truly shows that he is an expert in this field.