DOP-C02 · Question #222
DOP-C02 Question #222: Real Exam Question with Answer & Explanation
Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #222. The question stem and answer options stay visible for context.
Question
A DevOps engineer has developed an AWS Lambda function. The Lambda function starts an AWS CloudFormation drift detection operation on all supported resources for a specific CloudFormation stack. The Lambda function then exits its invocation. The DevOps engineer has created an Amazon EventBridge scheduled rule that invokes the Lambda function every hour. An Amazon Simple Notification Service (Amazon SNS) topic already exists in the AWS account. The DevOps engineer has subscribed to the SNS topic to receive notifications. The DevOps engineer needs to receive a notification as soon as possible when drift is detected in this specific stack configuration. Which solution will meet these requirements?
Options
- AConfigure the existing EventBridge rule to also target the SNS topic. Configure an SNS
- BCreate a second Lambda function to query the CloudFormation API for the drift detection results
- CConfigure Amazon GuardDuty in the account with drift detection for all CloudFormation stacks.
- DConfigure AWS Config in the account. Use the cloudformation-stack-drift-detection-check
Unlock DOP-C02 to see the answer
You've previewed enough free DOP-C02 questions. Unlock DOP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.