SAA-C03 Exam QuestionsBrowse all questions from this exam

SAA-C03 Exam - Question 91


A company has applications that run on Amazon EC2 instances in a VPC. One of the applications needs to call the Amazon S3 API to store and read objects. According to the company's security regulations, no traffic from the applications is allowed to travel across the internet.

Which solution will meet these requirements?

Show Answer
Correct Answer: A

To meet the company's security regulations that require no traffic from the applications to travel across the internet, configuring an S3 gateway endpoint is the appropriate solution. A gateway endpoint for Amazon S3 allows traffic between the VPC and Amazon S3 to remain within the Amazon network, ensuring that the traffic does not traverse the internet. This setup aligns with the security requirement and provides efficient access to Amazon S3 from the Amazon EC2 instances without requiring an internet gateway or NAT device.

Discussion

17 comments
Sign in to comment
ArielSchivoOption: A
Oct 17, 2022

Gateway endpoints provide reliable connectivity to Amazon S3 and DynamoDB without requiring an internet gateway or a NAT device for your VPC. It should be option A. https://docs.aws.amazon.com/vpc/latest/privatelink/gateway-endpoints.html

BuruguduystunstugudunstuyOption: A
Dec 21, 2022

***CORRECT*** The correct solution is Option A (Configure an S3 gateway endpoint.) A gateway endpoint is a VPC endpoint that you can use to connect to Amazon S3 from within your VPC. Traffic between your VPC and Amazon S3 never leaves the Amazon network, so it doesn't traverse the internet. This means you can access Amazon S3 without the need to use a NAT gateway or a VPN connection. ***WRONG*** Option B (creating an S3 bucket in a private subnet) is not a valid solution because S3 buckets do not have subnets. Option C (creating an S3 bucket in the same AWS Region as the EC2 instances) is not a requirement for meeting the given security regulations. Option D (configuring a NAT gateway in the same subnet as the EC2 instances) is not a valid solution because it would allow traffic to leave the VPC and travel across the Internet.

cookieMr
Jun 22, 2023

B. Creating an S3 in a private subnet restricts direct internet access to the bucket but does not provide a direct and secure connection between the EC2and the S3. The application would still need to traverse the internet to access the S3 API. C. Creating an S3 in the same Region as the EC2 does not inherently prevent traffic from traversing the internet. D. Configuring a NAT gateway allows outbound internet connectivity for resources in private subnets, but it does not provide a direct and secure connection to the S3 service. The traffic from the EC2 to the S3 API would still traverse the internet. The most suitable solution is to configure an S3 gateway endpoint (option A). It provides a secure and private connection between the VPC and the S3 service without requiring the traffic to traverse the internet. With an S3 gateway endpoint, the EC2 can access the S3 API directly within the VPC, meeting the security requirement of preventing traffic from traveling across the internet.

Wpcorgan
Nov 21, 2022

A is correct

langiacOption: A
Dec 7, 2022

https://docs.aws.amazon.com/vpc/latest/privatelink/gateway-endpoints.html

gustavtdOption: A
Jan 1, 2023

S3 Gateway Endpoint is a VPC endpoint,

BmarodiOption: A
May 21, 2023

Configure an S3 gateway endpoint is answer.

tamefi5512Option: A
Jul 1, 2023

https://docs.aws.amazon.com/vpc/latest/privatelink/gateway-endpoints.html

Guru4CloudOption: A
Aug 11, 2023

Configure an S3 gateway endpoint

TariqKipkemeiOption: A
Aug 22, 2023

Prevent traffic from traversing the internet = Gateway VPC endpoint for S3.

David_AngOption: A
Oct 6, 2023

Answer "A" is correct because an endpoint create a way for the data to travel in the VPC

Ruffyit
Oct 29, 2023

A gateway endpoint is a VPC endpoint that you can use to connect to Amazon S3 from within your VPC. Traffic between your VPC and Amazon S3 never leaves the Amazon network, so it doesn't traverse the internet. This means you can access Amazon S3 without the need to use a NAT gateway or a VPN connection

awsgeek75Option: A
Jan 14, 2024

EC2 to S3 without public interne = S3 gatewat B: Cannot be implemented C: Even if you create EC2 and S3 in same region, without a S3 gateway it will use the public internet D: Makes no sense, NAT gateway in the subnet as EC2 instance to do what?

CharumathiOption: A
Jan 21, 2024

You can access Amazon S3 from your VPC using gateway VPC endpoints. After you create the gateway endpoint, you can add it as a target in your route table for traffic destined from your VPC to Amazon S3. There is no additional charge for using gateway endpoints. Amazon S3 supports both gateway endpoints and interface endpoints. With a gateway endpoint, you can access Amazon S3 from your VPC, without requiring an internet gateway or NAT device for your VPC, and with no additional cost. However, gateway endpoints do not allow access from on-premises networks, from peered VPCs in other AWS Regions, or through a transit gateway. For those scenarios, you must use an interface endpoint, which is available for an additional cost. https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-s3.html

JohnZh
Mar 30, 2024

A. Configure an S3 gateway endpoint. Correct: https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-s3.html With a gateway endpoint, you can access Amazon S3 from your VPC, without requiring an internet gateway or NAT device for your VPC. Additional you need to configure the route table for the subnet that EC2 stays, but we have the key word here. B. Create an S3 bucket in a private subnet. I am not aware that we can create S3 bucket in certain subnet. C. Create an S3 bucket in the same AWS Region as the EC2 instances. Not enough. Without VPC gateway endpoint, access will through go out to the internet. D. Configure a NAT gateway in the same subnet as the EC2 instances. NAT gateway outbound traffic should also go out to the internet.

effiecancode
Jul 9, 2024

it's definitely A

jaradat02Option: A
Jul 21, 2024

A is the correct answer