What should the developer do to meet this requirement?
Configure a high-resolution CloudWatch alarm.
Set up a custom CloudWatch dashboard.
Use Amazon CloudWatch Logs Insights.
Change to a default CloudWatch metric.
Explanations:
A high-resolution CloudWatch alarm supports metrics with a granularity of up to 1 second and can trigger notifications quickly, meeting the 30-second notification requirement.
A CloudWatch dashboard provides a visual representation of metrics but does not trigger alarms or notifications based on metric thresholds.
CloudWatch Logs Insights is used for querying logs, not for setting up alarms or notifications based on custom CloudWatch metrics.
Default CloudWatch metrics have a granularity of 1 minute, which does not meet the requirement for 1-second granularity.