Bitzu

Associate Cloud Engineer ยท Billing, locations and environment tooling

Cloud Asset Inventory and Gemini Cloud Assist

Searching resources and IAM policies with Cloud Asset Inventory, asset history and exports, and using Gemini Cloud Assist to analyze and ask questions about resources.

Key points

  • Cloud Asset Inventory keeps metadata about resources and policies (IAM, organization policies).
  • Search: gcloud asset search-all-resources.
  • Export snapshots to BigQuery or Cloud Storage: gcloud asset export.
  • Change history up to 35 days; subscribe to feeds.
  • Eventually consistent, so not for real-time queries.
  • Gemini Cloud Assist: AI collaborator in the console; helps investigate issues and answers questions about your environment.

Source: https://docs.cloud.google.com/asset-inventory/docs/overview

Practice questions

Single choice

For how long does Cloud Asset Inventory keep create, update and delete history of assets?

  1. Up to 24 hours
  2. Up to 7 days
  3. Up to 35 days
  4. Indefinitely
Show answer

Answer: C. Up to 35 days

History is kept for up to 35 days; assets unchanged in that window show their latest state.

Select all that apply

What can you do with Cloud Asset Inventory?

  1. Search resources and IAM allow policies
  2. Export asset metadata to BigQuery or Cloud Storage
  3. Subscribe to a feed to monitor asset changes
  4. Get strictly real-time, always-current answers
  5. Enforce organization policies on new resources
Show answer

Answer: A. Search resources and IAM allow policies, B. Export asset metadata to BigQuery or Cloud Storage, C. Subscribe to a feed to monitor asset changes

You can search resources and IAM policies, export asset metadata to BigQuery or Cloud Storage, and subscribe to a feed for changes. It is not designed for real-time queries and does not enforce policies.

True or false

True or false: Cloud Asset Inventory is designed for real-time querying of the current state of assets.

Show answer

Answer: False

False. Its data is eventually consistent; for live state, call the service's own API.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More Associate Cloud Engineer topics in this module