
nosql 1 Quiz
Quiz
•
Instructional Technology
•
University
•
Practice Problem
•
Easy
Jigme Dema
Used 3+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which guarantee is often associated with relational databases but is not automatically provided by many document stores?
Always linear horizontal scaling
Built-in schemaless flexibility
Guaranteed fastest read latency
ACID transactional properties
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a web API blindly uses req.body as a query filter, what kind of user-supplied element most directly changes query semantics?
Trailing whitespace in string values
Extra JSON comments inserted by the client
Boolean flags encoded as strings
JSON query operators like $ne, $or, $gt
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What developer habit most commonly opens an application to classic SQL injection (textual SQL manipulation)?
Using strict type definitions in DTOs
Sending all queries through a single DB access layer
Avoiding dynamic SQL entirely
Concatenating user input into SQL statement strings
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the most important immediate code change when replacing db.collection.find(req.body) to stop operator injection?
Return raw DB documents to the client for debugging
Allow only XML input instead of JSON
Wrap the whole request body in a string and store it
Construct a new filter: extract expected fields, validate types, and only include those keys
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which API-layer control most directly prevents clients from sending operator keys like $where?
Relying on client-side JavaScript to clean inputs
Using transport-layer encryption (TLS) only
Logging incoming requests but not rejecting them
Rejecting or stripping keys that start with $ and whitelisting allowed fields
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What role does a JSON schema library (e.g., Joi) play alongside parameterized routes?
It replaces the DB user permission model
It makes client-side validation unnecessary
It converts find() into raw SQL internally
It validates input shape/types before building queries
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Mongoose-related benefit most helps prevent NoSQL operator injection?
Automatically running DB backups
Implicitly granting admin roles to the model
Automatically converting all objects to strings
Enforcing a schema so unexpected operator objects are rejected or cast
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
Database Management
Quiz
•
12th Grade - University
15 questions
Half Term Assessment
Quiz
•
University
10 questions
4.JQUERY
Quiz
•
University
20 questions
HCI QUIZ
Quiz
•
University
10 questions
SADM CHAPTER 1
Quiz
•
University
10 questions
Assessment
Quiz
•
University
10 questions
Network Security
Quiz
•
University
20 questions
React Removal Exam
Quiz
•
University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Instructional Technology
10 questions
Identifying equations
Quiz
•
KG - University
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
HS2C2 AB QUIZIZZ
Quiz
•
1st Grade - Professio...
14 questions
Homonyms Quiz
Quiz
•
KG - University
16 questions
Parts of a Parabola
Quiz
•
8th Grade - University
10 questions
A Brief History of Geologic Time
Interactive video
•
11th Grade - University
15 questions
Black Friday/Cyber Monday
Quiz
•
9th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
