100% Latest & Updated Amazon AWS Certified Security - Specialty SCS-C03 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 240
A private S3 bucket must permit a specific analytics role in another AWS account to read one prefix. After deployment the team observes: The external role has an IAM allow but cross-account object GET still fails. Which technical cause most directly explains the observed failure?
- The role's permissions boundary prevents actions not permitted by the boundary.
- The analyzer trust zone or resource coverage has not been configured for the affected bucket.
- The bucket resource policy does not authorize the cross-account principal for those objects.
- The mapped attribute is not readable to the app client or the provider mapping is missing.
Explanation
Correct Answer
C:The bucket resource policy does not authorize the cross-account principal for those objects. This cause is consistent with the precise failure signal in the scenario. Cross-account S3 access generally depends on both sides' applicable policy permissions.
Incorrect Answers
A:The role's permissions boundary prevents actions not permitted by the boundary. Here, the bucket resource policy does not authorize the cross-account principal for those objects.
B:The analyzer trust zone or resource coverage has not been configured for the affected bucket. Here, the bucket resource policy does not authorize the cross-account principal for those objects.
D:The mapped attribute is not readable to the app client or the provider mapping is missing. Here, the bucket resource policy does not authorize the cross-account principal for those objects.
Question 241
A cross-account workload needs to decrypt a ciphertext encrypted under a customer-managed KMS key in a producer account. Which architecture most directly meets the stated requirement?
- Authorize the consumer role with a KMS key policy and required IAM permissions.
- Evaluate the full effective permissions including explicit denies and applicable organization controls.
- Supply an STS session policy to further restrict the temporary role session.
- Map the identity-provider attribute into the Cognito user-pool attribute or token claims appropriately.
Explanation
Correct Answer
A:Authorize the consumer role with a KMS key policy and required IAM permissions. This directly serves the stated security requirement: Customer-managed KMS key permissions depend on key resource policy as well as caller authorization.
Incorrect Answers
B: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. Here, authorize the consumer role with a KMS key policy and required IAM permissions.
C:Supply an STS session policy to further restrict the temporary role session. This is relevant when a developer uses an STS assumed-role session to run a one-off maintenance job with stricter access than the role normally has. Here, authorize the consumer role with a KMS key policy and required IAM permissions.
D:Map the identity-provider attribute into the Cognito user-pool attribute or token claims appropriately. This concerns a customer portal federates Google identities through Cognito but the returned identity token lacks an expected mapped claim. Here, authorize the consumer role with a KMS key policy and required IAM permissions.
Question 242
A cross-account workload needs to decrypt a ciphertext encrypted under a customer-managed KMS key in a producer account. The approved design is: Authorize the consumer role with a KMS key policy and required IAM permissions. Which configuration puts that specific architecture into operation?
- Require the expected sts:ExternalId when the SaaS principal assumes the customer role.
- Grant the external role kms:Decrypt in the key policy and permit Decrypt in its own IAM policy.
- 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.
Explanation
Correct Answer
B:Grant the external role kms:Decrypt in the key policy and permit Decrypt in its own IAM policy. It operationalizes the stated design: Customer-managed KMS key permissions depend on key resource policy as well as caller authorization.
Incorrect Answers
A:Require the expected sts:ExternalId when the SaaS principal assumes the customer role. Instead, grant the external role kms:Decrypt in the key policy and permit Decrypt in its own IAM policy.
C:Create or use an external-access analyzer and review findings for the changed bucket. Instead, grant the external role kms:Decrypt in the key policy and permit Decrypt in its own IAM policy.
D:Configure the Roles Anywhere trust anchor, profile and role trust policy for X.509-based sessions. Instead, grant the external role kms:Decrypt in the key policy and permit Decrypt in its own IAM policy.
Question 243
A cross-account workload needs to decrypt a ciphertext encrypted under a customer-managed KMS key in a producer account. After configuring the control, the team must validate its effect. Which observed result best proves the requirement is satisfied?
- A principal with project alpha gains access to alpha resources but not beta resources.
- The analyzer identifies the bucket's policy granting access outside the trusted zone.
- The consumer role decrypts the specified ciphertext but cannot perform key administration.
- A client with an approved certificate obtains temporary role credentials while an untrusted client fails.
Explanation
Correct Answer
C:The consumer role decrypts the specified ciphertext but cannot perform key administration. This observation is the acceptance evidence for this scenario, not simply proof that a resource was provisioned. Customer-managed KMS key permissions depend on key resource policy as well as caller authorization.
Incorrect Answers
A:A principal with project alpha gains access to alpha resources but not beta resources. Here, the consumer role decrypts the specified ciphertext but cannot perform key administration.
B:The analyzer identifies the bucket's policy granting access outside the trusted zone. Here, the consumer role decrypts the specified ciphertext but cannot perform key administration.
D:A client with an approved certificate obtains temporary role credentials while an untrusted client fails. Here, the consumer role decrypts the specified ciphertext but cannot perform key administration.
Question 244
A cross-account workload needs to decrypt a ciphertext encrypted under a customer-managed KMS key in a producer account. After deployment the team observes: A consumer role has IAM kms:Decrypt allowed but receives KMS AccessDenied. Which technical cause most directly explains the observed failure?
- An explicit deny in a resource, boundary or organization policy still overrides the identity allows.
- The account is not under the OU or policy attachment with the preventive SCP.
- The signing principal lacks the required object access or a policy explicitly denies it.
- The KMS key policy or grant does not permit the cross-account role's decrypt action.
Explanation
Correct Answer
D:The KMS key policy or grant does not permit the cross-account role's decrypt action. This cause is consistent with the precise failure signal in the scenario. Customer-managed KMS key permissions depend on key resource policy as well as caller authorization.
Incorrect Answers
A:An explicit deny in a resource, boundary or organization policy still overrides the identity allows. Here, the KMS key policy or grant does not permit the cross-account role's decrypt action.
B:The account is not under the OU or policy attachment with the preventive SCP. Here, the KMS key policy or grant does not permit the cross-account role's decrypt action.
C:The signing principal lacks the required object access or a policy explicitly denies it. Here, the KMS key policy or grant does not permit the cross-account role's decrypt action.
Question 245
Developers may create application IAM roles but must never grant themselves unrestricted administrator privileges. Which architecture most directly meets the stated requirement?
- Evaluate the full effective permissions including explicit denies and applicable organization controls.
- Use IAM permissions boundaries to constrain roles created by delegated developers.
- Use IAM attribute-based access control based on matching principal and resource tags.
- Map the identity-provider attribute into the Cognito user-pool attribute or token claims appropriately.
Explanation
Correct Answer
B:Use IAM permissions boundaries to constrain roles created by delegated developers. This directly serves the stated security requirement: Permissions boundaries limit effective IAM identity permissions even if an attached identity policy is broader.
Incorrect Answers
A: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, use IAM permissions boundaries to constrain roles created by delegated developers.
C:Use IAM attribute-based access control based on matching principal and resource tags. This concerns multiple application teams require resource access determined by project tags rather than individually managed role lists. Instead, use IAM permissions boundaries to constrain roles created by delegated developers.
D:Map the identity-provider attribute into the Cognito user-pool attribute or token claims appropriately. This concerns a customer portal federates Google identities through Cognito but the returned identity token lacks an expected mapped claim. Instead, use IAM permissions boundaries to constrain roles created by delegated developers.
Question 246
Developers may create application IAM roles but must never grant themselves unrestricted administrator privileges. The approved design is: Use IAM permissions boundaries to constrain roles created by delegated developers. Which configuration puts that specific architecture into operation?
- Grant s3:GetObject only to the external role principal on the selected prefix objects.
- Create or use an external-access analyzer and review findings for the changed bucket.
- Require an approved permissions boundary on delegated role creation and limit developer IAM actions.
- Generate the URL using a principal with GetObject permission and a suitably short expiration.
Explanation
Correct Answer
C:Require an approved permissions boundary on delegated role creation and limit developer IAM actions. It operationalizes the stated design: Permissions boundaries limit effective IAM identity permissions even if an attached identity policy is broader.
Incorrect Answers
A:Grant s3:GetObject only to the external role principal on the selected prefix objects. Instead, require an approved permissions boundary on delegated role creation and limit developer IAM actions.
B:Create or use an external-access analyzer and review findings for the changed bucket. Instead, require an approved permissions boundary on delegated role creation and limit developer IAM actions.
D:Generate the URL using a principal with GetObject permission and a suitably short expiration. Instead, require an approved permissions boundary on delegated role creation and limit developer IAM actions.
Question 247
Developers may create application IAM roles but must never grant themselves unrestricted administrator privileges. After configuring the control, the team must validate its effect. Which observed result best proves the requirement is satisfied?
- The temporary session can modify only approved resources while the base role retains its wider authorizations.
- The approved role reads objects in the prefix but cannot list or read unrelated prefixes.
- Controlled account review shows MFA is enabled and ordinary admin tasks use roles instead of root.
- A test developer creates a bounded role but cannot attach effective permissions outside its boundary.
Explanation
Correct Answer
D:A test developer creates a bounded role but cannot attach effective permissions outside its boundary. This observation is the acceptance evidence for this scenario, not simply proof that a resource was provisioned. Permissions boundaries limit effective IAM identity permissions even if an attached identity policy is broader.
Incorrect Answers
A:The temporary session can modify only approved resources while the base role retains its wider authorizations. Here, a test developer creates a bounded role but cannot attach effective permissions outside its boundary.
B:The approved role reads objects in the prefix but cannot list or read unrelated prefixes. Here, a test developer creates a bounded role but cannot attach effective permissions outside its boundary.
C:Controlled account review shows MFA is enabled and ordinary admin tasks use roles instead of root. Here, a test developer creates a bounded role but cannot attach effective permissions outside its boundary.
Question 248
Developers may create application IAM roles but must never grant themselves unrestricted administrator privileges. After deployment the team observes: The newly created role has an AdministratorAccess policy but still cannot perform forbidden actions. Which technical cause most directly explains the observed failure?
- The role's permissions boundary prevents actions not permitted by the boundary.
- The assumed session is missing the required project principal tag or the resource tag mismatches.
- The bucket resource policy does not authorize the cross-account principal for those objects.
- The OAuth redirect URI does not exactly match an allowed app-client callback.
Explanation
Correct Answer
A:The role's permissions boundary prevents actions not permitted by the boundary. This cause is consistent with the precise failure signal in the scenario. Permissions boundaries limit effective IAM identity permissions even if an attached identity policy is broader.
Incorrect Answers
B:The assumed session is missing the required project principal tag or the resource tag mismatches. Here, the role's permissions boundary prevents actions not permitted by the boundary.
C:The bucket resource policy does not authorize the cross-account principal for those objects. Here, the role's permissions boundary prevents actions not permitted by the boundary.
D:The OAuth redirect URI does not exactly match an allowed app-client callback. Here, the role's permissions boundary prevents actions not permitted by the boundary.
Question 249
Multiple application teams require resource access determined by project tags rather than individually managed role lists. Which architecture most directly meets the stated requirement?
- Use a cross-account IAM role trust policy with a customer-specific ExternalId condition.
- Use a resource-based S3 bucket policy plus the caller's necessary identity permissions.
- Use IAM attribute-based access control based on matching principal and resource tags.
- Use Amazon Cognito user pools for application customer authentication.
Explanation
Correct Answer
C:Use IAM attribute-based access control based on matching principal and resource tags. This directly serves the stated security requirement: ABAC conditions compare identity or session attributes with resource attributes.
Incorrect Answers
A:Use a cross-account IAM role trust policy with a customer-specific ExternalId condition. This concerns access to customer AWS accounts without being able to reuse an assumed role across customers. Instead, use IAM attribute-based access control based on matching principal and resource tags.
B: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, use IAM attribute-based access control based on matching principal and resource tags.
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, use IAM attribute-based access control based on matching principal and resource tags.
Question 250
Multiple application teams require resource access determined by project tags rather than individually managed role lists. The approved design is: Use IAM attribute-based access control based on matching principal and resource tags. Which configuration puts that specific architecture into operation?
- Attach an SCP with an explicit deny for CloudTrail stop/delete actions to the intended OU.
- Require the expected sts:ExternalId when the SaaS principal assumes the customer role.
- Integrate the corporate identity source and assign account permission sets to synchronized groups.
- Enforce a condition comparing aws:PrincipalTag/project with aws:ResourceTag/project.
Explanation
Correct Answer
D:Enforce a condition comparing aws:PrincipalTag/project with aws:ResourceTag/project. It operationalizes the stated design: ABAC conditions compare identity or session attributes with resource attributes.
Incorrect Answers
A:Attach an SCP with an explicit deny for CloudTrail stop/delete actions to the intended OU. Instead, enforce a condition comparing aws:PrincipalTag/project with aws:ResourceTag/project.
B:Require the expected sts:ExternalId when the SaaS principal assumes the customer role. Instead, enforce a condition comparing aws:PrincipalTag/project with aws:ResourceTag/project.
C:Integrate the corporate identity source and assign account permission sets to synchronized groups. Instead, enforce a condition comparing aws:PrincipalTag/project with aws:ResourceTag/project.
AWS Certified Security - Specialty SCS-C03 Practice Tests