ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 737 - SAA-C03 discussion

Report
Export

A company runs an AWS Lambda function in private subnets in a VPC. The subnets have a default route to the internet through an Amazon EC2 NAT instance. The Lambda function processes input data and saves its output as an object to Amazon S3.

Intermittently, the Lambda function times out while trying to upload the object because of saturated traffic on the NAT instance's network The company wants to access Amazon S3 without traversing the internet.

Which solution will meet these requirements?

A.
Replace the EC2 NAT instance with an AWS managed NAT gateway.
Answers
A.
Replace the EC2 NAT instance with an AWS managed NAT gateway.
B.
Increase the size of the EC2 NAT instance in the VPC to a network optimized instance type
Answers
B.
Increase the size of the EC2 NAT instance in the VPC to a network optimized instance type
C.
Provision a gateway endpoint for Amazon S3 in the VPC. Update the route tables of the subnets accordingly.
Answers
C.
Provision a gateway endpoint for Amazon S3 in the VPC. Update the route tables of the subnets accordingly.
D.
Provision a transit gateway. Place transit gateway attachments in the private subnets where the Lambda function is running.
Answers
D.
Provision a transit gateway. Place transit gateway attachments in the private subnets where the Lambda function is running.
Suggested answer: C

Explanation:

Gateway Endpoint for Amazon S3: A VPC endpoint for Amazon S3 allows you to privately connect your VPC to Amazon S3 without requiring an internet gateway, NAT device, VPN connection, or AWS Direct Connect connection.

Provisioning the Endpoint:

Navigate to the VPC Dashboard.

Select 'Endpoints' and create a new endpoint.

Choose the service name for S3 (com.amazonaws.region.s3).

Select the appropriate VPC and subnets.

Adjust the route tables of the subnets to include the new endpoint.

Update Route Tables: Modify the route tables of the subnets to direct traffic destined for S3 to the newly created endpoint. This ensures that traffic to S3 does not go through the NAT instance, avoiding the saturated network and eliminating timeouts.

Operational Efficiency: This solution minimizes operational overhead by removing dependency on the NAT instance and avoiding internet traffic, leading to more stable and secure S3 interactions.

VPC Endpoints for Amazon S3

Creating a Gateway Endpoint

asked 16/09/2024
JIMMY GIOVANNY VARGAS TERAN
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first