GCP ACE · Question 25 · Domain 3.3: Deploying and implementing Cloud Run and Cloud Functions
You have a container image stored in Artifact Registry at us-central1-docker.pkg.dev/my-project/my-repo/my-app:latest. You want to deploy this image to Cloud Run so that it can receive HTTPS requests from the public internet.
Which gcloud command should you use?
Answer options:
gcloud compute instances create-with-container --container-image us-central1-docker.pkg.dev/my-project/my-repo/my-app:latest
gcloud run deploy --image us-central1-docker.pkg.dev/my-project/my-repo/my-app:latest --allow-unauthenticated
gcloud functions deploy --source us-central1-docker.pkg.dev/my-project/my-repo/my-app:latest
gcloud app deploy us-central1-docker.pkg.dev/my-project/my-repo/my-app:latest
50 questions · hints · full answers · grading