ExamQuestions.com

Register
Login
AWS Certified Security Specialty Exam Questions

Amazon

AWS Certified Security Specialty

99 / 310

Question 99:

In order to meet data residency compliance requirements for a large bank, you must ensure that all S3 buckets are created in the eu-west-2 region. You plan to use SCP to enforce this rule. Which SCP will accomplish this?

Answer options:

A.{
"Version":"2012-10-17",
"Statement":[
{
"Sid":"DataGovernancePolicy",
"Effect":"Deny",
"Action":[
"s3:CreateBucket"
],
"Resource":[
"arn:aws:s3:::*"
],
"Condition": {
"StringNotLike": {
"s3:LocationConstraint": "eu-west-2"
}
}
}
]
}
B.{
"Version":"2012-10-17",
"Statement":[
{
"Sid":"DataGovernancePolicy",
"Effect":"Allow",
"Action":[
"s3:CreateBucket"
],
"Resource":[
"arn:aws:s3:::*"
],
"Condition": {
"StringLike": {
"s3:LocationConstraint": "eu-west-2"
}
}
}
]
}
C.{
"Version":"2012-10-17",
"Statement":[
{
"Sid":"DataGovernancePolicy",
"Effect":"Deny",
"Action":[
"s3:CreateBucket"
],
"Resource":[
"arn:aws:s3:::*"
],
"Condition": {
"StringNotLike": {
"s3:x-amz-region": "eu-west-2"
}
}
}
]
}
D.{
"Version":"2012-10-17",
"Statement":[
{
"Sid":"DataGovernancePolicy",
"Effect":"Allow",
"Action":[
"s3:CreateBucket"
],
"Resource":[
"arn:aws:s3:::*"
],
"Condition": {
"StringLike": {
"s3:x-amz-region": "eu-west-2"
}
}
}
]
}