JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
MongoDB interview questions part 27
MongoDB interview questions part 27
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. The __________ JavaScript shell and the MongoDB language drivers translate between BSON and the language-specific document representation.
A. mongod
B. mongo
C. iscript
D. none of the mentioned
Show Correct Answer
Correct Answer is :
mongo
2. Point out the correct statement :
A. MongoDB stores chunks on disk in the XML serialization format
B. MongoDB stores documents on disk in the BSON serialization format
C. MongoDB stores documents on RAM in the JSON serialization format
D. All of the mentioned
Show Correct Answer
Correct Answer is :
MongoDB stores chunks on disk in the XML serialization format
3. BSON is a binary representation of ________ documents,
A. JSON
B. XML
C. JScript
D. All of the mentioned
Show Correct Answer
Correct Answer is :
JSON
4. MongoDB documents are composed of field-and-value pairs and have the following structure:
A. field1:; value1
B. field1: value1;
C. field1: value1
D. none of the mentioned
Show Correct Answer
Correct Answer is :
field1: value1
5. Point out the wrong statement :
A. Some documents created by internal MongoDB processes may have duplicate fields
B. no MongoDB process will ever add duplicate fields to an existing user document
C. The maximum BSON document size is 16 megabytes
D. None of the mentioned
Show Correct Answer
Correct Answer is :
The maximum BSON document size is 16 megabytes
6. To store documents larger than the maximum size, MongoDB provides the _______ API.
A. Grid
B. MMS
C. GridFS
D. None of the mentioned
Show Correct Answer
Correct Answer is :
GridFS
7. The ______ field is always the first field in the document.
A. _id
B. id
C. Ob_id
D. None of the mentioned
Show Correct Answer
Correct Answer is :
_id
8. To ensure functioning replication, do not store values that are of the _______ regular expression type in the _id field.
A. JSON
B. XML
C. JScript
D. None of the mentioned
Show Correct Answer
Correct Answer is :
None of the mentioned
9. Index keys that are of the _______ type are more efficiently stored in the index.
A. Materialized Paths
B. BinData
C. String
D. None of the mentioned
Show Correct Answer
Correct Answer is :
BinData
10. MongoDB uses the ________ notation to access the elements of an array and to access the fields of an embedded document.
A. Dot
B. Array
C. Nested Sets
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Dot
11. Which of the the following data structures are documents in MongoDB ?
A. All database records
B. Query selectors
C. Update definitions
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
12. Point out the correct statement :
A. Update definitions define what fields to modify during an update
B. Query specifications, which define what fields to index
C. Index selectors, which define what records to select for read, update, and delete operations
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Update definitions define what fields to modify during an update
13. An application communicates with MongoDB by way of a client library, called :
A. Driver
B. Parent
C. Rank
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Driver
14. User-defined indexes on multiple fields is called :
A. composite index
B. secondary index
C. compound index
D. none of the mentioned
Show Correct Answer
Correct Answer is :
compound index
15. Point out the wrong statement :
A. The field names cannot start with the dollar sign ($) character
B. The field names cannot contain the dot (.) character
C. The field names cannot contain the null character
D. None of the mentioned
Show Correct Answer
Correct Answer is :
None of the mentioned
16. Which of the field is reserved for use as a primary key ?
A. _id
B. _uid
C. _uuid
D. all of the mentioned
Show Correct Answer
Correct Answer is :
_id
17. If your driver has a version number of 2.9.1, What is the major version ?
A. 1
B. 2
C. 9
D. None of the mentioned
Show Correct Answer
Correct Answer is :
2
18. Updates that include _________ of field names may result in the reordering of fields in the document.
A. Renaming
B. Joining
C. Nesting
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Renaming
19. The $rename operator logically performs an _______ of both the old name and the new name.
A. $unset
B. $set
C. $Nested
D. None of the mentioned
Show Correct Answer
Correct Answer is :
$unset
20. ____________ pattern requires additional steps of working with strings and regular expressions.
A. Materialized Paths
B. Array of Ancestors
C. Nested Sets
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Materialized Paths
Similar Interview Questions
Search for latest jobs
Find Jobs