MongoDB MCQ Quiz Hub

MongoDB Mcq Question Set 7

Choose a topic to test your knowledge and improve your MongoDB skills

_____ supports concurrent access by readers and writers to the documents in a collection.





✅ Correct Answer: 2

MongoDB uses ________ logging to an on-disk journal.





✅ Correct Answer: 1

The ________ command returns information regarding the number of open connections.





✅ Correct Answer: 1

____ do not typically provide sufficient performance to support a MongoDB deployment.





✅ Correct Answer: 1

Which of the following should be avoided with MongoDB Deployments?





✅ Correct Answer: 4

With the WiredTiger storage engine, use of _______ is strongly recommended to avoid performance issues





✅ Correct Answer: 1

Point out the correct statement.





✅ Correct Answer: 2

MongoDB requires a filesystem that supports ______ on directories.





✅ Correct Answer: 2

MongoDB Cloud Manager provides integration with Amazon Web Services (AWS) and lets you deploy new ______ instances directly from MongoDB Cloud Manager.





✅ Correct Answer: 2

Point out the wrong statement.





✅ Correct Answer: 3

WiredTiger can compress collection data using either snappy or zlib compression library.





✅ Correct Answer: 1

Which of the following is especially important in Sharded Clusters?





✅ Correct Answer: 1

The TCP keepalive on the Azure load balancer is ______ seconds by default.





✅ Correct Answer: 1

_____ is a command-line tool for monitoring network use.





✅ Correct Answer: 1

MongoDB supports tagging a range of _______ key values to associate that range with a shard or group of shards.





✅ Correct Answer: 3

Point out the correct statement.





✅ Correct Answer: 3

The _______ migrates chunks of documents in a sharded collection to the shards associated with a tag.





✅ Correct Answer: 1

Point out the wrong statement.





✅ Correct Answer: 3

By default, an application directs its ______ operations to the primary member in a replica set.





✅ Correct Answer: 2

Which of the following should not be used to provide extra capacity for reads?





✅ Correct Answer: 3

Read preference modes are also available to clients connecting to a sharded cluster through ______





✅ Correct Answer: 2

All read preference modes except _______ may return stale data.





✅ Correct Answer: 1

Which of the following preference does not affect the visibility of data?





✅ Correct Answer: 1

Which of the following collections work in a way similar to circular buffers?





✅ Correct Answer: 1

Point out the correct statement.





✅ Correct Answer: 1

____ stores a log of the operations in a replica set.





✅ Correct Answer: 1

_____ is also used to pre-allocate space for an ordinary collection.





✅ Correct Answer: 1

Point out the wrong statement.





✅ Correct Answer: 1

If you perform a ________ on a capped collection with no ordering specified, MongoDB guarantees that the ordering of results is the same as the insertion order.





✅ Correct Answer: 1

Which of the following should is used to check whether collection is capped or not?





✅ Correct Answer: 2

______ convert a non-capped collection to a capped collection.





✅ Correct Answer: 3

____ command creates the capped collection and imports the data.





✅ Correct Answer: 3

Which of the following command obtains a global write lock and will block other operations until it has completed?





✅ Correct Answer: 2

Which of the following collection do not support the TTL property?





✅ Correct Answer: 1

Point out the correct statement.





✅ Correct Answer: 4

If the indexed field in a document is not a _____ or an array that holds a date value(s), the document will not expire.





✅ Correct Answer: 1

Point out the correct statement.





✅ Correct Answer: 1

Secondary members replicate _________ operations from the primary.





✅ Correct Answer: 4

A collection with a TTL index has __________ enabled.





✅ Correct Answer: 2

Which field does not support TTL indexes?





✅ Correct Answer: 3

You cannot use _________ to change the value of expireAfterSeconds of an existing index.





✅ Correct Answer: 1

You cannot create a TTL index on a ________ collection.





✅ Correct Answer: 2

Which of the following setting defines what constitutes a “slow” operation?





✅ Correct Answer: 3

Point out the correct statement.





✅ Correct Answer: 4

_____ provide the number of times the lock acquisitions encountered deadlocks.





✅ Correct Answer: 3

If __________ is high relative to uptime, the database has existed in a lock state for a significant amount of time.





✅ Correct Answer: 2

Point out the wrong statement.





✅ Correct Answer: 1

The __________ data structure value provides more granular information concerning the number of operations queued because of a lock.





✅ Correct Answer: 1

serverStatus includes all fields by default, except ____





✅ Correct Answer: 2

____ field contains total number of current clients that connect to the database instance.





✅ Correct Answer: 2