AWS Certified Database – Specialty — Question 65

A company developed an AWS CloudFormation template used to create all new Amazon DynamoDB tables in its AWS account. The template configures provisioned throughput capacity using hard-coded values. The company wants to change the template so that the tables it creates in the future have independently configurable read and write capacity units assigned.
Which solution will enable this change?

Answer options

Correct answer: B

Explanation

The correct option is B because adding rcuCount and wcuCount as Number parameters allows for flexible configuration of read and write capacity units. Using the Ref intrinsic function enables the template to dynamically reference these parameters instead of relying on hard-coded values. Options A and D incorrectly suggest using the Mappings section, which does not provide the necessary flexibility, while option C incorrectly uses outputs, which cannot be referenced for provisioning capacity.