0
0
AWScloud~20 mins

DynamoDB capacity modes (on-demand, provisioned) in AWS - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
DynamoDB Capacity Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding DynamoDB On-Demand Capacity Mode

Which statement correctly describes the behavior of DynamoDB when using the on-demand capacity mode?

AYou pay a flat monthly fee for unlimited read and write operations regardless of usage.
BYou must specify read and write capacity units in advance, and you pay for the provisioned capacity regardless of usage.
CYou are limited to a fixed number of read and write operations per second, which cannot be changed after table creation.
DDynamoDB automatically scales capacity to handle incoming requests and you pay only for the read and write requests you use.
Attempts:
2 left
💡 Hint

Think about how DynamoDB handles sudden traffic spikes without manual capacity changes.

🧠 Conceptual
intermediate
2:00remaining
Provisioned Capacity Mode Characteristics

Which of the following is true about DynamoDB's provisioned capacity mode?

AYou pay only for the read and write requests you use, with no need to specify capacity units.
BYou specify the number of read and write capacity units, and you are billed for these units whether used or not.
CProvisioned capacity mode automatically scales capacity based on traffic without any manual input.
DProvisioned capacity mode is only available for global tables and not for single-region tables.
Attempts:
2 left
💡 Hint

Consider how billing works when you reserve capacity in advance.

Architecture
advanced
2:30remaining
Choosing Capacity Mode for a Variable Traffic Application

You have a new application with unpredictable traffic that can spike suddenly. Which DynamoDB capacity mode should you choose to minimize operational overhead and avoid throttling?

AOn-demand capacity mode to automatically handle traffic spikes without manual intervention.
BProvisioned capacity mode with manual scaling to handle peak traffic.
CProvisioned capacity mode with auto-scaling enabled to adjust capacity automatically.
DOn-demand capacity mode with reserved capacity units to reduce costs.
Attempts:
2 left
💡 Hint

Think about which mode best handles sudden unpredictable traffic without manual changes.

security
advanced
2:00remaining
Impact of Capacity Mode on Security and Access Control

How does choosing between on-demand and provisioned capacity modes affect the security and access control of a DynamoDB table?

ACapacity mode choice does not affect security or access control; IAM policies and encryption work the same for both modes.
BProvisioned mode requires additional encryption settings for security compared to on-demand mode.
COn-demand mode disables IAM policies, so access control is managed differently.
DOn-demand mode automatically enables public read access for faster scaling.
Attempts:
2 left
💡 Hint

Consider if capacity mode changes how you manage permissions or encryption.

service_behavior
expert
2:30remaining
Billing Behavior Differences Between Capacity Modes

Which billing behavior correctly distinguishes DynamoDB's on-demand capacity mode from provisioned capacity mode?

AOn-demand mode charges a fixed monthly fee plus a small fee per request, while provisioned mode charges only per request.
BOn-demand mode charges based on data storage size only, ignoring read/write requests.
CProvisioned mode charges for the capacity units you specify regardless of usage, while on-demand mode charges only for the actual read and write requests made.
DBoth modes charge the same way, but on-demand mode offers discounts for reserved capacity.
Attempts:
2 left
💡 Hint

Think about how billing differs when capacity is reserved versus when it is flexible.