100% Latest & Updated Amazon AWS Certified Security - Specialty SCS-C03 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 260
An IAM principal unexpectedly cannot delete an object despite a broad allow in its own identity policy. After deployment the team observes: Adding a second identity Allow statement does not restore the denied action. Which technical cause most directly explains the observed failure?
- The role's permissions boundary prevents actions not permitted by the boundary.
- The role identity policy still grants an overly broad object resource wildcard.
- The certificate chain is not trusted by the configured Roles Anywhere trust anchor.
- An explicit deny in a resource, boundary or organization policy still overrides the identity allows.
Explanation
Correct Answer
D:An explicit deny in a resource, boundary or organization policy still overrides the identity allows. This cause is consistent with the precise failure signal in the scenario. An explicit deny wins over allows across applicable IAM policy evaluation layers.
Incorrect Answers
A:The role's permissions boundary prevents actions not permitted by the boundary. Here, an explicit deny in a resource, boundary or organization policy still overrides the identity allows.
B:The role identity policy still grants an overly broad object resource wildcard. Here, an explicit deny in a resource, boundary or organization policy still overrides the identity allows.
C:The certificate chain is not trusted by the configured Roles Anywhere trust anchor. Here, an explicit deny in a resource, boundary or organization policy still overrides the identity allows.
Question 261
A developer uses an STS assumed-role session to run a one-off maintenance job with stricter access than the role normally has. Which architecture most directly meets the stated requirement?
- Use AWS Organizations resource control policies to establish an organization resource-access perimeter.
- Supply an STS session policy to further restrict the temporary role session.
- Evaluate the full effective permissions including explicit denies and applicable organization controls.
- Use Amazon Cognito user pools for application customer authentication.
Explanation
Correct Answer
B:Supply an STS session policy to further restrict the temporary role session. This directly serves the stated security requirement: Session policies intersect with the role permissions and never grant new actions alone.
Incorrect Answers
A:Use AWS Organizations resource control policies to establish an organization resource-access perimeter. This concerns preventing requests originating from outside its organization from accessing sensitive member-account resources. Instead, supply an STS session policy to further restrict the temporary role session.
C:Evaluate the full effective permissions including explicit denies and applicable organization controls. This is relevant when an IAM principal unexpectedly cannot delete an object despite a broad allow in its own identity policy. Instead, supply an STS session policy to further restrict the temporary role session.
D:Use Amazon Cognito user pools for application customer authentication. This concerns user sign-up, sign-in and token issuance without creating IAM users per customer. Instead, supply an STS session policy to further restrict the temporary role session.
Question 262
A developer uses an STS assumed-role session to run a one-off maintenance job with stricter access than the role normally has. The approved design is: Supply an STS session policy to further restrict the temporary role session. Which configuration puts that specific architecture into operation?
- Scope s3:PutObject to arn:aws:s3:::approved-bucket/output/* instead of a global wildcard.
- Use IAM Policy Simulator and examine bucket policies, SCPs and permission boundaries for a deny.
- Pass a restrictive inline session policy when calling AssumeRole for the maintenance job.
- Configure the Roles Anywhere trust anchor, profile and role trust policy for X.509-based sessions.
Explanation
Correct Answer
C:Pass a restrictive inline session policy when calling AssumeRole for the maintenance job. It operationalizes the stated design: Session policies intersect with the role permissions and never grant new actions alone.
Incorrect Answers
A:Scope s3:PutObject to arn:aws:s3:::approved-bucket/output/* instead of a global wildcard. Here, pass a restrictive inline session policy when calling AssumeRole for the maintenance job.
B:Use IAM Policy Simulator and examine bucket policies, SCPs and permission boundaries for a deny. Here, pass a restrictive inline session policy when calling AssumeRole for the maintenance job.
D:Configure the Roles Anywhere trust anchor, profile and role trust policy for X.509-based sessions. Here, pass a restrictive inline session policy when calling AssumeRole for the maintenance job.
Question 263
A developer uses an STS assumed-role session to run a one-off maintenance job with stricter access than the role normally has. After configuring the control, the team must validate its effect. Which observed result best proves the requirement is satisfied?
- The analyzer identifies the bucket's policy granting access outside the trusted zone.
- A role session writes an output object but an attempt to write a different bucket is denied.
- Only the approved pipeline identity receives temporary AWS role credentials during a test.
- The temporary session can modify only approved resources while the base role retains its wider authorizations.
Explanation
Correct Answer
D:The temporary session can modify only approved resources while the base role retains its wider authorizations. This observation is the acceptance evidence for this scenario, not simply proof that a resource was provisioned. Session policies intersect with the role permissions and never grant new actions alone.
Incorrect Answers
A:The analyzer identifies the bucket's policy granting access outside the trusted zone. Here, the temporary session can modify only approved resources while the base role retains its wider authorizations.
B:A role session writes an output object but an attempt to write a different bucket is denied. Here, the temporary session can modify only approved resources while the base role retains its wider authorizations.
C:Only the approved pipeline identity receives temporary AWS role credentials during a test. Here, the temporary session can modify only approved resources while the base role retains its wider authorizations.
Question 264
A developer uses an STS assumed-role session to run a one-off maintenance job with stricter access than the role normally has. After deployment the team observes: A session policy grants a previously unavailable action not allowed by the role. Which technical cause most directly explains the observed failure?
- Session policies restrict, but do not expand, a role's effective permissions.
- The bucket resource policy does not authorize the cross-account principal for those objects.
- The KMS key policy or grant does not permit the cross-account role's decrypt action.
- The mapped attribute is not readable to the app client or the provider mapping is missing.
Explanation
Correct Answer
A:Session policies restrict, but do not expand, a role's effective permissions. This cause is consistent with the precise failure signal in the scenario. Session policies intersect with the role permissions and never grant new actions alone.
Incorrect Answers
B:The bucket resource policy does not authorize the cross-account principal for those objects. Here, session policies restrict, but do not expand, a role's effective permissions.
C:The KMS key policy or grant does not permit the cross-account role's decrypt action. Here, session policies restrict, but do not expand, a role's effective permissions.
D:The mapped attribute is not readable to the app client or the provider mapping is missing. Here, session policies restrict, but do not expand, a role's effective permissions.
Question 265
An image-processing role should upload output files to a single designated S3 bucket prefix and nowhere else. Which architecture most directly meets the stated requirement?
- Use a resource-based S3 bucket policy plus the caller's necessary identity permissions.
- Use an AWS Organizations service control policy restricting the dangerous API.
- Create a least-privilege IAM policy with the precise S3 object ARN and PutObject action.
- Use IAM OIDC federation into a narrowly trusted deployment role.
Explanation
Correct Answer
C:Create a least-privilege IAM policy with the precise S3 object ARN and PutObject action. This directly serves the stated security requirement: Restricting both action and resource is central to least-privilege object access.
Incorrect Answers
A:Use a resource-based S3 bucket policy plus the caller's necessary identity permissions. This concerns permit a specific analytics role in another AWS account to read one prefix. Instead, create a least-privilege IAM policy with the precise S3 object ARN and PutObject action.
B:Use an AWS Organizations service control policy restricting the dangerous API. This concerns forbid disabling CloudTrail throughout member accounts even if local admins receive broad identity policies. Instead, create a least-privilege IAM policy with the precise S3 object ARN and PutObject action.
D:Use IAM OIDC federation into a narrowly trusted deployment role. This concerns obtain temporary deployment credentials without storing AWS access keys. Instead, create a least-privilege IAM policy with the precise S3 object ARN and PutObject action.
Question 266
An image-processing role should upload output files to a single designated S3 bucket prefix and nowhere else. The approved design is: Create a least-privilege IAM policy with the precise S3 object ARN and PutObject action. Which configuration puts that specific architecture into operation?
- Require an approved permissions boundary on delegated role creation and limit developer IAM actions.
- Create or use an external-access analyzer and review findings for the changed bucket.
- Configure the Roles Anywhere trust anchor, profile and role trust policy for X.509-based sessions.
- Scope s3:PutObject to arn:aws:s3:::approved-bucket/output/* instead of a global wildcard.
Explanation
Correct Answer
D:Scope s3:PutObject to arn:aws:s3:::approved-bucket/output/* instead of a global wildcard. It operationalizes the stated design: Restricting both action and resource is central to least-privilege object access.
Incorrect Answers
A:Require an approved permissions boundary on delegated role creation and limit developer IAM actions. Here, scope s3:PutObject to arn:aws:s3:::approved-bucket/output/* instead of a global wildcard.
B:Create or use an external-access analyzer and review findings for the changed bucket. Here, scope s3:PutObject to arn:aws:s3:::approved-bucket/output/* instead of a global wildcard.
C:Configure the Roles Anywhere trust anchor, profile and role trust policy for X.509-based sessions. Here, scope s3:PutObject to arn:aws:s3:::approved-bucket/output/* instead of a global wildcard.
Question 267
An image-processing role should upload output files to a single designated S3 bucket prefix and nowhere else. After configuring the control, the team must validate its effect. Which observed result best proves the requirement is satisfied?
- A role session writes an output object but an attempt to write a different bucket is denied.
- The approved role reads objects in the prefix but cannot list or read unrelated prefixes.
- A request from an untrusted external principal is denied even when a local resource policy is broad.
- An employee in the assigned group receives a temporary role session in only the intended AWS accounts.
Explanation
Correct Answer
A:A role session writes an output object but an attempt to write a different bucket is denied. This observation is the acceptance evidence for this scenario, not simply proof that a resource was provisioned. Restricting both action and resource is central to least-privilege object access.
Incorrect Answers
B:The approved role reads objects in the prefix but cannot list or read unrelated prefixes. Here, a role session writes an output object but an attempt to write a different bucket is denied.
C:A request from an untrusted external principal is denied even when a local resource policy is broad. Here, a role session writes an output object but an attempt to write a different bucket is denied.
D:An employee in the assigned group receives a temporary role session in only the intended AWS accounts. Here, a role session writes an output object but an attempt to write a different bucket is denied.
Question 268
An image-processing role should upload output files to a single designated S3 bucket prefix and nowhere else. After deployment the team observes: Uploads to an unintended bucket still succeed during testing. Which technical cause most directly explains the observed failure?
- The resource control policy lacks a required service principal exception for the legitimate integration.
- The role identity policy still grants an overly broad object resource wildcard.
- The bucket resource policy does not authorize the cross-account principal for those objects.
- The certificate chain is not trusted by the configured Roles Anywhere trust anchor.
Explanation
Correct Answer
B:The role identity policy still grants an overly broad object resource wildcard. This cause is consistent with the precise failure signal in the scenario. Restricting both action and resource is central to least-privilege object access.
Incorrect Answers
A:The resource control policy lacks a required service principal exception for the legitimate integration. Here, the role identity policy still grants an overly broad object resource wildcard.
C:The bucket resource policy does not authorize the cross-account principal for those objects. Here, the role identity policy still grants an overly broad object resource wildcard.
D:The certificate chain is not trusted by the configured Roles Anywhere trust anchor. Here, the role identity policy still grants an overly broad object resource wildcard.
Question 269
An AWS organization must prevent requests originating from outside its organization from accessing sensitive member-account resources. Which architecture most directly meets the stated requirement?
- Use IAM Access Analyzer external-access findings to detect the unintended bucket policy.
- Authorize the consumer role with a KMS key policy and required IAM permissions.
- Enable MFA on the root user and reserve root operations for documented emergencies.
- Use AWS Organizations resource control policies to establish an organization resource-access perimeter.
Explanation
Correct Answer
D:Use AWS Organizations resource control policies to establish an organization resource-access perimeter. This directly serves the stated security requirement: RCPs constrain access to supported resources and need compatibility with required AWS service access.
Incorrect Answers
A:Use IAM Access Analyzer external-access findings to detect the unintended bucket policy. This concerns an S3 bucket may have accidentally been shared publicly after a Terraform policy update. Instead, use AWS Organizations resource control policies to establish an organization resource-access perimeter.
B:Authorize the consumer role with a KMS key policy and required IAM permissions. This concerns decrypt a ciphertext encrypted under a customer-managed KMS key in a producer account. Instead, use AWS Organizations resource control policies to establish an organization resource-access perimeter.
C:Enable MFA on the root user and reserve root operations for documented emergencies. This concerns protecting root-user access and avoid routine root API activity. Instead, use AWS Organizations resource control policies to establish an organization resource-access perimeter.
Question 270
An AWS organization must prevent requests originating from outside its organization from accessing sensitive member-account resources. The approved design is: Use AWS Organizations resource control policies to establish an organization resource-access perimeter. Which configuration puts that specific architecture into operation?
- Attach an RCP with an explicit restriction based on trusted organization principal context.
- Require the expected sts:ExternalId when the SaaS principal assumes the customer role.
- Create or use an external-access analyzer and review findings for the changed bucket.
- Configure the external IdP attribute mapping and the app client's readable attribute settings.
Explanation
Correct Answer
A:Attach an RCP with an explicit restriction based on trusted organization principal context. It operationalizes the stated design: RCPs constrain access to supported resources and need compatibility with required AWS service access.
Incorrect Answers
B:Require the expected sts:ExternalId when the SaaS principal assumes the customer role. Instead, attach an RCP with an explicit restriction based on trusted organization principal context.
C:Create or use an external-access analyzer and review findings for the changed bucket. Instead, attach an RCP with an explicit restriction based on trusted organization principal context.
D:Configure the external IdP attribute mapping and the app client's readable attribute settings. Instead, attach an RCP with an explicit restriction based on trusted organization principal context.
AWS Certified Security - Specialty SCS-C03 Practice Tests