C1000-150 practice question 4 of 15

Which statement is true for the Cloud Pak for Business Automation standard capabilities logging?

Full set: 60 questions
Answer options
A: Logging is enabled to collect and forward standard output when configured. Correct answer
B: Logging is enabled by default and logs are stored in a dedicated persistent data store.
C: Logging is not stored in a dedicated persistent data store unless specified.
D: Logging is viewable only by the OpenShift Container Platform (OCP) web console.
Correct Answer:
A. Logging is enabled to collect and forward standard output when configured.
Explanation

The standard logging capability for IBM Cloud Pak for Business Automation is based on the Elasticsearch, Fluentd, and Kibana (EFK) stack, which is provided by IBM Cloud Pak foundational services. This logging service is not enabled by default. An administrator must explicitly install the logging operator and configure the service. Once configured, it collects the standard output (stdout) and standard error (stderr) logs from the containers and forwards them to a centralized, persistent data store (Elasticsearch) for aggregation and analysis.

Why Incorrect

B. Logging is enabled by default and logs are stored in a dedicated persistent data store. This is incorrect. The centralized logging service is an optional component that must be explicitly installed and configured; it is not enabled by default.
C. Logging is not stored in a dedicated persistent data store unless specified. While technically true, this statement is less precise than option A. Option A correctly describes the entire mechanism: the service must be configured to collect and forward logs, which then results in persistent storage.
D. Logging is viewable only by the OpenShift Container Platform (OCP) web console. This is incorrect. While ephemeral pod logs can be viewed via the OCP console or CLI (oc logs), the centralized logging service provides its own user interface, Kibana, for viewing and querying the aggregated logs.

References

1. IBM Documentation for Cloud Pak for Business Automation: "Logging service". This document states, "The logging service is an optional component. You must install the IBM Cloud Pak foundational services logging operator before you create your Cloud Pak for Business Automation deployment." This confirms that logging is not on by default and requires configuration.

2. IBM Documentation for Cloud Pak for Business Automation: "Configuring logging". This section details the process: "You can configure the logging service to collect and store logs from all of your containerized applications and forward them to the EFK stack." This supports the "when configured" and "forward" aspects of the correct answer.

3. IBM Cloud Pak foundational services documentation: "IBM Cloud Pak foundational services Logging". The documentation describes the architecture: "Fluentd is a log collector, that collects logs from nodes and forwards the logs to Elasticsearch. Elasticsearch is a search and analytics engine, that stores and indexes the logs. Kibana is a user interface that you can use to query and visualize logs." This confirms the components and the flow of collecting and forwarding standard output.

Scroll to Top