exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 243 discussion

A company has a data lake in Amazon S3 that needs to be accessed by hundreds of applications across many AWS accounts. The company's information security policy states that the S3 bucket must not be accessed over the public internet and that each application should have the minimum permissions necessary to function.

To meet these requirements, a solutions architect plans to use an S3 access point that is restricted to specific VPCs for each application.

Which combination of steps should the solutions architect take to implement this solution? (Choose two.)

  • A. Create an S3 access point for each application in the AWS account that owns the S3 bucket. Configure each access point to be accessible only from the application’s VPC. Update the bucket policy to require access from an access point.
  • B. Create an interface endpoint for Amazon S3 in each application's VPC. Configure the endpoint policy to allow access to an S3 access point. Create a VPC gateway attachment for the S3 endpoint.
  • C. Create a gateway endpoint for Amazon S3 in each application's VPConfigure the endpoint policy to allow access to an S3 access point. Specify the route table that is used to access the access point.
  • D. Create an S3 access point for each application in each AWS account and attach the access points to the S3 bucket. Configure each access point to be accessible only from the application's VPC. Update the bucket policy to require access from an access point.
  • E. Create a gateway endpoint for Amazon S3 in the data lake's VPC. Attach an endpoint policy to allow access to the S3 bucket. Specify the route table that is used to access the bucket.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
