Search Header Logo

NOSQL-VIVA1-Test

Authored by Revathy BD

Professional Development

2nd Grade

Used 1+ times

NOSQL-VIVA1-Test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

You are designing a NoSQL database schema for an online gaming platform. Each game has a unique ID, a name, and a list of players. The number of players can vary for each game. Which of the following data models would be most suitable for storing this data?

A. Key-Value Store

B. Document Database

C. Graph Database

D. Column Family Store

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

You have a MongoDB collection with documents representing books. Each document has a title, author, and publication year. You want to retrieve all books published after a certain year. Which MongoDB query would you use?


A.

db.books.find({ "publicationYear": { $gt: 2000 } });

B.

db.books.find({ "publicationYear": { $gte: 2000 } });

C.

db.books.find({ "publicationYear": { $lt: 2000 } });

D.

db.books.find({ "publicationYear": { $lte: 2000 } });

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following code snippets demonstrates the correct way to insert a document into a MongoDB collection using the Mongo Shell?

A.

db.collection.add({ name: "John", age: 25 });

B.

db.collection.insertOne({ name: "John", age: 25 });

C.

db.collection.save({ name: "John", age: 25 });

D.

db.collection.create({ name: "John", age: 25 });

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Q. What is a NoSQL database index?

A. A data structure that improves the speed of data retrieval operations

B. A unique identifier assigned to each document in a NoSQL database

C. A technique for organizing data in a hierarchical manner

D. A method for ensuring data consistency across multiple replicas

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

You are designing a social media platform and need to store user profiles. Each profile includes basic information like name, age, and location, as well as a list of their posts. Which NoSQL database model would be most suitable for this scenario?

A. Key-Value Store

B. Document Database

C. Graph Database

D. Column Family Store

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a distributed NoSQL database?

A. A NoSQL database that runs on a single, powerful server

B. A NoSQL database that is replicated across multiple servers

C. A NoSQL database that is partitioned and distributed across a cluster of machines

D. A NoSQL database that is designed to work with distributed file systems

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a document database?

A. A database that stores data in tables with rows and columns

B. A database that uses a hierarchical model to organize data

C. A database that stores semi-structured data as documents

D. A database that models data as objects and their relationships

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?