Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 58 Topic 6 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 58 Topic 6 Discussion

DVA-C02 Exam Topic 6 Question 58 Discussion:
Question #: 58
Topic #: 6

A company built an application on a SQL database. The company then migrated the application to Amazon DynamoDB. The company needs to ensure that the application supports infinite scrolling for a news feed that displays user-generated posts. The application previously relied on numeric page-based pagination. The application must now rely on cursor-based pagination in DynamoDB.

Which solution will meet these requirements in the MOST operationally efficient way?


A.

Use the LastEvaluatedKey value returned from each DynamoDB query as the ExclusiveStartKey value in subsequent queries.


B.

Perform a full table scan to calculate page offsets before returning results.


C.

Retrieve all news feed items from DynamoDB in a single query. Paginate entirely on the client side.


D.

Store the page numbers directly in DynamoDB items. Query based on the page numbers to retrieve paginated results.


Get Premium DVA-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.