MongoDB/MongoDB Mcq Question Set 7 Sample Test,Sample questions

Question:
 All read preference modes except _______ may return stale data.

1. primary

2.primaryPreferred

3.secondary

4.None of the mentioned

Posted Date:-2022-01-25 08:50:30


Question:
 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.

1.find()

2.write()

3.modify()

4. none of the mentioned

Posted Date:-2022-01-25 08:53:52


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

1.globalLock.halfTime

2.globalLock.totalTime

3.globalLock.downTime

4.All of the Mentioned

Posted Date:-2022-01-25 09:04:34


Question:
 Point out the correct statement.

1.Capped collections automatically remove the oldest documents in the collection without requiring scripts or explicit remove operations

2.Capped collections do not guarantee that insertion order is identical to the order on disk

3.Capped collections does not allow updates that fit the original document size

4.All of the Mentioned

Posted Date:-2022-01-25 08:52:05


Question:
 Point out the correct statement.

1.Data expiration is useful for some classes of information, including machine generated event data, logs, and session information

2.A special TTL index property supports the implementation of TTL collections

3.TTL collections make it possible to store data in MongoDB and have the mongod automatically remove data after a specified number of seconds or at a specific clock time

4.All of the Mentioned

Posted Date:-2022-01-25 08:57:17


Question:
 Point out the wrong statement.

1. When running MongoDB in production on Linux, it is recommended that you use Linux kernel version 2.6.36 or later

2. The MongoDB distribution for Solaris include support for the WiredTiger storage engine

3.By default, WiredTiger uses zip compression library

4.None of the mentioned

Posted Date:-2022-01-25 08:43:49


Question:
 Point out the wrong statement.

1.Read preferences consider the value of a tag when selecting a member to read from

2.Shard ranges are always exclusive of the lower value and inclusive of the upper boundary

3.Write concerns do not use the value of a tag to select a member except to consider whether or not the value is unique

4.None of the mentioned

Posted Date:-2022-01-25 08:48:51


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

1. connPoolStats

2.connStats

3.serverstats

4.None of the mentioned

Posted Date:-2022-01-25 08:39:06


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

1.Compound indexes

2.Primary indexes

3.Composite indexes

4.All of the Mentioned

Posted Date:-2022-01-25 08:56:50


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

1. createIndex()

2.dropIndex()

3. removeIndex()

4.None of the mentioned

Posted Date:-2022-01-25 09:00:10


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

1.bwm-ng

2.bwm-g

3.bwm-n

4.bwm-ngs

Posted Date:-2022-01-25 08:46:30


Question:
A collection with a TTL index has __________ enabled.

1.usePowerOf3Sizes

2.usePowerOf2Sizes

3.usePowerOf4Sizes

4.None of the mentioned

Posted Date:-2022-01-25 08:59:20


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

1.read

2.write

3.read and write

4.None of the mentioned

Posted Date:-2022-01-25 08:49:18


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

1.DATE

2. TIME

3.DATETIME

4.All of the Mentioned

Posted Date:-2022-01-25 08:57:41


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

1.ECS

2.EC2

3.EC3

4.All of the Mentioned

Posted Date:-2022-01-25 08:43:07


Question:
MongoDB requires a filesystem that supports ______ on directories.

1. fsynconce()

2. fsync()

3.sync()

4. All of the mentioned

Posted Date:-2022-01-25 08:42:19


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

1.primary

2.secondary

3.shard

4.All of the Mentioned

Posted Date:-2022-01-25 08:47:16


Question:
MongoDB uses ________ logging to an on-disk journal.

1.write ahead

2.read ahead

3. write once

4.read only

Posted Date:-2022-01-25 08:38:35


Question:
Point out the correct statement.

1.With the MMAPv1 storage engine, MongoDB preallocates its database files before using them and often creates large files

2.zlib provides better compression rate but has a higher performance cost

3.MongoDB includes support for many storage engines

4.All of the Mentioned

Posted Date:-2022-01-25 08:41:55


Question:
Point out the correct statement.

1.Shard key range tags are distinct from replica set member tags

2.Balancer does not obey tagged range associations

3.Hash-based sharding only supports tag-aware sharding on an entire collection

4. All of the mentioned

Posted Date:-2022-01-25 08:47:44


Question:
Point out the correct statement.

1. TTL indexes expire documents after the specified number of seconds has passed since the indexed field value

2. TTL indexes are special compound indexes

3.If a document does not contain the indexed field, the document will expire

4.None of the mentioned

Posted Date:-2022-01-25 08:58:10


Question:
Point out the correct statement.

1.MongoDB uses a locking system to ensure data set consistency

2. If certain operations are long-running or a queue forms, performance will degrade as requests and operations wait for the lock

3. Long queries can result from ineffective use of indexes

4.All of the mentioned

Posted Date:-2022-01-25 09:03:34


Question:
Point out the wrong statement.

1.Queries need an index to return documents in insertion order

2.The options document creates a capped collection or preallocates space in a new ordinary collection

3. Capped collections have maximum size or document counts that prevent them from growing beyond maximum thresholds

4.None of the mentioned

Posted Date:-2022-01-25 08:53:21


Question:
Point out the wrong statement.

1.The storage.wiredTiger.indexConfig.prefixCompression setting does not affect all indexes created

2.Database profiling can impact database performance

3. The default storage.wiredTiger.engineConfig.cacheSizeGB setting assumes that there is a single mongod instance per node

4.None of the mentioned

Posted Date:-2022-01-25 09:05:05


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

1.MMS

2.mongos

3.mongod

4.None of the mentioned

Posted Date:-2022-01-25 08:50:05


Question:
Secondary members replicate _________ operations from the primary.

1.Update

2. Drop

3. Insert

4.None of the mentioned

Posted Date:-2022-01-25 08:58:38


Question:
serverStatus includes all fields by default, except ____

1.rangeDeleter

2.rangeDelete

3.rangeDEL

4.None of the mentioned

Posted Date:-2022-01-25 09:06:53


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

1.100

2.200

3.240

4.None of the mentioned

Posted Date:-2022-01-25 08:45:57


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

1. balancer

2. compounder

3.fixer

4.All of the Mentioned

Posted Date:-2022-01-25 08:48:13


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

1.currentQueue

2.curQueue

3. currentQu

4.none of the mentioned

Posted Date:-2022-01-25 09:06:05


Question:
Which field does not support TTL indexes?

1._identity

2. _option

3. _id

4. none of the mentioned

Posted Date:-2022-01-25 08:59:43


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

1.Capped

2.Secondary

3.Sharded

4. All of the mentioned

Posted Date:-2022-01-25 08:51:33


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

1. ToCapped

2. isCapped

3. convertToCapped

4.None of the mentioned

Posted Date:-2022-01-25 08:56:12


Question:
Which of the following is especially important in Sharded Clusters?

1.NSS

2.STP

3.NTP

4.SSD

Posted Date:-2022-01-25 08:45:22


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

1.read

2.write

3.read and write

4.None of the mentioned

Posted Date:-2022-01-25 08:50:56


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

1. slowOpThresholdGs

2.fastOpThresholdMs

3.slowOpThresholdMs

4.None of the mentioned

Posted Date:-2022-01-25 09:02:58


Question:
Which of the following should be avoided with MongoDB Deployments?

1. RAID-5

2.RAID-10

3.RAID-7

4.RAID-0

Posted Date:-2022-01-25 08:39:53


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

1.isCAP()

2.isCapped()

3. isColl()

4.None of the mentioned

Posted Date:-2022-01-25 08:54:15


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

1. primary

2.primaryPreferred

3.secondary

4.None of the mentioned

Posted Date:-2022-01-25 08:49:43


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

1. snappy

2.zip

3.lib

4.Kit

Posted Date:-2022-01-25 08:44:18


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

1.XFS

2.SSD

3.SST

4.All of the Mentioned

Posted Date:-2022-01-25 08:40:24


Question:
You cannot create a TTL index on a ________ collection.

1. Sharded

2.Capped

3.Primary

4. none of the mentioned

Posted Date:-2022-01-25 09:00:35


Question:
____ command creates the capped collection and imports the data.

1.CollectionAsCapped

2.cloneCollection

3.cloneCollectionAsCapped

4.None of the mentioned

Posted Date:-2022-01-25 08:55:45


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

1.RAID-5

2.RAID-10

3.RAID-7

4.None of the mentioned

Posted Date:-2022-01-25 08:39:29


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

1. available

2.current

3.always avail

4.None of the mentioned

Posted Date:-2022-01-25 09:14:03


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

1.oplog.rs

2.log.rs

3.log.rs

4. All of the mentioned

Posted Date:-2022-01-25 08:52:30


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

1.db.createCollection.

2.db.create

3.db.createColl

4.All of the Mentioned

Posted Date:-2022-01-25 08:52:54


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

1. locks.deadlock

2.lock.deadlockCount

3.locks.deadlockCount

4.All of the Mentioned

Posted Date:-2022-01-25 09:04:01


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

1.MMAPv1

2.WiredTiger

3.WirelessTiger

4.All of the Mentioned

Posted Date:-2022-01-25 08:38:14


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

1. ToCapped

2.convertToCap

3. convertToCapped

4.None of the mentioned

Posted Date:-2022-01-25 08:54:39


More MCQS

  1. MongoDB Mcq Question Set 1
  2. MongoDB Mcq Question Set 2
  3. MongoDB Mcq Question Set 3
  4. MongoDB Mcq Question Set 4
  5. MongoDB Mcq Question Set 5
  6. MongoDB Mcq Question Set 6
  7. MongoDB Mcq Question Set 7
  8. MongoDB Mcq Question Set 8
  9. MongoDB Mcq Question Set 9
  10. MongoDB Mcq Question Set 10
  11. MongoDB Mcq Question Set 11
  12. MongoDB Mcq Question Set 12
  13. MongoDB Mcq Question Set 13
  14. MongoDB Mcq Question Set 14
  15. MongoDB Mcq Question Set 15
  16. MongoDB Mcq Question Set 16
  17. MongoDB Mcq Question Set 17
  18. MongoDB Mcq Question Set 18
  19. MongoDB Mcq Question Set 19
  20. MongoDB Mcq Question Set 20
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!