PROFESSIONAL-CLOUD-DEVELOPER · Question #333
You work for an ecommerce company. Your company is migrating multiple applications to Google Cloud, and you are assisting with the migration of one of the applications. The application is currently…
The correct answer is A. Deploy the image to Cloud Run. Cloud Run is Google's fully managed, serverless container platform. Because the application has no OS-level dependencies and is already containerized with a Dockerfile and image in Artifact Registry, Cloud Run is the natural fit: it handles scaling, patching, and infrastructure…
Question
You work for an ecommerce company. Your company is migrating multiple applications to Google Cloud, and you are assisting with the migration of one of the applications. The application is currently deployed on a VM without any OS dependencies. You have created a Dockerfile and used it to upload a new image to Artifact Registry. You want to minimize the infrastructure and operational complexity. What should you do?
Options
- ADeploy the image to Cloud Run.
- BDeploy the image to a GKE Autopilot cluster.
- CDeploy the image to a GKE Standard cluster.
- DDeploy the image to a Compute Engine instance.
How the community answered
(52 responses)- A77% (40)
- B13% (7)
- C4% (2)
- D6% (3)
Explanation
Cloud Run is Google's fully managed, serverless container platform. Because the application has no OS-level dependencies and is already containerized with a Dockerfile and image in Artifact Registry, Cloud Run is the natural fit: it handles scaling, patching, and infrastructure management entirely, leaving zero operational burden for the team. GKE Autopilot (B) is also managed but requires Kubernetes knowledge and cluster-level configuration. GKE Standard (C) requires even more management. Compute Engine (D) is the most complex option, requiring OS patching and instance management-the opposite of minimizing complexity.
Topics
Community Discussion
No community discussion yet for this question.