DVA-C02 · Question #224
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. W
The correct answer is D. Specify the CAPABILITY_NAMED_IAM capability in the CloudFormation stack.. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStack.html
Question
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?
Options
- ASpecify the CAPABILITY_AUTO_EXPAND capability in the CloudFormation stack.
- BUse an administrators role to deploy IAM resources with CloudFormation.
- CSpecify the CAPABILITY_IAM capability in the CloudFormation stack.
- DSpecify the CAPABILITY_NAMED_IAM capability in the CloudFormation stack.
How the community answered
(46 responses)- A4% (2)
- B2% (1)
- C2% (1)
- D91% (42)
Explanation
If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStack.html
Community Discussion
No community discussion yet for this question.