Question Bank
1899 approved questions from the community
What are ways to optimize data retrieval in MongoDB? (Select all that apply)
What are the advantages of MongoDB? (Select all that apply)
What is BSON in MongoDB?
What is an aggregator in MongoDB?
What does the query `db.books.find({'name': /abc/})` do?
What does the query `db.books.find().sort({x:1})` do?
MongoDB is ideal for applications requiring strict ACID compliance and financial transactions.
MongoDB requires complex joins like SQL databases.
MongoDB documents are stored in JSON format.
When is it best to use NoSQL databases?
How would you calculate the total cash spent across all customers?
What is the main difference between SQL and NoSQL databases?
When is it best to use SQL databases?
How would you count customers who have items in their cart?
How would you join the Customers table to the Orders table?
What type of JOIN would you use to get all customers and their orders, including customers with no orders?
What is the purpose of the GROUP BY clause?
What advantage does NoSQL have over SQL regarding data types?
In SQL, using functions on columns in WHERE clauses (like YEAR(date_column)) is just as efficient as comparing the column directly.
What are the major components of Prometheus architecture? (Select all that apply)