ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 76 - DVA-C02 discussion

Report
Export

A company is building an application for stock trading. The application needs sub-millisecond latency for processing trade requests. The company uses Amazon DynamoDB to store all the trading data that is used to process each trading request A development team performs load testing on the application and finds that the data retrieval time is higher than expected. The development team needs a solution that reduces the data retrieval time with the least possible effort.

Which solution meets these requirements'?

A.
Add local secondary indexes (LSis) for the trading data.
Answers
A.
Add local secondary indexes (LSis) for the trading data.
B.
Store the trading data m Amazon S3 and use S3 Transfer Acceleration.
Answers
B.
Store the trading data m Amazon S3 and use S3 Transfer Acceleration.
C.
Add retries with exponential back off for DynamoDB queries.
Answers
C.
Add retries with exponential back off for DynamoDB queries.
D.
Use DynamoDB Accelerator (DAX) to cache the trading data.
Answers
D.
Use DynamoDB Accelerator (DAX) to cache the trading data.
Suggested answer: D

Explanation:

This solution will meet the requirements by using DynamoDB Accelerator (DAX), which is a fully managed, highly available, in-memory cache for DynamoDB that delivers up to a 10 times performance improvement - from milliseconds to microseconds - even at millions of requests per second. The developer can use DAX to cache the trading data that is used to process each trading request, which will reduce the data retrieval time with the least possible effort. Option A is not optimal because it will add local secondary indexes (LSIs) for the trading data, which may not improve the performance or reduce the latency of data retrieval, as LSIs are stored on the same partition as the base table and share the same provisioned throughput. Option B is not optimal because it will store the trading data in Amazon S3 and use S3 Transfer Acceleration, which is a feature that enables fast, easy, and secure transfers of files over long distances between S3 buckets and clients, not between DynamoDB and clients. Option C is not optimal because it will add retries with exponential backoff for DynamoDB queries, which is a strategy to handle transient errors by retrying failed requests with increasing delays, not by reducing data retrieval time.

Reference: [DynamoDB Accelerator (DAX)], [Local Secondary Indexes]

asked 16/09/2024
Eric Tegels
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first