Compute Savings Plan and Lambda VPC Configuration for Cost Optimization
Short answer
C Purchase a Compute Savings Plan and connect Lambda functions to the private subnets containing the EC2 instances.
Question
Key Takeaways
Tests the distinction between EC2 Instance Savings Plans (EC2 only) and Compute Savings Plans (EC2 + Lambda), combined with secure VPC connectivity.
To minimize costs while maintaining network access, use a Compute Savings Plan covering both EC2 and Lambda, and attach Lambda to private subnets.
Common mistake: Choosing A or B due to misunderstanding that EC2 Instance Savings Plans do not cover Lambda functions, leading to higher uncommitted costs.
Expert Analysis
Why the Answer Is Correct
A Compute Savings Plan is the correct choice because it provides significant discounts for both Amazon EC2 and AWS Lambda usage, whereas an EC2 Instance Savings Plan only covers EC2. Since the question requires minimizing costs for all resources including increasing Lambda functions, the Compute Savings Plan is essential. Connecting Lambda to private subnets allows direct, secure communication with EC2 instances within the same VPC without incurring data transfer costs associated with internet gateways.
Why the Other Options Are Wrong
Options A and B suggest using an EC2 Instance Savings Plan, which does not apply to Lambda functions, leaving Lambda charges at on-demand rates. Option B also suggests public subnets, which is unnecessary and potentially less secure than private subnets for internal communication. Option D suggests keeping Lambda in its service VPC, but this would prevent direct network access to the customer's EC2 instances as required by the application architecture.
Community Comment Notes
Community consensus strongly supports C, noting that "Compute savings include lambda and EC2" while instance plans do not. Some users initially considered D due to default networking behavior but were corrected that explicit VPC attachment is needed for private subnet access. One user highlighted that "Lambda functions in private subnets can directly access EC2 instances... reducing security risks," reinforcing the architectural choice.
Official Reference
https://aws.amazon.com/savingsplans/compute-pricing/
This link opens the official vendor documentation in a new tab.
Exam Strategy
Always check if the Savings Plan type covers all compute services mentioned in the scenario. For mixed workloads of EC2 and Lambda, Compute Savings Plans are almost always the cost-effective answer over specific instance plans.
Frequently Asked Questions
Why not use an EC2 Instance Savings Plan?
Can Lambda access EC2 in private subnets from its service VPC?
Community Votes
84% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 7 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 7
-
Guru4Cloud 👍 7 Answered CCompute Savings Plan: This plan offers significant discounts on Lambda functions compared to on-demand pricing. Since the application will run for a year, a sustained use discount like Compute Savings Plan is ideal. Private Subnets: Lambda functions in private subnets can directly access EC2 instances within the VPC without needing internet access, reducing security risks and potential egress costs.
-
sheilawu 👍 2 Answered AIn this question has point out "access EC2 instances" within VPC,=> Lambda VPC to an ENI (Elastic network interface) in your account VPC.=>No charge. Therefore I stick with A, Not D.
-
jacinml 👍 2 Answered CCompute savings include lamdba and EC2, Ec2 savings only EC2 instances. https://aws.amazon.com/savingsplans/compute-pricing/
-
mk168898 👍 2A and B is not because it is talkign about EC2, but the question is asking for Lambda
-
LeonSauveterre 👍 1 Answered CWhy Compute Savings Plan: Covers both EC2 and Lambda, providing flexibility as Lambda usage increases. Why Private Subnets: Ensures network access between Lambda and EC2 instances. !! An EC2 Instance Savings Plan doesn't cover Lambda. Also, Lambda functions in public subnets cannot directly communicate with EC2 instances in private subnets.
Show 2 more comments
-
Lin878 👍 1I confuse this Question. Instance saving plan is cheaper than compute saving plan. https://aws.amazon.com/savingsplans/compute-pricing/
-
Scheldon 👍 1 Answered DAnswerD https://docs.aws.amazon.com/lambda/latest/dg/foundation-networking.html
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SAA-C03 Questions
Access 120 questions with complete answers and detailed explanations.
View Full SAA-C03 Practice Test →