Master AWS DevOps Pro 2026 – Conquer the Cloud with Confidence!

Session length

1 / 400

What consistency types are supported by Global Secondary Indexes on DynamoDB?

Strong and Eventual Consistency

Only Eventual Consistency

Global Secondary Indexes (GSIs) in DynamoDB provide only eventual consistency when you retrieve data from them. This means that when you read from a GSI after a write operation, there may be a short period during which the data might not reflect the latest write, as it may still be propagating through the system.

Eventual consistency allows for high availability and performance, as it does not require the database to synchronize immediately across all nodes. Instead, it ensures that, eventually, all copies of the data will converge to the most recent version. This model is particularly suitable for applications that can tolerate some lag in data retrieval and still require fast read access.

On the other hand, strong consistency is not supported for GSIs. Strongly consistent reads ensure that a read operation will always return the most recent write, which can introduce more latency and affect throughput. DynamoDB supports strong consistency for the base table, but GSIs as a feature do not align with the requirements for strong consistency, which is why GSI reads are limited to eventual consistency.

Get further explanation with Examzify DeepDiveBeta

Both Eventually Consistent and Strongly Consistent

Only Strong Consistency

Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy