exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 209 discussion

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.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Digo30sp
Highly Voted 1 year, 10 months ago
Selected Answer: D
The correct answer is (D). To deploy IAM resources with custom names, you must specify the CAPABILITY_NAMED_IAM resource in the CloudFormation stack. The CAPABILITY_IAM resource allows CloudFormation to create and modify IAM resources. The CAPABILITY_NAMED_IAM resource allows CloudFormation to create IAM resources with custom names. To resolve the issue, the developer must specify the CAPABILITY_NAMED_IAM resource in the CloudFormation stack.
upvoted 9 times
...
Learning4life
Highly Voted 1 year, 10 months ago
D. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. See more details in this link https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStack.html
upvoted 5 times
...
albert_kuo
Most Recent 10 months, 3 weeks ago
Selected Answer: D
aws cloudformation create-stack \ --stack-name my-iam-stack \ --template-body file://my-template.yaml \ --capabilities CAPABILITY_NAMED_IAM
upvoted 1 times
...
65703c1
1 year, 2 months ago
Selected Answer: D
D is the correct answer.
upvoted 1 times
...
SerialiDr
1 year, 5 months ago
Selected Answer: D
This capability is required when you are deploying IAM resources with custom names using CloudFormation, as it acknowledges that you're creating IAM resources that might affect permissions in your AWS environment.
upvoted 2 times
...
dilleman
1 year, 10 months ago
Selected Answer: D
D is correct
upvoted 3 times
...
Patel_ajay745
1 year, 10 months ago
CCC ccccccc
upvoted 1 times
...
fordiscussionstwo
1 year, 10 months ago
DDDDDDDDDD
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...