Skip to main content

10 top NoSQL database recently asked interview questions

1) Who are involved in developing NoSQL ?

Amazon and Google Papers

2) What is NoSQL?

Which we will use on non-relationla databases. Like columnar databases. By using NOSQL we can query data from non-relational databases.

3) What are unique features of NoSQL databases?

-There is no concept of relationship between records
-They need UN-structural data
-They do not store data that individual records do not have relationship with each other.

4) How NoSQL databases are faster than traditional RDBMS?

-Stores database on multiple servers,rather storing whole database in a single server
-Adding replicas on other servers, we can retrieve data faster, even one of the server crashes

5) What are the UNIQUE features of NoSQL?

-Opensource
-ACID complaint

6) What are the characteristics of good NoSQL product?

  • High availability: Fault tolerance when a single server goes down
  • Disaster recovery: For when a data center goes down, or more likely someone digs up a network cable just outside the data center
  • Support: Someone to stand behind a product when it goes wrong (or it's used incorrectly!)
  • Services: Product experts who can advise on best practices and help determine how to use a product to address new or unusual business needs
  • Ecosystem: Availability of partners, experienced developers, and product information — to avoid being locked into a single vendor's expensive support and services contract

7) Reasons to go for NoSQL databases?

An RDBMS can not fit for all of the enterprise requirements.
-Big data
-Schema Redesign overhead
-Unstructured data explosion
-It avoids Sparse data problem (RDBMS will use space for NULL values. But, NOSQL will ignore NULL values)
-Dynamically changing relationships between attributes

8) Benefits of NoSQL?

-Faster solutions for new generation problems
-Lower cost
-Modern computer systems don't exist in a vacuum; they're always communicating with someone or something. NoSQL databases are commonly paired with particular complementary computer software, from search engines to semantic web technologies and Hadoop. Leveraging these technologies can make deployment of NoSQL more productive and useful.

9) How many core types of NOSQL databases?

Columnar: Extension to traditional table structures. Supports variable sets of columns (column families) and is optimized for column-wide operations (such as count, sum, and mean average).


Key-value: A very simple structure. Sets of named keys and their value(s), typically an uninterpreted chunk of data. Sometimes that simple value may in fact be a JSON or binary document.


Triple: A single fact represented by three elements:

The subject you're describing
The name of its property or relationship to another subject
The value — either an intrinsic value (such as an integer) or the unique ID of another subject (if it's a relationship) For example, Adam likes Cheese. Adam is the subject, likes is the predicate, and Cheese is the object.

Document: XML, JSON, text, or binary blob. Any treelike structure can be represented as an XML or JSON document, including things such as an order that includes a delivery address, billing details, and a list of products and quantities.


10) What are the most modern databases?

In-memory and flash databases: Some great advances have been made in real-time online transaction processing (OLTP) and analytics using in-memory databases. In-memory databases are very specialized and are targeted to particular problem domains. NoSQL databases that take advantage of flash or memory caching to aid real-time analytics.


Complex proprietary stacks: NoSQL software such as Oracle NoSQL, MarkLogic, Microsoft's Document DB, and IBM Cloudant, though.

NewSQL: This is a new database access paradigm. It applies the software design lessons of NoSQL to RDBMS, creating a new breed of products, which is a great idea, but fundamentally these products still use traditional relational math and structures, which is why they aren't included. 

Comments

Popular posts from this blog

The best 5 differences of AWS EMR and Hadoop

With Amazon Elastic MapReduce (Amazon EMR) you can analyze and process vast amounts of data. It does this by distributing the computational work across a cluster of virtual servers running in the Amazon cloud. The cluster is managed using an open-source framework called Hadoop.

Amazon EMR has made enhancements to Hadoop and other open-source applications to work seamlessly with AWS. For example, Hadoop clusters running on Amazon EMR use EC2 instances as virtual Linux servers for the master and slave nodes, Amazon S3 for bulk storage of input and output data, and CloudWatch to monitor cluster performance and raise alarms.

You can also move data into and out of DynamoDB using Amazon EMR and Hive. All of this is orchestrated by Amazon EMR control software that launches and manages the Hadoop cluster. This process is called an Amazon EMR cluster.


What does Hadoop do...

Hadoop uses a distributed processing architecture called MapReduce in which a task is mapped to a set of servers for proce…

Top 20 ultimate ETL Questions really good for interviews

How to print/display the first line of a file?  there are many ways to do this. However the easiest way to display the first line of a file is using the [head] command.  $> head -1 file. Txt no prize in guessing that if you specify [head -2] then it would print first 2 records of the file.  another way can be by using [sed] command. [sed] is a very powerful text editor which can be used for various text manipulation purposes like this.  $> sed '2,$ d' file. Txt how does the above command work?  The 'd' parameter basically tells [sed] to delete all the records from display from line 2 to last line of the file (last line is represented by $ symbol). Of course it does not actually delete those lines from the file, it just does not display those lines in standard output screen. So you only see the remaining line which is the 1st line.  how to print/display the last line of a file?  the easiest way is to use the [tail] command.  $> tail -1 file. Txt if you want to do it using…

5 Things About AWS EC2 You Need to Focus!

Amazon Elastic Compute Cloud (Amazon EC2) - is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers.
Amazon EC2’s simple web service interface allows you to obtain and configure capacity with minimal friction.

The basic functions of EC2... 
It provides you with complete control of your computing resources and lets you run on Amazon’s proven computing environment.Amazon EC2 reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change.Amazon EC2 changes the economics of computing by allowing you to pay only for capacity that you actually use. Amazon EC2 provides developers the tools to build failure resilient applications and isolate themselves from common failure scenarios. 
Key Points for Interviews:
EC2 is the basic fundamental block around which the AWS are structured.EC2 provides remote ope…