DB II Midterm

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/27

encourage image

There's no tags or description

Looks like no tags are added yet.

28 Terms

1
New cards

What are the Five V’s of Big Data?

Volume, Velocity, Variety, Veracity, Value.

2
New cards

What is the purpose of Hadoop Distributed File System (HDFS)?

To store and manage large-scale datasets across a distributed cluster.

3
New cards

What is the function of the Map stage in MapReduce?

It distributes tasks across nodes and processes data into key-value pairs.

4
New cards

What is the function of the Reduce stage in MapReduce?

It aggregates and summarizes the processed data from the Map stage.

5
New cards

Name the four main types of NoSQL databases.

Key-Value Stores, Document Stores, Wide-Column Stores, Graph Databases.

6
New cards

What is an example of a Document Store database?

MongoDB.

7
New cards

Which NoSQL database type is best suited for managing social network relationships?

Graph Databases.

8
New cards

What is the primary benefit of NoSQL over relational databases?

NoSQL provides scalability, schema flexibility, and high availability.

9
New cards

What is the primary purpose of a data warehouse?

To store historical data for analysis and decision-making.

10
New cards

What does ETL stand for?

Extract, Transform, Load.

11
New cards

What is the difference between a Star Schema and a Snowflake Schema?

A Star Schema has a denormalized structure with direct joins to fact tables, while a Snowflake Schema normalizes dimensions to reduce redundancy.

12
New cards

What is the function of a Fact Table in a Star Schema?

It stores numerical data (measures) related to business events.

13
New cards

What is the difference between Roll-up and Drill-down in OLAP?

Roll-up aggregates data to a higher level, while Drill-down provides more granular detail.

14
New cards

What is an example of an OLAP slicing operation?

Filtering sales data for a single region while ignoring others.

15
New cards

What is the goal of Data Mining?

To discover patterns, trends, and relationships in large datasets.

16
New cards

What is an example of a predictive data mining application?

Fraud detection or credit risk assessment.

17
New cards

What is Association Rule Mining used for?

Finding relationships between frequently occurring items, such as in Market Basket Analysis.

18
New cards

What is the primary function of Clustering in Data Mining?

Grouping similar data points together without predefined categories.

19
New cards

How does a Decision Tree classifier work?

It splits data based on feature values, forming a tree-like structure for classification.

20
New cards

What is SQL Injection?

A security vulnerability where an attacker manipulates SQL queries through user input.

21
New cards

How can SQL Injection be prevented?

Using parameterized queries and input validation.

22
New cards

Why are RESTful APIs widely used in web applications?

They provide standardized communication using HTTP methods like GET, POST, PUT, DELETE.

23
New cards

What is a session token used for in web applications?

To maintain user authentication across multiple requests.

24
New cards

What does ACID stand for in relational databases?

Atomicity, Consistency, Isolation, Durability.

25
New cards

What is the purpose of indexing in a database?

To speed up data retrieval by allowing efficient lookups.

26
New cards

What is the main advantage of a Snowflake Schema?

Reduces data redundancy by normalizing dimensions.

27
New cards

What is a Factless Fact Table?

A fact table that contains only foreign keys and no numerical measures, used for event tracking.

28
New cards

How does a Key-Value Store retrieve data?

By using a unique key to retrieve its associated value.