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 101 discussion

A company is running applications on AWS in a multi-account environment. The company's sales team and marketing team use separate AWS accounts in AWS Organizations.

The sales team stores petabytes of data in an Amazon S3 bucket. The marketing team uses Amazon QuickSight for data visualizations. The marketing team needs access to data that the sates team stores in the S3 bucket. The company has encrypted the S3 bucket with an AWS Key Management Service (AWS KMS) key. The marketing team has already created the IAM service role for QuickSight to provide QuickSight access in the marketing AWS account. The company needs a solution that will provide secure access to the data in the S3 bucket across AWS accounts.

Which solution will meet these requirements with the LEAST operational overhead?

  • A. Create a new S3 bucket in the marketing account. Create an S3 replication rule in the sales account to copy the objects to the new S3 bucket in the marketing account. Update the QuickSight permissions in the marketing account to grant access to the new S3 bucket.
  • B. Create an SCP to grant access to the S3 bucket to the marketing account. Use AWS Resource Access Manager (AWS RAM) to share the KMS key from the sates account with the marketing account. Update the QuickSight permissions in the marketing account to grant access to the S3 bucket.
  • C. Update the S3 bucket policy in the marketing account to grant access to the QuickSight role. Create a KMS grant for the encryption key that is used in the S3 bucket. Grant decrypt access to the QuickSight role. Update the QuickSight permissions in the marketing account to grant access to the S3 bucket.
  • D. Create an IAM role in the sales account and grant access to the S3 bucket. From the marketing account, assume the IAM role in the sales account to access the S3 bucket. Update the QuickSight rote, to create a trust relationship with the new IAM role in the sales account.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
