Hard1 markMultiple Choice
AWS SAP-C02 · Question 36 · Domain 2.5: Performance
An application uses Amazon Kinesis Data Streams to ingest high-throughput telemetry data. During peak hours, the application experiences ProvisionedThroughputExceededException errors. The architect needs to resolve this automatically without losing data. What is the BEST solution?
An application uses Amazon Kinesis Data Streams to ingest high-throughput telemetry data. During peak hours, the application experiences ProvisionedThroughputExceededException errors. The architect needs to resolve this automatically without losing data. What is the BEST solution?
Answer options:
A.
Enable Auto Scaling on the Kinesis Data Stream in the AWS Management Console.
B.
Implement a custom AWS Lambda function triggered by CloudWatch alarms to call the UpdateShardCount API to scale the stream.
C.
Migrate the stream to Amazon SQS.
D.
Increase the retention period of the Kinesis Data Stream.
How to approach this question
Recognize that provisioned Kinesis requires custom automation (or switching to On-Demand mode) to scale shards dynamically.
Full Answer
B.Implement a custom AWS Lambda function triggered by CloudWatch alarms to call the UpdateShardCount API to scale the stream.✓ Correct
Implement a custom AWS Lambda function triggered by CloudWatch alarms to call the UpdateShardCount API to scale the stream.
To handle `ProvisionedThroughputExceededException` in a provisioned Kinesis stream, you must increase the number of shards. This can be automated using CloudWatch alarms and a Lambda function that calls `UpdateShardCount`.
Common mistakes
Assuming Kinesis has a simple 'Auto Scaling' checkbox like EC2.
Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 1
75 questions · hints · full answers · grading
More questions from this exam
Q01An enterprise has 50 VPCs across two AWS Regions. They need to establish transitive routing betwe...HardQ02A company uses AWS Organizations. The security team wants to ensure that no IAM user or role can ...MediumQ03An application requires a relational database with an RPO of 1 second and an RTO of less than 1 m...HardQ04A company is setting up a new multi-account environment. They want to automate the provisioning o...MediumQ05An organization wants to allocate AWS costs to specific business units. They use AWS Organization...Hard
Expert