
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 incorrect because Collectd is not suitable for OS level logs. Option D is incorrect since log-based metrics can only be created from logs present in Cloud Logging. For more details, refer to: https://cloud.google.com/logging/docs/agent/logging/installation#gce-ui-install
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
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
Install the google-collectd-catch-all package on the Instances
D
Create log-based metrics from the logs in Cloud Logging
No comments yet.