New Features and Tools in MongoDB 4.2 Chapter 1 – Transactions
Sharded Transactions Introduction
Transactions in MongoDB 4.2 are:
- multi-document.
- multi-statement.
- available on any namespace in your instance, including sharded
collections.
Sharded Transactions Performance Profile
Which of the following are valid methods of optimizing the performance
of sharded transactions?
- Avoiding numerical values in your queries
- Querying on your shard key
- Co-locating chunks that will be accessed by single queries
New Features and Tools in MongoDB 4.2 Chapter 2 – Enterprise Tools
Atlas Data Lake
your S3 Bucket?
- Node.js
- Python
- Java
- Structured Query Language (SQL)
- MongoDB Query Language (MQL)
Use Atlas Data Lake
the storageSetConfig command?
- dbAdmin
- readOnly
- atlasAdmin
- readWriteAdminDatabase
- readWriteAnyDatabase
Kafka Connector
following?
- A topic
- A sink
- A broker
- A zookeeper
- A partition
Geospatial Charts
for MongoDB 4.2?
- Area
- Grid
- Scatter Plot
- Heat Map
- Histogram
Charts Embedding
-
- anchor tag
- iframe
- script tag
New Features and Tools in MongoDB 4.2 Chapter 3 – Indexes Quiz
Answer
Hybrid Index Build
- 0: there are no indexes in MongoDB 4.2.
- 1: a hybrid index build.
- 2: a foreground and background index build.
- 3: a foreground, background, and hybrid index build.
- It is not possible to determine the number of index builds in MongoDB
4.2.
Wildcard Index Type: Part 2
- include a set of fields in the Wildcard Index.
- exclude a set of fields from the Wildcard Index.
- specify a set of fields in the Wildcard Index to project with
$project.
Wildcard Index Use Cases
- A collection has documents with many different fields.
- The query pattern on documents of a collection is
unpredictable. - An application consistently queries against document fields that
use the Attribute Pattern.
New Features and Tools in MongoDB 4.2 | Chapter 4 – Cloud – Ops
Manager
MongoDB Agent
MongoDB deployment?
- 1
- 2
- 3
- 4
- 5
Kubernetes Operator GA
- Kubernetes is used to manage virtual machines.
- The MongoDB Kubernetes operator is still in beta.
- Kubernetes is used to manage containers at scale.
- You need to manually manage containers with Ops Manager.
- You need to manually configure all network connections between
containers.
Improvements to Cloud and Ops Manager
- are created at the project level.
- can be used to log in via the API.
- cannot be revoked once created.
- are created at the organization level.
- have access to all admin functions on all projects.
Backup Flow Improvements
-
- Head DB
- Blockstore
- Backup Daemon
- Filesystem Store
- MongoDB Agent
New Features and Tools in MongoDB 4.2 | Chapter 5 – Atlas Quiz
Answer
Analytics Nodes
- is run by an administrator.
- can tolerate reading stale data.
- has a larger and less frequent workload than your operational
workload.
Load a Sample Dataset
Dataset by:
- running mongorestore.
- running mongoimport.
- upgrading to an M10 cluster.
- clicking a button on Atlas.
- paying the Sample Dataset licensing fee.
Improvements to Cloud Provider Snapshots
- AWS
- Azure
- Google Cloud Platform
New Features and Tools in MongoDB 4.2 | Chapter 6 – Security Quiz
Answer
No Passwords in Config Files
MongoDB configuration file?
- String
- HTTP request
- Environmental variable
Client-Side Field Level Encryption
Encryption?
- Database clients need the server to be highly available.
- Data needs to be made permanently inaccessible at some
point. - An organization needs to comply with regulations such as
GDPR.
New Features and Tools in MongoDB 4.2 | Chapter 7 – $merge
Aggregation Stage Quiz Answer
$merge Overview
- can output to a sharded collection.
- can output to a collection in the same or different database.
- can merge documents from an Aggregation and a target
collection.
$merge Syntax
outputs to the employee_data collection.
employee_data collection, which of the following stages should we
use?
}
New Features and Tools in MongoDB 4.2 | Chapter 8 – General
Improvements Quiz Answer
Traffic Recorder
- requires the use of Wireshark.
- cannot capture TLS traffic in 4.2.
- writes traffic to the mongod log.
- captures traffic on the database server.
- captures traffic between the client and the server.
Updates Using Aggregation Pipeline: Part 1
of the following aggregation stages can we use?
- $unset
- $addFields
- $replaceRoot
Updates Using Aggregation Pipeline: Part 2
default value of the $$ROOT variable represents:
- all documents inside the “root” collection.
- all documents containing the “root” field.
- the root document currently being processed.
- a variable called “ROOT” that was defined in let.
- the field “root” inside the document currently being processed.
zstd
-
- has a faster compressing speed.
- has a better compression ratio.
- has a faster decompressing speed.
Learn other courses too:
M042 MongoDB Security | ALL Chapters Quiz & Answer
M201 MongoDB Performance – All Chapters Quiz Answer
M220P MongoDB for Python Developers Quiz Answers