Introduction to Data Engineering; Big Data — The 5 V's; Types of Data
Introduction to Data Engineering; Big Data — The 5 V's; Types of Data
Introduction to Data Engineering
What is Data Engineering?
Data engineering is the development, implementation and maintenance of systems and
processes that:
- Take in raw data
- Produce high-quality, consistent information
-
Support downstream use cases such as analysis and machine learning
Data Engineer manages:
- Data pipelines
- Storage systems
- Data transformations
- Data
quality
Role of a Data Engineer
```
Raw Data Sources End Users
(Databases, Logs, APIs, IoT) → (Analysts, Data Scientists, BI Apps)
+------ DATA ENGINEER -------+
(builds pipelines)
Data Engineer Tasks:
1. Data Ingestion → Move data from sources to storage
2. Data Storage → Design efficient storage (DWH, Data Lake, NoSQL)
3. Data Transformation → Clean, enrich, aggregate data
4. Pipeline Building → Automate data flow
5. Quality Assurance → Ensure accuracy and consistency
```
Big Data — The 5 V's
What is Big Data?
Big Data refers to datasets that are so large, fast-moving and diverse that
traditional database tools cannot manage them effectively.
Traditional systems (single machines, RDBMS) cannot handle:
- 100s of Terabytes and
above
- Millions of records per second
- Dozens of different data formats
The 5 V's of Big Data
Volume Breakdown
```
KB → MB → GB → TB → PB → EB → ZB
1 KB = 1,024 Bytes
1 MB = 1,024 KB
1 GB = 1,024 MB
1 TB = 1,024 GB (1 hour of 4K video ≈ 7 GB; 1 TB = 140 hours)
1 PB = 1,024 TB (Google processes ~20+ PB/day)
1 EB = 1,024 PB
1 ZB = 1,024 EB (Total internet traffic expected to hit ZB scale)
```
Velocity Examples
Types of Data
Structured Data
- Data saved in rows, columns and tables
- Fixed schema (pre-defined structure)
-
Easily managed by RDBMS (SQL)
Examples:
- Bank transaction records (ID, Date, Amount, Account)
- Employee records
(EmpID, Name, Salary, Department)
- Student grades table
```
ID | Name | Age | Salary
----|---------|-----|-------
001 | Alice | 28 | 55000
002 | Bob | 35 | 72000
```
Semi-Structured Data
- Flexible schema — structure varies per record
- Has some organization (tags, keys) but
not fixed table format
- Serialization formats: JSON, XML, CSV, YAML
Examples:
```json
{
"post": "...",
"location": "Mumbai",
"likes": 240,
"tags": ["travel", "tech"],
"image": "photo.jpg",
"feeling": "happy"
}
```
- Facebook post, Twitter tweet, MongoDB document, API response
Unstructured Data
- No fixed format — no predefined schema
- Cannot be stored in traditional rows/columns
- Examples: images (JPG/PNG), videos, audio, ML model files
```
Images → JPG, PNG, BMP
Video → MP4, AVI
Audio → MP3, WAV
Text → Free-form articles, emails
PDFs → Documents
Emails → Mixed content
```
Comparison
Continue full topic on App →Practice MCQs (20)
1. Images, videos and machine-learning model data are examples of which data type?
- A. Tabular
- B. Unstructured
- C. Semi-structured
- D. Structured
2. Veracity in Big Data means:
- A. The data management
- B. The data is reliable and trustworthy
- C. The data is huge
- D. The data is generated with high speed
3. Which is an example of real-time big-data use case?
- A. Fraud detection on card swipes
- B. Yearly salary report
- C. Monthly billing
- D. Static archive
4. Which is not a feature of big data?
- A. Veracity
- B. Visibility
- C. Volume
- D. Value
5. Which of these is unstructured data?
- A. RDBMS table
- B. CSV file
- C. Video / Image / Free text
- D. JSON schema
6. Which is not a V of Big Data?
- A. Value
- B. Velocity
- C. Variety
- D. Version
7. Source → Ingestion → Storage → Transformation →:
- A. Visualization
- B. Encryption
- C. Serving
- D. Deletion
8. Which of the following is NOT a V of Big Data?
- A. Velocity
- B. Variety
- C. Volume
- D. Volatile
9. Volume in Big Data refers to:
- A. Speed of data generation
- B. Different types of data
- C. Huge amount of data
- D. Trustworthiness of data
10. Typical data size handled by OLTP systems is:
- A. 100 MB to 100 GB
- B. Few ZB
- C. 100 GB to few TB
- D. Few PB
11. Which of the following IS a valid type of NoSQL?
- A. Column
- B. Row
- C. Table
- D. Collection
12. In RDBMS data is stored in:
- A. Document
- B. Keys
- C. Collection
- D. Tables
13. Which DWH schema has a single fact table and normalized dimension / sub-dimension tables?
- A. Snowflake
- B. Circle
- C. Star
- D. Galaxy
14. OLAP stands for:
- A. Online Application Processing
- B. Online Analytical Processing
- C. Online Automated Processing
- D. Offline Analytical Processing
15. MongoDB Atlas and DynamoDB are examples of:
- A. DaaS
- B. PaaS
- C. IaaS
- D. FaaS
16. Which of the following works on real-time data?
- A. OLAP
- B. OTLP
- C. OLPP
- D. OLTP
17. Which DWH schema has multiple fact tables mapped to many dimension tables?
- A. Linear
- B. Snowflake
- C. Galaxy (Fact-Constellation)
- D. Star
18. Typical data size handled by OLAP is:
- A. Few KB to MB
- B. 100 MB to 1 GB
- C. 100 GB to few TB
- D. Few Byte
19. Postpaid telecom bill generation is an example of:
- A. Stream processing
- B. Batch processing
- C. Event processing
- D. Real-time processing
20. A table that stores metrics / measurements about business processes is called a:
- A. Master table
- B. Star table
- C. Dimension table
- D. Fact table