Q59 — AWS SAA-C03 Ch.11
Question 59 of 100 | ← Chapter 11
Q759. A company performs tests on an application that uses an Amazon DynamoDB table. The tests run for 4 hours once a week. The company knows how many read and write operations the application performs to the table each second during the tests. The company does not currently use DynamoDB for any other use case. A solutions architect needs to optimize the costs for the table.Which solution will meet these requirements?
- A. Choose on-demand mode. Update the read and write capacity units appropriately.
- B. Choose provisioned mode. Update the read and write capacity units appropriately. ✓
- C. Purchase DynamoDB reserved capacity for a 1-year term.
- D. Purchase DynamoDB reserved capacity for a 3-year term.
Correct Answer: B. Choose provisioned mode. Update the read and write capacity units appropriately.
Explanation
A OR B.Option B provides the desired cost optimization based on the given requirements:Choose provisioned mode and update the read and write capacity units appropriately:In provisioned mode, you provision the desired read and write capacity units for your DynamoDB table. By estimating the maximum read and write operations per second (OPS) during the 4-hour test window, you can provision the table with the required capacity to handle the workload efficiently.Here's why option B is the best choice:\1. Cost optimization: Provisioned mode allows you to provision capacity based on your workload requirements. By provisioning the table with the appropriate read and write capacity units during the 4-hour test window, you can ensure that you have enough capacity to handle the workload efficiently while minimizing costs during non-test periods.\2. Performance control: With provisioned mode, you have control over the table's performance by specifying the desired capacity. This ensures that the application's read and write operations during the tests are performed with the necessary throughput.Options A, C, and D are not the most suitable choices in this scenario:Option A suggests choosing on-demand mode and updating the read and write capacity units appropriately. However, on-demand mode does not require capacity provisioning, which means it may not provide the necessary performance and cost optimization for the specific workload during the 4-hour test window.Options C and D suggest purchasing DynamoDB reserved capacity for 1-year or 3-year terms. Reserved capacity is beneficial for long-term, consistent workloads. However, in this scenario, where the tests run for only 4 hours once a week and DynamoDB is not used for any other use case, purchasing reserved capacity would not be cost-effective.Therefore, the most appropriate solution to optimize costs for the DynamoDB table used during the tests is B: Choose provisioned mode and update the read and write capacity units appropriately.