CRUD (Create, Read, Update, Delete) operations are fundamental to MongoDB. You must demonstrate your ability to:
Insert Data: Using insertOne(), insertMany(), and bulk write operations.
Querying Data: Using find(), projection, and operators like $gt, $lt, $in, etc.
Updating Data: Using updateOne(), updateMany(), and atomic updates with operators such as $set and $inc.
Deleting Data: Using deleteOne(), deleteMany(), and the remove() method.
Aggregation Framework
The aggregation framework is a powerful feature in MongoDB that allows you to perform complex queries and transformations on data. You'll be tested on:
Aggregation Pipelines: Using stages such as $match,MongoDB Certified Developer $group, $sort, $project, and $lookup to process and analyze data.
Grouping and Sorting: Aggregating data using $group and sorting with $sort.
Join Operations: Using $lookup to join data from different collections.
Indexes
Indexes are crucial for improving query performance in MongoDB. You’ll need to demonstrate your ability to:
Create Indexes: Using createIndex() to create single-field, compound, and multi-key indexes.
Index Types: Understanding different types of indexes such as hashed, geospatial, and text indexes.
Index Optimization: How to optimize queries using the appropriate index and analyze index performance.
Security
Security is a vital aspect of database management. In this section, you'll be expected to:
Authentication: Understanding MongoDB's authentication mechanisms such as SCRAM, x.0 certificates, and LDAP.
Authorization: Configuring user roles and access control to restrict database access.
Encryption: Using encryption for data at rest and in transit to protect sensitive data.