When a new regular collection is created in MongoDB, which index exists on it automatically, with no explicit
createIndex() call?- aA compound index covering every field in the first inserted document
- bA unique index on the
_idfield✓ - cA text index on all string-typed fields
- dNo index exists until one is created explicitly
Explanation:MongoDB creates a unique index on
_id when a regular collection is created, guaranteeing every document has a unique identifier and fast lookup by it. Specialized collection types can differ; for example, time series collections don't support unique indexes. There is no automatic compound or text index (a, c), and it isn't true that nothing exists by default (d).