SCS-C02 · Question #52
A company uses several AWS CloudFormation stacks to handle the deployment of a suite of applications. The leader of the company's application development team notices that the stack deployments fail…
The correct answer is B. Create a service role that has cloudformation.amazonaws.com as the service principal. Configure D. For each required set of permissions, add a separate policy to the role to allow those F. Add a policy to each member role to allow the iam:PassRole action. Set the policy's resource field. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-servicerole.html
Question
A company uses several AWS CloudFormation stacks to handle the deployment of a suite of applications. The leader of the company's application development team notices that the stack deployments fail with permission errors when some team members try to deploy the stacks. However, other team members can deploy the stacks successfully. The team members access the account by assuming a role that has a specific set of permissions that are necessary for the job responsibilities of the team members. All team members have permissions to perform operations on the stacks. Which combination of steps will ensure consistent deployment of the stacks MOST securely? (Choose three.)
Options
- ACreate a service role that has a composite principal that contains each service that needs the
- BCreate a service role that has cloudformation.amazonaws.com as the service principal. Configure
- CFor each required set of permissions, add a separate policy to the role to allow those
- DFor each required set of permissions, add a separate policy to the role to allow those
- EUpdate each stack to use the service role.
- FAdd a policy to each member role to allow the iam:PassRole action. Set the policy's resource field
How the community answered
(47 responses)- A9% (4)
- B85% (40)
- C4% (2)
- E2% (1)
Explanation
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-servicerole.html
Topics
Community Discussion
No community discussion yet for this question.