exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 20 discussion

A company has application running on Amazon EC2 instances in a VPC. One of the applications needs to call an Amazon S3 API to store and read objects. The company's security policies restrict any internet-bound traffic from the applications.
Which action will fulfill these requirements and maintain security?

  • A. Configure an S3 interface endpoint.
  • B. Configure an S3 gateway endpoint.
  • C. Create an S3 bucket in a private subnet.
  • D. Create an S3 bucket in the same Region as the EC2 instance.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Kossa
Highly Voted 3 years, 9 months ago
B Gateway Endpoint https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints-s3.html
upvoted 76 times
17Master
2 years, 9 months ago
You say that Amazon S3 gateway endpoints only work over public IPs and in the question you mention that the company's security policies restrict any internet traffic from the applications. Correct answer A
upvoted 4 times
retne
2 years, 6 months ago
It says that it should be internet-bound, not private, meaning that it should never reach internet. Both gateway and internet endpoints use AWS network, not internet.
upvoted 1 times
...
...
...
MsLike2Travel
Highly Voted 3 years, 9 months ago
Can't be interface endpoint as there is no interface endpoint for S3 or DynamoDB. Gateway endpoint is only applicable for S3 and Dynamo DB.
upvoted 32 times
kdhondge
3 years, 7 months ago
Go with B. S3 Gateway endpoint gives private access from VPC to S3. With S3 interface endpoints are directly accessible from applications that are on premises over VPN and AWS Direct Connect, or in a different AWS Region over VPC peering.
upvoted 5 times
kdhondge
3 years, 7 months ago
https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html
upvoted 1 times
...
...
17Master
2 years, 9 months ago
You say that Amazon S3 gateway endpoints only work over public IPs and in the question you mention that the company's security policies restrict any internet traffic from the applications. Correct answer A https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html#types-of-vpc-endpoints-for-s3
upvoted 1 times
...
...
48cd959
Most Recent 1 year, 3 months ago
Answer B , S3 gateway Endpoint. Clue - VPC gateway endpoint are used to connect any service without internet. Gateway endpoints are cheaper. S3 Interface endpoint can be used, but they are costly and they give more flexibility like connecting to multiple services which is not desired here.
upvoted 1 times
...
Uzbekistan
1 year, 3 months ago
Selected Answer: A
An S3 interface endpoint allows EC2 instances in your VPC to communicate with S3 without needing to traverse the internet. Instead, traffic flows through the AWS network backbone. This helps maintain security by keeping the traffic within the AWS network and not exposing it to the public internet. Therefore, option A is the correct choice.
upvoted 1 times
...
mhassaankhokhar
1 year, 4 months ago
Selected Answer: A
Option A https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html#types-of-vpc-endpoints-for-s3
upvoted 1 times
...
jatric
1 year, 9 months ago
Selected Answer: B
gateway endpoint is the solution when need to connect with in the VPC and interface endpoint from om-premise or outside.
upvoted 1 times
...
AKBM7829
1 year, 10 months ago
A interface endpoint is right
upvoted 1 times
...
ChiragKaushik
1 year, 11 months ago
A. Configure an S3 interface endpoint. By configuring an S3 interface endpoint, you can establish a private connection between your VPC and Amazon S3 without requiring internet access. The S3 interface endpoint enables the EC2 instances within the VPC to communicate with Amazon S3 securely and efficiently, using private IP addresses. This ensures that the traffic stays within the VPC and does not traverse the internet, aligning with the company’s security policies.
upvoted 2 times
...
sassy2023
2 years, 5 months ago
Selected Answer: A
You can use two types of VPC endpoints to access Amazon S3: gateway endpoints and interface endpoints (using AWS PrivateLink). A gateway endpoint is a gateway that you specify in your route table to access Amazon S3 from your VPC over the AWS network. Interface endpoints extend the functionality of gateway endpoints by using private IP addresses to route requests to Amazon S3 from within your VPC, on premises, or from a VPC in another AWS Region https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html#types-of-vpc-endpoints-for-s3
upvoted 1 times
...
hollie
2 years, 6 months ago
Selected Answer: B
Should be B. In the definition of gateway endpoint, it says "A gateway endpoint is a gateway that you specify in your route table to access Amazon S3 from your VPC over the AWS network." So although public ip address, still over AWS network.
upvoted 1 times
...
bunnychip
2 years, 7 months ago
Selected Answer: A
https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html#types-of-vpc-endpoints-for-s3
upvoted 1 times
...
mohamed84
2 years, 8 months ago
Amazon S3 intrface Use Amazon S3 Gateway public IP addresses Use private IP addresses from your VPC to access Amazon S3 intrface
upvoted 2 times
...
arseyam
2 years, 8 months ago
Selected Answer: A
The correct answer is A Interface Endpoint. Gateway Load Balancer endpoint is used to load balance traffic sent to nextgen firewall, WAF, IDS or IPS appliances. https://www.youtube.com/watch?v=5EVDX_9Vucc
upvoted 1 times
...
Ashkan_10
2 years, 8 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
17Master
2 years, 9 months ago
A is correct. Gateway endpoints for Amazon S3 = Use Amazon S3 public IP addresses. | Interface endpoints for Amazon S3= Use private IP addresses from your VPC to access Amazon S3.
upvoted 2 times
17Master
2 years, 9 months ago
https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html#types-of-vpc-endpoints-for-s3
upvoted 2 times
...
...
Radheysen
2 years, 9 months ago
Selected Answer: B
B is the correct answer
upvoted 1 times
...
chael88
3 years ago
Selected Answer: B
Use Gateway Endpoint if the AWS service is either DynamoDB or S3. Use Interface Endpoint for everything else.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...