PROFESSIONAL-CLOUD-DEVELOPER · Question #187
You are in the final stage of migrating an on-premises data center to Google Cloud. You are quickly approaching your deadline, and discover that a web API is running on a server slated for decommissio
The correct answer is B. Modernize and deploy the code on App Engine standard environment.. The correct answer is B: App Engine standard environment. App Engine standard environment natively supports Python 3.x, automatically scales to zero when there is no traffic (minimizing cost), and scales up rapidly during high-traffic periods at month-end. Developers can deploy n
Question
You are in the final stage of migrating an on-premises data center to Google Cloud. You are quickly approaching your deadline, and discover that a web API is running on a server slated for decommissioning. You need to recommend a solution to modernize this API while migrating to Google Cloud. The modernized web API must meet the following requirements:
- Autoscales during high traffic periods at the end of each month
- Written in Python 3.x
- Developers must be able to rapidly deploy new versions in response to
frequent code changes You want to minimize cost, effort, and operational overhead of this migration. What should you do?
Options
- AModernize and deploy the code on App Engine flexible environment.
- BModernize and deploy the code on App Engine standard environment.
- CDeploy the modernized application to an n1-standard-1 Compute Engine instance.
- DAsk the development team to re-write the application to run as a Docker container on Google
How the community answered
(28 responses)- A4% (1)
- B82% (23)
- C11% (3)
- D4% (1)
Explanation
The correct answer is B: App Engine standard environment. App Engine standard environment natively supports Python 3.x, automatically scales to zero when there is no traffic (minimizing cost), and scales up rapidly during high-traffic periods at month-end. Developers can deploy new versions with a single gcloud command, enabling rapid iteration. It also has the lowest operational overhead of all options since Google manages the infrastructure. App Engine flexible (A) supports Python but is more expensive because instances run continuously and cannot scale to zero. A Compute Engine n1-standard-1 instance (C) requires manual scaling configuration and ongoing operational management. Rewriting as a Docker container for GKE (D) introduces significant refactoring effort and operational overhead, which contradicts the goal of minimizing effort.
Topics
Community Discussion
No community discussion yet for this question.