Monitoring and Logging

A company must check EC2 ownership tags against an external approval database whenever recorded instance configurations change and at least daily because approvals can change independently. Which AWS Config rule design meets these requirements?

Show the answer

Correct answerB. A custom Lambda rule with configuration-change and periodic triggers

AWhy not this: Guard policies cannot query the external approval database required for this comparison.

BWhy this is right: Lambda can query external approvals, and the combined triggers cover configuration changes and daily reevaluation.

CWhy not this: Configuration-change triggers do not reevaluate unchanged instances when only the external approval database changes.

DWhy not this: Periodic evaluation meets the daily requirement but does not initiate evaluation whenever recorded instance configurations change.

A custom Lambda rule can query the external database, while configuration-change and periodic triggers cover both instance changes and independent approval changes. A custom Guard rule evaluates configuration data declaratively and cannot query an external database.