Question

Difficulty: EasyMonitoring and Logging

A cloud engineer needs to gather operating system memory (RAM) utilization metrics from a Compute Engine virtual machine instance. Which agent recommended by Google Cloud should be installed on the virtual machine instance to collect these telemetry metrics?

  1. The Google Cloud Ops AgentAnswer
  2. B
    The legacy Stackdriver Logging Agent
  3. C
    The Cloud Logging API directly at the Organization level
  4. D
    The Primitive Owner role on the VM default service account

Answer

The Google Cloud Ops Agent is the recommended agent to collect memory utilization and system telemetry from Compute Engine virtual machines.
The Google Cloud Ops Agent is Google Cloud's primary unified agent for capturing system metrics (such as RAM and disk usage) and application logs directly from Compute Engine virtual machines.

Step-by-Step Solution

1
Identify the telemetry requirement
System memory metrics require guest OS level access on a Compute Engine VM.
Hypervisors cannot inspect guest OS memory details without an agent installed inside the VM.
2
Select the appropriate software agent
Choose the Google Cloud Ops Agent.
The Google Cloud Ops Agent combines logging and metric collection into a single, unified agent for Compute Engine.

Key Concept

Google Cloud Ops Agent Telemetry Collection
Rate this question