Which statements about DynamoDB are true? Choose 2 answers
A.
DynamoDB uses optimistic concurrency control
B.
DynamoDB restricts item access during writes
C.
DynamoDB uses a pessimistic locking model
D.
DynamoDB restricts item access during reads
E.
DynamoDB uses conditional writes for consistency
A & E
I choose AE
Hey seenagape,
I have queries in some of the questions for AWS Solution Architect Associate exam. If you don’t mind can you please ping me your email id at [email protected]. I will discuss the questions with you.
AE
A and E
http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html#WorkingWithItems.ConditionalUpdate
Wrong answers:
D – access is never restricted, there is a locking strategy in place
B – access is never restricted, there is s locking strategy in place
Vague answers:
C – http://docs.aws.amazon.com/aws-sdk-php/v2/api/class-Aws.DynamoDb.Session.LockingStrategy.PessimisticLockingStrategy.html – I guess I need to code more…not sure about this.
Correct answers:
A – http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBMapper.OptimisticLocking.html
E – http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html#WorkingWithItems.ConditionalUpdate
A
Amazon is built on optimism. Always the correct answer. ;-p
AE