PROFESSIONAL-CLOUD-DEVELOPER · Question #384
PROFESSIONAL-CLOUD-DEVELOPER Question #384: Real Exam Question with Answer & Explanation
The correct answer is B: Set up a Cloud Asset Inventory real-time feed of insert and delete events with the asset types. Cloud Asset Inventory real-time feeds provide up-to-date notifications of resource changes, such as VM instance insertions and deletions, enabling your application to keep its cache current with minimal latency and recommended practices.
Question
You are developing a custom job scheduler that must have a persistent cache containing entries of all Compute Engine VMs that are in a running state (not deleted, stopped, or suspended). The job scheduler checks this cache and only sends jobs to the available Compute Engine VMs in the cache. You need to ensure that the available Compute Engine instance cache is not stale. What should you do?
Options
- ASet up an organization-level Cloud Storage log sink with a filter to capture the audit log events for
- BSet up a Cloud Asset Inventory real-time feed of insert and delete events with the asset types
- CSet up an organization-level Pub/Sub log sink with a filter to capture the audit log events for
- DSet up an organization-level BigQuery log sink. Configure the application to query this BigQuery
Explanation
Cloud Asset Inventory real-time feeds provide up-to-date notifications of resource changes, such as VM instance insertions and deletions, enabling your application to keep its cache current with minimal latency and recommended practices.
Topics
Community Discussion
No community discussion yet for this question.