ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 186 - DVA-C02 discussion

Report
Export

A company runs an application on AWS The application stores data in an Amazon DynamoDB table Some queries are taking a long time to run These slow queries involve an attribute that is not the table's partition key or sort key

The amount of data that the application stores in the DynamoDB table is expected to increase significantly. A developer must increase the performance of the queries.

Which solution will meet these requirements'?

A.
Increase the page size for each request by setting the Limit parameter to be higher than the default value Configure the application to retry any request that exceeds the provisioned throughput.
Answers
A.
Increase the page size for each request by setting the Limit parameter to be higher than the default value Configure the application to retry any request that exceeds the provisioned throughput.
B.
Create a global secondary index (GSI). Set query attribute to be the partition key of the index
Answers
B.
Create a global secondary index (GSI). Set query attribute to be the partition key of the index
C.
Perform a parallel scan operation by issuing individual scan requests in the parameters specify the segment for the scan requests and the total number of segments for the parallel scan.
Answers
C.
Perform a parallel scan operation by issuing individual scan requests in the parameters specify the segment for the scan requests and the total number of segments for the parallel scan.
D.
Turn on read capacity auto scaling for the DynamoDB table. Increase the maximum read capacity units (RCUs).
Answers
D.
Turn on read capacity auto scaling for the DynamoDB table. Increase the maximum read capacity units (RCUs).
Suggested answer: B

Explanation:

Global Secondary Index (GSI):GSIs enable alternative query patterns on a DynamoDB table by using different partition and sort keys.

Addressing Query Bottleneck:By making the slow-query attribute the GSI's partition key, you optimize queries on that attribute.

Scalability:GSIs automatically scale to handle increasing data volumes.

Amazon DynamoDB Global Secondary Indexes:https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.html

asked 16/09/2024
Andrew Li
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first