U5) NoSQl Flashcards

(19 cards)

1
Q

What is the difference between RDBMS and XML?

A

RDBMS stores data in tables; XML represents hierarchical data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is XML considered flexible?

A

XML is flexible for web services and data exchange.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How can a relational database table row be represented in XML?

A

A RDB table row can be converted into XML tags.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which SQL functions help generate XML?

A

SQL functions like XMLELEMENT, XMLFOREST help generate XML.

Example: SELECT XMLELEMENT(“Employee”, XMLFOREST(emp_id, name, salary)) FROM employees;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the XMLType data type in Oracle?

A

Oracle supports XMLType data type to store, query, and validate XML documents within the DB.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What functions are used with XML in Oracle?

A

Functions include EXTRACT(), XMLTABLE, XPath expressions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the types of data?

A

Structured: Tables (RDBMS), Semi-structured: XML, JSON, Unstructured: Images, videos.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does NoSQL stand for?

A

NoSQL stands for Not Only SQL, schema-less, high scalability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the types of NoSQL databases?

A

Types include Key-Value Store (Redis), Document Store (MongoDB), Column Store (Cassandra), Graph DB (Neo4j).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the CAP Theorem?

A

Only 2 of Consistency, Availability, Partition Tolerance can be guaranteed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the BASE properties?

A

Basically Available, Soft State, Eventually Consistent (vs ACID).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the main difference between SQL and NoSQL?

A

SQL: Structured, vertical scaling, fixed schema; NoSQL: Flexible schema, horizontal scaling.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Big Data?

A

Huge volume, variety, and velocity of data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why can’t traditional systems handle big data efficiently?

A

Traditional systems can’t handle big data efficiently due to its scale.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the V’s of Big Data?

A

Volume, Velocity, Variety, Veracity, Value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is Hadoop?

A

Hadoop is an open-source framework to store and process big data.

17
Q

What does HDFS do?

A

HDFS splits files into blocks and distributes them across nodes.

18
Q

What is the MapReduce process?

A

Map: Process data in chunks; Reduce: Aggregate results.

19
Q

What are the components of Hadoop architecture?

A

Components include HDFS (Storage), MapReduce (Processing), YARN (Resource management).