Given a collection posts as shown below having a document array comments, which of the following command will create an index on the comment author descending?
I'm a bit unsure on this one. I know the "advertise-label ipv4" command is related to distributing labeled IPv4 routes, but I'm not 100% sure of the exact placement in an inter-AS VPRN setup. I'll have to think it through carefully.
The question is asking about the customer environment, so I'm thinking SAN performance, storage capacity, and network performance would be the best choices to assist with that.
I'm going with B. db.posts.createIndex({\'comments.author\':1}). It's the only one that looks like it actually creates an index on the 'comments' subdocument. The others seem a bit... creative.
I think the answer is A. db.posts.createIndex({\'^comments.$.author\':-1}). It seems to create an index on the 'author' field of the 'comments' subdocument in descending order.
The correct answer is B. db.posts.createIndex({\'comments.author\':1}). The command creates an index on the 'author' field of the 'comments' subdocument in the 'posts' collection, in ascending order.
Michael
7 months agoAdell
7 months agoVeronika
7 months agoMargurite
7 months agoLang
7 months agoLorita
8 months agoYoulanda
8 months agoNan
8 months agoDallas
8 months agoOretha
8 months agoMarlon
8 months agoHelga
8 months agoCora
1 year agoGerardo
1 year agoLashawn
1 year agoQuentin
11 months agoNieves
11 months agoElmira
11 months agoLamar
11 months agoChandra
11 months agoGennie
12 months agoIsaiah
12 months agoRosalyn
1 year agoMonroe
1 year agoTricia
1 year agoSusana
1 year agoDelisa
1 year agoOdelia
12 months agoMaira
12 months agoBrittni
1 year agoKassandra
1 year agoMarshall
1 year agoChara
1 year ago