PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #130
Your team is building a service that performs compute-heavy processing on batches of data. The data is processed faster based on the speed and number of CPUs on the machine. These batches of data vary
The correct answer is C. Provide a Cloud Storage bucket so that third parties can upload batches of data, and provide. Utilize Cloud Storage for secure, scalable third-party data uploads, and trigger a serverless Cloud Functions service for cost-effective, event-driven, compute-heavy processing of varying data batches.
Question
Options
- AProvide a secure file transfer protocol (SFTP) server on a Compute Engine instance so that third
- BProvide a Cloud Storage bucket so that third parties can upload batches of data, and provide
- CProvide a Cloud Storage bucket so that third parties can upload batches of data, and provide
- DProvide a Cloud Storage bucket so that third parties can upload batches of data, and provide
How the community answered
(36 responses)- A3% (1)
- B8% (3)
- C75% (27)
- D14% (5)
Why each option
Utilize Cloud Storage for secure, scalable third-party data uploads, and trigger a serverless Cloud Functions service for cost-effective, event-driven, compute-heavy processing of varying data batches.
Managing an SFTP server on Compute Engine introduces operational overhead and is less scalable and cost-efficient for varying loads compared to managed services.
While Cloud Storage is suitable for ingestion, using a fixed Compute Engine instance for processing would not scale automatically with varying batch sizes and may not be cost-optimal.
Cloud Storage provides a scalable and secure way for third parties to upload data, while Cloud Functions, triggered by new objects in the bucket, offers a serverless, automatically scaling, and cost-effective compute environment suitable for bursty, compute-heavy processing tasks.
Dataflow is powerful for large-scale data processing but might be an overkill and potentially more expensive for simpler, event-driven batch processing that could be handled by Cloud Functions, especially when minimizing costs is a key objective.
Concept tested: Serverless data ingestion and event-driven batch processing
Source: https://cloud.google.com/functions/docs/calling/storage
Topics
Community Discussion
No community discussion yet for this question.