SAP-C02 练习题

SAP-C02 题目讲解:受邀成员账号需要显式跨账号角色

SAP-C02 练习题讲解。正确答案 C。答案 C。Organizations 邀请现有账号不会自动赋予管理账号任意管理员权限。

SAP-C02 免费试练题 · 考证匠讲解

题目

A large payroll company recently merged with a small staffing company. The unified company now has multiple business units, each with its own existing AWS account. A solutions architect must ensure that the company can centrally manage the billing and access policies for all the AWS accounts. The solutions architect configures AWS Organizations by sending an invitation to all member accounts of the company from a centralized management account. What should the solutions architect do next to meet these requirements?

A. Create the OrganizationAccountAccess IAM group in each member account. Include the necessary IAM roles for each administrator.
B. Create the OrganizationAccountAccessPolicy IAM policy in each member account. Connect the member accounts to the management account by using cross-account access.
C. Create the OrganizationAccountAccessRole IAM role in each member account. Grant permission to the management account to assume the IAM role.
D. Create the OrganizationAccountAccessRole IAM role in the management account. Attach the AdministratorAccess AWS managed policy to the IAM role. Assign the IAM role to the administrators in each member account.

答案

正确答案 C。答案 C。Organizations 邀请现有账号不会自动赋予管理账号任意管理员权限。

拆题

  • Organizations 邀请现有账号不会自动赋予管理账号任意管理员权限。
  • 跨账号访问需要成员账号里的角色、信任策略,以及调用者的 AssumeRole 权限。
  • 受邀加入的已有账号需要在成员账号中建立角色,并通过信任策略允许管理账号假设;集中账单本身不创建管理员会话。

每个选项为什么对、为什么错

  • A:IAM group 组织用户权限,不能像 role 一样被另一个账号 AssumeRole。
  • B:策略描述允许的动作,单建 policy 不会产生可假设的身份与跨账号信任。
  • C(正确):在每个受邀成员中建 OrganizationAccountAccessRole,并明确信任管理账号,位置和身份类型正确;权限仍应按实际需要限制。
  • D:只在管理账号建角色,不能自动授予其访问成员资源的权限,角色位置错了。

放到具体场景里

教学例子:成员账号 M 创建 AdminAccess 角色,信任管理账号的受控运维角色。运维先在管理账号登录,再调用 AssumeRole 获取成员账号临时凭证;成员中的账单资源与运维资源权限仍按政策分别管理,不能把集中计费当作自动管理员访问。

检查对象本例条件或动作结果与边界
成员角色位于目标账号承接授权
信任策略允许受控管理身份谁可以假设角色
调用者权限允许 sts:AssumeRole完成双方授权

遇到同类题的判断顺序

  1. 接受邀请:账号成为组织成员。
  2. 建目标角色:受邀成员显式创建角色。
  3. 配置双方:信任策略与调用方权限配合。
  4. 验证访问:使用临时会话检查允许与拒绝范围。
结论:集中计费不自动产生跨账号管理员身份。

参考资料

继续练这门考试

同一门考试的免费试练题都附这样的完整讲解,做完再看讲解。