ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 100 - DVA-C02 discussion

Report
Export

An application that is deployed to Amazon EC2 is using Amazon DynamoDB. The app cation calls the DynamoDB REST API Periodically the application receives a ProvisionedThroughputExceededException error when the application writes to a DynamoDB table.

Which solutions will mitigate this error MOST cost-effectively^ (Select TWO)

A.
Modify the application code to perform exponential back off when the error is received.
Answers
A.
Modify the application code to perform exponential back off when the error is received.
B.
Modify the application to use the AWS SDKs for DynamoDB.
Answers
B.
Modify the application to use the AWS SDKs for DynamoDB.
C.
Increase the read and write throughput of the DynamoDB table.
Answers
C.
Increase the read and write throughput of the DynamoDB table.
D.
Create a DynamoDB Accelerator (DAX) cluster for the DynamoDB table.
Answers
D.
Create a DynamoDB Accelerator (DAX) cluster for the DynamoDB table.
E.
Create a second DynamoDB table Distribute the reads and writes between the two tables.
Answers
E.
Create a second DynamoDB table Distribute the reads and writes between the two tables.
Suggested answer: A, B

Explanation:

These solutions will mitigate the error most cost-effectively because they do not require increasing the provisioned throughput of the DynamoDB table or creating additional resources. Exponential backoff is a retry strategy that increases the waiting time between retries to reduce the number of requests sent to DynamoDB. The AWS SDKs for DynamoDB implement exponential backoff by default and also provide other features such as automatic pagination and encryption. Increasing the read and write throughput of the DynamoDB table, creating a DynamoDB Accelerator (DAX) cluster, or creating a second DynamoDB table will incur additional costs and complexity.

Reference: [Error Retries and Exponential Backoff in AWS], [Using the AWS SDKs with DynamoDB]

asked 16/09/2024
Paul A
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first