Question 267 of 284
Single answerYour team is building a website that handles votes from a large user population. The incoming votes will arrive at various rates. You want to optimize the storage and processing of the votes. What should you do?
ASave the incoming votes to Firestore. Use Cloud Scheduler to trigger a Cloud Functions instance to periodically process the votes.
BUse a dedicated instance to process the incoming votes. Send the votes directly to this instance.
CSave the incoming votes to a JSON file on Cloud Storage. Process the votes in a batch at the end of the day.
✓DSave the incoming votes to Pub/Sub. Use the Pub/Sub topic to trigger a Cloud Functions instance to process the votes.
✓
Correct Answer: D
Save the incoming votes to Pub/Sub. Use the Pub/Sub topic to trigger a Cloud Functions instance to process the votes.
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.