ExamQuestions.com

Register
Login
AWS Certified Security Specialty Exam Questions

Amazon

AWS Certified Security Specialty

75 / 310

Question 75:

You are a security admin for Organizational Unit named “DataAnalyticsTeam”.You wish to streamline some of the security processes and delegate some security tasks to the development team. 
To this end, you wish to enable the development team to create roles and policies that can be attached to the various AWS services they are using. However, the services that they create should be able to access S3 buckets restricted to only the “us-west-1” region. 
The development team members have the “DeveloperRole” IAM Role assigned to them. What combination of steps below will accomplish this task (Select THREE)? 

Answer options:

A.Create “S3Actions” SCP Policy:
---
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "S3RestrictionsPolicy",
"Effect": "Deny",
"Action": "S3:GetObject",
"Resource": "*",
"Condition": {
"StringNotEquals": {
 "aws:RequestedRegion": "us-west-1"
 }
}
}
]
}
---
B.---
Create “S3Actions” IAM Policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "S3RestrictionsPolicy",
"Effect": "Allow",
"Action": " S3:GetObject ",
"Resource": " *",
"Condition": {
"StringEquals": {
 "aws:RequestedRegion": "us-west-1"
 }
}
}
]
}
---
C.---
Create “CreateRoles” IAM Policy:
{
"Sid": "CreateRoles",
"Effect": "Allow",
"Action": [
"iam:CreateRole",
"iam:AttachRolePolicy",
"iam:DetachRolePolicy"
],
"Resource": [
"arn:aws:iam::ACCOUNT_ID:role/*"
],
"Condition": {"StringEquals":
{"iam:PermissionsBoundary": "arn:aws:iam::ACCOUNT_ID:policy/S3Actions"}
}
}
---
D.Execute AWS CLI command:
aws iam attach-role-policy --policy-arn arn:aws:iam::aws:policy/CreateRoles --role-name DeveloperRole
E.Execute the AWS CLI command:
AWS organizations attach-policy --policy-id S3Actions --target-id DataAnalyticsTeam