Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon SAA-C03 Exam - Topic 2 Question 79 Discussion

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?
C) Purchase a Compute Savings Plan. Connect the Lambda functions to the private subnets that contain the EC2 instances.
A) Purchase an EC2 Instance Savings Plan. Connect the Lambda functions to the private sub-nets that contain the EC2 instances.
B) Purchase an EC2 Instance Savings Plan. Connect the Lambda functions to new public sub-nets in the same VPC where the EC2 instances run.
D) Purchase a Compute Savings Plan. Keep the Lambda functions in the Lambda service VPC.

Amazon SAA-C03 Exam - Topic 2 Question 79 Discussion

Actual exam question for Amazon's SAA-C03 exam
Question #: 79
Topic #: 2
[All SAA-C03 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: C

Compute Savings Plans apply to EC2, AWS Fargate, and AWS Lambda usage, maximizing coverage for mixed architectures while retaining flexibility across instance families, regions, OS, and tenancy. For private connectivity, Lambda functions must be configured with VPC access to attach ENIs in the target subnets, enabling direct network access to EC2 in private subnets (no public subnets are required for intra-VPC communication). EC2 Instance Savings Plans only discount EC2 usage and are tied to a specific instance family in a region, reducing flexibility and leaving Lambda costs undiscounted. Keeping Lambda in the service VPC prevents direct access to private EC2 without VPC configuration. Thus, a 1-year Compute Savings Plan plus connecting Lambda to the private subnets minimizes total cost and meets connectivity needs.

References: AWS Savings Plans --- Compute Savings Plans applicability (EC2, Fargate, Lambda); AWS Lambda Developer Guide --- Configuring Lambda to access VPC resources (ENIs, subnets, security groups).


Contribute your Thoughts:

0/2000 characters
Kristel
3 days ago
Wait, can Lambda really access EC2 in private subnets directly? Sounds tricky!
upvoted 0 times
...
Paris
8 days ago
Not sure about D, keeping Lambda in its own VPC feels limiting.
upvoted 0 times
...
Chara
13 days ago
C is the way to go, savings plan plus private access is smart!
upvoted 0 times
...
Chu
19 days ago
I think B is a bad idea, public subnets expose your EC2 instances.
upvoted 0 times
...
Haydee
24 days ago
Option A seems solid, private subnets are key for security.
upvoted 0 times
...
Flo
29 days ago
I feel like keeping Lambda in the service VPC could save costs, but I can't recall if that would allow the necessary access to the EC2 instances.
upvoted 0 times
...
Hollis
1 month ago
I practiced a similar question where we had to connect Lambda to EC2 in a private subnet, and I think option A makes sense, but I'm not confident about the savings plan part.
upvoted 0 times
...
Lenora
1 month ago
I think the Compute Savings Plan might be the right choice since it covers both EC2 and Lambda, but I need to double-check how it affects costs over time.
upvoted 0 times
...
Cristen
1 month ago
I remember that connecting Lambda functions to private subnets is crucial for direct access to EC2 instances, but I'm not sure which savings plan is best for this scenario.
upvoted 0 times
...

Save Cancel