• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

Database Indexing Explain plan

Question 1

In the nomenclature of MongoDB, as there is a database in relational model, what can we call it in MongoDB?

  • Database

  • Tables

  • Set of data

  • Data system

Question 2

In the nomenclature of MongoDB, as there is a tables in relational model, what can we call it in MongoDB?

  • Database

  • Collections

  • Tables

  • Tuples

Question 3

In MongoDB, suppose you need to see the execution stats of the query which is running on the system, then how would you do that?


 

  • Explain("ExecutionStats");

  • Explain("Execution");

  • Explain("Stats");

  • None of the above

Question 4

Suppose, you have a MongoDB database with a collection named as Movies, then you needed to see one of the document present in that collection, which one of the following command will be the correct to see a collection data?

  • DB.Movies.findOne()

  • DB.Movies.one()

  • DB.Movies.collectionDataOne()

  • DB.Movies()

Question 5

Suppose, you have a MongoDB database with a collection named as Movies, then you needed to see one of the document present in that collection, which one of the following command will be the correct to see a collection data?

  • DB.Movies.findOne()

  • DB.Movies.one()

  • DB.Movies.collectionDataOne()

  • DB.Movies()

Question 6

Suppose yuo have a MongoDB database, having a collection named as Movies, then select the command which would help in finding the movies which are developed in 1983, the collection contains a column as Year.


 

  • db.movies.find("Year" : "1983");

  • db.movies.find{"Year" : "1983"};

  • db.movies.find({"Year" : "1983"});

  • db.movies.findOne({"Year" : "1983"});

There are 6 questions to complete.

Last Updated :
Take a part in the ongoing discussion