Tutorial / Cram Notes

Amazon Elastic Block Store (EBS) provides persistent block storage volumes for use with Amazon EC2 instances. EBS volumes are network-attached and provide low-latency performance, which makes them suitable for both throughput and transaction-intensive workloads.

  • Use Cases: EBS is ideal for databases, such as SQL, MySQL, or NoSQL, ERP systems, and data warehousing applications.
  • Volume Types: EBS offers a range of volume types optimized for different use cases, including Provisioned IOPS SSD (io1 and io2), General Purpose SSD (gp2 and gp3), Throughput Optimized HDD (st1), and Cold HDD (sc1).
  • Snapshots: You can create snapshots of your EBS volumes for backup purposes, which are stored in Amazon S3.
  • Availability & Durability: EBS volumes are automatically replicated within their Availability Zone to protect from component failure.

Amazon Elastic File System (Amazon EFS)

Amazon EFS provides a scalable file storage solution for use with AWS Cloud services and on-premises resources. It is easy to set up, scale, and manage.

  • Use Cases: Suitable for a wide range of applications, including content management, web serving, data analytics, and home directories.
  • Scalability & Performance: EFS is designed to scale on demand to petabytes without disrupting applications, providing consistently low latencies, and the IOPS scale with the storage size.
  • Pricing: Pay for what you use. There is no need to provision storage in advance.

Amazon FSx

Amazon FSx offers fully managed third-party file systems with native compatibility and feature sets. There are two offerings: Amazon FSx for Windows File Server and Amazon FSx for Lustre.

  • Use Cases: FSx for Windows is suitable for Windows-based applications, while FSx for Lustre is optimized for high-performance computing workloads.
  • FSx for Windows: Provides a fully managed native Microsoft Windows file system with support for SMB protocol and Windows NTFS.
  • FSx for Lustre: A high-performance file system optimized for fast processing of workloads such as machine learning, high performance computing (HPC), and video processing.

Amazon Simple Storage Service (Amazon S3)

Amazon S3 is an object storage service that offers industry-leading scalability, data availability, security, and performance.

  • Use Cases: Ideal for storing and protecting any amount of data for a range of use cases, such as websites, mobile applications, backup and restore, archive, enterprise applications, IoT devices, and big data analytics.
  • Data Consistency: Amazon S3 provides strong read-after-write consistency automatically without any changes to performance or availability.
  • Storage Classes: Offers various storage classes for different use cases, such as S3 Standard, S3 Intelligent-Tiering, S3 Standard-Infrequent Access (IA), S3 One Zone-IA, S3 Glacier, and S3 Glacier Deep Archive.
  • Features: Various features include versioning, lifecycle policies, and transfer acceleration.

AWS Storage Gateway – Volume Gateway

AWS Storage Gateway offers a hybrid storage service that enables your on-premises applications to seamlessly use AWS cloud storage. Volume Gateway provides cloud-backed storage volumes that you can mount as iSCSI devices from your on-premises application servers.

  • Use Cases: Ideal for disaster recovery, data mirroring, and providing on-premises applications with low latency access to data stored in AWS.
  • Cached Volumes: Store your primary data in S3 while retaining frequently accessed data locally.
  • Stored Volumes: Store your entire dataset locally and asynchronously back up point-in-time snapshots of this data to S3.

When studying for the AWS Certified Solutions Architect – Professional exam, it’s important to understand these core storage services, their primary features, as well as their use cases. Additionally, being familiar with the pricing models and how to optimize costs for these storage options is crucial. Be sure to go through the respective FAQs, whitepapers, and documentation relating to each of these services for more in-depth knowledge and best practices.

Practice Test with Explanation

True or False: Amazon EBS volumes can only be attached to a single EC2 instance at any given time.

  • A) True
  • B) False

Answer: A) True

Explanation: Amazon EBS volumes are designed to be attached to only one EC2 instance at a time, although they can be detached and attached to another instance.

What type of storage does Amazon EFS provide?

  • A) Block-level storage
  • B) Object-level storage
  • C) File-level storage
  • D) Temporary storage

Answer: C) File-level storage

Explanation: Amazon Elastic File System (EFS) provides scalable file storage for use with Amazon Cloud services.

True or False: Amazon FSx can only be used to run Windows-based applications.

  • A) True
  • B) False

Answer: B) False

Explanation: Amazon FSx provides fully managed third-party file systems with Windows and Lustre support, so it can be used for other applications as well, not just Windows-based ones.

Which of the following is a benefit of using Amazon S3?

  • A) Ability to run SQL queries on data in place
  • B) Strongly consistent read and write operations
  • C) Access via block-level data operations
  • D) Ability to function as a file system mounted on EC2 instances

