• +91 9723535972
  • info@interviewmaterial.com

MongoDB Interview Questions and Answers

MongoDB Interview Questions and Answers

Question - 31 : - What is the use of Profiler?

Answer - 31 : - Profiler is used to show the performance characteristics of every operation against the database.

Question - 32 : - What type of data is stored by MongoDB?

Answer - 32 : - MongoDB stores data in the form of documents, which are JSON-like field and value pairs.

Question - 33 : - What is the purpose of Replication?

Answer - 33 : - Replication provides redundancy, and it increases data availability.

Question - 34 : - What are Embedded documents?

Answer - 34 : - Embedded documents capture relationships between data by storing related data in a single document structure

Question - 35 : - Define the application-level Encryption.

Answer - 35 : - The application-level encryption provides encryption on a per-field or per-document basis within the application layer.

Question - 36 : - What is Storage Encryption?

Answer - 36 : - Storage encryption encrypts all MongoDB data on storage or on the operating system to ensure that only authorized processes can access the protected data.

Question - 37 : - Which method is used to create an index?

Answer - 37 : - The createIndex() method is used to create an index.

Question - 38 : - What is Replica set oplog?

Answer - 38 : - The oplog records all operations that modify the data in the replica set.

Question - 39 : - What is Vertical Scaling?

Answer - 39 : - Vertical scaling adds more CPU and storage resources to increase capacity.

Question - 40 : - Define Horizontal Scaling.

Answer - 40 : - Horizontal scaling divides the dataset and distributes data over multiple servers, or shards.


NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners