DOP-C02 · Question #398
A company has multiple development teams in separate business units that work in a single shared AWS account. All Amazon EC2 resources that users create in the account must include tags that specify w
Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #398. The question stem and answer options stay visible for context.
Question
A company has multiple development teams in separate business units that work in a single shared AWS account. All Amazon EC2 resources that users create in the account must include tags that specify which user created the resources. The tagging must occur within the first hour of resource creation. A DevOps engineer needs to add tags to new resources that include the ID of the user that created the resource and the appropriate cost center ID. The DevOps engineer configures an AWS Lambda function to use the cost center mappings to tag the resources. The DevOps engineer also sets up AWS CloudTrail in the shared AWS account. An Amazon S3 bucket stores the CloudTrail event logs. Which solution will meet the tagging requirements?
Options
- ACreate an S3 event notification on the S3 bucket to invoke the Lambda function for
- BEnable server access logging on the S3 bucket. Create an S3 event notification on the S3 bucket
- CEnable AWS Config in the account. Configure the required-tags AWS managed rule to check and
- DCreate an Amazon EventBridge rule that uses Amazon EC2 as the event source. Configure the
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.