For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeGCP Associate Cloud Engineer (ACE)GCP Associate Cloud Engineer Practice Exam 2Question 24
    Medium1 markMultiple Choice
    Domain 3.3: Deploying and implementing Cloud Run and Cloud FunctionsgcloudCloud RunDeployment

    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?

    Answer options:

    A.

    gcloud run deploy my-app --image=us-central1-docker.pkg.dev/my-project/repo/my-app:v1 --allow-unauthenticated

    B.

    gcloud run deploy my-app --image=us-central1-docker.pkg.dev/my-project/repo/my-app:v1 --public

    C.

    gcloud compute instances create-with-container my-app --container-image=us-central1-docker.pkg.dev/my-project/repo/my-app:v1

    D.

    gcloud app deploy --image-url=us-central1-docker.pkg.dev/my-project/repo/my-app:v1

    How to approach this question

    Identify the gcloud command group for Cloud Run and the specific flag required for public access.

    Full Answer

    A.gcloud run deploy my-app --image=us-central1-docker.pkg.dev/my-project/repo/my-app:v1 --allow-unauthenticated✓ Correct
    The command `gcloud run deploy` is used to deploy to Cloud Run. By default, Cloud Run services require IAM authentication. To make the service publicly accessible over HTTPS, you must append the `--allow-unauthenticated` flag.

    Common mistakes

    Guessing non-existent flags like `--public`.
    Question 23All questionsQuestion 25

    Practice the full GCP Associate Cloud Engineer Practice Exam 2

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01Your company is migrating to Google Cloud and needs to establish a resource hierarchy. You have t...EasyQ02You are managing access to a GCP project. You need to grant 15 developers the ability to view Com...MediumQ03You have created a new GCP project using the Cloud Console. You want to deploy a Cloud Function u...EasyQ04Your startup has a strict monthly cloud budget of $500. You want to be notified immediately if yo...EasyQ05Your finance team wants to perform complex SQL analysis on your GCP billing data to understand co...Medium
    View all 50 questions →