
Answer-first summary for fast verification
Answer: Install the google-fluentd-catch-all package on the Instances
Option B is correct because the FluentD agent is required for capturing OS level logs. Option A is incorrect as a sink can only route logs already available in Cloud Logging. Option C is not suitable because log-based metrics can only be created from logs present in Cloud Logging. Option D is incorrect since the Collectd package is not designed for OS level logs. For more details, refer to the Google Cloud documentation on logging agent installation: [https://cloud.google.com/logging/docs/agent/logging/installation#gce-ui-install](https://cloud.google.com/logging/docs/agent/logging/installation#gce-ui-install).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your organization is running multiple applications on Compute Engine, with instances generating logs and metrics monitored via dashboards. A new requirement has emerged to capture operating system (OS) level logs for security purposes. What is the best approach to meet this requirement?
A
Create a sink to route all OS level logs to a specified Logs bucket
B
Install the google-fluentd-catch-all package on the Instances
C
Create log-based metrics from the logs in Cloud Logging
D
Install the google-collectd-catch-all package on the Instances