QuestionQ4

Deployment

A developer is creating an AWS CloudFormation stack. The stack contains IAM resources with custom names. When the developer tries to deploy the stack, they receive an InsufficientCapabilities error.

What should the developer do to resolve this issue?

  • A Specify the CAPABILITY_AUTO_EXPAND capability in the CloudFormation stack.
  • B Use an administrators role to deploy IAM resources with CloudFormation.
  • C Specify the CAPABILITY_IAM capability in the CloudFormation stack.
  • D Specify the CAPABILITY_NAMED_IAM capability in the CloudFormation stack.
Explanation

CAPABILITY_NAMED_IAM is required when deploying IAM resources with custom (user-defined) names in CloudFormation. CAPABILITY_IAM alone permits only unnamed IAM resources. Custom resource names require explicit acknowledgment that the user understands the implications of custom naming.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!