exam questions

Exam AWS Certified Developer Associate All Questions

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

Exam AWS Certified Developer Associate topic 1 question 363 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 363
Topic #: 1
[All AWS Certified Developer Associate Questions]

A media company wants to test its web application more frequently. The company deploys the application by using a separate AWS CloudFormation stack for each environment. The same CloudFormation template is deployed to each stack as the application progresses through the development lifecycle.

A developer needs to build an automated alert for the quality assurance (QA) team. The developer wants the alert to occur for new deployments in the final pre-production environment.

Which solution will moot these requirements?

  • A. Create an Amazon Simple Notification Service (Amazon SNS) topic. Add a subscription to notify the QA team. Update the CloudFormation stack options to point to the SNS topic in the pro-production environment.
  • B. Create an AWS Lambda function that notifies the QA team. Create an Amazon EventBridge rule to invoke the Lambda function on the default event bus. Filter the events on the CloudFormation service and the CloudFormation stack Amazon Resource Name (ARM).
  • C. Create an Amazon CloudWatch alarm that monitors the metrics from CloudFormation. Filter the metrics on the stack name and the stack status. Configure the alarm to notify the QA team.
  • D. Create an AWS Lambda function that notifies the QA team. Configure the event source mapping to receive events from CloudFormation. Specify the filtering values to limit invocations to the desired CloudFormation stack.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
DrCloud
Highly Voted 2 years, 6 months ago
Selected Answer: A
https://aws.amazon.com/premiumsupport/knowledge-center/cloudformation-rollback-email/ https://www.trendmicro.com/cloudoneconformity/knowledge-base/aws/CloudFormation/cloudformation-stack-notification.html
upvoted 6 times
...
51b1f29
Most Recent 1 year, 3 months ago
Notification options You can specify a new or existing Amazon Simple Notification Service topic where notifications about stack events are sent. Answer A If you create an Amazon SNS topic, you must specify a name and an email address where stack event notifications are to be sent.
upvoted 1 times
...
AWSdeveloper08
1 year, 11 months ago
Selected Answer: A
A https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-direct.html
upvoted 1 times
AWSdeveloper08
1 year, 11 months ago
Search for SNS on this page, and you'll get the answer
upvoted 1 times
...
...
rlnd2000
2 years ago
Selected Answer: B
The question is clear "...new deployments..." only new deployments anything else, I don't see option A giving that level of granularity, so I will go with B.
upvoted 1 times
...
pranay_2406
2 years, 1 month ago
Selected Answer: B
B. Create an AWS Lambda function that notifies the QA team. Create an Amazon EventBridge rule to invoke the Lambda function on the default event bus. Filter the events on the CloudFormation service and the CloudFormation stack Amazon Resource Name (ARN). This solution involves creating an AWS Lambda function that will send notifications to the QA team. An Amazon EventBridge rule is then set up to trigger the Lambda function when specific events occur. In this case, the events to be filtered are related to CloudFormation. By filtering on the CloudFormation service and the specific stack ARN, the Lambda function will be invoked only for events related to the desired CloudFormation stack. This allows the developer to configure the alert specifically for new deployments in the final pre-production environment. Creating an Amazon SNS topic (option A) would allow for notifications, but it does not provide the necessary filtering capabilities to specifically target new deployments in the final pre-production environment.
upvoted 1 times
rlnd2000
2 years ago
I got exactly the same explanation in ChatGPT :)
upvoted 1 times
...
...
fabriciollf
2 years, 6 months ago
Selected Answer: A
https://aws.amazon.com/premiumsupport/knowledge-center/cloudformation-rollback-email/
upvoted 1 times
...
k1kavi1
2 years, 6 months ago
Selected Answer: A
Choosing A
upvoted 2 times
...
michaldavid
2 years, 6 months ago
Selected Answer: A
AAAAAAAAA
upvoted 2 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 ...