Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 325 discussion

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.
  • 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.
  • D. Turn on read capacity auto scaling for the DynamoDB table. Increase the maximum read capacity units (RCUs).
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
tgv
Highly Voted 8 months ago
Selected Answer: B
Creating a GSI would be more cost efficient than increasing the RCU in this case.
upvoted 10 times
...
albert_kuo
Most Recent 2 weeks, 1 day ago
Selected Answer: B
an attribute that is not the table's partition key or sort key => create GSI to solve this problem
upvoted 1 times
...
tomchandler077
3 months ago
To improve the performance of queries that involve an attribute that is neither the table's partition key nor sort key, and anticipating an increase in data volume, the most effective solution is to utilize a global secondary index (GSI). This allows for efficient querying based on different attributes that are critical for performance but not originally designed as keys in the main table structure.
upvoted 3 times
...
65703c1
4 months, 3 weeks ago
Selected Answer: B
B is the correct answer.
upvoted 1 times
...
be1dca8
6 months, 1 week ago
B Parallel scan operations can be useful for scanning large tables, but they may not necessarily improve performance for specific queries involving non-key attributes.
upvoted 2 times
...
nder
7 months, 2 weeks ago
Selected Answer: B
GSI :)
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...