A company has several development groups operating in one shared AWS account. The groups’ senior manager wants an alert through a third-party API call when resource creation is nearing the account’s service limits.
Which solution accomplishes this with the LEAST development effort?
A Create an Amazon CloudWatch Event rule that runs periodically and targets an AWS Lambda function. Within the Lambda function, evaluate the current state of the AWS environment and compare deployed resource values to resource limits on the account. Notify the senior manager if the account is approaching a service limit. B Deploy an AWS Lambda function that refreshes AWS Trusted Advisor checks, and configure an Amazon CloudWatch Events rule to run the Lambda function periodically. Create another CloudWatch Events rule with an event pattern matching Trusted Advisor events and a target Lambda function. In the target Lambda function, notify the senior manager. C Deploy an AWS Lambda function that refreshes AWS Personal Health Dashboard checks, and configure an Amazon CloudWatch Events rule to run the Lambda function periodically. Create another CloudWatch Events rule with an event pattern matching Personal Health Dashboard events and a target Lambda function. In the target Lambda function, notify the senior manager. D Add an AWS Config custom rule that runs periodically, checks the AWS service limit status, and streams notifications to an Amazon SNS topic. Deploy an AWS Lambda function that notifies the senior manager, and subscribe the Lambda function to the SNS topic. Show Answer Answer Explanation AWS Trusted Advisor service-limit checks report a WARN status when 80% of a service limit is reached. Trusted Advisor status changes can be matched by an Amazon EventBridge rule and delivered to an AWS Lambda function, which can invoke the third-party notification API. This uses AWS-managed quota checks instead of implementing custom resource inventory and limit-comparison logic.
Learn more
Community Discussion