MongoDB

MongoDB

Data Modeling Introduction has 10 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
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
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
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
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