AWS Certified Developer Associate DVA-C02 Practice Question
A developer needs to ensure that immediate alerts are sent out when a serverless function's usage nears the upper bounds of its allowed parallel executions, potentially impacting the application's availability. Which approach should the developer employ for real-time notification?
Incorporate error handling in the relevant code to catch execution limit errors and send emails via a mail delivery service.
Create an alarm based on the 'ConcurrentExecutions' metric that triggers an alert to a messaging topic when nearing the execution limit.
Set up a configuration recorder to monitor changes to the function's configuration and alert on significant modifications.
Schedule regular audits of usage patterns through log analysis and manually trigger notifications when limits are approached.