exam questions

Exam ANS-C00 All Questions

View all questions & answers for the ANS-C00 exam

Exam ANS-C00 topic 1 question 60 discussion

Exam question from Amazon's ANS-C00
Question #: 60
Topic #: 1
[All ANS-C00 Questions]

Your organization requires strict adherence to a change control process for its Amazon Elastic Compute Cloud (EC2) and VPC environments. The organization uses AWS CloudFormation as the AWS service to control and implement changes. Which combination of three services provides an alert for changes made outside of AWS CloudFormation? (Choose three.)

  • A. AWS Config
  • B. AWS Simple Notification Service
  • C. AWS CloudWatch metrics
  • D. AWS Lambda
  • E. AWS CloudFormation
  • F. AWS Identify and Access Management
Show Suggested Answer Hide Answer
Suggested Answer: ABE 🗳️

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
Vikki
Highly Voted 3 years, 8 months ago
Should it be A,B & D
upvoted 30 times
certificatores
3 years, 7 months ago
the problem with this question is, there are many new AWS solutions after this question is prepared. that is why A - B -D may not be the right one currently but by the time the question was prepared, it was A B D for sure.
upvoted 4 times
...
...
Averageguy
Highly Voted 3 years, 8 months ago
Recently, AWS Config announced support for AWS CloudFormation stacks. You can now start tracking the current and historical configuration of your CloudFormation stacks, and get notified via Amazon SNS when your stack configuration changes. You can also use a managed AWS Config rule to check whether your CloudFormation stacks are sending event notifications to an SNS topic. https://aws.amazon.com/blogs/mt/how-to-track-configuration-changes-to-cloudformation-stacks-using-aws-config/ Correct answer is A,B,E !
upvoted 12 times
joanneli77
2 years, 7 months ago
I'm not changing CF - I'm going around CF and changing it manually. CF would be out of date but not directly changed.
upvoted 1 times
...
...
NosFerazi
Most Recent 2 years, 4 months ago
A,B,E https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/set-up-aws-cloudformation-drift-detection-in-a-multi-region-multi-account-organization.html The current guidance will help organizations achieve the goal by using a combination of the following services: AWS Config rule Amazon CloudWatch rule AWS Identity and Access Management (IAM) AWS Lambda Amazon Simple Notification Service (Amazon SNS)
upvoted 1 times
NosFerazi
2 years, 4 months ago
Sorry meant A,B,D
upvoted 1 times
...
...
lemist
3 years ago
Selected Answer: ABE
Should be ABE
upvoted 1 times
...
Jazz888
3 years, 4 months ago
My thinking is why use lambda to trigger SNS while it is already integrated with CloudFormation to send notifications. In my understanding lambda is used for remediation (to configure automatic restore of previous configuration). It does not mean Lambda is a wrong answer, it is certainly doable but what is the critical need? Here is the best use case of lambda. https://aws.amazon.com/blogs/mt/implement-automatic-drift-remediation-for-aws-cloudformation-using-amazon-cloudwatch-and-aws-lambda/ So I would go for A B E
upvoted 2 times
...
ExtHo
3 years, 4 months ago
Selected Answer: ABE
A,B,E https://aws.amazon.com/blogs/mt/how-to-track-configuration-changes-to-cloudformation-stacks-using-aws-config/
upvoted 2 times
...
JohnnyBG
3 years, 5 months ago
Selected Answer: ABD
As per bellow comment
upvoted 2 times
...
walkwolf3
3 years, 7 months ago
BCD The question is about if a change is made by using CloudFormation or not. If it's not, an alert will be sent out. If an EC2 instance was created, CloudWatch captures the change, triggers Lambda, then send out SNS to interesting parties. I don't see any point to use AWS Config.
upvoted 1 times
walkwolf3
3 years, 7 months ago
Think it gain, ABE
upvoted 2 times
...
...
StelSen
3 years, 7 months ago
ABE: https://docs.aws.amazon.com/config/latest/developerguide/cloudformation-stack-drift-detection-check.html
upvoted 1 times
Smartphone
3 years, 7 months ago
There is a catch in a question : "provides an alert for changes made outside of AWS CloudFormation". So, we need a solution that notifies when someone makes any change outside the Cloudformation template. So, the option E is not correct. The correct answer seems ABD.
upvoted 4 times
...
...
asiansensation
3 years, 7 months ago
Answer is A, B and E. This question is about alerting. There is no mention of remediation etc. There is no need for Lambda as Config will use SNS directly to send an alert. Cloudformation is required along with Config and SNS as the combiation of services. https://aws.amazon.com/blogs/mt/how-to-track-configuration-changes-to-cloudformation-stacks-using-aws-config/
upvoted 8 times
StelSen
3 years, 7 months ago
Correct. Adding some more links: https://docs.aws.amazon.com/config/latest/developerguide/cloudformation-stack-drift-detection-check.html
upvoted 1 times
...
Huntkey
3 years, 7 months ago
Agreed. Your link is talking about exactly the same scenario.
upvoted 1 times
...
...
asdf99
3 years, 7 months ago
I would say ABD as the correct answers: A) AWS Config tracks changes B) Automates based on the input from AWS Config D) Sends Alerts https://docs.aws.amazon.com/config/latest/developerguide/how-does-config-work.html
upvoted 2 times
...
Stardec
3 years, 7 months ago
It is B, D and F. These functions represent the “remediation” component of the solution. If you need to ensure that certain aspects of your stack resources are kept in compliance, you should write and include this functionality in your Lambda function. For example, the preceding two functions defined serve only to keep AWS managed policies and customer managed policies in compliance, respectively. If another aspect of the IAM role were to change, such as the role description, our Lambda function may correctly identify this configuration drift, but would not remediate this difference. The Lambda function in this post only contains functionality to detect configuration drift and return the policies attached to IAM roles to compliance. Likewise, additional resources and features such as Amazon SNS notifications and optional noncompliance can be included.
upvoted 1 times
...
Stardec
3 years, 7 months ago
It should be B, D & E. https://aws.amazon.com/pt/blogs/mt/implement-automatic-drift-remediation-for-aws-cloudformation-using-amazon-cloudwatch-and-aws-lambda/ These functions represent the “remediation” component of the solution. If you need to ensure that certain aspects of your stack resources are kept in compliance, you should write and include this functionality in your Lambda function. For example, the preceding two functions defined serve only to keep AWS managed policies and customer managed policies in compliance, respectively. If another aspect of the IAM role were to change, such as the role description, our Lambda function may correctly identify this configuration drift, but would not remediate this difference. The Lambda function in this post only contains functionality to detect configuration drift and return the policies attached to IAM roles to compliance. Likewise, additional resources and features such as Amazon SNS notifications and optional noncompliance can be included.
upvoted 1 times
...
PeppaPig
3 years, 7 months ago
The answer should be AB&D The question doesn't mention Cloudwatch event, without event you need a Lambda function as a glue between AWS Config and SNS The overall data flow: change made outside CF -> trigger the managed rule "cloudformation-stack-drift-detection-check" in AWS Config -> trigger your Lambda function -> your function send alarts via SNS IAM is a fundamental piece in all AWS services, it is should be used by default
upvoted 1 times
...
inf
3 years, 7 months ago
Answer: A,B,F A - correct - AWS to cloudformation-stack-drift-detection-check to detect config changes, trigger by [specified] resource changes. B - correct - to receive and publish the notification C - incorrect - cloudwatch metrics are used to monitor performance of systems D - incorrect - no need for Lambda. Use Lambda when developing custom evaluation logic - AWS Config has a managed rule for drift detection (2017, before exam published) E - incorrect - no need to use the service "directly". However AWS Config does call the appropriate CF API F - correct - ASSUMING its a typo. IAM permissions required for AWS Config. (Should be Identity not Identify as eveyrone knows) If F is indeed Identify, then obviously wrong, then maybe A,B,E (implicit use of CF Detect Drift API)
upvoted 2 times
inf
3 years, 7 months ago
D *could* be used, but isn't needed in this case
upvoted 2 times
jason2009
3 years, 7 months ago
Have you even used CF Drift detection? Firstly, drift detection CANNOT be triggered by resource changes. You have to manually trigger it. Secondly, it CANNOT detect changes made outside of a CF Stack nor on resources that are not created by CF. That is, for example if you create a new VPC you are out of luck. CF Drift Detection cannot detect such changes. Thirdly, CF Drift detection is not "magic" that exists on its own. Because of the way how AWS teams work, CF team is independent of other teams in AWS. They have to rely on APIs that always exsists to provide drift detection. Most likely they are using cloudtrail. Which in this question you should utilize through AWS Config.
upvoted 1 times
StelSen
3 years, 7 months ago
It can detect changes happen outside of CloudFormation. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
upvoted 1 times
...
...
...
...
lunt
3 years, 7 months ago
Not sure if people even read the question... A. Yes. B. Yes. C. No. Have you actually used CW-Metrics? D. Yes. E. No > its already in use. For example, setting an SNS notification when deploying an CFN template is not called CloudFormation SNS notification. If the question or answer states the specific terminology such as CloudFormation drift detection - then obviously the sub-feature is valid. F. There is no service called 'AWS Indentify'. Answer. ABD.
upvoted 2 times
...
andyo
3 years, 8 months ago
THANKS FOR FEEDBACK on this one...tricky. ABE
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 ...