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?
Create an alarm based on the 'ConcurrentExecutions' metric that triggers an alert to a messaging topic when nearing the execution limit.
Incorporate error handling in the relevant code to catch execution limit errors and send emails via a mail delivery service.
Schedule regular audits of usage patterns through log analysis and manually trigger notifications when limits are approached.
Set up a configuration recorder to monitor changes to the function's configuration and alert on significant modifications.
The correct approach is to create an alarm that monitors the service's 'ConcurrentExecutions' metric, signaling an impending breach of the allowable parallel execution threshold. The creation of such an alarm can be configured to send a notification to a designated topic within a notification service, which dispatches the alert to the developer. This is a proactive and automated way to monitor for critical thresholds and ensure the developer is promptly notified. The other approaches either do not provide real-time alerts, are not designed for this specific monitoring purpose, or involve manual processes that would not be immediate.
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 the 'ConcurrentExecutions' metric in AWS Lambda?
Open an interactive chat with Bash
How do I create an alarm in AWS for monitoring metrics?
Open an interactive chat with Bash
What is AWS SNS and how does it work with alarms?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Troubleshooting and Optimization
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access