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?
Explanation:
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.