AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question

A CloudOps engineer is deploying a CloudFormation template from the AWS CLI. The template creates an AWS Systems Manager (SSM) Automation document that specifies the IAM role CloudOpsAutomationRole in the AssumeRole property. The stack fails with the error "AccessDenied: iam:PassRole is not authorized for arn:aws:iam::123456789012:role/CloudOpsAutomationRole." What is the MOST appropriate fix to allow the stack to succeed without granting excessive permissions?

  • Include the CAPABILITY_NAMED_IAM flag when running the aws cloudformation create-stack command.

  • Create a new CloudFormation StackSet administrator role and rerun the deployment.

  • Add an inline policy that allows iam:PassRole on the CloudOpsAutomationRole ARN to the IAM role that CloudFormation assumes during stack creation.

  • Attach the AmazonSSMFullAccess managed policy to the CloudOpsAutomationRole so that it can perform additional SSM actions.

AWS Certified CloudOps Engineer Associate SOA-C03
Deployment, Provisioning, and Automation
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