Your company runs several Compute Engine virtual machines hosting a Java application stack. The operations team wants a single lightweight package that will stream system metrics (CPU, memory) and application log files to Google Cloud Observability with minimal configuration and automatic update support. Which approach should you recommend to meet these requirements?
Install the Google Cloud Ops Agent on each VM.
Enable Cloud Asset Inventory on the project to automatically gather VM metrics and logs.
Install the legacy Stackdriver Monitoring agent and the separate fluentd-based Logging agent.
Instrument the application with Cloud Trace libraries to export traces and logs.
The Ops Agent is Google Cloud's next-generation observability agent for Compute Engine. A single Debian or RPM package collects both metrics and logs, sends them to Cloud Monitoring and Cloud Logging, can be centrally managed with OS Config, and receives automatic updates. The older fluentd-based Cloud Logging agent sends logs only, while the legacy Monitoring agent exports only metrics. Cloud Trace instrumentation captures latency traces but neither metrics nor arbitrary logs, and Cloud Asset Inventory does not ingest runtime telemetry. Therefore, deploying the Ops Agent best satisfies the need for a unified, low-overhead solution.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the Google Cloud Ops Agent?
Open an interactive chat with Bash
How does the Ops Agent differ from legacy agents like the Stackdriver Monitoring and Logging agents?
Open an interactive chat with Bash
What are the benefits of using the Ops Agent for observability in Google Cloud?
Open an interactive chat with Bash
What is the Google Cloud Ops Agent?
Open an interactive chat with Bash
How does the Ops Agent compare to legacy agents like the Stackdriver Monitoring and Logging agents?
Open an interactive chat with Bash
What are Cloud Monitoring and Cloud Logging used for in this scenario?
Open an interactive chat with Bash
GCP Associate Cloud Engineer
Setting up a cloud solution environment
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .