8" :class="scrolled && 'is-scrolled'">
NOA
Labs
Tutorials
Courses
Skill Forge
Explore
Labs
Hands-on live sessions
Mentors
Meet the senior engineers
Projects
Real portfolio-ready builds
Talent Directory
Public student profiles
Mock Interview
Practice with real feedback
ATS Resume Checker
Free instant resume scoring
Search docs
Ctrl K
Login
Join Free
Artificial Intelligence
LangChain
LLMs
Machine Learning
Prompt Engineering
RAG (Retrieval-Augmented Generation)
AJAX
GraphQL
Apache Kafka
Microservices
Node.js
RabbitMQ
REST API
WebSockets
Algorithms
Data Structures
Angular
Bootstrap
CSS
HTML
jQuery
Next.js
Nuxt.js
React
Svelte
Tailwind CSS
Vue.js
ASP.NET Core
Django
.NET
Entity Framework Core
FastAPI
Flask
Gin
gRPC
Hibernate
Laravel
NestJS
Spring
Spring Boot
Spring Cloud
Spring Data JPA
Spring MVC
Spring Security
AWS
Azure
CI/CD
Docker
Git
Kubernetes
Linux
Nginx
Terraform
C
C++
C#
Dart
Go
Java
JavaScript
Kotlin
PHP
Python
Ruby
Rust
Swift
TypeScript
Database Design
MongoDB
MySQL
Oracle Database
PostgreSQL
Redis
SQL
System Design
↑↓ navigate
↵ open
esc close
Tutorials
/
MongoDB
MongoDB menu
MongoDB Tutorial
A document-oriented NoSQL database built for flexible schemas and horizontal scale.
Start the MongoDB tutorial →
What you'll learn
1. MongoDB Introduction
The document model, when it fits better than relational, and connecting via mongosh.
2. CRUD Operations
insertOne/insertMany, find with query operators, updateOne/updateMany, and deleteOne.
3. Schema Design and Modeling
Embedding vs referencing, the core MongoDB modeling decision, and schema validation rules.
4. Aggregation Pipeline
The aggregation pipeline: $match, $group, $project, $sort, and $lookup for joins.
5. Indexes and Performance
Creating indexes, compound indexes, explain(), and common MongoDB anti-patterns.
6. Multi-Document Transactions
Multi-document ACID transactions, a complete example, and when you need them versus single-document atomicity.
7. Sharding in MongoDB
Shard keys, choosing a good one, and how queries route across a sharded cluster.
8. MongoDB Interview Questions
Real MongoDB interview questions and answers covering modeling, aggregation, and indexing.