JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
MongoDB interview questions part 12
MongoDB interview questions part 12
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Normalized data models describe relationships using ___________ between documents.
A. relativeness
B. references
C. evaluation
D. none of the mentioned
Show Correct Answer
Correct Answer is :
references
2. Point out the wrong statement :
A. Embedded data models make it possible to update related data in a single atomic write operation
B. Embedding related data in documents may lead to situations where documents grow after creation
C. With the MMAPv1 storage engine, document growth can impact write performance and lead to data fragmentation
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
3. To interact with embedded documents, use ___________ notation to “reach into” embedded documents.
A. period
B. dot
C. comma
D. colon
Show Correct Answer
Correct Answer is :
dot
4. MongoDB using the mmapv1 storage engine has limits on the number of __________ .
A. namespaces
B. collections
C. documents
D. none of the mentioned
Show Correct Answer
Correct Answer is :
namespaces
5. To get the current number of namespaces in the mongo shell, use :
A. db.system.namespaces.countc()
B. db.system.namespaces.count(*)
C. db.system.namespaces.count()
D. all of the mentioned
Show Correct Answer
Correct Answer is :
db.system.namespaces.count()
6. The __________ feature of collections expires documents after a period of time.
A. TEL
B. TTL
C. TPL
D. None of the mentioned
Show Correct Answer
Correct Answer is :
TTL
7. Capped collections provide __________ management of inserted documents in MongoDB.
A. FIFO
B. LIFO
C. LRU
D. MRU
Show Correct Answer
Correct Answer is :
FIFO
8. _______________ is a specification for storing and retrieving files that exceed the BSON-document size limit of 16MB.
A. DataFS
B. GridFS
C. ReadFS
D. None of the mentioned
Show Correct Answer
Correct Answer is :
GridFS
9. Point out the wrong statement :
A. By default GridFS limits chunk size to 255k
B. GridFS is useful only for storing files that exceed 16MB
C. When you query a GridFS store for a file, the driver or client will reassemble the chunks as needed
D. All of the mentioned
Show Correct Answer
Correct Answer is :
GridFS is useful only for storing files that exceed 16MB
10. How many does collections GridFS use to store files ?
A. 1
B. 2
C. 3
D. 4
Show Correct Answer
Correct Answer is :
2
11. The default chunk size is changed from 256k to 255k in version :
A. 3
B. 2.4.9
C. 2.4.10
D. None of the mentioned
Show Correct Answer
Correct Answer is :
2.4.9
12. Point out the wrong statement :
A. Client libraries provide a convenient, injection free, process to build these objects
B. MongoDB represents queries as BSON objects
C. Field names in MongoDB’s query language have semantic meaning
D. All of the mentioend
Show Correct Answer
Correct Answer is :
All of the mentioend
13. Which of the collection in GridFS stores the binary chunks ?
A. chunks
B. files
C. data
D. log
Show Correct Answer
Correct Answer is :
chunks
14. ___________ is the _id is of the data type chosen for the original document in files collections.
A. files._id
B. file._id
C. fileobj._id
D. none of the mentioned
Show Correct Answer
Correct Answer is :
files._id
15. Which of the following checks and repairs errors and inconsistencies in data storage ?
A. repairDatabase
B. repairedDatabase
C. recoverDatabase
D. all of the mentioned
Show Correct Answer
Correct Answer is :
repairDatabase
16. The files_id field contains the _id of the chunk’s __________ document.
A. parent
B. child
C. top
D. none of the mentioned
Show Correct Answer
Correct Answer is :
parent
17. Which of the following field allows efficient retrieval of chunks ?
A. n
B. name
C. object
D. 2n
Show Correct Answer
Correct Answer is :
n
18. ________ store the relationships between data by including links or references from one document to another.
A. Capped
B. Embedded
C. External
D. References
Show Correct Answer
Correct Answer is :
References
19. Point out the correct statement :
A. In practice, the documents in a collection share a different structure
B. Data in MongoDB has a flexible schema
C. The key challenge in data modeling is balancing the needs of the application, the performance characteristics of the database engine, and the data retrieval patterns
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Data in MongoDB has a flexible schema
20. In MongoDB, write operations are atomic at the __________ level.
A. collection
B. document
C. row
D. all of the mentioned
Show Correct Answer
Correct Answer is :
document
Similar Interview Questions
Search for latest jobs
Find Jobs