MongoDB

MongoDB

BSON has 10 Questions

_________ is a binary serialization format used to store documents and make remote procedure calls in MongoDB.

BSON
GridFS
JSON
None of the mentioned
Point out the correct statement :

ObjectIds are small, likely unique, fast to generate, and ordered
ObjectIds are large, likely unique, and ordered
ObjectIds values consists of 18-byte
All of the mentioned
Which of the following data type is depreciated ?

Double
String
Object
Undefined
Each data type has a corresponding number that can be used with the _______ operator to query documents by BSON type.

$type
$server
$agent
None of the mentioned
hich of the following query is used to generate a new ObjectId, use the ObjectId() constructor with no argument

x = ObjectIdAdd()
x = addObjectId()
x = ObjectId()
None of the mentioned
__________ returns the JavaScript representation in the form of a string literal

toStringJava()
toString()
String()
None of the mentioned
In the mongo shell, you can access the creation time of the ObjectId, using the ______ method..

getTime()
getTimestamp()
Timestamp()
None of the mentioned
There is __-byte counter in BSON, starting with a random value

2
3
4
None of the mentioned
MongoDB represents queries as ___________ objects.

BSON
JSON
GSON
None of the mentioned
Point out the wrong statement :

BSON Date is a 32-bit integer that represents the number of milliseconds
The BSON timestamp type is for internal MongoDB use
If you need to query the database for exact, mathematically valid matches, use Ambiguity Precision
None of the mentioned