Prepare projects and identities
A new engineering folder contains three projects. A reviewer’s inventory query shows external IPs for two. How would you distinguish an empty result from an incomplete search?
Prepare projects and identities
Ask Gemini Cloud Assist which finance-folder VMs have external IPs. Its answer draws on the asset inventory and the operator’s permissions.
Work through the decision
A new engineering folder contains three projects. A reviewer’s inventory query shows external IPs for two. How would you distinguish an empty result from an incomplete search?
Check your reasoning
Check the query scope and the reviewer’s Cloud Asset Inventory permissions on each project. Repeat with an authorized reviewer at the folder scope before declaring the third project clear.
Interpret the evidence
- Cloud Asset Inventory
- Query resource metadata across a chosen project, folder or organization and inspect the caller’s visibility.
- Organization Policy
- Attach a constraint at an ancestor to limit what descendants can configure.
- Workforce Identity Federation
- Map workforce attributes from an external identity provider so employees can use Google Cloud with their enterprise identity.
- Service Usage
- An API must be enabled in the consuming project before many product calls can succeed.
- Cloud Quotas
- Check regional headroom independently of service availability and ask for an increase before provisioning.
Practice the guide skills
- Sketch organization, folder, project and service boundaries. For a standalone organization identify the administrator and the policy inheritance path.
- Apply an allowed-location policy, then check whether an approved service and machine family are available in the chosen region and zone.
- Grant a group its narrow project role. Trace how Cloud Identity membership or an external workforce provider controls a human sign-in.
- Create a setup checklist for network allocation, API activation, VM quota headroom and an increase request before launch.
- Check that logs and metrics arrive from the test project. Query inventory for externally reachable VMs and validate an assistant’s answer against the same permission scope.
Official objectives for this lesson
Check which project the CLI will use
A developer signs into the right account but a service lookup returns no resources. Start by comparing the active project with the project named in the change ticket.
gcloud config get-value project
gcloud services list --enabled --project=PROJECT_ID
The first command reads local CLI configuration. The second explicitly selects the project for its request. Enabled services are an API inventory, not an inventory of all deployed workloads.
Related lesson · Separate the right to run a query from the right to read data
Prepare projects and identities quiz
Answer 3 questions. Check each answer for an explanation.