AWS Certified Solutions Architect Professional SAP-C02 Practice Question
A large enterprise uses AWS Organizations to manage hundreds of AWS accounts. The central cloud-governance team must programmatically monitor all member accounts for cost-saving opportunities reported by AWS Trusted Advisor, such as idle Amazon RDS DB instances and under-utilized Amazon EC2 instances. Whenever a Trusted Advisor WARNING (yellow) or ERROR (red) status is generated for either check, the team wants an automated Slack message to be sent to the affected business unit's dedicated Slack channel.
The solution must be near real-time, centrally operated from the organization's management account, and require no manual configuration in individual member accounts after initial deployment.
Which approach MOST effectively meets these requirements?
Create a single EventBridge rule in the management account that matches Trusted Advisor events with status WARNING or ERROR and triggers a Lambda function to post to Slack. Rely on the default event-delivery behavior to receive events from all member accounts.
Use AWS Cost Explorer to generate a daily report of underutilized RDS and EC2 resources across the organization. A scheduled Lambda function retrieves the report and sends summary Slack messages to each business-unit channel.
Deploy a custom EventBridge bus in the management account with a resource-based policy that allows PutEvents from the entire organization. Use AWS CloudFormation StackSets to create, in every member account, an EventBridge rule that forwards Trusted Advisor ERROR and WARN "Trusted Advisor Check Item Refresh Notification" events to the central bus. In the management account, add an EventBridge rule on that bus that invokes an AWS Lambda function to post the event details to the appropriate Slack channel.
Enable Trusted Advisor organizational view and schedule a nightly AWS Lambda function in the management account to download and parse the consolidated CSV report, then send Slack notifications for any new WARNING or ERROR findings.
The most scalable approach is to centralize events with Amazon EventBridge:
In the management account, create a custom EventBridge event bus (or use the default bus) and attach a resource-based policy that grants events:PutEvents to the entire AWS Organization (using the aws:PrincipalOrgID condition).
Use AWS CloudFormation StackSets with service-managed permissions to deploy, into every current and future member account, an EventBridge rule that:
Matches the source value aws.trustedadvisor and the detail-type value Trusted Advisor Check Item Refresh Notification.
Filters for detail.status equal to ERROR or WARNand the two specific check names.
Forwards matching events to the central event bus in the management account (target type Event bus).
In the management account, create an EventBridge rule on the central bus that triggers an AWS Lambda function. The function:
Parses the event, looks up the business unit's Slack webhook from a DynamoDB table, and posts a formatted message to the correct Slack channel.
This architecture is event-driven (near real-time), centralized, and-because StackSets automatically deploy and update the forwarding rule in every account-avoids ongoing per-account configuration. Alternative options either require manual setup in each account, rely on polling the Support API, or use services (Cost Explorer, AWS Config) that do not emit the needed real-time events.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is AWS CloudFormation StackSets?
Open an interactive chat with Bash
What is a resource-based policy in EventBridge?
Open an interactive chat with Bash
How does Amazon EventBridge handle event routing?
Open an interactive chat with Bash
AWS Certified Solutions Architect Professional SAP-C02
Design Solutions for Organizational Complexity
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .