Google Associate Cloud Engineer Study Guide: Cloud Run IAM and Revisions
Practice Google Associate Cloud Engineer exam decisions on Cloud Run service accounts, caller permissions, staged rollout, traffic migration, and rollback.
For Google Cloud Associate Cloud Engineer scenarios, identify which Cloud Run identity needs access, then verify the revision serving the request. Deployment permissions, invocation permissions, and access to downstream resources are separate checks.
Distinguish the deployer, caller, and runtime service account
Imagine a reporting team deploying a private Cloud Run service that reads objects from a single Cloud Storage bucket. The engineer or deployment pipeline must have the permissions required to deploy the revision and attach its chosen service account. The scheduler or application calling the private service needs permission to invoke it. Once the container starts, its configured service account is the identity that needs permission to read objects from the bucket.
Draw three arrows on paper and label each with the principal, operation, and resource. The first arrow points to the deployment or service account attachment. The second points from the caller to the Cloud Run service. The third points from the runtime service account to the bucket. If the team attaches a dedicated service account and the application only reads input files, grant the required read permissions at the bucket scope. The payroll export bucket in the same project can stay outside that grant.
Deploy a revision and collect evidence before shifting traffic
A revision captures a version of the container and service configuration. Suppose a revision introduces a new runtime service account and changes which bucket the app reads. Deploy it without production traffic, then use a tagged revision to make a controlled test request with the expected caller identity. Check the endpoint response and verify it read the intended test object. A successful deploy shows that the control plane accepted the configuration. The functional request checks the runtime path.
If the staged test succeeds, shift a small share of traffic and compare symptoms across revisions. For example, compare request failures and latency on the candidate and the revision that previously handled traffic. Use comparable request paths and enough traffic to see a pattern. If the candidate consistently fails, move production traffic back to the previously healthy revision and investigate the failed candidate after the rollback.
Diagnose two similar failures in an original practice question
The new revision returns a permission error only on requests that load a report. Health requests pass, the private caller can invoke the service, and the old revision can read that same report. The application log for the failed revision attributes the error to its request to Cloud Storage. What would you check first? Verify the runtime service account configured on the new revision and its read permissions on the report bucket. Also confirm the bucket name in the candidate configuration, since changing that name can make a permission problem appear during the release.
Now change the evidence. A second caller is rejected before the application processes any request, even though the original caller can use both revisions. Check the second caller's authentication and permission to invoke the Cloud Run service. Giving the runtime service account additional bucket privileges leaves the invocation check untouched. Contrast the two failure paths by noting which service produced the error and which identity was active at that moment.
Rehearse the release and rollback in a test project
Write a six-step lab plan before using the console. List the runtime identity and its bucket grant, the caller and its invocation grant, the candidate revision, the request that proves a downstream read, the signals that determine rollout, and the known-good revision you can restore. Run the plan in an isolated test project with disposable resources, or diagram the sequence if you only need a paper exercise. Record one observation that proves each step worked, then clean up anything you created.
Your next steps
- Separate the deployer's permissions, the caller's permissions, and the workload's permissions.
- Test the downstream dependency before shifting production traffic to a revision.
- Use revision-level evidence to decide when to restore traffic to the previous release.
Sources & official resources
Linked resources checked on 2026-11-29. Technical behavior and provider guidance can change; check the documentation for the version you use.
About this guide and its recommendations
Published by Prep With Proof with AI-assisted drafting. Study routines and examples are editorial suggestions, not official exam instructions or claims of a learner's personal results. Cited provider facts are linked; ownership of recommended Prep With Proof products is disclosed. No competitor endorsement or guaranteed certification outcome is implied.
Suggest a correction →