AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 89

A DevOps engineer manages a large commercial website that runs on Amazon EC2. The website uses Amazon Kinesis Data Streams to collect and process web logs. The DevOps engineer manages the Kinesis consumer application, which also runs on Amazon EC2.

Sudden increases of data cause the Kinesis consumer application to fall behind, and the Kinesis data streams drop records before the records can be processed. The DevOps engineer must implement a solution to improve stream handling.

Which solution meets these requirements with the MOST operational efficiency?

Answer options

Correct answer: B

Explanation

Option B is correct because horizontally scaling the Kinesis consumer application with more EC2 instances and increasing the retention period directly addresses the issue of falling behind due to sudden data spikes, enhancing processing capability. Option A involves additional complexity with S3 and EMR, which may not address immediate throughput needs. Option C, while efficient, may not provide the same level of control and scaling as adding EC2 instances. Option D focuses on increasing throughput but does not address scaling the consumer application itself, which is crucial for handling spikes in data.