Explanation:Instead use the collMod database command in conjunction with the index collection flag. Otherwise, to change the value of the option of an existing index, you must drop the index first and recreate. 10.You cannot create a TTL index on a ________ collection
A. Sharded
B. Capped
C. Primary
D. None of the mentioned
Answer:A
Explanation:Instead use the collMod database command in conjunction with the index collection flag. Otherwise, to change the value of the option of an existing index, you must drop the index first and recreate. 10.You cannot create a TTL index on a ________ collection
A. Sharded B. Capped C. Primary D. None of the mentioned
Explanation:MongoDB cannot remove documents from a capped collection. Sanfoundry Global Education & Learning Series – MongoDB.