
Answer-first summary for fast verification
Answer: Use Spot Instances for the data ingestion layer, Purchase a 1-year Compute Savings Plan for the front end and API layer.
## Explanation **Correct Answers: A and C** **Why A (Spot Instances for data ingestion layer) is correct:** - The EC2 instances for the data ingestion layer have sporadic and unpredictable usage patterns - Workloads can be interrupted at any time, which makes them ideal for Spot Instances - Spot Instances offer up to 90% discount compared to On-Demand pricing - Since the workloads are interruptible, Spot Instances provide the most cost-effective solution for this layer **Why C (Compute Savings Plan for front end and API layer) is correct:** - The front end (Fargate) and API layer (Lambda) have predictable utilization over the next year - Compute Savings Plans offer significant discounts (up to 66%) for consistent usage - Compute Savings Plans apply to Fargate, Lambda, and EC2, making them flexible for the mixed compute environment - They provide better flexibility than EC2-specific Savings Plans since they cover multiple compute services **Why other options are incorrect:** - **B (On-Demand Instances):** More expensive than Spot Instances for interruptible workloads - **D (Reserved Instances for data ingestion):** Not suitable for sporadic, unpredictable usage patterns - **E (EC2 instance Savings Plan):** Only applies to EC2, not to Fargate or Lambda, so it doesn't cover all predictable workloads **Key AWS Cost Optimization Principles:** 1. Use Spot Instances for fault-tolerant, interruptible workloads 2. Use Savings Plans for predictable, steady-state workloads 3. Match purchasing options to workload characteristics 4. Compute Savings Plans offer flexibility across EC2, Fargate, and Lambda
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A solutions architect needs to help a company optimize the cost of running an application on AWS. The application will use Amazon EC2 instances, AWS Fargate, and AWS Lambda for compute within the architecture.
The EC2 instances will run the data ingestion layer of the application. EC2 usage will be sporadic and unpredictable. Workloads that run on EC2 instances can be interrupted at any time. The application front end will run on Fargate, and Lambda will serve the API layer. The front-end utilization and API layer utilization will be predictable over the course of the next year.
Which combination of purchasing options will provide the MOST cost-effective solution for hosting this application? (Choose two.)
A
Use Spot Instances for the data ingestion layer
B
Use On-Demand Instances for the data ingestion layer
C
Purchase a 1-year Compute Savings Plan for the front end and API layer.
D
Purchase 1-year All Upfront Reserved instances for the data ingestion layer.
E
Purchase a 1-year EC2 instance Savings Plan for the front end and API layer.