Q63 — AWS DOP-C02 Ch.2
Question 63 of 100 | ← Chapter 2
A company has multiple development teams working in a shared AWS account. When resource creation approaches account service limits, senior managers want to receive alerts via a third-party API.
- A. Create a regularly scheduled Amazon EventBridge rule targeting an AWS Lambda function. In the Lambda function, assess the current AWS environment state and compare deployed resource values against account service limits. Notify senior managers if the account is nearing service limits.
- B. Deploy an AWS Lambda function to refresh AWS Trusted Advisor checks and configure an Amazon EventBridge rule to run the Lambda function periodically. Create another EventBridge rule with an event pattern matching Trusted Advisor events and target the same Lambda function. In the target Lambda function, notify senior managers. ✓
- C. Deploy an AWS Lambda function to refresh AWS Health Dashboard checks and configure an Amazon EventBridge rule to run the Lambda function periodically. Create another EventBridge rule with an event pattern matching Health Dashboard events and target the Lambda function. In the target Lambda function, notify senior managers.
- D. Add a regularly scheduled AWS Config custom rule to check AWS service limit status and stream notifications to an Amazon Simple Notification Service (Amazon SNS) topic. Deploy an AWS Lambda function to notify senior managers and subscribe the Lambda function to the SNS topic.
Correct Answer: B. Deploy an AWS Lambda function to refresh AWS Trusted Advisor checks and configure an Amazon EventBridge rule to run the Lambda function periodically. Create another EventBridge rule with an event pattern matching Trusted Advisor events and target the same Lambda function. In the target Lambda function, notify senior managers.
Explanation
AWS Trusted Advisor provides preconfigured checks—including service limit monitoring—that emit events when resources approach quotas. Amazon EventBridge can natively match these Trusted Advisor events using event patterns, enabling automated alerting without custom logic to evaluate each service’s limits. Option B leverages this integration: the Lambda function only handles notification delivery, not resource assessment. Options A and D require custom code to evaluate limits across services. Option C incorrectly relies on AWS Health Dashboard, which does not report service quota status. AWS documentation confirms Trusted Advisor events are supported in EventBridge for automated responses.