How should a Developer instrument the code so that the requirement can be met?
Create a high-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 30 seconds
Create a high-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 5 seconds
Create a standard-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 30 seconds
Create a standard-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 5 seconds
Explanations:
The metric is high-resolution, but publishing every 30 seconds doesn’t meet the 15-second requirement for scaling based on user load.
The metric is high-resolution, and publishing every 5 seconds meets the 15-second requirement for scaling based on user load.
The metric is standard-resolution, which doesn’t support scaling based on 15-second intervals. Additionally, publishing every 30 seconds is too slow.
The metric is standard-resolution, which doesn’t support scaling based on 15-second intervals, even though publishing every 5 seconds is more frequent.