joleneinthebackyard
Highly Voted 1 year, 5 months ago
Selected Answer: AC
For those who struggle on why A but not D as they are almost identical like I did: A: Create an S3 access point for each application in THE AWS account D: Create an S3 access point for each application in EACH AWS account Not sure if this is technical or English exam.
upvoted 18 times
a54b16f
1 year, 1 month ago
A: in the AWS account that owns the S3 bucket
upvoted 1 times
...
...
vip2
Most Recent 9 months ago
Selected Answer: AC
see details step in below link where 'Create an Amazon S3 gateway endpoint in your VPC' https://aws.amazon.com/blogs/storage/managing-amazon-s3-access-with-vpc-endpoints-and-s3-access-points/
upvoted 4 times
...
sse69
11 months, 1 week ago
Selected Answer: AC
https://repost.aws/knowledge-center/s3-access-bucket-restricted-to-vpc
upvoted 2 times
fartosh
11 months ago
The linked post describes the scenario of creating an S3 access point in the data lake account (answer A) and a gateway VPC endpoint in the application's account (answer C).
upvoted 2 times
...
...
red_panda
11 months, 3 weeks ago
Selected Answer: AC
A and C in my opinion. Interface Endpoint is for EC2 generally, when we need a private IP. Gateway Endpoint is suitable in 95% cases when there are DynamoDB and S3 secure connectivity.
upvoted 1 times
...
BrijMohan08
11 months, 4 weeks ago
Selected Answer: AC
A & C Why not B? Interface endpoints are used for services that require a private IP address within the VPC, such as Amazon EC2, Amazon ECS, or Amazon SNS. Gateway endpoints, on the other hand, are used for services that are accessed using their public endpoint, such as Amazon S3 and Amazon DynamoDB. Since the scenario involves accessing an S3 bucket, a gateway endpoint is the appropriate choice, not an interface endpoint.
upvoted 2 times
...
trap
1 year ago
Correct:A,B https://aws.amazon.com/blogs/storage/managing-amazon-s3-access-with-vpc-endpoints-and-s3-access-points/
upvoted 1 times
...
VerRi
1 year ago
Selected Answer: AB
Gateway Endpoint only allows resources within the VPC to connect to S3. It is not possible to provide the gateway endpoint across many AWS accounts
upvoted 2 times
...
kz407
1 year, 1 month ago
Selected Answer: AB
I don't think C can achieve the requirement. At least according to this https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-s3.html. Here's why. "100's of AWS Accounts" hints about possibility of cross region access. Gateway Endpoints can't allow access from VPCs in other regions. Gateway endpoint is to access from own VPC.
upvoted 2 times
...
Dgix
1 year, 1 month ago
Selected Answer: AB
It's A+B. A sets up S3 Access Points, one for each accessing application, in the data lake account (the S3 account) which are configured with policies giving each application least-privilege access. B then sets up PrivateLink access (==interface endpoints) in each of the application accounts. C is out because gateway endpoints can't take policies. D is less efficient than A+B E is too simplistic - one gateway endpoint is not enough..
upvoted 3 times
...
Dgix
1 year, 1 month ago
Selected Answer: AB
A is valid, but C can't be configured for fine-grained access since it involves a gateway endpoint. Therefore: B as this is possible with a PrivateLink (==interface endpoint)
upvoted 1 times
...
blackgamer
1 year, 4 months ago
Answer is A & B. C is not suitable based on AWS Gateway endpoints documentation - "Endpoint connections cannot be extended out of a VPC. Resources on the other side of a VPN connection, VPC peering connection, transit gateway, or AWS Direct Connect connection in your VPC cannot use a gateway endpoint to communicate with Amazon S3." https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-s3.html
upvoted 3 times
zhooon
1 year, 2 months ago
With a gateway endpoint, you can access Amazon S3 from your VPC (https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-s3.html)
upvoted 1 times
...
...
career360guru
1 year, 5 months ago
Selected Answer: AC
A & C are right.
upvoted 1 times
...
Sab
1 year, 5 months ago
Selected Answer: AC
https://aws.amazon.com/blogs/storage/managing-amazon-s3-access-with-vpc-endpoints-and-s3-access-points/
upvoted 3 times
Mehrannn
1 year, 3 months ago
considering this blog post, do you agree with A&B or A&C?
upvoted 2 times
...
...
KCjoe
1 year, 6 months ago
Selected Answer: AB
Answer is AB, because gateway VPC does not have access to S3 access point. And interface VPC endpoint allos access to S3 access point. Note from ChatGPT: As of my last knowledge update in September 2021, Gateway VPC Endpoints for Amazon S3 do not support direct access to S3 access points. Gateway VPC Endpoints are designed to provide private connectivity from your Amazon Virtual Private Cloud (VPC) to S3, but they do not inherently support access to S3 access points.
upvoted 2 times
...
totten
1 year, 6 months ago
Selected Answer: AC
A. By creating an S3 access point for each application in the AWS account that owns the S3 bucket and configuring it to be accessible only from the application's VPC, you ensure that each application has the minimum necessary permissions and can access the data lake securely. C. Creating a gateway endpoint for Amazon S3 in each application's VPC and configuring the endpoint policy to allow access to an S3 access point ensures that traffic from each VPC is directed through the S3 access point and adheres to the security requirements. Specifying the route table that is used to access the access point is an essential part of the configuration. This combination of steps helps you meet your security and access requirements by using S3 access points and VPC endpoints for each application. It ensures that the data lake is accessed securely and that access permissions are correctly configured.
upvoted 1 times
...
Gabehcoud
1 year, 7 months ago
Selected Answer: BD
Gateway endpoint is public where as S3 access point and Interface endpoint can be private and limited to VPC. https://aws.amazon.com/s3/features/access-points/
upvoted 1 times
...
chikorita
1 year, 8 months ago
can anyone tell me why B is incorrect from what i know gateway endpoint resolves to Public AWS IP interface endpoint is completely private please correct me if wrong
upvoted 3 times
vn_thanhtung
1 year, 7 months ago
interface endpoint is completely private, you are wrong interface endpoint is public
upvoted 1 times
...
vn_thanhtung
1 year, 7 months ago
Because To meet these requirements, a solutions architect plans to use an S3 access point that is restricted to specific VPCs for each application => using access endpoint instead of interface endpoints
upvoted 1 times
chikorita
1 year, 7 months ago
thanks, got it
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago