The MongoDB Aggregation Framework | Chapter 5 - Miscellaneous Aggregation Quiz Answer

The MongoDB Aggregation Framework  Chapter 5 - Miscellaneous Aggregation Quiz Answer


The MongoDB Aggregation Framework | Chapter 5 - Miscellaneous Aggregation


In this article i am gone to share MongoDB-University Course: The MongoDB Aggregation Framework | Chapter 5 - Miscellaneous Aggregation Quiz Answer with you..



The $out Stage

Which of the following statements is true regarding the $out stage?
  • $out will overwrite an existing collection if specified.
  • $out removes all indexes when it overwrites a collection.
  • If a pipeline with $out errors, you must delete the collection specified to the $out stage.
  • Using $out within many sub-piplines of a $facet stage is a quick way to generate many differently shaped collections.


Views

Which of the following statements are true regarding MongoDB Views?
  • A view cannot be created that contains both horizontal and vertical slices.
  • Inserting data into a view is slow because MongoDB must perform the pipeline in reverse.
  • Views should be used cautiously because the documents they contain can grow incredibly large.
  • View performance can be increased by creating the appropriate indexes on the source collection.






Post a Comment

0 Comments