Your teammate has asked you to review the code below, which is adding a credit to an account balance in Cloud Datastore. Which improvement should you suggest your teammate make?
A) Get the entity with an ancestor query.
B) Get and put the entity in a transaction.
C) Use a strongly consistent transactional database.
D) Don't return the account entity from the function.
Correct Answer:
Verified
Q75: You are writing a Compute Engine hosted
Q76: Case study This is a case study.
Q77: Case study This is a case study.
Q78: Your API backend is running on multiple
Q79: You have an application deployed in production.
Q80: You are using Cloud Build to create
Q81: Case study This is a case study.
Q82: Your application requires service accounts to be
Q84: Case study This is a case study.
Q85: Your application is running in multiple Google
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents