Google Cloud Associate Cloud Engineer — Question 220

Your company wants to migrate their on-premises workloads to Google Cloud. The current on-premises workloads consist of:

• A Flask web application
• A backend API
• A scheduled long-running background job for ETL and reporting

You need to keep operational costs low. You want to follow Google-recommended practices to migrate these workloads to serverless solutions on Google Cloud. What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because migrating the web application to App Engine and the backend API to Cloud Run aligns with Google Cloud's serverless practices, which help reduce operational costs. Using Cloud Tasks to manage the background job on Cloud Run is optimal for serverless architecture, while the other options either suggest using Compute Engine, which is not serverless, or incorrectly host the web application in a Cloud Storage bucket.