Use the following questions to help you review the material in this tutorial.
Quiz Summary
0 of 8 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Results
0 of 8 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 8
1. Question
You are building an
aggregate
statement in the Aggregation Editor. You plan to add a stage to the pipeline that inserts a new field. The field will add the values in two existing fields together to find their sum. Which aggregate operator should you use?CorrectIncorrect -
Question 2 of 8
2. Question
You are building an
aggregate
statement in the Aggregation Editor. The third stage is based on the$project
operator. What is the name of the tab used to edit the operator’s expression?CorrectIncorrect -
Question 3 of 8
3. Question
You are building an
aggregate
statement in the Aggregation Editor. You plan to add a stage to the pipeline that retrieves data from a secondary collection in the same database as the primary collection. Which aggregate operator should you use for the new stage?CorrectIncorrect -
Question 4 of 8
4. Question
You are building an
aggregate
statement in the Aggregation Editor. The statement is based on thecustomers
collection. You are adding a$lookup
stage to the pipeline to retrieve data from thepopulation
collection, which is in the same database as thecustomers
collection. Thecity
field in thecustomers
collection maps to thecity_name
field in thepopulation
collection. You plan to assign the namecity_data
to the lookup array. How do you configure the operator’s expression?CorrectIncorrect -
Question 5 of 8
5. Question
You are building an
aggregate
statement in the Aggregation Editor. You plan to add a stage to the pipeline that replaces an existing field with the same values but converts them from strings to integers. Which aggregate operator should you use for the new stage?CorrectIncorrect -
Question 6 of 8
6. Question
You are building an
aggregate
statement in the Aggregation Editor. You plan to add a stage to the pipeline that replaces an existing field with the same values but converts them from strings to integers. However, you must first remove the commas from the string values. Which operator can you use to remove the commas?CorrectIncorrect -
Question 7 of 8
7. Question
You are building an
aggregate
statement in the Aggregation Editor. The aggregated data includes the <population
field, which provides the population for each city, and thesales
field, which provides the number of sales for each city. You now want to add a field to the pipeline that shows the ratio between the number of sales and the city’s population. For this stage, you plan to use the$set
operator and name the new fieldratio
. How should you configure the operator’s expression?CorrectIncorrect -
Question 8 of 8
8. Question
You are building an
aggregate
statement in the Aggregation Editor. The data returned by the pipeline provides the total number of transactions for each country in the European Union. The documents are sorted by the number of transactions, in descending order. You plan to add one more stage to the pipeline that uses the$limit
operator to return the five documents with the highest transactions. Which argument should you pass in as the operator’s expression?CorrectIncorrect