Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam DVA-C02 Topic 7 Question 32 Discussion

Actual exam question for Amazon's DVA-C02 exam
Question #: 32
Topic #: 7
[All DVA-C02 Questions]

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'?

Show Suggested Answer Hide Answer
Suggested Answer: B

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

Contribute your Thoughts:

Precious
3 days ago
Honestly, I'm just hoping the right answer doesn't involve any magic spells or unicorn dust. Let's stick to the practical solutions here.
upvoted 0 times
...
Renea
4 days ago
Haha, Viola! That's a good one. But you know, Option D might work if the team doesn't mind dealing with the potential cost implications of auto scaling.
upvoted 0 times
...
Viola
7 days ago
Ha! Parallel scan (Option C)? Really? That's like trying to run a marathon by sprinting and then napping. Not very efficient if you ask me.
upvoted 0 times
...
Emelda
11 days ago
I disagree, Aleta. The application's data is expected to grow significantly, so Option A might not be scalable in the long run. Option B seems like the best choice here.
upvoted 0 times
...
Aleta
17 days ago
I'm not sure about that, Aron. Increasing the page size and retrying requests that exceed the provisioned throughput (Option A) could also be a good solution.
upvoted 0 times
...
Aron
18 days ago
Option B is the way to go. Creating a GSI with the query attribute as the partition key will definitely improve the performance of those slow queries.
upvoted 0 times
...
Nicolette
19 days ago
I'm leaning towards option D as well, auto scaling seems like a good idea.
upvoted 0 times
...
Kristian
1 months ago
I think option A could also work if configured properly.
upvoted 0 times
...
Oretha
1 months ago
I disagree, I believe option D is more effective.
upvoted 0 times
...
Elfrieda
1 months ago
I think option B is the best solution.
upvoted 0 times
...

Save Cancel