Cyber Monday 2024! 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
4 months 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 months 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
4 months 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
Trinidad
2 months ago
D: B) Create a global secondary index (GSI). Set query attribute to be the partition key of the index
upvoted 0 times
...
Sueann
3 months ago
C: 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.
upvoted 0 times
...
Laurel
3 months ago
B: D) Turn on read capacity auto scaling for the DynamoDB table. Increase the maximum read capacity units (RCUs).
upvoted 0 times
...
Cristal
3 months ago
A: B) Create a global secondary index (GSI). Set query attribute to be the partition key of the index
upvoted 0 times
...
...
Emelda
4 months 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
Tracie
3 months ago
I agree with you. Creating a global secondary index (GSI) with the query attribute as the partition key seems like the most suitable solution for improving query performance.
upvoted 0 times
...
Maryann
4 months ago
I think Option B is the way to go. It will help with the slow queries involving the attribute that is not the table's partition key or sort key.
upvoted 0 times
...
...
Aleta
4 months 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
4 months 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
Cortney
3 months 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
...
Providencia
3 months ago
B) Create a global secondary index (GSI). Set query attribute to be the partition key of the index
upvoted 0 times
...
...
Nicolette
4 months ago
I'm leaning towards option D as well, auto scaling seems like a good idea.
upvoted 0 times
...
Kristian
5 months ago
I think option A could also work if configured properly.
upvoted 0 times
...
Oretha
5 months ago
I disagree, I believe option D is more effective.
upvoted 0 times
...
Elfrieda
5 months ago
I think option B is the best solution.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77