Select the correct query to display users with age in the descending order.
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
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 Quizizz
10 questions
Big Data Analytics - Week 2 (Data storage)

Quiz
•
University - Professi...
10 questions
Risk Management (CompTIA Security+ CG)

Quiz
•
Professional Development
10 questions
Google Calendar - Exit Quiz

Quiz
•
Professional Development
10 questions
Azure Data Fundamentals Module 2

Quiz
•
Professional Development
8 questions
AWS Security Clase 5

Quiz
•
Professional Development
10 questions
IT ENGLISH: Research Project Topics - Database Administration

Quiz
•
Professional Development
10 questions
Entity Framework

Quiz
•
Professional Development
10 questions
Mobile Offline Sync - OutSystems

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade