Question

Difficulty: EasyManaging Compute Engine Resources

An administrator needs to gather OS-level telemetry, such as memory utilization and disk space usage, from a Compute Engine virtual machine instance and export it to Google Cloud Observability. Which software agent should the administrator install on the VM instance?

  1. The Google Cloud Ops AgentAnswer
  2. B
    The legacy standalone Cloud Monitoring agent
  3. C
    The primitive Owner IAM role assigned to the VM service account
  4. D
    A custom Spot VM metadata script requesting a metric quota increase

Answer

The administrator should install the Google Cloud Ops Agent on the Compute Engine virtual machine instance.
The Google Cloud Ops Agent is the official unified telemetry collection agent for Google Compute Engine. It runs inside the guest OS to collect system metrics (including memory usage, disk utilization, and process metrics) as well as system logs, streaming them directly to Google Cloud Observability.

Step-by-Step Solution

1
Identify the telemetry requirement
OS-level telemetry (memory utilization and disk usage) requires an agent inside the VM guest OS.
Compute Engine hypervisor metrics only cover CPU and network metrics external to the guest OS.
2
Select the current Google-recommended telemetry agent
Choose the Google Cloud Ops Agent.
The Google Cloud Ops Agent is the active unified agent for collecting both metrics and logs from Compute Engine instances.

Key Concept

Compute Engine OS-Level Telemetry with Google Cloud Ops Agent
Rate this question