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 Engineer manages the Kinesis consumer application, which also runs on EC2. Spikes of data cause the Kinesis consumer application to fall behind, and the streams drop records before they can be processed. What is the FASTEST method to improve stream handling?
A) Modify the Kinesis consumer application to store the logs durably in amazon S3. Use Amazon EMR to process the data directly on S3 to derive customer insights and store the results in S3.
B) Horizontally scale the Kinesis consumer application by adding more EC2 instances based on the GetRecord.IteratorAgeMilliseconds Amazon CloudWatch metric. Increase the Kinesis Data Streams retention period. Horizontally scale the Kinesis consumer application by adding more EC2 instances based on the GetRecord.IteratorAgeMilliseconds Amazon CloudWatch metric. Increase the Kinesis Data Streams retention period.
C) Convert the Kinesis consumer application to run as an AWS Lambda function. Configure the Kinesis Data Streams as the event source for the Lambda function to process the data streams.
D) Increase the number of shards in the Kinesis Data Streams to increase the overall throughput so that the consumer processes data faster.
Correct Answer:
Verified
Q171: A DevOps Engineer is designing a deployment
Q172: For auditing, analytics, and troubleshooting purposes, a
Q173: A company runs a production application workload
Q174: A company has developed a Node.js web
Q175: A Developer is maintaining a fleet of
Q177: An application runs on Amazon EC2 instances
Q178: A rapidly growing company wants to scale
Q179: A DevOps Engineer needs to design and
Q180: A DevOps Engineer must automate a weekly
Q181: A DevOps Engineer just joined a new
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents