exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 964 discussion

A company has IoT sensors that monitor traffic patterns throughout a large city. The company wants to read and collect data from the sensors and perform aggregations on the data.

A solutions architect designs a solution in which the IoT devices are streaming to Amazon Kinesis Data Streams. Several applications are reading from the stream. However, several consumers are experiencing throttling and are periodically encountering a ReadProvisionedThroughputExceeded error.

Which actions should the solutions architect take to resolve this issue? (Choose three.)

  • A. Reshard the stream to increase the number of shards in the stream.
  • B. Use the Kinesis Producer Library (KPL). Adjust the polling frequency.
  • C. Use consumers with the enhanced fan-out feature.
  • D. Reshard the stream to reduce the number of shards in the stream.
  • E. Use an error retry and exponential backoff mechanism in the consumer logic.
  • F. Configure the stream to use dynamic partitioning.
Show Suggested Answer Hide Answer
Suggested Answer: ACE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
rbm2023
1 year, 11 months ago
Selected Answer: ACE
https://repost.aws/knowledge-center/kinesis-readprovisionedthroughputexceeded Follow Data Streams best practices To mitigate ReadProvisionedThroughputExceeded exceptions, apply these best practices: • Reshard your stream to increase the number of shards in the stream. • Use consumers with enhanced fan-out. For more information about enhanced fan-out, see Developing custom consumers with dedicated throughput (enhanced fan-out). • Use an error retry and exponential backoff mechanism in the consumer logic if ReadProvisionedThroughputExceeded exceptions are encountered. For consumer applications that use an AWS SDK, the requests are retried by default.
upvoted 1 times
...
Jesuisleon
1 year, 11 months ago
Selected Answer: ACE
B is wrong, KPL is aimed to help devs to achieve high write throughtput into Kinesis data stream. Current bottleneck is at read side not write side. D is wrong. Each shard can support up to five read transactions per second. When we increase shard we not only increase write but also increate read. https://docs.aws.amazon.com/streams/latest/dev/service-sizes-and-limits.html F is wrong, Dynamic partitioning is for Kinesis Firehose, "Partitioning your data minimizes the amount of data scanned, optimizes performance, and reduces costs of your analytics queries on Amazon S3", see https://docs.aws.amazon.com/firehose/latest/dev/dynamic-partitioning.html.
upvoted 1 times
...
dev112233xx
1 year, 11 months ago
Selected Answer: ABC
ABC: A- Reshard your stream to increase the number of shards B- adjust the polling frequency C- enhanced fan-out feature https://repost.aws/knowledge-center/kinesis-readprovisionedthroughputexceeded
upvoted 1 times
...
zozza2023
2 years, 2 months ago
Selected Answer: ACE
ace are the correct ans
upvoted 3 times
...
nyunyu
2 years, 4 months ago
Selected Answer: ACE
Corecct ACE
upvoted 2 times
...
Kende
2 years, 4 months ago
ACE are the ones. A: Increase shards. C: Fan-Out. E: Exponential Backoff Mechanism
upvoted 2 times
...
masetromain
2 years, 4 months ago
Selected Answer: BCD
I go with BCD ReadProvisionedThroughputExceeded https://aws.amazon.com/premiumsupport/knowledge-center/kinesis-readprovisionedthroughputexceeded/ Follow data flow best practices to mitigate ReadProvisionedThroughputExceeded exceptions, use the following best practices: * Resize your stream to increase the number of partitions in the stream. * Reduce the size of GetRecords requests. You can do this by configuring the limit setting or by reducing the frequency of GetRecords requests. * Distribute read and write operations as evenly as possible across all partitions in Data Streams. * Use consumer applications with the enhanced distribution. For more information on enhanced distribution, see, Developing Custom Consumer Applications with Dedicated Throughput (Enhanced Distribution). * Use error retry and exponential backoff mechanism in consumer logic in case of ReadProvisionedThroughputExceeded exceptions. For consumer applications that use an AWS SDK, requests are retried by default.
upvoted 2 times
masetromain
2 years, 4 months ago
D: We need to reduce the number of shards in the stream. A single shard can ingest up to 1 MB of data per second (including partition keys) or 1,000 records per second for writes. Similarly, if you scale your stream to 5,000 shards, the stream can ingest up to 5 GB per second or 5 million records per second. If you need more ingest capacity, you can easily scale up the number of shards in the stream using the AWS Management Console or the UpdateShardCount API. https://docs.aws.amazon.com/streams/latest/dev/service-sizes-and-limits.html
upvoted 1 times
...
masetromain
2 years, 4 months ago
C: A few weeks ago, we launched two significant performance improving features for Amazon Kinesis Data Streams (KDS): enhanced fan-out and an HTTP/2 data retrieval API. https://aws.amazon.com/fr/blogs/aws/kds-enhanced-fanout/
upvoted 1 times
...
masetromain
2 years, 4 months ago
B: The KPL is an easy-to-use, highly configurable library that helps you write to a Kinesis data stream. It acts as an intermediary between your producer application code and the Kinesis Data Streams API actions. The KPL performs the following primary tasks: * Writes to one or more Kinesis data streams with an automatic and configurable retry mechanism * Collects records and uses PutRecords to write multiple records to multiple shards per request * Aggregates user records to increase payload size and improve throughput * Integrates seamlessly with the Kinesis Client Library (KCL) to de-aggregate batched records on the consumer * Submits Amazon CloudWatch metrics on your behalf to provide visibility into producer performance https://docs.aws.amazon.com/streams/latest/dev/developing-producers-with-kpl.html
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago