A collaborative document editing platform processes real-time change events using an Amazon Kinesis Data Stream with 8 shards. The event payload includes `document_id` (a UUID), `user_id` (a UUID), `event_type` (e.g., `edit_text`, `update_style`, `document_deleted`), and `payload_size`. Currently, the producer application uses `event_type` as the partition key. During peak usage hours, write operations to the stream frequently fail with a `ProvisionedThroughputExceededException` even though the overall data rate is well below the stream's total limit. Additionally, the development team needs to route only the `document_deleted` events to an administrative Amazon SNS topic for compliance auditing. Which TWO actions should the developer take to resolve the throttling issue and route the compliance events?
- Change the partition key on the producer to use the `document_id` instead of the `event_type`.Answer
- Configure an Amazon EventBridge pipe with the Kinesis Data Stream as the source, specify a filter pattern matching the `document_deleted` event type, and set the Amazon SNS topic as the target.Answer
- CChange the partition key on the producer to a static string like `document_event_stream` to force all write operations into a single shard.
- DDeploy a consumer Lambda function inside a private VPC subnet without a NAT Gateway or VPC Endpoints for Amazon SNS to process the stream and publish to the SNS topic.
- EWrite a consumer Lambda function with a 1-second timeout that processes the stream and initializes a new database connection inside the handler function on every invocation.