Data Storage Flashcards
Explain the difference between block storage and file storage.
- Block storage divides storage devices into fixed-size blocks and accesses them directly
- File storage uses a hierarchical structure of directories and files
What are the key use cases for block storage and file storage?
- Block storage: for low-level data manipulation, such as databases, where performance and precise control are critical
- File storage: for general-purpose file sharing and applications where data is organized in a familiar way
What factors should be considered when deciding between block and file storage
- depends on the specific needs of the application
- block storage preferred for performance-sensitive workloads
- file storage for ease of management and sharing
Describe the concept of RAID (Redundant Array of Independent Disks)
RAID is a technique that combines multiple physical disks into a single logical unit for improved performance and redundancy
What are the different RAID levels
RAID 0, RAID 1, RAID 5, RAID 10
How does each RAID level provide redundancy and performance benefits
- Some RAID configurations read and write across multiple disks in order to boost system performance and maximize throughput
- Others mirror data sets across multiple disks (builds in data redundency)
How do you choose RAID level
depends on the trade-off between performance, redundancy, and cost
Discuss the pros and cons of SSDs (Solid State Drives) compared to traditional HDDs (Hard Disk Drives) for data storage
- SSDs: faster read/write speeds, lower latency, and shock resistance
- HDDs: greater capacity at a lower cost
When would you recommend using Solid State Drives over Hard Disk Drives?
SSDs: performance-intensive applications like databases and virtualization BUT less economical for large-scale storage
HDDs: applications where performance isn’t critical (bulk storage, archive)
Explain the difference between object storage and block storage
- object storage: treats data as objects with unique identifiers, metadata, and data payloads
- Block storage: divides storage devices into fixed-size blocks and accesses them directly
How does object storage facilitate scalability and data management in distributed environments?
- designed for scalability and simplified data management
- eliminates the complexities of file systems
- easier to manage large volumes of data
What are typical use cases for object storage
- well-suited for cloud storage, content delivery networks (CDNs), and backup/archiving
- web applications, IoT data, and unstructured data repositories
Describe the principle of data redundancy
Data redundancy involves duplicating data to prevent data loss in case of hardware failures.
Describe the principle of data replication
Data replication copies data to multiple locations, ensuring high availability
How does data redundency and replication enhance data availability and fault tolerance?
Ensures data remains accessible even if certain components fail