AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question

An organization runs its CI/CD pipelines in AWS CodeBuild inside account A. The build process must deploy AWS CloudFormation stacks into account B without storing long-lived credentials. According to AWS best practices, which approach should a CloudOps engineer implement to grant the pipelines the required permissions?

  • Create an IAM user in account B with CloudFormation permissions, generate access keys, store them in AWS Secrets Manager, and reference the secret from the CodeBuild project.

  • Attach an inline policy with CloudFormation permissions to each developer's IAM user in account A and export their access keys as environment variables for the build project.

  • Create an IAM role in account B with the required CloudFormation permissions, add a trust policy allowing the CodeBuild service role from account A to assume it, and have the build process call sts:AssumeRole to obtain temporary credentials.

  • Enable resource sharing with AWS Resource Access Manager between the two accounts and attach a permission boundary to the CodeBuild service role that includes CloudFormation permissions in account B.

AWS Certified CloudOps Engineer Associate SOA-C03
Security and Compliance
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot