Halloween Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ac4s65

Consider the following document:> db.

Consider the following document:

> db.c.find()

{ "_id" : 12, b : [ 3, 5, 7, 2, 1, -4, 3, 12 ] }

Which of the following queries on the "c" collection will return only the first five elements of the array in the "b"

field? E.g.,

Document you want returned by your query:

{ "_id" : 12, "b" : [ 3, 5, 7, 2, 1 ] >

A.

db.c.find( { > , { b : { $slice : [ 0 , 5 ] } } )

B.

db.c.find( { b : [ 0 , 5 ] > )

C.

db.c.find( { > , { b : { $substr[ 0 , 5 ] > > )

D.

db.c.find( { > , { b : [ 0, 1, 2, 3, 4, 5 ] > )

E.

db.c.find( { > , { b : [ 0 , 5 ] > )

C100DBA PDF/Engine
  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions
buy now C100DBA pdf
Get 65% Discount on All Products, Use Coupon: "ac4s65"