JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
MongoDB interview questions part 7
MongoDB interview questions part 7
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. MongoDB can be used as a ____________, taking advantage of load balancing and data replication features over multiple machines for storing files.
A. AMS
B. CMS
C. File system
D. None of the mentioned
Show Correct Answer
Correct Answer is :
AMS
2. MongoDB can be used as a ____________, taking advantage of load balancing and data replication features over multiple machines for storing files.
A. AMS
B. CMS
C. File system
D. None of the mentioned
Show Correct Answer
Correct Answer is :
AMS
3. _____________ can be used for batch processing of data and aggregation operations.
A. Hive
B. MapReduce
C. Oozie
D. None of the mentioned
Show Correct Answer
Correct Answer is :
MapReduce
4. _____________ can be used for batch processing of data and aggregation operations.
A. Hive
B. MapReduce
C. Oozie
D. None of the mentioned
Show Correct Answer
Correct Answer is :
MapReduce
5. MongoDB supports fixed-size collections called ____________ collections.
A. primary
B. secondary
C. capped
D. all of the mentioned
Show Correct Answer
Correct Answer is :
capped
6. MongoDB supports fixed-size collections called ____________ collections.
A. primary
B. secondary
C. capped
D. all of the mentioned
Show Correct Answer
Correct Answer is :
capped
7. MongoDB uses a ____________ lock that allows concurrent read access to a database but exclusive write access to a single write operation.
A. readers
B. readers-writer
C. writer
D. none of the mentioned
Show Correct Answer
Correct Answer is :
readers-writer
8. MongoDB uses a ____________ lock that allows concurrent read access to a database but exclusive write access to a single write operation.
A. readers
B. readers-writer
C. writer
D. none of the mentioned
Show Correct Answer
Correct Answer is :
readers-writer
9. Which of the following sorting is not supported by MongoDB ?
A. collation
B. collection
C. heap
D. none of the mentioned
Show Correct Answer
Correct Answer is :
collation
10. Which of the following sorting is not supported by MongoDB ?
A. collation
B. collection
C. heap
D. none of the mentioned
Show Correct Answer
Correct Answer is :
collation
11. _________ is a binary serialization format used to store documents and make remote procedure calls in MongoDB.
A. BSON
B. GridFS
C. JSON
D. None of the mentioned
Show Correct Answer
Correct Answer is :
BSON
12. Point out the correct statement :
A. ObjectIds are small, likely unique, fast to generate, and ordered
B. ObjectIds are large, likely unique, and ordered
C. ObjectIds values consists of 18-byte
D. All of the mentioned
Show Correct Answer
Correct Answer is :
ObjectIds are small, likely unique, fast to generate, and ordered
13. Which of the following data type is depreciated ?
A. Double
B. String
C. Object
D. Undefined
Show Correct Answer
Correct Answer is :
Undefined
14. Each data type has a corresponding number that can be used with the _______ operator to query documents by BSON type.
A. $type
B. $server
C. $agent
D. None of the mentioned
Show Correct Answer
Correct Answer is :
$type
15. Point out the wrong statement :
A. BSON Date is a 32-bit integer that represents the number of milliseconds
B. The BSON timestamp type is for internal MongoDB use
C. If you need to query the database for exact, mathematically valid matches, use Ambiguity Precision
D. None of the mentioned
Show Correct Answer
Correct Answer is :
BSON Date is a 32-bit integer that represents the number of milliseconds
16. MongoDB represents queries as ___________ objects.
A. BSON
B. JSON
C. GSON
D. None of the mentioned
Show Correct Answer
Correct Answer is :
BSON
17. There is _________ byte counter in BSON, starting with a random value
A. 2
B. 3
C. 4
D. None of the mentioned
Show Correct Answer
Correct Answer is :
3
18. In the mongo shell, you can access the creation time of the ObjectId, using the ______ method..
A. getTime()
B. getTimestamp()
C. Timestamp()
D. None of the mentioned
Show Correct Answer
Correct Answer is :
getTimestamp()
19. __________ returns the JavaScript representation in the form of a string literal
A. toStringJava()
B. toString()
C. String()
D. none of the mentioned
Show Correct Answer
Correct Answer is :
toString()
20. Which of the following query is used to generate a new ObjectId, use the ObjectId() constructor with no argument
A. x = ObjectIdAdd()
B. x = addObjectId()
C. x = ObjectId()
D. none of the mentioned
Show Correct Answer
Correct Answer is :
x = ObjectId()
Similar Interview Questions
Search for latest jobs
Find Jobs