GCP ACE · Question 24 · Domain 3.3: Deploying and implementing Cloud Run and Cloud Functions
You are deploying a new application to Cloud Run. The application is packaged in a container image located in Artifact Registry. You want the application to be publicly accessible over HTTPS.
Which gcloud command should you use?
You are deploying a new application to Cloud Run. The application is packaged in a container image located in Artifact Registry. You want the application to be publicly accessible over HTTPS.
Which gcloud command should you use?
Answer options:
gcloud run deploy my-app --image=us-central1-docker.pkg.dev/my-project/repo/my-app:v1 --allow-unauthenticated
gcloud run deploy my-app --image=us-central1-docker.pkg.dev/my-project/repo/my-app:v1 --public
gcloud compute instances create-with-container my-app --container-image=us-central1-docker.pkg.dev/my-project/repo/my-app:v1
gcloud app deploy --image-url=us-central1-docker.pkg.dev/my-project/repo/my-app:v1
How to approach this question
Full Answer
Common mistakes
Practice the full GCP Associate Cloud Engineer Practice Exam 2
50 questions · hints · full answers · grading
Expert