nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVELOPER · Question #83

PROFESSIONAL-CLOUD-DEVELOPER Question #83: Real Exam Question with Answer & Explanation

Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #83. The question stem and answer options stay visible for context.

Developing applications with Cloud Datastore

Question

Your teammate has asked you to review the code below. Its purpose is to query account entities in Cloud Datastore for those with a balance greater than 10000 and an age less than 4. Which improvement should you suggest your teammate make? Captionless Image

Options

  • AThe query needs to have an ancestor query.
  • BThe query should be performed in a transaction.
  • CChange the argument to OrderBy.desc to be "balance" instead of "age."
  • DSend two queries-one for balances over 10000, and another for ages less than 4-and compute

Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer

You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Cloud Datastore#Query Limitations#NoSQL Queries#Application Development
Full PROFESSIONAL-CLOUD-DEVELOPER PracticeBrowse All PROFESSIONAL-CLOUD-DEVELOPER Questions