Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmasmnth

Consider the following posts document: Which of the following queries will return the documents but...

Consider the following posts document:

Which of the following queries will return the documents but with only the first two tags in the tags array?

A.

db.posts.find({author: " Tom " ».limit({tags:2})

B.

db.posts.find({author: " Tom " ».limit($slice:{tags:2 > )

C.

Both " db.posts.find({author: " Tom " },{tags:{$slice:2}}) " and " db.posts.find({author: " Tom " }).limit($slice: {tags:2}) " are valid. $slice works both with projection and limit.

D.

db.posts.find({author: " Tom " > ,{tags:{$slice:2»)

MongoDB C100DBA Summary

  • Vendor: MongoDB
  • Product: C100DBA
  • Update on: Nov 5, 2026
  • Questions: 172
Price: $52.5  $149.99
Buy Now C100DBA PDF + Testing Engine Pack

Payments We Accept

Your purchase with ExamsVCE is safe and fast. Your products will be available for immediate download after your payment has been received.
The ExamsVCE website is protected by 256-bit SSL from McAfee, the leader in online security.

examsvce payment method