Monitoring and Logging
A CloudWatch Logs subscription sends events to a provisioned Kinesis data stream, but one high-volume log stream causes shard throttling while other shards have spare capacity. Event ordering is unnecessary; which change BEST distributes the subscription traffic?
Show the answer
Correct answerB. Set the subscription filter's distribution to Random.
AWhy not this: ByLogStream groups traffic by log stream and can preserve the hot-shard problem.
BWhy this is right: Random distribution spreads records across shards, reducing concentration caused by a high-volume log stream.
CWhy not this: Metric filters extract metrics from events; they do not redistribute subscription records.
DWhy not this: Retention controls how long source events remain stored, not how subscription traffic reaches shards.
Random distribution spreads subscription records across shards rather than grouping them by log stream. ByLogStream can concentrate a high-volume log stream on one shard even when other shards have spare capacity.