ExamQuestions.com

Register
Login
AWS Certified SysOps Administrator Associate Exam Questions

Amazon

AWS Certified SysOps Administrator Associate

97 / 340

Question 97:

A start-up firm has created an S3 bucket “test_bucket”. The contents of this bucket should be accessible only by user ABC in AWS account 123456789012. Which of the following S3 bucket policy statements should be applied to meet security guidelines for the least privileges?

Answer options:

A. {
"Version": "2012-10-17",
"Statement":[{
"Effect": "Allow",
"Action": "s3:*",
"Resource": ["arn:aws:s3:::*"]
}]
 }
B.{
"Version": "2012-10-17",
"Statement":[{
"Effect": "Allow",
"Action": "s3:*",
"Resource": ["arn:aws:s3:::test_bucket",
"arn:aws:s3:::test_bucket/*"]
}]
 }
C.{
"Version": "2012-10-17",
"Statement": [{
 "Effect": "Allow",
 "Principal": {
 "AWS": ["arn:aws:iam::123456789012:user/ABC"]
 },
 "Action": "s3:*",
 "Resource": ["arn:aws:s3:::*"]
 }]
}
D.{
"Version": "2012-10-17",
"Statement": [{
 "Effect": "Allow",
 "Principal": {
 "AWS": ["arn:aws:iam::123456789012:user/ABC"]
 },
 "Action": "s3:*",
 "Resource": ["arn:aws:s3:::test_bucket",
"arn:aws:s3:::test_bucket/*"]
 }]
}