Medium1 markMultiple Choice

AWS SAP-C02 · Question 07 · Domain 1.2: Security Controls

An organization uses AWS IAM Identity Center (AWS SSO) integrated with an on-premises Active Directory. Users are complaining about access denied errors when trying to assume a specific IAM role in a member account, even though they are in the correct AD group. The Solutions Architect verifies the Permission Set is attached. What is the MOST likely cause of the issue?

Answer options:

A.

The IAM Identity Center session duration has expired.

B.

An AWS Organizations Service Control Policy (SCP) is explicitly denying the action.

C.

The AD connector has lost connectivity to the on-premises directory.

D.

The IAM role trust policy does not trust the AD group directly.

How to approach this question

Remember the IAM policy evaluation logic: explicit denies in SCPs trump all allows.

Full Answer

B.An AWS Organizations Service Control Policy (SCP) is explicitly denying the action.✓ Correct
An AWS Organizations Service Control Policy (SCP) is explicitly denying the action.
In AWS, an explicit DENY in a Service Control Policy (SCP) will override any ALLOW in an IAM policy or Permission Set. This is a common cause of unexpected Access Denied errors in multi-account environments.

Common mistakes

Misunderstanding how IAM Identity Center maps AD groups.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 4

75 questions · hints · full answers · grading

More questions from this exam