Introduction to mongodb
Week 1 Quiz answers
Creating an Atlas Free-free Cluster
Q1) How much will our Atlas Cluster cost per month ?
- 10 USD
- 5 USD
- 1 USD
- 20 UJD
- Nothing lt's free.
Getting Data into MongoDB
Q1) How many documents were imported by our mongo import command ?
- 40,600
- 46,000
- 44,800
- 46,014
- 40,001
How to Connect to Your Atlas Cluster from Python
Q1) What elements of the provided connection string do yo need to change in order to successfully connect to MongoDB form Python?
- password
- authorization source
- username
- cluster name
- database
Incremental Improvements with $sort and $sortByCount
Q1) What are the two components of a sort expression?
- list
- count
- size
- field
- direction
Intro to the Aggregation Framework
Q1) Which of the following are true of the aggregation pipeline?
- Pipelines use a MongoDB collection as input.
- Aggregation pipelines are similar to Linux shell pipelines.
- You may include a particular type of stage in an aggregation pipeline only once.
- An individual stage within a pipeline performs many different types of tasks.
- The task a pipeline stage performs is tunable.
Using Compass to View Data in an Atlas Cluster
Q1) What is the runtime of the first document listed in our
collection?
- 6 min
- 23 min
- 1 min
- 14 min
- 103 min
Working with Data in MongoDB
Q1) Which of the following accurately describe PyMongo?
- A Python library
- A client library for connecting to MongoDB
- A library that supports the MongoDB aggregation framework and query language
- A hosting platform for MongoDB
- A programming language
Your First Aggregation (Using $group)
Q1) What data structure is used to define expressions in the aggregation
framework?
- list
- string
- dictionary
- tuple
------------------------------------------------------------------------------------------------------------------------------------------------
Introduction to mongodb
------------------------------------------------------------------------------------------------------------------------------------------------
3 Comments
What is the runtime of the first document listed in our collection?
ReplyDeletewhere is the code answer ?
ReplyDeleteThe notebook queries MongoDB to find all trips between 5 and 10 minutes in duration that start at station 216.
ReplyDelete