Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 268 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 268
Topic #: 1
[All Associate Cloud Engineer Questions]

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

  • A. Save the incoming votes to Firestore. Use Cloud Scheduler to trigger a Cloud Functions instance to periodically process the votes.
  • B. Use a dedicated instance to process the incoming votes. Send the votes directly to this instance.
  • C. Save the incoming votes to a JSON file on Cloud Storage. Process the votes in a batch at the end of the day.
  • D. Save the incoming votes to Pub/Sub. Use the Pub/Sub topic to trigger a Cloud Functions instance to process the votes.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
denno22
1 month, 3 weeks ago
Selected Answer: D
Use Pub/Sub.
upvoted 1 times
...
Timfdklfajlksdjlakf
2 months, 3 weeks ago
Selected Answer: D
D. is the correct answer
upvoted 2 times
...
Selected Answer: D
Pub/Sub (a messaging service) triggering a Cloud Function (the glue between services that are otherwise independent) to trigger something else to process the votes
upvoted 3 times
...
BuenaCloudDE
4 months, 1 week ago
Selected Answer: D
Pub/Sub: Google Cloud Pub/Sub is a messaging service which directly uses for this purpose. Cloud Functions: By triggering a Cloud Function with a Pub/Sub topic, you can process the votes as they arrive, ensuring low-latency handling and efficient scaling based on demand. This approach provides real-time processing and can handle bursts of traffic effectively.
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...