ExamQuestions.com

Register
Login
Google Professional Cloud Developer Exam Exam Questions

Google

Google Professional Cloud Developer Exam

67 / 84

Question 67:

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? 
image

Answer options:

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`tt return the account entity from the function.