ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 39 - DVA-C01 discussion

Report
Export

When using a large Scan operation in DynamoDB, what technique can be used to minimize the impact of a scan on a table's provisioned throughput?

A.
Set a smaller page size for the scan
Answers
A.
Set a smaller page size for the scan
B.
Use parallel scans
Answers
B.
Use parallel scans
C.
Define a range index on the table
Answers
C.
Define a range index on the table
D.
Prewarm the table by updating all items
Answers
D.
Prewarm the table by updating all items
Suggested answer: A

Explanation:

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-query-scan.htmlBecause a Scan operation reads an entire page (by default, 1 MB), you can reduce the impact of thescan operation by setting a smaller page size. The Scan operation provides a Limit parameter thatyou can use to set the page size for your request. Each Scan or Query request that has a smaller pagesize uses fewer read operations and creates a "pause" between each request. For example, if eachitem is 4 KB and you set the page size to 40 items, then a Query request would consume only 40strongly consistent read operations or 20 eventually consistent read operations. A larger number ofsmaller Scan or Query operations would allow your other critical requests to succeed withoutthrottling.

asked 16/09/2024
Chakour BOURAIMA
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first