SAP-C02 · Question #164
SAP-C02 Question #164: Real Exam Question with Answer & Explanation
Sign in or unlock SAP-C02 to reveal the answer and full explanation for question #164. The question stem and answer options stay visible for context.
Question
An auction website enables users to bid on collectible items. The auction rules require that each bid is processed only once and in the order it was received. The current implementation is based on a fleet of Amazon EC2 web servers that write bid records into Amazon Kinesis Data Streams. A single t2.large instance has a cron job that runs the bid processor, which reads incoming bids from Kinesis Data Streams and processes each bid. The auction site is growing in popularity, but users are complaining that some bids are not registering. Troubleshooting indicates that the bid processor is too slow during peak demand hours, sometimes crashes while processing, and occasionally loses track of which records is being processed. What changes should make the bid processing more reliable?
Options
- ARefactor the web application to use the Amazon Kinesis Producer Library (KPL) when posting
- BRefactor the web application to post each incoming bid to an Amazon SNS topic in place of
- CRefactor the web application to post each incoming bid to an Amazon SQS FIFO queue in place
- DSwitch the EC2 instance type from t2.large to a larger general compute instance type. Put the bid
Unlock SAP-C02 to see the answer
You've previewed enough free SAP-C02 questions. Unlock SAP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.