MongoDB

MongoDB

Write operations has 23 Questions
A query _______ consists of a combination of query, sort, and projection specifications.

plan
shape
stats
All of the mentioned
An ________ query plan has returned a threshold number of matching results

execution
unordered
ordered
None of the mentioned
_________ is used to view statistics about the query plan for a given query.

db.explain()
cursor.explain()
cursor.explainstats()
All of the mentioned
The update() method uses the _______ command, which uses the default write concern.

find
read
update
modify
_____ can modify specific fields of an existing document or documents or replace an existing document entirely, depending on the update parameter.

modify()
update()
find()
None of the mentioned
Point out the correct statement :

An equality match on the unique _id field is less selective as it can match at most one document
The selectivity of regular expressions depends on the expressions themselves
Less selective queries can use indexes effectively or even at all
All of the mentioned
The ________ message is used to update a document in a collection.

UPDATE
OP_UPDATE
OP_UPDATES
All of the mentioned
___________ is used to determine whether a query is a covered query .

explainstats()
explain()
explainall()
All of the mentioned
Point out the wrong statement :

Query selectivity refers to how well the query predicate excludes or filters out documents in a collection
Query selectivity can determine whether or not queries can use indexes effectively or even use indexes at all
More selective queries match a larger percentage of documents
All of the mentioned
Indexes are typically available in ______ or located sequentially on disk.

RAM
ROM
CMOS
None of the mentioned
With an __________ write concern, MongoDB does not acknowledge the receipt of write operations.

Nacknowledged
Acknowledgement
Acknowledged
unacknowledged
Clients can set a __________ value as part of a replica acknowledged write concern.

timeout
wtimeout
waittimeout
None of the mentioned
_____________ is used to control mongod commits in the journal.

commitIntervMs
commitInterval
commitIntervalMs
All of the mentioned
The mongo shell and the MongoDB drivers use __________ as the default write concern.

Nacknowledged
Acknowledgement
Acknowledged
All of the mentioned
Point out the wrong statement :

When a query does not include a shard key, the mongos can use cluster metadata from the config database to route the queries to shards
On larger clusters, scatter gather queries are unfeasible for routine operations
Replica sets use read preferences to determine where and how to route read operations to members of the replica set
None of the mwntioned
When inserts, updates and deletes have a _________ write concern, write operations return quickly.

strong
weak
average
very strong
___________ concern describes the guarantee that MongoDB provides when reporting on the success of a write operation.

Write
Read
Update
None of the mentioned
Point out the correct statement :

Read operations on sharded clusters are most efficient when directed to a specific shard
Sharded clusters allow you to partition a data set among a cluster of mongod instances in a way that is nearly transparent to the application
For a sharded cluster, applications issue operations to one of the mongos instances associated with the cluster
All of the mentioned
Point out the correct statement :

Read operations on sharded clusters are most efficient when directed to a specific shard
Sharded clusters allow you to partition a data set among a cluster of mongod instances in a way that is nearly transparent to the application
For a sharded cluster, applications issue operations to one of the mongos instances associated with the cluster
All of the mentioned
___________ concern describes the guarantee that MongoDB provides when reporting on the success of a write operation.

Write
Read
Update
None of the mentioned
___________ concern describes the guarantee that MongoDB provides when reporting on the success of a write operation.

Write
Read
Update
None of the mentioned
MongoDB does not ___________ modifications made before the wtimeout interval expired.

commit
rollback
save
All of the mentioned
With a receipt acknowledged write concern, the _________confirms that it received the write operation and applied the change to the in-memory view of data.

mongod
mongos
mongo
mongoc