A team is developing a service that performs compute-intensive processing on batches of data. Data is processed more quickly according to the machine's CPU speed and CPU count. These data batches vary in size and can arrive at any time from multiple third-party sources. You must ensure that third parties can upload their data securely. You want to minimize costs while ensuring the data is processed as quickly as possible. What should you do?
A Provide a secure file transfer protocol (SFTP) server on a Compute Engine instance so that third parties can upload batches of data, and provide appropriate credentials to the server.Create a Cloud Function with a google.storage.object.finalize Cloud Storage trigger. Write code so that the function can scale up a Compute Engine autoscaling managed instance groupUse an image pre-loaded with the data processing software that terminates the instances when processing completes. B Provide a Cloud Storage bucket so that third parties can upload batches of data, and provide appropriate Identity and Access Management (IAM) access to the bucket.Use a standard Google Kubernetes Engine (GKE) cluster and maintain two services: one that processes the batches of data, and one that monitors Cloud Storage for new batches of data.Stop the processing service when there are no batches of data to process. C Provide a Cloud Storage bucket so that third parties can upload batches of data, and provide appropriate Identity and Access Management (IAM) access to the bucket.Create a Cloud Function with a google.storage.object.finalize Cloud Storage trigger. Write code so that the function can scale up a Compute Engine autoscaling managed instance group.Use an image pre-loaded with the data processing software that terminates the instances when processing completes. D Provide a Cloud Storage bucket so that third parties can upload batches of data, and provide appropriate Identity and Access Management (IAM) access to the bucket.Use Cloud Monitoring to detect new batches of data in the bucket and trigger a Cloud Function that processes the data.Set a Cloud Function to use the largest CPU possible to minimize the runtime of the processing. Show Answer Answer Explanation Cloud Storage provides a secure upload destination controlled with IAM permissions. A Cloud Storage object-finalize event can initiate processing when a new batch is uploaded. Compute Engine managed instance groups can autoscale by adding VMs as demand increases and removing them as demand falls; an instance template can supply the preinstalled processing software. This matches an irregular, CPU-bound batch workload while avoiding continuously running processing capacity.
Learn more
Community Discussion