MongoDB

MongoDB

Data Modeling Concepts has 20 Questions
Capped collections provide __________ management of inserted documents in MongoDB.

FIFO
LIFO
LRU
MRU
The __________ feature of collections expires documents after a period of time.

TEL
TTL
TPL
None of the mentioned
MongoDB using the mmapv1 storage engine has limits on the number of __________ .

namespaces
collections
documents
None of the mentioned
To interact with embedded documents, use ___________ notation to "reach into"? embedded documents.

period
dot
comma
colon
Normalized data models describe relationships using ___________ between documents.

relativeness
references
evaluation
None of the mentioned
Embedded data model is used when you have _________ relationships between entities

contains
isa
inheritance
All of the mentioned
Point out the correct statement :

With MongoDB, you cannot embed related data in a single structure or document
The key consideration for the structure of your documents is the decision to embed or to use references
Reference schema is generally known as "denormalized"? models
None of the mentioned
___________ data models allow applications to store related pieces of information in the same database record.

Reference
Embedded
External
None of the mentioned
To get the current number of namespaces in the mongo shell, use :

db.system.namespaces.countc()
db.system.namespaces.count(*)
db.system.namespaces.count()
All of the mentioned
Point out the wrong statement :

Embedded data models make it possible to update related data in a single atomic write operation
Embedding related data in documents may lead to situations where documents grow after creation
With the MMAPv1 storage engine, document growth can impact write performance and lead to data fragmentation
All of the mentioned
Which of the following field allows efficient retrieval of chunks ?

n
name
object
2n
The files_id field contains the _id of the chunk's __________ document.

parent
child
top
None of the mentioned
Which of the following checks and repairs errors and inconsistencies in data storage ?

repairDatabase
repairedDatabase
recoverDatabase
All of the mentioned
___________ is the _id is of the data type chosen for the original document in files collections.

files._id
file._id
fileobj._id
None of the mentioned
Which of the collection in GridFS stores the binary chunks ?

chunks
files
data
log
Point out the wrong statement :

Client libraries provide a convenient, injection free, process to build these objects
MongoDB represents queries as BSON objects
Field names in MongoDB's query language have semantic meaning
All of the mentioend
The default chunk size is changed from 256k to 255k in version :

3.0
2.4.9
2.4.10
None of the mentioned
How many does collections GridFS use to store files ?

1
2
3
4
Point out the wrong statement :

By default GridFS limits chunk size to 255k
GridFS is useful only for storing files that exceed 16MB
When you query a GridFS store for a file, the driver or client will reassemble the chunks as needed
All of the mentioned
_______________ is a specification for storing and retrieving files that exceed the BSON-document size limit of 16MB.

DataFS
GridFS
ReadFS
None of the mentioned