nosql all questions and answers latest update 100% verified
1. Which of the following are true about data modeling in MongoDB? (Choose one)
MongoDB will help you iterate on the schema designs of your models throughout your
application's lifecycle.
MongoDB is schema-less so you should not worry about designing a schema for your
models.
MongoDB should only be used for unstructured datasets.
correct - ANSWER MongoDB will help you iterate on the schema designs of your models
throughout your application's lifecycle.
2. Which of the following statements are true about MongoDB documents?
(Select all that apply.) (Select all that apply.)
MongoDB documents have a flexible schema.
MongoDB documents are stored as BSON documents.
MongoDB documents within a collection must have the same fields. - ANSWER
MongoDB documents have a flexible schema.
MongoDB documents are stored as BSON documents.
3. Which of the following is not a typical constraint that would influence your data model
for MongoDB? (Select one.)
Operating System
Disk Drives
RAM
Security
Network - ANSWER Operating System
,4. Which of the following steps are part of our data modeling process for MongoDB?
(Select all that apply)
Identifying relationships between pieces of information.
Identifying the workload of the system.
Applying schema design patterns. - ANSWER Identifying relationships between pieces
of information.
Determining the workload of the system
Using schema design patterns
5. Which of the following are use cases where you would want to model your data for
performance and not for simplicity? Select all that apply.
It is anticipated that the solution will be designed for only 10 shards.
The application is being developed using 100 engineers.
There is not an applicable design pattern to the solution. - ANSWER It is expected that
the solution will be designed with only 10 shards.
The application is being developed by 100 engineers.
MongoDB uses. :
a.MySQL
b.NoSQL
c.SQL
d.SQLite - ANSWER The correct answer is: NoSQL
What is the BSON?
a.
BSON is a binary representation of JSON documents
b.
,All answer correct
c.
BSON is a binary representation of any file format.
d.
BSON is a Best Script Object Notation - ANSWER BSON is a binary representation of
JSON documents
How does MongoDB store data?
a. Data is stored in key-value pairs
b. Data is stored in tables
c. Data is stored in documents
d. Data is stored in rows and columns - ANSWER The correct answer is: Data is stored in
documents
True or False: MongoDB can ingest multiple shapes and formats of data from different
sources.
a. True
b. False - ANSWER The correct answer is: True
The MongoDB collection contains .:
a. documents
b. folders
c. files
d. images - ANSWER The correct answer is: documents
Which scenario would be a poor fit for a document type NoSQL database?
a. Aggregate oriented design
b. Event logging for a process
, c. Operational data sets for a web app
d. Online blogging - ANSWER The correct answer is: Aggregate oriented design
Structure of collection documents (select two)
a. must be the same
b. can be different
c. can be the same
d.must be different - ANSWER The correct answers are: can be the same, can be
different
In the sample_training db - trips collection a person with birth year 1961 took a trip that
started at "Howard St & Centre St". What was the end station name for that trip?
Copy and paste your answer from the Atlas UI to the response text box. The station
name should be in a single set double quotes, exactly as it is in the Data Explorer. -
ANSWER The correct answer is: "South End Ave & Liberty St"
Insert one new record into the collection "articles".
The document should have the following fields:
name: "New article",
author: "Admin",
views: 50,
anons: "Announcement text"
P S: Do not change the order of adding data. - ANSWER The correct answer is:
db.articles.insertOne({ name: "New entry", author: "Admin", views: 50, anons:
"Announcement text"});
Which type of NoSQL databases it's NOT advised to shard data on?
a. Document-based NoSQL databases
b. Key-Value NoSQL databases
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Easton. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £20.29. You're not tied to anything after your purchase.