Google
PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #48
Your organization wants to collect system logs that will be used to generate dashboards in Cloud Operations for their Google Cloud project. You need to configure all current and future Compute Engine
The correct answer is C. Use the gcloud CLI to create an Agent Policy.. https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/managing-agent-policies
Submitted by mike_84· Apr 18, 2026Implementing service monitoring strategies
Question
Your organization wants to collect system logs that will be used to generate dashboards in Cloud Operations for their Google Cloud project. You need to configure all current and future Compute Engine instances to collect the system logs, and you must ensure that the Ops Agent remains up to date. What should you do?
Options
- AUse the gcloud CLI to install the Ops Agent on each VM listed in the Cloud Asset Inventory,
- BSelect all VMs with an Agent status of Not detected on the Cloud Operations VMs dashboard.
- CUse the gcloud CLI to create an Agent Policy.
- DInstall the Ops Agent on the Compute Engine image by using a startup script
How the community answered
(53 responses)- A8% (4)
- B6% (3)
- C72% (38)
- D15% (8)
Explanation
https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/managing-agent-policies
Topics
#Ops Agent#Agent Policy#Monitoring#Logging
Community Discussion
No community discussion yet for this question.