
nosql 1 Quiz
Quiz
•
Instructional Technology
•
University
•
Easy
Jigme Dema
Used 3+ times
FREE Resource
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
C Basics - 1
Quiz
•
University
14 questions
Material Handling
Quiz
•
University
18 questions
Programming in C language
Quiz
•
12th Grade - University
20 questions
PHP cơ bản
Quiz
•
University
15 questions
Cloud migration prerequisite
Quiz
•
University - Professi...
10 questions
Removal Exam for PM-108
Quiz
•
University
20 questions
AV1 - 2º Trimestre - O que é o DOM?
Quiz
•
3rd Grade - University
12 questions
Dmb 4112
Quiz
•
University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Instructional Technology
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
39 questions
Unit 7 Key Terms
Quiz
•
11th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
18 questions
Plotting Points on the Coordinate Plane
Quiz
•
KG - University
5 questions
Declaration of Independence
Interactive video
•
4th Grade - University
