Question 491:
Your team uses an S3 bucket called artifacts-bucket to store important files generated from pipelines. An intern accidentally removed the bucket policy and added the following bucket policy:
Answer options:
A.Use an IAM user of the bucket’s AWS account to execute the AWS CLI “aws s3api put-bucket-policy” to restore the bucket policy to the previous one. B.Sign in to the Amazon S3 console as the AWS account root user, delete the incorrect bucket policy and add the previous bucket policy that worked properly. C.Any IAM user of the AWS account can use AWS console to delete the S3 bucket policy, even if the policy explicitly denies the user the ability to perform this action. D.This bucket policy cannot be restored by any IAM user of the account. Need to contact AWS support to recover the S3 bucket policy.