Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 527 discussion

A company is collecting data from a large set of IoT devices. The data is stored in an Amazon S3 data lake. Data scientists perform analytics on Amazon EC2 instances that run in two public subnets in a VPC in a separate AWS account.

The data scientists need access to the data lake from the EC2 instances. The EC2 instances already have an assigned role with permissions to access Amazon S3.
According to company policies, only authorized networks are allowed to have access to the IoT data.

Which combination of steps should a solutions architect take to meet these requirements? (Choose two.)

  • A. Create a gateway VPC endpoint for Amazon S3 in the data scientists’ VPC.
  • B. Create an S3 access point in the data scientists' AWS account for the data lake.
  • C. Update the EC2 instance role. Add a policy with a condition that allows the s3:GetObject action when the value for the s3:DataAccessPointArn condition key is a valid access point ARN.
  • D. Update the VPC route table to route S3 traffic to an S3 access point.
  • E. Add an S3 bucket policy with a condition that allows the s3:GetObject action when the value for the s3:DataAccessPointArn condition key is a valid access point ARN.
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
AzureDP900
1 week, 1 day ago
B: Creating an S3 access point in the data scientists' AWS account provides a secure and controlled way to expose the data lake to EC2 instances. The access point allows you to manage who can access the bucket, and you can configure the bucket policy to include conditions that restrict access. E: Adding an S3 bucket policy with a condition that allows the s3:GetObject action when the value for the s3:DataAccessPointArn condition key is a valid access point ARN provides additional security and control over who can access the data lake. This ensures that only authorized networks (in this case, the data scientists' AWS account) can access the bucket.
upvoted 1 times
...
doobc
2 weeks, 6 days ago
BE. https://aws.amazon.com/blogs/storage/setting-up-cross-account-amazon-s3-access-with-s3-access-points/
upvoted 1 times
...
sam2ng
3 weeks, 6 days ago
I feel the combination of A,B and E would be the correct answer
upvoted 1 times
...
kgpoj
2 months, 1 week ago
This question is really bad. It feels like if A is selected, then E needs to be adjusted to enable access between VPC endpoints and the bucket directly Or if B is selected, then B needs to be reworded to say creating access point in data lake account, then E would be valid without any modification
upvoted 3 times
...
backbencher2022
3 months, 1 week ago
Selected Answer: BE
B & E are correct options. A isn't correct because gateway VPC endpoint doesn't work outside of VPC. In this question, we are talking about 2 different accounts which implies 2 different VPCs as well
upvoted 3 times
...
kgpoj
3 months, 1 week ago
Selected Answer: AE
S3 Access Point should be created in destination account. You need VPC endpoint to keep the network private. This question might just assumed that the S3 access point is already created in destination account
upvoted 2 times
...
zolthar_z
3 months, 3 weeks ago
Selected Answer: BE
S3 access point is used If you want to share your bucket with other accounts
upvoted 3 times
paultantony
2 months, 1 week ago
You can also create a cross-account access point that's associated with a bucket in another AWS account, as long as you know the bucket name and the bucket owner's account ID. However, creating cross-account access points doesn't grant you access to data in the bucket until you are granted permissions from the bucket owner. The bucket owner must grant the access point owner's account (your account) access to the bucket through the bucket policy. For more information, see Granting permissions for cross-account access points. https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-access-points.html
upvoted 1 times
...
...
dzidis
3 months, 3 weeks ago
Selected Answer: BE
Gateway endpoint do not work cross account, so BE. owever, 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
upvoted 3 times
...
RotterDam
4 months ago
Selected Answer: BE
Anyone who is picking A/E - please realize DataAccessPointArn ONLY WORKS when there is an access point created. A does NOT mention creating an Access Point. B is completely possible and combine with E restricts all traffic coming from the VPC that has the acccess point mentioned in B. B+E is the correct answer
upvoted 3 times
kgpoj
3 months, 1 week ago
B is completely wrong because the access point is created in the wrong account. You need the access point to be created in the source s3 bucket account
upvoted 2 times
hanson1028
2 months, 4 weeks ago
I just try it. You can create a cross-account s3 access point
upvoted 1 times
...
...
...
luuthang2011
4 months ago
a,d gateway VPC endpoint needs config route table
upvoted 1 times
...
vip2
4 months, 1 week ago
Selected Answer: AE
A, E are correct
upvoted 1 times
...
gfhbox0083
4 months, 2 weeks ago
Selected Answer: AE
A, E for sure. Only authorized networks are allowed to have access to the IoT data.
upvoted 2 times
...
c22ddd8
4 months, 2 weeks ago
Selected Answer: BE
Need access from different AWS account with restrictions. So it is BE
upvoted 3 times
...
Alagong
4 months, 3 weeks ago
Selected Answer: AE
A. This step ensures that the traffic between the EC2 instances and the S3 data lake does not traverse the public internet, thereby meeting security requirements and reducing latency. E. This step ensures that the access to the data lake is restricted according to company policies. It leverages an S3 bucket policy to enforce access control based on specific conditions, thereby providing an additional layer of security.
upvoted 4 times
...
Alagong
4 months, 3 weeks ago
A. This step ensures that the traffic between the EC2 instances and the S3 data lake does not traverse the public internet, thereby meeting security requirements and reducing latency. C. This step ensures that the access to the data lake is restricted according to company policies. It leverages an S3 bucket policy to enforce access control based on specific conditions, thereby providing an additional layer of security.
upvoted 1 times
...
kupo777
4 months, 3 weeks ago
B S3 access points allow fine-grained control of access policies and network settings for specific S3 buckets. E s3:DataAccessPointArn must be used to set permissions on the S3 bucket side for going through the access point. role settings in C do not have settings to determine the access point on the bucket side.
upvoted 2 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 ...