Q65 — AWS SAA-C03 Ch.13
Question 65 of 100 | ← Chapter 13
Q965. A company's expense tracking application gives users the ability to upload images of receipts.The application analyzes the receipts to extract information and stores the raw images in Amazon S3.The application is written in Java and runs on Amazon EC2 On-Demand Instances in an Auto Scaling group behind an Application Load Balancer.The compute costs and storage costs have increased with the popularity of the application. Which solution will provide the MOST cost savings without affecting application performance?
- A. Purchase a Compute Savings Plan for the maximum number of necessary EC2 instances. Store the uploaded files in Amazon Elastic File System (Amazon EFS).
- B. Decrease the minimum number of EC2 instances in the Auto Scaling group.Use On-Demand Instances for peak scaling.Store the uploaded files in Amazon Elastic File System(Amazon EFS).
- C. Decrease the maximum number of EC2 instances in the Auto Scaling group.Set up S3 Lifecycle policies to archive the raw images to lower-cost storage tiers after 30 days.
- D. Purchase a Compute Savings Plan for the minimum number of necessary EC2 instances. Use On- Demand Instances for peak scaling. Set up S3 Lifecycle policies to archive the raw images to lower- cost storage tiers after 30 days ✓
Correct Answer: D. Purchase a Compute Savings Plan for the minimum number of necessary EC2 instances. Use On- Demand Instances for peak scaling. Set up S3 Lifecycle policies to archive the raw images to lower- cost storage tiers after 30 days
Explanation
The correct answer is D. Purchase a Compute Savings Plan for the minimum number of necessary EC2 instances. Use On-Demand Instances for peak scaling. Set up S3 Lifecycle policies to archive the raw images to lower-cost storage tiers after 30 days.Here's why:\1. Compute Savings Plan for minimum instances: Purchasing a Compute Savings Plan for the minimum number of necessary EC2 instances provides significant cost savings compared to On-Demand pricing. This covers the base compute requirements of the application.\2. On-Demand Instances for peak scaling: Using On-Demand Instances for the peak scaling requirements allows the application to scale up as needed without committing to additional Savings Plan capacity.\3. S3 Lifecycle policies for storage cost savings: Setting up S3 Lifecycle policies to automatically archive the raw images to lower-cost storage tiers (e.g., Glacier or Glacier Deep Archive) after 30 days helps reduce the overall storage costs.Compared to the other options:- A: Using Amazon EFS for storage does not provide the same cost savings as leveraging S3 Lifecycle policies.- B: Decreasing the minimum number of EC2 instances in the Auto Scaling group may impact application performance during peak times, whereas the solution in D maintains performance.- C: Decreasing the maximum number of EC2 instances may not be sufficient to address the overall compute cost increases, whereas the solution in D optimizes both compute and storage costs.By combining the Compute Savings Plan, On-Demand scaling, and S3 Lifecycle policies, the solution in D provides the most cost savings without affecting the application's performance.