
Answer-first summary for fast verification
Answer: Cloud Storage trigger with Cloud Functions for immediate processing upon file arrival, A combination of Pub/Sub for notification and Cloud Functions for processing, ensuring decoupling and scalability
The most efficient and scalable solution involves using a Cloud Storage trigger with Cloud Functions for immediate processing upon file arrival, ensuring minimal latency. Additionally, a combination of Pub/Sub for notification and Cloud Functions for processing (option E) offers decoupling and scalability, making it a robust alternative for complex scenarios. Cloud Scheduler (option A) introduces unnecessary delay, while Pub/Sub alone (option B) lacks immediate processing capability. Cloud Run with Cloud Build (option C) is more suited for containerized applications and CI/CD pipelines rather than immediate file-triggered processing. For more information, refer to Google Cloud's documentation on Cloud Functions and Cloud Storage notifications. Resources: - [Cloud Functions and Cloud Storage](https://cloud.google.com/functions/docs/calling/storage) - [Cloud Storage Pub/Sub Notifications](https://cloud.google.com/blog/products/gcp/cloud-storage-introduces-cloud-pub-sub-notifications)
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
TerramEarth, a manufacturer of heavy equipment for mining and agriculture, collects extensive usage data from their vehicles during maintenance services at service centers. This data is consolidated daily and uploaded to the Cloud. They utilize a sophisticated ML model to predict component failures and optimize spare parts procurement, aiming to enhance customer service and reduce downtime. TerramEarth is looking to automate the process of model redevelopment and distribution upon receiving new data files, ensuring minimal latency and high efficiency. Given the need for scalability, cost-effectiveness, and immediate processing upon file arrival, which of the following services should they initiate this process with? (Choose two correct options if option E is available)
A
Cloud Scheduler configured to trigger the process every night at a fixed time
B
Pub/Sub to asynchronously notify the processing service upon file arrival
C
Cloud Run in conjunction with Cloud Build for containerized processing and continuous integration
D
Cloud Storage trigger with Cloud Functions for immediate processing upon file arrival
E
A combination of Pub/Sub for notification and Cloud Functions for processing, ensuring decoupling and scalability