D3: Deploying to Cloud Run from Source
Google Cloud Professional Cloud Developer exam practice questions · 10 flashcards
Question
How do you deploy from source?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Deploying to Cloud Run from Source practice questions and answers
- How do you deploy from source?gcloud run deploy SERVICE --source . (Cloud Build builds the image).
- What builds the image if no Dockerfile?Google Cloud buildpacks.
- Where is the built image stored?Artifact Registry.
- How to deploy an existing image?gcloud run deploy SERVICE --image IMAGE.
- How to set environment variables?--set-env-vars KEY=VALUE.
- How to attach secrets?--set-secrets ENV=SECRET:VERSION or mount as volume.
- How to allow public access?--allow-unauthenticated.
- What is a revision?Immutable snapshot created on each deployment.
- What are revision tags?Dedicated URLs to test specific revisions.
- What is a Cloud Run job?Run-to-completion container execution, not request-driven.