Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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

Answer: a
Explanation: In MongoDB, documents stored in a collection require a unique _id field that acts as a primary key.

Join The Discussion