You cannot use _________ to change the value of expireAfterSeconds of an existing index.
A. createIndex()
B. dropIndex()
C. removeIndex()
D. None of the mentioned
Answer:A
You cannot use _________ to change the value of expireAfterSeconds of an existing index.
A. createIndex() B. dropIndex() C. removeIndex() D. None of the mentioned
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