Bird
0
0

You want to deploy a container image stored in Artifact Registry to Cloud Run. What is the correct way to reference the image in the deploy command?

hard📝 Application Q9 of 15
GCP - Cloud Run
You want to deploy a container image stored in Artifact Registry to Cloud Run. What is the correct way to reference the image in the deploy command?
Agcr.io/PROJECT-ID/IMAGE:TAG
BLOCATION-docker.pkg.dev/PROJECT-ID/REPOSITORY/IMAGE:TAG
Cdocker.io/IMAGE:TAG
Dartifactregistry.googleapis.com/PROJECT-ID/IMAGE:TAG
Step-by-Step Solution
Solution:
  1. Step 1: Recall Artifact Registry image URL format

    Artifact Registry images use LOCATION-docker.pkg.dev domain.
  2. Step 2: Validate correct full image path

    Format is LOCATION-docker.pkg.dev/PROJECT-ID/REPOSITORY/IMAGE:TAG.
  3. Final Answer:

    LOCATION-docker.pkg.dev/PROJECT-ID/REPOSITORY/IMAGE:TAG -> Option B
  4. Quick Check:

    Artifact Registry image URL = LOCATION-docker.pkg.dev [OK]
Quick Trick: Artifact Registry images use LOCATION-docker.pkg.dev [OK]
Common Mistakes:
  • Using gcr.io for Artifact Registry images
  • Using docker.io which is public Docker Hub
  • Using incorrect domain like artifactregistry.googleapis.com

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes