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 3Question 25
    Medium1 markMultiple Choice
    Domain 3.3: Deploying Cloud Run and Cloud FunctionsDomain 3.3Cloud RunDeploymentSecurity

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

    You are deploying a public-facing website using Cloud Run. You have the container image ready in Artifact Registry. You want to ensure that anyone on the internet can access the website without needing to authenticate.

    Which flag must you include in your gcloud run deploy command?

    Answer options:

    A.

    --public

    B.

    --no-auth

    C.

    --allow-unauthenticated

    D.

    --ingress=all

    How to approach this question

    Recall the specific flag used in Cloud Run to bypass IAM authentication for public web services.

    Full Answer

    C.--allow-unauthenticated✓ Correct
    By default, Cloud Run services are secured and require IAM authentication to be invoked. To make a service public (like a website), you must use the `--allow-unauthenticated` flag during deployment, which grants the `roles/run.invoker` role to `allUsers`.

    Common mistakes

    Confusing `--ingress=all` (network level) with `--allow-unauthenticated` (IAM level).
    Question 24All questionsQuestion 26

    Practice the full GCP Associate Cloud Engineer Practice Exam 3

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01You are starting a new project in Google Cloud and need to create a new GCP project and enable th...EasyQ02A new team member has joined your operations team. They need to be able to view all Compute Engin...MediumQ03Your company is migrating to Google Cloud. You currently manage all employee identities in an on-...MediumQ04Your development team is experimenting with new GCP services in a sandbox project. The finance te...MediumQ05Your company wants to perform complex, custom SQL analysis on their Google Cloud billing data to ...Easy
    View all 50 questions →