About NoSQL

Following are some of the multiple choice questions on the NoSQL with answers that will help the students in developing their knowledge.

NoSQL MCQ

1. What are the properties of Key-Value Pair databases?

  • They are often designed for simplicity and speed
  • They have limited possibilities when it comes to querying data
  • They allow for fast lookups
  • All Of above

2. Cassandra is combination of what ?

  • Bigdata + dynamic
  • bigdata + Hadoop
  • Bigtable + dynamo
  • bigtable + Hadoop

3. A template engine...

  • replaces variables in a template file with actual values, and transforms the template into an JSON file sent to the server
  • replaces variables in a template file with actual values, and transforms the template into an HTML file sent to the client
  • replaces variables in a template file with actual values, and transforms the template into an HTML file sent to the server
  • replaces variables in a template file with actual values, and transforms the template into an JSON file sent to the client

4. What are common use cases for Redis?

  • Caching engine
  • Storing persistent data about financial transactions
  • Message broker
  • Caching engine & Message broker

5. Which company created Cassandra ?

  • Google
  • Amazon
  • Facebook
  • Orkut

6. Is ORM faster than raw SQL queries?

  • True
  • False

7. Which of the following are column-oriented databases?

  • MongoDB
  • MySQL
  • Cassandra
  • Neo4j

8. What is P Stand for in "CAP" Theorem ?

  • Consistency 
  • Availability 
  • partition 
  • Partition Tolerance ?

9. How do you establish a connection with your Node application and an external Mongo database using Mongoose?

  • mongoose.connection(mongoURI)
  • mongoose.connect(mongoURI)
  • db.on(mongoURI)
  • sequelize.sync()

10. What is Mongoose?

  • An object document mapping
  • A small terrestrial carnivorous
  • An object-relational mapping
  • none of the above

11. Where clause can be run only on column other than primary key which having

  • Primary Index
  • Secondary Index
  • Sparse Index
  • Dense Index

12. What do you call compression process in cassandra

  • Compaction
  • Compression
  • Archive
  • Backup 

13. Which command start cassandra only Client

  • ~/casandra/bin/casandra -f
  • ~/cassadra/bin/cqlsh
  • Both A & B
  • none of the above

14. What does "scaling out" means?

  • Scaling by adding more servers
  • Scaling by using more powerful server

15. Which databases are AP based on CAP theorem?

  • Cassandra
  • MongoDB
  • CouchDB
  • Cassandra & CouchDB

16. What data types are supported by Redis without additional extensions?

  • Sorted sets
  • Strings
  • Both A & B
  • none of the above

17. What format is used by MongoDB documents?

  • XML
  • Plaintext
  • JSON
  • Protobuf

18. What data structure is used by Elasticsearch to allow for efficient full-text search?

  • Parallel index
  • B-tree index
  • Inverted index
  • Compound index

19. What are the pieces of a single point stored in InfluxDB?

  • measurement
  • fields
  • time
  • All of above

20. Which syntax returns the matching result of an id in a Mongo database using Mongoose?

  • Model.find
  • Model.findAll
  • Model.findById
  • Model.findByPK

21. HTTPS is

  • Hypertext transfer protocol secure (HTTPS) is the secure version of HTTP, which is the primary protocol used to send data between a web browser and a website
  • Hypertext transfer primary secure (HTTPS) is the secure version of HTTP, which is the primary protocol used to send data between a web browser and a website
  • Can I drop off the meeting now?
  • none of the above

22. What are the reasons for considering NoSQL databases?

  • Scalability
  • High Availability
  • Flexibility
  • All Of above

23. Which query language used by Cassandra

  • SQL
  • PL-SQL
  • CQL
  • Javascrip

24. What do you mean by TTL ?

  • Time to live
  • Time to leave
  • Time to laugh
  • Time to load

25. Which feature in cassandra allows you to execute multiple queries at one time ?

  • AT TIME
  • BATCH
  • Capture
  • Source

26. Which Protocol used by Cassandra

  • Gossip
  • Compaction
  • Timepass
  • CQL

27. Which version of Cassandra you are using ?

  • 3.2
  • 3.9
  • 2.4
  • 3.0

28. What do you mean by Table in Cassandra ?

  • Column
  • Row
  • KeySpace
  • Column-Family

29. Cassandra Dose Not support from Following ?A. JoinB. Subquery

  • A
  • B
  • Both
  • Both Supports

30. ORM make the code easier to update, maintain, and reuse as the developer can think of, and manipulate data as objects

  • True
  • False

Enjoyed the Quiz. Share this with friends

Comments

Add Your Review

Your email address will not be published.

Subscribe to Newsletter!

Subscribe to get latest updates and information.