Podcast
Questions and Answers
What type of storage organizes data as an array of unrelated blocks?
What type of storage organizes data as an array of unrelated blocks?
Which storage option is characterized by using virtual containers that include data, attributes, and metadata?
Which storage option is characterized by using virtual containers that include data, attributes, and metadata?
Which characteristic of storage measures expected downtime?
Which characteristic of storage measures expected downtime?
What is an example of File Storage?
What is an example of File Storage?
Signup and view all the answers
What type of database includes both relational and non-relational types?
What type of database includes both relational and non-relational types?
Signup and view all the answers
Which storage solution offers the highest durability percentage?
Which storage solution offers the highest durability percentage?
Signup and view all the answers
What is the primary benefit of using Amazon EBS compared to instance storage?
What is the primary benefit of using Amazon EBS compared to instance storage?
Signup and view all the answers
Which feature is NOT typically associated with object storage?
Which feature is NOT typically associated with object storage?
Signup and view all the answers
In what scenario is Network Attached Storage (NAS) most appropriately used?
In what scenario is Network Attached Storage (NAS) most appropriately used?
Signup and view all the answers
What distinguishes the storage pricing for Standard Storage in us-east-1?
What distinguishes the storage pricing for Standard Storage in us-east-1?
Signup and view all the answers
What is a characteristic of Google Filestore?
What is a characteristic of Google Filestore?
Signup and view all the answers
Which option is a benefit of using Snapshots in Amazon EBS?
Which option is a benefit of using Snapshots in Amazon EBS?
Signup and view all the answers
Which type of storage is best suited for databases requiring low latency?
Which type of storage is best suited for databases requiring low latency?
Signup and view all the answers
What are the two main components of a database?
What are the two main components of a database?
Signup and view all the answers
Which type of database is designed to support ACID transactions?
Which type of database is designed to support ACID transactions?
Signup and view all the answers
What does ACID stand for in database transactions?
What does ACID stand for in database transactions?
Signup and view all the answers
Which database type is appropriate for storing document information?
Which database type is appropriate for storing document information?
Signup and view all the answers
What type of consistency is NOT guaranteed by all databases?
What type of consistency is NOT guaranteed by all databases?
Signup and view all the answers
How do global transactional databases ensure their availability?
How do global transactional databases ensure their availability?
Signup and view all the answers
What is a primary advantage of relational databases over other types of databases?
What is a primary advantage of relational databases over other types of databases?
Signup and view all the answers
What is a characteristic of cloud-managed SQL databases?
What is a characteristic of cloud-managed SQL databases?
Signup and view all the answers
Which statement about Cloud Storage bucket names is true?
Which statement about Cloud Storage bucket names is true?
Signup and view all the answers
What happens to noncurrent object versions in Cloud Storage?
What happens to noncurrent object versions in Cloud Storage?
Signup and view all the answers
Which of the following is NOT a typical use case for S3?
Which of the following is NOT a typical use case for S3?
Signup and view all the answers
What is a characteristic of Cloud Storage files?
What is a characteristic of Cloud Storage files?
Signup and view all the answers
Which statement about data lifecycle management is accurate?
Which statement about data lifecycle management is accurate?
Signup and view all the answers
Which of the following is an example of data retention policy?
Which of the following is an example of data retention policy?
Signup and view all the answers
What allows for cross-region replication of objects in Cloud Storage?
What allows for cross-region replication of objects in Cloud Storage?
Signup and view all the answers
Which statement is true regarding unlimited space in Cloud Storage?
Which statement is true regarding unlimited space in Cloud Storage?
Signup and view all the answers
How does object lock apply to Cloud Storage?
How does object lock apply to Cloud Storage?
Signup and view all the answers
In what context is 'unlimited space' applied in Cloud Storage?
In what context is 'unlimited space' applied in Cloud Storage?
Signup and view all the answers
Study Notes
Cloud Storage and Database
- Cloud storage offers various types, including block storage, file storage, and object storage.
- Block storage organizes data as blocks, and file storage manages data through files.
- Object storage stores data in virtual containers (objects) with metadata.
Storage Characteristics
- Durability: Measured by expected data loss. Options include single-site, two-site, and multi-site copies, offering 99.99% to 99.9999% durability.
- Availability: Measured by expected downtime. Includes site redundancy and recovery measures.
- Security: Security measures for data at rest and in transit.
- Cost: Storage cost varies per unit (e.g., $/GB).
- Scalability: Upward storage capacity and user base growth.
- Performance: Performance metrics like flexibility, storage size, and bandwidth per unit (e.g., $/GB).
- Integration: Ability to interact via API or with other services.
Block Storage
- Instance storage is temporary and attached to host hardware, ideal for storing information subject to change or replication across instances.
- SSDs and HDDs, various types with specific characteristics (e.g., general purpose SSD).
- Includes snapshots for incremental point-in-time copies.
File Storage
- Network Attached Storage (NAS) and File Systems (like AWS Elastic File System or Google Filestore) provide file storage.
- Suitable for scenarios needing high I/O operations and low latency access.
- Offers high performance suitable for databases and other performance-sensitive services.
Object Storage
- Offers web accessibility through APIs or HTTPS.
- Highly durable (e.g., 99.9999999% design) and limitlessly scalable.
- Multiple data tiers to match workload and data lifecycle rules.
- Suitable for static website hosting, security, compliance, and audit capabilities.
- Standard storage pricing varies based on region (e.g., $0.023/GB).
Database Concepts
- A database is a structured collection of information for easy access, management, and updates.
- Databases consist of a storage pool and a management system.
- Different types of databases include Relational, Key-Value, Document, Wide Column and Graph Databases.
ACID Properties in DBMS
- Atomicity: Transactions either complete entirely or not at all.
- Consistency: Databases maintain consistency before and after transactions, strong and eventual.
- Isolation: Multiple transactions execute independently without interference.
- Durability: Successful transactions persist even if the system crashes.
DB Services
- Database services like Amazon RDS (Relational Database Service) manage databases on EC2.
- Managed services simplify tasks like scaling, backups, and patches, allowing you to focus on application optimization.
Relational Database
- Highly structured data stores, designed to prevent anomalies while offering query languages to manipulate data.
- Support ACID transactions and typically use SQL.
- Cloud-managed relational databases exist (e.g., AWS Aurora, PostgreSQL).
- Use pre-configured VMs, auto backups, REST APIs, high scalability with CPU and memory.
Global Transactional Database
- Fully managed Relational database services used in distributed systems needing high availability (e.g., financial trading).
- Support strong consistency, horizontal scalability, and high availability (e.g., 99.999%).
- GCP Cloud Spanner is a relevant and applicable service.
DataWarehouse
- Relational databases optimized for storing and querying large datasets.
- Supports fast queries for large volumes of data, with batch and streaming job support.
- Tools like BigQuery and Redshift are common choices.
Non-Relational Database
- Databases that don't rely on the tabular schema of rows and columns, optimizing for particular data types.
- These include document, graph, key-value, and wide-column models.
Key-Value Database
- Stores data as key-value pairs, suitable for session stores and shopping carts. Offers horizontal scalability compared to traditional models.
- DynamoDB is a common example of this type.
Document Database
- Flexible and semi-structured, storing documents with unique keys and supporting content-based retrieval and modification.
- Used in content management systems, e-commerce platforms, and similar applications.
- Suitable for handling semi-structured data.
Wide-Column Database
- Tables where columns can vary within rows, and treated as key-value stores.
- Ideal for applications requiring flexibility and handling large quantities of data, like financial data, IoT data, and reporting systems.
- AWS Keyspaces and Bigtable are common examples.
Memory/Cache databases
- In-memory data stores designed for ultra-fast access to copies of data, improving performance by eliminating data retrieval from slower storage mediums like hard drives.
- They help in decreasing network cost and improving responsiveness in applications.
- AWS ElastiCache and Google Cloud Memorystore are services focused on caching and memory-based data stores.
Redis vs Memcached
- Redis provides persistence and supports complex data structures (Hashes, lists, sets etc).
- Memcached is designed purely as a caching solution.
Database Summary
- Various database services are available spanning from Relational Databases to NoSQL databases.
- Key factors when choosing the right database are the consistency needs, scalability requirements, type of data, and the architecture of the application.
Database Services in AWS and GCP
- Both AWS and GCP offer various database and storage services categorized as, Relational, Key-Value, Document, Graph, Wide-Column, and special in-memory storage mediums like Caches.
Assignment
- Choose a non-relational database, create an instance, and test simple operations.
- List 3 interesting technical points about the chosen database.
- Design a storage and database structure for 4 projects.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
This quiz explores the fundamental concepts of cloud storage and databases, covering types like block, file, and object storage. It also examines characteristics such as durability, availability, security, cost, scalability, performance, and integration. Test your understanding of these essential cloud computing elements.