
Answer-first summary for fast verification
Answer: Migrate the web application to App Engine and the backend API to Cloud Run. Use Cloud Tasks to run your background job on Cloud Run.
The correct answer is B. The question asks for serverless solutions to keep operational costs low. Options A and D are not viable because they involve using Compute Engine, which is not a serverless solution. Additionally, running a web application on a Cloud Storage bucket, as suggested in options C and D, is not appropriate for hosting a Flask web application. Therefore, the best approach is to migrate the web application to App Engine, the backend API to Cloud Run, and use Cloud Tasks to run the background job on Cloud Run, which are all serverless services offered by Google Cloud.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company has decided to migrate its on-premises workloads to Google Cloud, aiming to follow Google's best practices for such a transition. The existing on-premises workloads to be migrated include:
Considering the goal of minimizing operational costs while adopting serverless solutions on Google Cloud, what would be the recommended approach to effectively migrate these workloads?
A
Migrate the web application to App Engine and the backend API to Cloud Run. Use Cloud Tasks to run your background job on Compute Engine.
B
Migrate the web application to App Engine and the backend API to Cloud Run. Use Cloud Tasks to run your background job on Cloud Run.
C
Run the web application on a Cloud Storage bucket and the backend API on Cloud Run. Use Cloud Tasks to run your background job on Cloud Run.
D
Run the web application on a Cloud Storage bucket and the backend API on Cloud Run. Use Cloud Tasks to run your background job on Compute Engine.
No comments yet.