ExamQuestions.com

Register
Login
AWS Certified Security Specialty Exam Questions

Amazon

AWS Certified Security Specialty

175 / 310

Question 175:

What is the result of the following bucket policy?
{
"Statement": [
{
"Sid": "Sid1",
"Action": "s3:*",
"Effect": "Allow",
"Resource": "arn:aws:s3:::mybucket/*.",
"Principal": {
{"AWS": ["arn:aws:iam::111111111:user/mark"]}
}
},
{
"Sid": "Sid2",
"Action": "s3:*",
"Effect": "Deny",
"Resource": "arn:aws:s3:::mybucket/*",
"Principal": {
"AWS": [
"*"
]
}
}
]
}
Choose the correct answer:
 

Answer options:

A.It will allow all access to the bucket mybucket.
B.It will allow the user mark from AWS account number 111111111 all access to the bucket but deny everyone else all access to the bucket.
C.It will deny all access to the bucket objects under mybucket.
D.None of these.