Answer: B) Strongly consistent read and write operations

Explanation: Amazon S3 provides high durability and availability with strongly consistent read and write operations, ensuring that a read immediately after a write will reflect the latest write operation.

Which AWS service acts as a hybrid storage service that enables on-premises applications to seamlessly use AWS cloud storage?

  • A) Amazon EBS
  • B) AWS Storage Gateway
  • C) Amazon Glacier
  • D) AWS DataSync

Answer: B) AWS Storage Gateway

Explanation: AWS Storage Gateway is a hybrid storage service that enables on-premises applications to use AWS cloud storage.

True or False: Amazon S3 allows for server-side encryption with customer-provided keys (SSE-C).

  • A) True
  • B) False

Answer: A) True

Explanation: Amazon S3 supports server-side encryption with customer-provided keys (SSE-C) as one of its encryption options.

What is the primary benefit of using Amazon EBS Provisioned IOPS SSD (io2) volumes?

  • A) Lowest cost per GB
  • B) Highest performance for sequential read/writes
  • C) Designed for transactional workloads requiring high IOPS
  • D) Ideal for long-term storage and archiving

Answer: C) Designed for transactional workloads requiring high IOPS

Explanation: Amazon EBS Provisioned IOPS SSD (io2) volumes are designed to deliver consistent, high IOPS performance for I/O-intensive transactional database workloads.

True or False: File systems on Amazon FSx are automatically backed up to Amazon S

  • A) True
  • B) False

Answer: A) True

Explanation: Amazon FSx file systems are automatically backed up to Amazon S3 according to the backup schedule that you define.

Which of the AWS storage services is primarily used for infrequently accessed data with a retrieval time ranging from minutes to several hours?

  • A) Amazon EFS
  • B) Amazon S3 Standard
  • C) Amazon S3 Glacier
  • D) Amazon FSx for Lustre

Answer: C) Amazon S3 Glacier

Explanation: Amazon S3 Glacier is a secure, durable, and low-cost storage class for data archiving and long-term backup, suitable for infrequently accessed data with variable retrieval times.

In terms of cost-efficiency for file storage, when should Amazon EFS be used over Amazon S3?

  • A) When you require frequent and granular updates to files
  • B) When you require large-scale data warehousing
  • C) When you require on-premises access via NFS or SMB
  • D) When you require only object-level storage

Answer: A) When you require frequent and granular updates to files

Explanation: Amazon EFS is designed to be used when you need a file system interface, file system semantics, and frequent, granular updates to files.

True or False: When using Amazon EBS, you can increase the size of a volume without stopping the associated EC2 instance.

  • A) True
  • B) False

Answer: A) True

Explanation: You can increase the size of an Amazon EBS volume without stopping the instance or disrupting the service, although some additional steps are required to make the new space available for use.

Which AWS storage service or feature is a managed block-level storage service designed to be used with Amazon EC2 instances for high-throughput, low-latency workloads?

  • A) Amazon EBS Throughput Optimized HDD (st1)
  • B) Amazon S3 Intelligent-Tiering
  • C) Amazon EFS Standard-Infrequent Access (EFS IA)
  • D) Amazon FSx for Lustre

Answer: D) Amazon FSx for Lustre

Explanation: Amazon FSx for Lustre is a high-performance file system integrated with Amazon S3, designed for fast processing of workloads such as machine learning, high-performance computing (HPC), video processing, and financial modeling.

Interview Questions

What is the difference between Amazon EBS and Amazon EFS?

Amazon EBS provides block-level storage volumes for use with EC2 instances, whereas Amazon EFS offers a scalable file storage solution. EBS is optimized for persistent storage for an individual EC2 instance, is low latency, and can support highly-intensive I/O workloads. EFS, on the other hand, is designed to be accessed by multiple EC2 instances simultaneously, making it suitable for applications that require shared access to file-based storage.

When would you recommend using Amazon FSx over Amazon EFS?

Amazon FSx provides fully managed third-party file systems with native compatibility and features. Use Amazon FSx if you need Windows-native file storage (FSx for Windows File Server) or high-performance computing workloads (FSx for Lustre). In contrast, Amazon EFS is recommended for simple, scalable, elastic NFS file storage for use with AWS Cloud services and on-premises resources.

How does Amazon S3 differ from Amazon EBS in terms of durability and availability?

Amazon S3 is designed for 999999999% (11 9’s) of durability over a given year and provides high availability through data replication across multiple geographically dispersed Availability Zones (AZs). Amazon EBS volumes are designed for 99% availability and are stored redundantly in a single AZ. For multi-AZ durability, snapshots can be taken and stored in S

