PROFESSIONAL-CLOUD-DEVELOPER · Question #119
PROFESSIONAL-CLOUD-DEVELOPER Question #119: Real Exam Question with Answer & Explanation
The correct answer is B: Install a Google version of fluentd on the Compute Engine instance.. https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent The Ops Agent is the primary agent for collecting telemetry from your Compute Engine instances. Combining logging and metrics into a single agent, the Ops Agent uses Fluent Bit for logs, which supports high-thro
Question
You have a mixture of packaged and internally developed applications hosted on a Compute Engine instance that is running Linux. These applications write log records as text in local files. You want the logs to be written to Cloud Logging. What should you do?
Options
- APipe the content of the files to the Linux Syslog daemon.
- BInstall a Google version of fluentd on the Compute Engine instance.
- CInstall a Google version of collectd on the Compute Engine instance.
- DUsing cron, schedule a job to copy the log files to Cloud Storage once a day.
Explanation
https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent The Ops Agent is the primary agent for collecting telemetry from your Compute Engine instances. Combining logging and metrics into a single agent, the Ops Agent uses Fluent Bit for logs, which supports high-throughput logging, and the OpenTelemetry Collector for metrics.
Topics
Community Discussion
No community discussion yet for this question.