What should a solutions architect recommend?
Create a DynamoDB table in on-demand capacity mode.
Create a DynamoDB table with a global secondary index.
Create a DynamoDB table with provisioned capacity and auto scaling.
Create a DynamoDB table in provisioned capacity mode, and configure it as a global table.
Explanations:
On-demand capacity mode is ideal for unpredictable and sporadic traffic patterns, allowing cost control.
Global secondary indexes improve query flexibility but do not address cost optimization or traffic spikes.
Provisioned capacity with auto scaling can manage traffic but may incur higher costs due to idle capacity.
Global tables provide multi-region availability but do not optimize for unpredictable traffic or cost.