masetromain
Highly Voted 2 years ago
Selected Answer: D
The correct answer is D. Create an IAM role in the sales account and grant access to the S3 bucket. From the marketing account, assume the IAM role in the sales account to access the S3 bucket. Update the QuickSight role to create a trust relationship with the new IAM role in the sales account. This solution meets the requirements by allowing the marketing team to access the data in the S3 bucket in the sales account through assuming an IAM role, which eliminates the need to copy the data or share the KMS key, and also eliminates the need to modify the S3 bucket policy or create a KMS grant. This solution allows to use the same access to the bucket without duplicating data and re-encrypting it.
upvoted 26 times
masetromain
2 years ago
A. Create a new S3 bucket in the marketing account. Create an S3 replication rule in the sales account to copy the objects to the new S3 bucket in the marketing account. Update the QuickSight permissions in the marketing account to grant access to the new S3 bucket is not correct because it would create unnecessary data duplication and increased storage costs. B. Create an SCP to grant access to the S3 bucket to the marketing account. Use AWS Resource Access Manager (AWS RAM) to share the KMS key from the sales account with the marketing account. Update the QuickSight permissions in the marketing account to grant access to the S3 bucket is not correct because it does not provide a secure way to share the KMS key between accounts and also it would create unnecessary data duplication and increased storage costs.
upvoted 4 times
masetromain
2 years ago
C. Update the S3 bucket policy in the marketing account to grant access to the QuickSight role. Create a KMS grant for the encryption key that is used in the S3 bucket. Grant decrypt access to the QuickSight role. Update the QuickSight permissions in the marketing account to grant access to the S3 bucket is not correct because the Sales team's S3 bucket is in a different account, so the Marketing team cannot update the policy on the Sales team's S3 bucket.
upvoted 2 times
...
...
...
Maria2023
Highly Voted 1 year, 7 months ago
Selected Answer: D
The catch is in the answers - "Update the S3 bucket policy in the marketing account". We don't need to access a bucket in the marketing but the sales account.
upvoted 9 times
...
kylix75
Most Recent 1 week, 3 days ago
Selected Answer: D
The correct answer is D. Rationale: - Lowest operational overhead using native IAM mechanisms - Enables secure cross-account access through role assumption - Maintains centralized access control - No data duplication or additional storage costs - Works seamlessly with existing KMS encryption Other options' drawbacks: A: Duplicates data and costs B: SCPs aren't for granular access control C: Incorrect bucket policy location (bucket is in sales account, not marketing)
upvoted 1 times
...
bhanus
1 month, 1 week ago
Selected Answer: C
Option C provides the most straightforward and efficient solution with the least operational overhead. It directly addresses the cross-account access need while maintaining security through appropriate S3 bucket and KMS key policies.
upvoted 2 times
...
nimbus_00
3 months, 4 weeks ago
Selected Answer: C
Creating an IAM role in the sales account that grants access to the S3 bucket and allowing the marketing account (QuickSight) to assume that role.
upvoted 1 times
...
amministrazione
5 months ago
C. Update the S3 bucket policy in the marketing account to grant access to the QuickSight role. Create a KMS grant for the encryption key that is used in the S3 bucket. Grant decrypt access to the QuickSight role. Update the QuickSight permissions in the marketing account to grant access to the S3 bucket.
upvoted 1 times
...
Jason666888
6 months ago
Selected Answer: C
There must be a typo in C. In the context of option D, if Amazon QuickSight needs to access data in an S3 bucket in a different AWS account, and the setup involves assuming multiple roles, this approach could be problematic. QuickSight would not be able to assume the role in the sales account while simultaneously using its own role in the marketing account.
upvoted 4 times
helloworldabc
5 months, 1 week ago
just D
upvoted 1 times
...
Jason666888
6 months ago
In C, "Update the S3 bucket policy in the marketing account" should be changed to "Update the S3 bucket policy in the sales account"
upvoted 3 times
...
...
8693a49
6 months, 1 week ago
Selected Answer: A
What is QuickSight rote? It can't be D. I'm assuming there is no typo, so C is wrong too. B is wrong because you can't grant that permission with SCPs. A would work provided that the replication permissions are set up correctly. It's not great because I don't think it's necessary to duplicate the data, but it's the only viable option we are given.
upvoted 1 times
Jason666888
6 months ago
Dude, do you have any idea of what Petabytes amount of data mean? No one would do that in real life if there's other options
upvoted 1 times
...
...
vip2
7 months, 1 week ago
Selected Answer: C
C should be correct if change typo from market account to sales account for S3 bucket policy statement.
upvoted 3 times
...
quizzical_kiwi
8 months ago
Selected Answer: C
Agree with other answers on C. This question is clearly a typo, and "marketing" should be changed to "sales" in C. The resolution for this scenario is even stated in the AWS Knowledge base, and the solution is identical when replacing "marketing" with "sales": https://repost.aws/knowledge-center/quicksight-cross-account-s3
upvoted 3 times
...
teo2157
9 months, 2 weeks ago
Selected Answer: C
It should be C and there should be a misspelling in "Update the S3 bucket policy in the marketing account" when it's referring to sales account
upvoted 2 times
...
djeong95
11 months, 1 week ago
I think this is a great question with poorly phrased answers. If I have to choose between C and D, it would be neither since they both do not provide complete answers. Let me explain: For C, you are updating the S3 bucket policy for the marketing account, when you should be doing that for the sales account. So, C is wrong. However, if that were fixed to the sales account, everything would make sense, since the sales account would be providing the right policy, granting the correct KMS key permission, and the marketing account would be tweaking its permission in QuickSight. For D, it is wrong simply because it says nothing about providing KMS key grant. Not only do you have to establish trust policy in the QuickSight role to access S3 bucket, you have to allow Decrypt to happen. You have to explicitly spell this out (read the permission part in the link below). https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html
upvoted 2 times
djeong95
11 months, 1 week ago
https://repost.aws/knowledge-center/quicksight-cross-account-s3
upvoted 1 times
...
...
VerRi
11 months, 2 weeks ago
Selected Answer: D
Option C: Update the S3 bucket policy in the "marketing account" ....lol
upvoted 2 times
...
8608f25
11 months, 3 weeks ago
Selected Answer: C
The answer is C. Update the S3 bucket policy in the sales account to grant access to the QuickSight role in the marketing account. Create a KMS grant for the encryption key that is used in the S3 bucket. Grant decrypt access to the QuickSight role. Update the QuickSight permissions in the marketing account to grant access to the S3 bucket. Option C correctly identifies the need to update the S3 bucket policy to grant access specifically to the QuickSight IAM role in the marketing account, which directly addresses the requirement for cross-account access to S3 data. Additionally, creating a KMS grant for the encryption key to allow decrypt access by the QuickSight role aligns with best practices for secure, cross-account access to encrypted S3 data. This approach minimizes operational overhead by using existing roles and permissions without the need for replication or additional resource sharing mechanisms.
upvoted 2 times
...
AimarLeo
1 year ago
the question is badly formulated.. with all given options missing each a spec .. none of the answers are fully convincing
upvoted 2 times
...
tmlong18
1 year ago
Selected Answer: C
All answers are wrong: A. No KMS, not necessary replication B. No IAM D. No KMS But the most likely answer is C. "Update the S3 bucket policy in the marketing account" The question was never asked marketing s3 team bucket and all the data store in sales team S3 bucket. I think it's a typing error (marketing-> sales).
upvoted 4 times
...
career360guru
1 year, 1 month ago
Selected Answer: D
Option D
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago