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
For how long does Cloud Asset Inventory keep create, update and delete history of assets?
- Up to 24 hours
- Up to 7 days
- Up to 35 days
- 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.
What can you do with Cloud Asset Inventory?
- Search resources and IAM allow policies
- Export asset metadata to BigQuery or Cloud Storage
- Subscribe to a feed to monitor asset changes
- Get strictly real-time, always-current answers
- 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: 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.
