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 4Question 26
    Medium1 markMultiple Choice
    Domain 3.3: Deploying Cloud Run and Cloud FunctionsDomain 3.3Cloud Rungcloud

    GCP ACE · Question 26 · Domain 3.3: Deploying Cloud Run and Cloud Functions

    You have built a Docker container image for a web application and pushed it to Google Artifact Registry. You want to deploy this image to Cloud Run so that it can receive public HTTPS traffic.

    Which gcloud command should you use?

    Answer options:

    A.

    gcloud run deploy --image [IMAGE_URL] --allow-unauthenticated

    B.

    gcloud compute instances create-with-container --container-image [IMAGE_URL]

    C.

    gcloud container run --image [IMAGE_URL] --public

    D.

    gcloud run start --image [IMAGE_URL]

    How to approach this question

    Recall the gcloud command for deploying to Cloud Run and making it public.

    Full Answer

    A.gcloud run deploy --image [IMAGE_URL] --allow-unauthenticated✓ Correct
    The `gcloud run deploy` command is used to deploy container images to Cloud Run. To ensure the service can receive public HTTPS traffic, you must use the `--allow-unauthenticated` flag, which grants the `roles/run.invoker` role to `allUsers`.

    Common mistakes

    Forgetting the `--allow-unauthenticated` flag, which would result in a private service requiring IAM authentication.
    Question 25All questionsQuestion 27

    Practice the full GCP Associate Cloud Engineer Practice Exam 4

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01You have recently joined a new team and need to set up a new Google Cloud project for a developme...EasyQ02Your company uses Google Workspace. You need to grant a new developer, Alice, the ability to view...MediumQ03You have created a new GCP project and want to deploy a Compute Engine instance. However, when yo...MediumQ04Your startup has a strict monthly cloud budget of $500. You want to be notified via email when yo...EasyQ05Your finance team wants to analyze Google Cloud costs using standard SQL and build custom dashboa...Medium
    View all 50 questions →