ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 2 - DOP-C02 discussion

Report
Export

A development team wants to use AWS CloudFormation stacks to deploy an application. However, the developer IAM role does not have the required permissions to provision the resources that are specified in the AWS CloudFormation template. A DevOps engineer needs to implement a solution that allows the developers to deploy the stacks. The solution must follow the principle of least privilege.

Which solution will meet these requirements?

A.
Create an IAM policy that allows the developers to provision the required resources. Attach the policy to the developer IAM role.
Answers
A.
Create an IAM policy that allows the developers to provision the required resources. Attach the policy to the developer IAM role.
B.
Create an IAM policy that allows full access to AWS CloudFormation. Attach the policy to the developer IAM role.
Answers
B.
Create an IAM policy that allows full access to AWS CloudFormation. Attach the policy to the developer IAM role.
C.
Create an AWS CloudFormation service role that has the required permissions. Grant the developer IAM role a cloudformation:* action. Use the new service role during stack deployments.
Answers
C.
Create an AWS CloudFormation service role that has the required permissions. Grant the developer IAM role a cloudformation:* action. Use the new service role during stack deployments.
D.
Create an AWS CloudFormation service role that has the required permissions. Grant the developer IAM role the iam:PassRole permission. Use the new service role during stack deployments.
Answers
D.
Create an AWS CloudFormation service role that has the required permissions. Grant the developer IAM role the iam:PassRole permission. Use the new service role during stack deployments.
Suggested answer: D

Explanation:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-servicerole.html

asked 16/09/2024
de jong arjen
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first