exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 719 discussion

Exam question from Amazon's AWS-SysOps
Question #: 719
Topic #: 1
[All AWS-SysOps Questions]

A company uses AWS CloudFormation to deploy its application infrastructure. Recently, a user accidentally changed a property of a database in a
CloudFormation template and performed a stack update that caused an interruption to the application. A SysOps Administrator must determine how to modify the deployment process to allow the DevOps team to continue to deploy the infrastructure, but prevent against accidental modifications to specific resources.
Which solution will meet these requirements?

  • A. Set up an AWS Config rule to alert based on changes to any CloudFormation stack. An AWS Lambda function can then describe the stack to determine if any protected resources were modified and cancel the operation.
  • B. Set up an Amazon CloudWatch Events event with a rule to trigger based on any CloudFormation API call. An AWS Lambda function can then describe the stack to determine if any protected resources were modified and cancel the operation.
  • C. Launch the CloudFormation templates using a stack policy with an explicit allow for all resources and an explicit deny of the protected resources with an action of Update:*.
  • D. Attach an IAM policy to the DevOps team role that prevents a CloudFormation stack from updating, with a condition based on the specific Amazon Resource names (ARNs) of the protected resources.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
XRiddlerX
Highly Voted 6 months, 3 weeks ago
C is the answer. The question specifically calls out the DevOps Team and the CF Security BP calls out "you can securely control access to AWS services and resources by using policies and users or roles." In addition, it calls out "As a best practice, we recommend that you limit service and resource access through IAM policies by applying the principle of least privilege." https://aws.amazon.com/blogs/devops/aws-cloudformation-security-best-practices/
upvoted 6 times
...
Kot
Highly Voted 7 months ago
C is good. Read Stack Policies here https://aws.amazon.com/blogs/devops/aws-cloudformation-security-best-practices/
upvoted 5 times
...
RicardoD
Most Recent 5 months, 4 weeks ago
C is the answer
upvoted 1 times
...
abhishek_m_86
5 months, 4 weeks ago
C. Launch the CloudFormation templates using a stack policy with an explicit allow for all resources and an explicit deny of the protected resources with an action of Update:* Seems right
upvoted 2 times
...
jackdryan
6 months, 1 week ago
I'll go with C
upvoted 1 times
...
MFDOOM
6 months, 2 weeks ago
C. Launch the CloudFormation templates using a stack policy with an explicit allow for all resources and an explicit deny of the protected resources with an action of Update:*
upvoted 1 times
...
waterzhong
6 months, 2 weeks ago
C is good. Read Stack Policies here
upvoted 1 times
...
davidaavilar
6 months, 3 weeks ago
The ans is D... "how to modify the deployment process to allow the "DEVOPS" team to continue to deploy the infrastructure, but prevent against accidental "modifications to specific resources"
upvoted 1 times
davidaavilar
6 months, 2 weeks ago
Sorry, C*
upvoted 1 times
...
...
cloud
7 months, 1 week ago
C. Launch the CloudFormation templates using a stack policy with an explicit allow for all resources and an explicit deny of the protected resources with an action of Update:*
upvoted 1 times
...
karmaah
7 months, 1 week ago
Since the question mentioned to protect specific requests, why not D ?
upvoted 1 times
amo82
6 months, 4 weeks ago
D is preventing only the devos team, while c is preventing everybody from updating the protected resource.
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago