ALL RIGHTS RESERVED.
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.)
1|Page
, ©THESTAR EXAM SOLUTIONS 2024/2025
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.
2|Page
, ©THESTAR EXAM SOLUTIONS 2024/2025
ALL RIGHTS RESERVED.
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 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
3|Page
, ©THESTAR EXAM SOLUTIONS 2024/2025
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
d.Column-based NoSQL databases - answer✔The correct answer is: Graph NoSQL databases
Write the command to delete the "items" collection. - answer✔The correct answer is:
db.items.drop()
4|Page