QuestionQ30

VerifiedPlanning and implementing a cloud solution

You need to extract text from audio files by using the Speech-to-Text API. The audio files are pushed to a Cloud Storage bucket. You need to implement a fully managed, serverless compute solution that requires authentication and aligns with Google-recommended practices. You want to automate the call to the API by submitting each file to the API as the audio file arrives in the bucket. What should you do?

Explanation

Cloud Run functions provide a fully managed, serverless solution triggered automatically by Cloud Storage events. This eliminates infrastructure management and scales automatically. Using service account authentication is built-in and aligns with Google-recommended practices. Kubernetes jobs, Compute Engine cron scripts, and App Engine lack the direct Cloud Storage triggering capability and require more operational overhead.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!