Q. What is the primary key in MongoDB?

A
key
B
_id
C
primary
D
index
Solution:

The _id field serves as the primary key in MongoDB.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!