Google Cloud Professional Cloud Developer — Question 310

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?

Answer options

Correct answer: A

Explanation

Deploying the image to Cloud Run is the best option because it allows for automatic scaling and eliminates the need to manage the underlying infrastructure. In contrast, GKE clusters and Compute Engine instances involve more management overhead, which increases operational complexity.