Home › Forums › AWS › AWS Certified Developer Associate › Exam Question Code Incorrect
-
Exam Question Code Incorrect
-
This Exam Question:
“
A developer must set up a caching layer in front of the tutorialsdojo database. The developer should come up with a function that ensures cached data is always up-to-date. Stale records in the cache must be automatically deleted as well to prevent the build-up of extra data.
Which pseudocode best represents this caching strategy?
“
Has a Correct Answer with incorrect pseudocode.
The line in question is:tutorialsdojo.query("UPDATE Customers SET value = %s WHERE id = %s", item_id, item_value)
This says: “UPDATE Customers SET value = itemId WHERE id = itemValue”
The question has little to do with this particular line but I nonetheless thought it was wrong because of this piece. -
Hello Caleb,
Thanks for raising this item.
It seems there is a typo in the proposed correct answer for this item
We’ll have it corrected as soon as possible.
Please let us know if you have additional questions.
Regards,
Carlo Acebedo
Log in to reply.