Google Cloud Professional Cloud Developer — Question 355

You want to migrate an on-premises container running in Knative to Google Cloud. You need to make sure that the migration doesn't affect your application's deployment strategy, and you want to use a fully managed service. Which Google Cloud service should you use to deploy your container?

Answer options

Correct answer: A

Explanation

Cloud Run is the ideal choice for deploying containers in a fully managed environment while maintaining the flexibility of your deployment strategy. Compute Engine requires more management and does not offer a fully managed service for containers. Google Kubernetes Engine is more complex and suited for orchestrating multiple containers rather than a single migration. App Engine flexible environment is also a managed service but is not specifically designed for direct container deployment like Cloud Run.