exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 1 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 1
Topic #: 1
[All AWS Certified Developer Associate Questions]

A gaming website gives users the ability to trade game items with each other on the platform. The platform requires both users' records to be updated and persisted in one transaction. If any update fails, the transaction must roll back.
Which AWS solution can provide the transactional capability that is required for this feature?

  • A. Amazon DynamoDB with operations made with the Consistent Read parameter set to true
  • B. Amazon ElastiCache for Memcached with operations made within a transaction block
  • C. Amazon DynamoDB with reads and writes made by using Transact* operations
  • D. Amazon Aurora MySQL with operations made within a transaction block
  • E. Amazon Athena with operations made within a transaction block
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
nsasomsub
Highly Voted 2 years, 7 months ago
I think is C https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/transaction-apis.html
upvoted 21 times
Spamuel
2 years, 7 months ago
agreed
upvoted 4 times
...
...
AWS_Shubham
Highly Voted 2 years, 4 months ago
Selected Answer: D
Answer seems to be D. Earlier I too thought of C as dynamoDB has transactions api but they take more WCU and RCU. I searched and found a article which suggests that for gamers Aurora MySQL is the preference. Please refer below link: https://aws.amazon.com/blogs/database/level-up-your-games-with-amazon-aurora/
upvoted 11 times
Phinx
2 years, 3 months ago
But transaction databases are not recommended for complex items such as game items. In this case, it might store objects.
upvoted 5 times
...
...
Hasitha99
Most Recent 3 months, 2 weeks ago
Selected Answer: C
Only possible answers are C or D. But looking at answers and latest updates, answer "C" seems most suitable bacause dynamodb support single all-or-nothing TransactWriteItems or TransactGetItems operations and its key valaue nature support high performance.
upvoted 1 times
...
sumanshu
4 months, 2 weeks ago
Selected Answer: C
A) DynamoDB Consistent Read: ensures strong consistent reads. But question is asking for Updates (i.e. Writes Operation) - Eliminated B) ElastiCache for Memcached: Is in memory key-value store, So not suitable for storing or transactions operations. - Eliminated E) Amazon Athena: is query service for analyzing data in S3 using SQL.- Eliminated
upvoted 2 times
sumanshu
4 months, 2 weeks ago
C) Though DynamoDB is No-SQL Database, but it has transactional capabilities i.e. ACID properties (Atomicity, Consistency, Isolation, Durability). Atomicity means - All operations succeed or fail together. Also, DynamoDB provides two powerful API for transactions https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/transaction-apis.html TransactWriteItems or TransactGetItems. - (i.e. we can group multiple actions together and submit them as single all or nothing) - So, C can be the answer
upvoted 2 times
sumanshu
4 months, 2 weeks ago
D) Aurora also supports ACID transactions, which means you can perform multiple updates in a transaction block, and if one fails, it will roll back. However, the gaming use case here focuses on trading game items—a relatively straightforward workload that doesn’t necessarily need relational database capabilities. Gaming platforms generally prefer NO-SQL database for flexibility. - (So, C can given more preference than option D)
upvoted 1 times
...
...
...
Baalhammun
1 year, 2 months ago
Selected Answer: C
DynamoDB has the capability to perform Transactional queries ( all succeed or rollback everything )
upvoted 2 times
...
AsmaZoheb
1 year, 3 months ago
I think so C DynamoDB provide to perform multiple write operations (e.g., updates, inserts, deletes) and read operations within a single transaction.
upvoted 1 times
...
Vpss4
1 year, 4 months ago
Which answer should we consider as correct? Option with most voted or one mentioned in revel answer? Please help me as I am preparing for exam
upvoted 2 times
...
xdkonorek2
1 year, 4 months ago
Selected Answer: C
both C and D are valid
upvoted 1 times
...
Orit
1 year, 5 months ago
Please tell me are the answers suggested here correct answer otherwise why do we have all this variations with an answer and what is voted as the anser
upvoted 1 times
...
bojila
1 year, 5 months ago
What is the difference between current dump and this one? https://www.examtopics.com/exams/amazon/aws-certified-developer-associate-dva-c02/
upvoted 2 times
...
Chinnu_37
1 year, 8 months ago
Selected Answer: C
Amazon DynamoDB provides support for ACID (Atomicity, Consistency, Isolation, Durability) transactions through its TransactWriteItems and TransactGetItems operations. With these operations, you can group multiple write operations and/or read operations into a single transaction. If any part of the transaction fails, all changes are rolled back, ensuring data consistency.
upvoted 3 times
...
qich1989
1 year, 8 months ago
Selected Answer: D
I think the answer is D. Because the question is to build a trade system for gaming, not build a game system.
upvoted 3 times
...
lamokay
1 year, 8 months ago
Selected Answer: C
Amazon DynamoDB supports transactional operations using the TransactWriteItems and TransactGetItems operations. These operations allow you to group multiple write and read operations into a single, all-or-nothing transaction. If any of the operations in the transaction fail, the entire transaction will be rolled back, ensuring data consistency. Option D is wrong(Amazon Aurora MySQL with operations made within a transaction block) is a relational database and does support transactions, but it might be overkill for a gaming website's item trading feature, and the cost and complexity might be higher compared to DynamoDB.
upvoted 2 times
xdkonorek2
1 year, 4 months ago
Every relational database is transactional...
upvoted 1 times
...
...
Ssakshi0709
1 year, 9 months ago
Selected Answer: C
Dynamo db is more flexible in this
upvoted 2 times
...
rcaliandro
1 year, 10 months ago
Selected Answer: C
I vote for C, DynamoDB is more flexible and it supports transactions by using Transact*
upvoted 1 times
...
CarlosC
1 year, 10 months ago
My first choice would have been DynamoDB, however, the question is asking about gamers that require rollback. Aurora can commit or "roll back the current transaction"; https://docs.aws.amazon.com/whitepapers/latest/amazon-aurora-mysql-db-admin-handbook/transaction-management-and-autocommit.html
upvoted 1 times
...
ezredame
1 year, 11 months ago
Selected Answer: C
Definitely C: https://aws.amazon.com/blogs/aws/new-amazon-dynamodb-transactions/
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago