SAP-C02 · Question #289
SAP-C02 Question #289: Real Exam Question with Answer & Explanation
The correct answer is B: Create a bucket policy to allow a user In the destination account to list the source bucket's. Step B is necessary so that the user in the destination account has the necessary permissions to access the source bucket and list its contents, read its objects. Step D is needed so that the user in the destination account has the necessary permissions to access the destination
Question
A solutions architect needs to copy data from an Amazon S3 bucket in an AWS account to a new S3 bucket in a new AWS account. The solutions architect must implement a solution that uses the AWS CLI. Which combination of steps will successfully copy the data? (Choose three.)
Options
- ACreate a bucket policy to allow the source bucket to list its contents and to put objects and set
- BCreate a bucket policy to allow a user In the destination account to list the source bucket's
- CCreate an IAM policy in the source account. Configure the policy to allow a user In the source
- DCreate an IAM policy in the destination account. Configure the policy to allow a user In the
- ERun the aws s3 sync command as a user in the source account. Specify' the source and
- FRun the aws s3 sync command as a user in the destination account. Specify' the source and
Explanation
Step B is necessary so that the user in the destination account has the necessary permissions to access the source bucket and list its contents, read its objects. Step D is needed so that the user in the destination account has the necessary permissions to access the destination bucket and list contents, put objects, and set object ACLs Step F is necessary because the aws s3 sync command needs to be run using the IAM user credentials from the destination account, so that the objects will have the appropriate permissions for the user in the destination account once they
Community Discussion
No community discussion yet for this question.