Professional Cloud Developer · Free Practice Question Medium

Question 21

In the final phase of migrating an on-premises data center to Google Cloud, you have encountered a web API running on a server that is scheduled for decommissioning. To modernize this API while migrating to Google Cloud, you need to suggest a solution. The modernized web API should fulfill the following requirements:


• In high traffic periods at the end of each month, it should autoscale.

• Written in Python 3.x

• Developers must be able to quickly deploy new versions in response to frequent code changes.


You need to minimize the cost, effort, and operational overhead of the migration.


What actions do you need to take?

  • A Modernize and deploy the code on App Engine standard environment.
  • B Request the development team to convert the application to operate as a Docker container on Google Kubernetes Engine.
  • C Modernize and deploy the code on App Engine flexible environment.
  • D Deploy the updated application to a n1-standard-1 Compute Engine instance.
Reveal correct answer

Correct answer: A

Explanation

The best solution to modernize the web API while migrating to Google Cloud is to deploy the code on App Engine standard environment. According to the Professional Google Cloud Developer documentation, the App Engine standard environment provides a fully managed platform that allows developers to focus on writing code without worrying about infrastructure or servers. It also supports autoscaling, making it ideal for handling high traffic periods at the end of each month. Additionally, App Engine standard environment supports Python 3.x, which meets the requirement of the modernized web API. Finally, developers can deploy new versions quickly and efficiently using the App Engine standard environment, making it a cost-effective and low-overhead solution.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need