Topic 1 Question 882
A company runs its application by using Amazon EC2 instances and AWS Lambda functions. The EC2 instances run in private subnets of a VPC. The Lambda functions need direct network access to the EC2 instances for the application to work.
The application will run for 1 year. The number of Lambda functions that the application uses will increase during the 1-year period. The company must minimize costs on all application resources.
Which solution will meet these requirements?
Purchase an EC2 Instance Savings Plan. Connect the Lambda functions to the private subnets that contain the EC2 instances.
Purchase an EC2 Instance Savings Plan. Connect the Lambda functions to new public subnets in the same VPC where the EC2 instances run.
Purchase a Compute Savings Plan. Connect the Lambda functions to the private subnets that contain the EC2 instances.
Purchase a Compute Savings Plan. Keep the Lambda functions in the Lambda service VPC.
ユーザの投票
コメント(7)
- 正解だと思う選択肢: C
Compute 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.
👍 7Guru4Cloud2024/04/11 - 正解だと思う選択肢: A
In 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.
👍 2sheilawu2024/06/06 - 正解だと思う選択肢: C
Compute savings include lamdba and EC2, Ec2 savings only EC2 instances. https://aws.amazon.com/savingsplans/compute-pricing/
👍 2jacinml2024/10/14
シャッフルモード