In what scenario would you implement S3 Intelligent-Tiering?

S3 Intelligent-Tiering is designed for data with unknown or changing access patterns. It automatically moves objects between two access tiers — frequent and infrequent access — when access patterns change, without performance impact or operational overhead. It’s suitable for long-lived data that might be accessed unpredictably.

Can you explain the concept of Amazon S3 object immutability and when it’s typically used?

S3 object immutability refers to the write-once-read-many (WORM) model provided by S3 Object Lock. This feature prevents object deletion or modification for a fixed amount of time or indefinitely, which is crucial for compliance requirements or to protect data from accidental deletion or modification. It’s typically used for regulatory archived data or to preserve critical records.

What are the key differences between AWS Storage Gateway’s Volume Gateway and File Gateway?

Volume Gateway provides block storage – iSCSI-based volumes – backed by Amazon S3, enabling on-premises applications to use cloud-backed storage. It can be run in cached or stored modes. File Gateway, however, offers a seamless way to connect on-premises applications with S3 through a file-based interface, using standard file system protocols.

When would you consider using Amazon Glacier instead of standard Amazon S3 storage?

Amazon S3 Glacier and S3 Glacier Deep Archive are designed for the archival of data that is infrequently accessed and for which retrieval times of several minutes to hours are suitable. If cost-saving is a priority and immediate access to archived data is not necessary, Amazon Glacier is the more suitable option over standard S3 which offers immediate access but at a higher cost.

Describe one scenario where Amazon EBS’s Provisioned IOPS SSD (io2) would be the preferred choice.

Provisioned IOPS SSD (io2) is designed for I/O-intensive, latency-sensitive workloads such as large relational or NoSQL databases. Use io2 when consistent and high-performance IOPS are required, along with low storage latency. It’s particularly beneficial for critical business applications that demand consistent throughput and high durability.

How does AWS Backup integrate with AWS storage services?

AWS Backup is a fully managed service that provides centralized backup management across AWS services. It integrates with Amazon EBS, Amazon EFS, Amazon FSx, Amazon RDS, and Amazon DynamoDB, allowing users to configure and audit the AWS resources that are backed up, automate backup scheduling, set retention policies, and monitor all recent backup and restore activity.

Can you explain how data is protected in transit and at rest in Amazon S3?

In Amazon S3, data is protected in transit using SSL/TLS encryption, and at rest by default using server-side encryption with Amazon S3-Managed Encryption Keys (SSE-S3), Customer-Provided Keys (SSE-C), or AWS Key Management Service (KMS) Keys (SSE-KMS). This ensures that your data is encrypted and secure both during transfer and while stored on S3 services.

How can lifecycle policies be used with Amazon S3 to reduce storage costs?

Lifecycle policies in S3 enable automatic transitioning of objects to less expensive storage classes at defined intervals, and/or automatically archive or delete objects following a specified retention period. By moving objects to S3 Standard-IA, S3 One Zone-IA, S3 Intelligent-Tiering, Glacier, or Glacier Deep Archive, users can reduce storage costs based on their access frequency and retention requirements.

What factors should you consider when choosing between Amazon EBS volume types for a particular application?

When choosing EBS volume types, consider factors such as expected throughput, IOPS performance, latency requirements, storage capacity needed, and cost constraints. Specific applications might require the high performance of Provisioned IOPS SSD (io1/io2), the cost-effectiveness and burstable performance of General Purpose SSD (gp2/gp3), or the low-cost storage for infrequently accessed data provided by Throughput Optimized HDD (st1) or Cold HDD (sc1).

0 0 votes
Article Rating
Subscribe
Notify of
guest
26 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Bratislav Polić
3 months ago

Great blog post! I found the section on Amazon EBS really helpful for my exam preparation.

Bo Anda
3 months ago

Can someone explain the primary use case for Amazon FSx?

Jacobien Van Geest
4 months ago

How does Amazon EFS compare to Amazon S3 in terms of performance?

Tristan Wright
3 months ago

Does anyone know if Volume Gateway supports encrypted data?

Lidija Ognjanović
4 months ago

Thanks for the comprehensive guide on AWS storage services!

Cohen Wang
4 months ago

I appreciate the details provided on Amazon S3 lifecycle policies.

Inger Nuur
4 months ago

Are there any performance penalties when using Amazon EBS snapshots?

Eduardo Grant
3 months ago

Useful information, but I think the section on Volume Gateway could be more detailed.

26
0
Would love your thoughts, please comment.x
()
x