Nosql Exam Questions With Verified And
Updated Answers
1. Which of the following statements are true about data modeling using MongoDB? (Select
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.
верно - 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 usual constraint that would impact your data model for
MongoDB? (Select one.)
ALL RIGHTS RESERVED.
Operating System
Disk Drives
RAM
Security
Network - answer✔Operating System
4. Which of the following phases are included in our data modeling methodology for MongoDB?
(Select all that apply.)
Identifying the relationships between pieces of information.
Identifying the workload of the system.
Applying schema design patterns. - answer✔Identifying the relationships between pieces of
information.
Identifying the workload of the system.
Applying schema design patterns.
5. Which of the following are use cases in which you should model your data for performance
rather than simplicity? (Select all that apply.)
It is expected that the solution will be designed with only 10 shards.
The application is being developed by 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.
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 is data stored in a MongoDB database?
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 consists of ...:
a.documents
b.folders
c.files
d.images - answer✔The correct answer is: documents
Which use case would be a poor choice for a document type NoSQL database?
a.Aggregate-oriented design
b.Event logging for a process
ALL RIGHTS RESERVED.
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"
Write a command to add a new entry to the "articles" collection.The record should consist of
the following properties:
name: "New entry",
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 category of NoSQL databases is it recommended not to shard data on?
a.Document-based NoSQL databases
b.Key-Value NoSQL databases
c.Graph NoSQL databases
Write the command to delete the "items" collection. - answer✔The correct answer is:
db.items.drop()
4|Page
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 or Stuvia-credit 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 TheStar. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.49. You're not tied to anything after your purchase.