A DevOps engineer is configuring telemetry collection for a batch processing workload running on Linux Compute Engine virtual machines. Upon opening the Google Cloud Monitoring console, the engineer notices that basic hypervisor metrics such as CPU utilization and disk I/O are visible, but guest OS memory utilization and internal system logs are missing. Which action should the engineer take to collect these missing metrics and logs?
- Install and run the Google Cloud Ops Agent on each Compute Engine virtual machine instance.Cevap
- BInstall the standalone legacy Stackdriver Monitoring agent alongside the legacy Stackdriver Logging agent on each virtual machine instance.
- CEnable the Cloud Monitoring API within the parent Google Cloud Organization resource policy.
- DAssign the primitive Editor role to the default Compute Engine service account to grant hypervisor access to guest memory.
Cevap
Install and run the Google Cloud Ops Agent on each Compute Engine virtual machine instance.
The correct option installs the Google Cloud Ops Agent on the virtual machines. The Ops Agent is the recommended solution for gathering guest OS metrics (such as memory usage and swap space) as well as internal system and application log files from Compute Engine instances.
Adım Adım Çözüm
Anahtar Kavram
Google Cloud Ops Agent deployment for Compute Engine guest OS observability
Tahmini Süre:1m 30s