$multiply __________ numbers to return the result.
1. multiplies
2.divides
3.comapres
4. All of the mentioned
In the vars assignment block, ________ refers to the value of an externally defined variable low.
1. “$$lowâ€
2.“$$lowinâ€
3.“$$1â€
4.None of the mentioned
MongoDB applies the _________ phase, which collects and condenses the aggregated data.
1. map
2.reduce
3.mapper
4.All of the Mentioned
Point out the wrong statement.
1. Documents do not pass through the stages in sequence
2.Pipeline stages appear in an multi dimensional array
3.$project reshapes each document in the stream, such as by adding new fields or removing existing fields
4.All of the Mentioned
String expressions, with the exception of ________ only have a well-defined behavior for strings of ASCII characters.
1.$setcon
2.$concatenation
3. $concat
4.None of the mentioned
Which of the following accepts any number of argument expression?
1. $setIntersection
2.$setDifference
3.$setEquals
4.None of the mentioned
Which of the following database command is used for mapreduce function?
1.mapReduce
2.mapperRed
3. redmap
4.None of the mentioned
Which of the following performs a relative complement of the second set relative to the first?
1.$setIntersection
2. $setDifference
3.$setEquals
4. $setUnion
$allElementsTrue returns true if no element of a set evaluates to _______
1.false
2.true
3.0
4.1
$ne returns true if the values are not _______
1.equivalent
2.null
3.0
4.None of the mentioned
$setIsSubset returns _______ if all elements of the first set appear in the second set, including when the first set equals the second set.
1.Null
2.True
3.False
4.None of the mentioned
Aggregation expressions use ______ path to access fields in the input documents.
1.mpath
2.dbpath
3.lpath
4.Field
Comparison expressions return a boolean except for ________ which returns a number.
1. $copy
2. $cmp
3.$num
4.None of the mentioned
For most aggregation operations, the ______ Pipeline provides better performance and more coherent interface.
1.Aggregate
2.Replication
3. Sharding
4.None of the mentioned
MongoDB applies the _____ phase to each input document in mapreduce.
1.map
2.reduce
3.mapper
4.All of the Mentioned
MongoDB treats the literals as projection flags, valid only in the _______ stage.
1.$project
2.$gmap
3.$match
4.None of the mentioned
Point out the correct statement.
1.To access variables in expressions, use a string that prefixes the variable name with $$$
2.Expressions can include field paths and system variables, literals, expression objects, and expression operators
3.To specify a field path, use a string that prefixes with a dollar sign % the field name or the dotted field name
4. All of the mentioned
Point out the correct statement.
1.rsing ambiguity if the argument is a literal array, you must wrap the literal array in a $lits expression or keep the outer array that designates the argument list
2.rsing ambiguity if the argument is a literal array, you must wrap the literal array in a $lits expression or keep the outer array that designates the argument list
3.Operator expressions are similar to functions that take arguments
4. All of the mentioned
Point out the correct statement.
1.The comparison expressions take two argument expressions and compare both value and type, using the specified Java comparison order for values of different types
2. $gte returns true if the first value is greater than the second
3. $gte returns true if the first value is greater than or equal to the second
4. $gte returns true if the first value is greater than or equal to the second
Point out the wrong statement.
1.Literals can be of any type
2.CURRENT cannot be rebound
3. MongoDB parses string literals that start with a dollar sign $
4.None of the mentioned
Point out the wrong statement.
1.Boolean expressions evaluate their argument expressions as booleans and return a boolean as the result
2.In addition to the false boolean value, Boolean expression evaluates as false the following: null, 0, and undefined values
3.Set expressions performs set operation on arrays, treating arrays as sets
4.None of the mentioned
Query shape consists of a combination of query, sort, and _________ specifications.
1.selection
2.projection
3.collection
4.None of the mentioned
Syntax for specifying an initial batch size for the cursor is ______
1. cursor: { batchSize: <string> }
2.cursor: { batchSize: <int> }
3.cur: { batchSize: <int> }
4.None of the mentioned
The output of the reduce function may pass through a ______ function to further condense or process the results of the aggregation.
1. finalize
2.filter
3.procedure
4.None of the mentioned
To avoid treating numeric or boolean literals as projection flags, use the _______ expression to wrap the numeric or boolean literals.
1.$literal
2.$bool
3. $unwin
4.None of the mentioned
To handle large datasets, set _________ option to true to enable writing data to temporary files.
1.enableDiskUse
2. allowDiskUse
3. validateDiksUse
4.None of the mentioned
What would be the maximum document size for results of mapreduce operation?
1.15 MB
2.16 MB
3.17 MB
4.All of the Mentioned
Which of the following can be used to implement field level redaction?
1.$skip
2.$limit
3. $match
4.$redact
Which of the following method is overrided by Index filters?
1. hint
2.plan
3.execute
4. All of the mentioned
Which of the following operator incorporates the functionality of $match, $sort, and $limit for geospatial data?
1.$geoSpatial
2. $geoNear
3. $geoRear
4.None of the mentioned
Which of the following operator is related to geography of data?
1.$geoSpatial
2.$geoNear
3. $geoRear
4. none of the mentioned
Which of the following stages cannot appear multiple times in a pipeline?
1.$regex
2.$reg
3. $match
4.$out
Which of the following statement is equivalent to “$$CURRENT.<field>�
1. “$%<field>â€
2. “%<field>â€
3.“$$<field>â€
4. “$<field>â€
___ filters the document stream to allow only matching documents to pass unmodified into the next pipeline stage.
1.$regex
2. $reg
3.$match
4.None of the mentioned
___ passes the first n documents unmodified to the pipeline where n is the specified limit.
1.$skip
2. $limit
3.$match
4. $redact
____ binds variables for use in the specified expression.
1.$skip
2.$let
3.$bind
4.None of the mentioned
____ expressions ignores the duplicate entries in each input array and the order of the elements.
1.set
2. boolean
3.aggregate
4.none of the mentioned
____ reorders the document stream by a specified sort key.
1.$skip
2. $limit
3. $sort
4. none of the mentioned
____ returns true if the first value is less than the second.
1.$lte
2.$lt
3.$setEquals
4.None of the mentioned
____ Writes the resulting documents of the aggregation pipeline to a collection.
1.$out
2. $in
3.$output
4.None of the mentioned
_____ accepts only single argument expression.
1.$setIsSubset
2.$bool
3.$anyElementTrue
4.None of the mentioned
_____ adds numbers to return the sum, or adds numbers and a date to return a new date.
1. $addnum
2.$setadd
3. $adds
4. $add
_____ applies an expression to each item in an array and returns an array with the applied results.
1.$map
2.$geo
3. $geoRear
4.None of the mentioned
_____ deconstructs an array field from the input documents to output a document for each element.
1. $unwindelem
2. $unwind
3.$unwin
4.None of the mentioned
_____ returns a set with elements that appear in any of the input sets.
1.$setIntersection
2.$setDifference
3. $setEquals
4.$setUnion
_____ returns the remainder of the first number divided by the second.
1.$rem
2.$mod
3. $div
4.None of the mentioned
_____ subtracts two dates to return the difference in milliseconds.
1.$rem
2.$mod
3.$div
4.$subtract
______ can be used to iterate the cursor of document results returned by db.collection.find().
1. it
2.next
3.cur
4.None of the mentioned
______ can return the results of a map-reduce operation as a document, or may write the results to collections.
1.mapReduce
2. mapperRed
3.RedMap
4.None of the mentioned
_______ returns true if the input sets have the same distinct elements.
1. $setUnion
2.$setDifference
3. $setEquals
4.None of the mentioned