Full Stack Day-7

Quiz
•
Computers
•
Professional Development
•
Hard
Ajay Sharma
Used 2+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the correct query to display users with age in the descending order.
db.users.find().sort({age:1})
db.users.find().limit()
. db.users.find()
. db.users.find().sort(age:-1)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You want to return maximum 5 matching documents that will return with only the _id, name, and address fields. Which of the following queries will you use?
. db.users.find( { age: { $gt: 18 } }, { name: 1, address: 1 } ).limit(5)
db.users.find( { age: { $gt: 18 } }, { name: 1, address: 1 } ).limit(15)
db.users.find( { age: { $lt: 18 } }, { name: 1, address: 1 } ).limit(5)
. db.users.find( { age: { $lt: 18 } }, { name: 1, address: 1 } ).limit(15)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. NoSQL databases is used mainly for handling large volumes of ______________ data.
. unstructured
. structured
semi-structured
all of the mentioned
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A collection and document in MongoDB is equivalent to ___________ concepts respectively.
Row and Column
Table and Row
Column and Row
Database and Table
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to remove all documents from ‘employees’ collection?
db.employees.find({})
db.employees.remove({})
db.employees.delete({})
db.employees.drop()
Similar Resources on Wayground
8 questions
MS-900 - Module 3 - Full quiz

Quiz
•
Professional Development
10 questions
DBMS

Quiz
•
Professional Development
10 questions
FitTalks - MongoDB

Quiz
•
Professional Development
8 questions
Sec + CH.2 Pre-Assessment

Quiz
•
Professional Development
10 questions
MongoDB-Mongoose101

Quiz
•
Professional Development
9 questions
MTA 98-368 STUDY GUIDE

Quiz
•
11th Grade - Professi...
5 questions
Database da real

Quiz
•
Professional Development
10 questions
Digital Office Technologies

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade