1. Object_Id is similar to _________ key in Relational Databases
Correct Answer is : primary
2. Object_Id is similar to _________ key in Relational Databases
Correct Answer is : primary
3. Point out the correct statement :
Correct Answer is : ObjectIds are small, likely unique, fast to generate, and ordered
4. Point out the correct statement :
Correct Answer is : ObjectIds are small, likely unique, fast to generate, and ordered
5. Which of the field is reserved for use as a primary key ?
6. Which of the field is reserved for use as a primary key ?
7. In the mongo shell, you can access the creation time of the ObjectId, using the ______ method..
Correct Answer is : getTimestamp()
8. In the mongo shell, you can access the creation time of the ObjectId, using the ______ method..
Correct Answer is : getTimestamp()
9. Point out the wrong statement :
Correct Answer is : None of the mentioned
10. Point out the wrong statement :
Correct Answer is : None of the mentioned
11. To ensure functioning replication, do not store values that are of the _______ regular expression type in the _id field.
Correct Answer is : None of the mentioned
12. To ensure functioning replication, do not store values that are of the _______ regular expression type in the _id field.
Correct Answer is : None of the mentioned
13. GridFS uses a _________ index on the chunks collection for the files_id and n fields.
Correct Answer is : unique
14. GridFS uses a _________ index on the chunks collection for the files_id and n fields.
Correct Answer is : unique
15. The ______ field is always the first field in the document.
16. The ______ field is always the first field in the document.
17. The GridFS index allows efficient retrieval of __________ using the files_id and n values
Correct Answer is : chunks
18. The GridFS index allows efficient retrieval of __________ using the files_id and n values
Correct Answer is : chunks
19. Which of the following query is used to generate a new ObjectId, use the ObjectId() constructor with no argument
Correct Answer is : x = ObjectId()
20. Which of the following query is used to generate a new ObjectId, use the ObjectId() constructor with no argument
Correct Answer is : x = ObjectId()