Q99 — AWS SAA-C03 Ch.15
Question 99 of 100 | ← Chapter 15
Q1199. A company is developing a SaaS solution for customers.The solution runs on Amazon EC2 instances that have Amazon Elastic Block Store (Amazon EBS) volumes attached. Within the SaaS application,customers can request how much storage they need.The application needs to allocate the amount of block storage each customer requests.A solutions architect must design an operationally efficient solution that meets the storage scaling requirement.Which solution will meet these requirements MOST cost-effectively?
- A. Migrate the data from the EBS volumes to an Amazon S3 bucket. Use the Amazon S3 Standard storage class.
- B. Migrate the data from the EBS volumes to an Amazon Elastic File System (Amazon EFS) file system.Use the EFS Standard storage class.Invoke an AWS Lambda function to increase the EFS volume capacity based on user input.
- C. Migrate the data from the EBS volumes to an Amazon FSx for Windows File Server file system. Invoke an AWS Lambda function to increase the capacity of the file system based on user input.
- D. Invoke an AWS Lambda function to increase the size of EBS volumes based on user input by using EBS Elastic Volumes. ✓
Correct Answer: D. Invoke an AWS Lambda function to increase the size of EBS volumes based on user input by using EBS Elastic Volumes.
Explanation
To meet the requirements of the SaaS solution, where customers can request how much storage they need and the application needs to allocate the amount of block storage each customer requests in an operationally efficient and cost-effective manner, the most suitable solution is:D. Invoke an AWS Lambda function to increase the size of EBS volumes based on user input by using EBS Elastic Volumes.Analysis:EBS Elastic Volumes: Amazon EBS Elastic Volumes allow you to dynamically adjust the size, performance, or volume type of your EBS volumes without stopping or detaching them from your EC2 instances. This makes it an ideal solution for a SaaS application where customers can request varying amounts of storage. AWS Lambda Function: By invoking an AWS Lambda function, you can automate the process of increasing the size of EBS volumes based on user input. This provides a scalable and cost-effective solution, as you only pay for the compute time consumed by the Lambda function and the storage used by the EBS volumes.Cost-Effectiveness: EBS Elastic Volumes are a cost-effective solution for block storage, as you only pay for the storage you use. Additionally, using AWS Lambda to automate the volume resizing process reduces operational overhead and costs associated with manual management.Why the Other Options Are Not Suitable:A. Migrate the data from the EBS volumes to an Amazon S3 bucket. Use the Amazon S3 Standard storage class.Why Not: While Amazon S3 is a highly scalable and cost-effective object storage solution, it is not designed for block storage. The SaaS solution requires block storage, which is better suited for applications that need to read and write data in a structured manner, such as databases or file systems. B. Migrate the data from the EBS volumes to an Amazon Elastic File System (Amazon EFS) file system. Use the EFS Standard storage class. Invoke an AWS Lambda function to increase the EFS volume capacity based on user input.Why Not: Amazon EFS is a scalable file storage solution that is compatible with Linux EC2 instances. However, it is not designed for block storage and may not provide the same level of performance and control as EBS volumes for certain applications. Additionally, while EFS can scale automatically, it does not offer the same granularity in terms of volume size and performance adjustments as EBS Elastic Volumes. C. Migrate the data from the EBS volumes to an Amazon FSx for Windows File Server file system. Invoke an AWS Lambda function to increase the capacity of the file system based on user input. Why Not: Amazon FSx for Windows File Server is a fully managed, scalable, and highly available file storage service that is optimized for Windows workloads. However, like EFS, it is not designed for block storage and may not be the best fit for a SaaS solution that requires block-level storage. Additionally, FSx for Windows File Server may be more expensive than EBS Elastic Volumes for certain use cases.Conclusion:Using EBS Elastic Volumes and invoking an AWS Lambda function to increase the size of EBS volumes based on user input provides a scalable, cost-effective, and operationally efficient solution for the SaaS application's storage scaling requirements.