C1000-150 practice question 2 of 15

What is the benefit of using the Rsyslog Sidecar?

Full set: 60 questions
Answer options
A: Offers easy adoption of audit logging and shifts the burden of transmitting the messages to the sidecar. Correct answer
B: Multiple deployments of audit logging controller policies.
C: Ability to run a service and the rsyslog sidecar in the separate namespace as the fluentd instance.
D: More flexibility as to the format structure of the audit logs which can support JSON, XML, and YAML.
Correct Answer:
A. Offers easy adoption of audit logging and shifts the burden of transmitting the messages to the sidecar.
Explanation

The Rsyslog sidecar pattern simplifies the integration of services with the audit logging infrastructure. The primary application container can write its audit logs to a standard output (stdout) or a file, without needing to implement the logic for secure, reliable log transmission. The sidecar container runs in the same Pod, reads these logs, and takes on the responsibility of forwarding them to the central Fluentd service over a secure channel (TLS). This decouples the application from the logging mechanism, offering an easy adoption path for audit logging and offloading the transmission burden.

Why Incorrect

B. Audit logging policies are managed by the audit logging controller, not deployed or managed by the Rsyslog sidecar, which is a log forwarder.
C. A sidecar container, by definition, runs within the same Pod and namespace as the main application, sharing its network and storage.
D. The primary benefit is the decoupling of log transport, not increased flexibility in log formats; the application must still produce a parsable format.

References

1. IBM Cloud Pak for Security V1.10 Documentation, "Audit logging in your product": This document describes the integration patterns for audit logging. It states, "The sidecar pattern is a good way to get started. Your application can write audit logs to stdout and a sidecar container can pick them up and forward them to the audit logging service." This supports the "easy adoption" aspect of the correct answer.

2. IBM Cloud Pak for Security V1.10 Documentation, "Enabling audit logging in your cluster": This section details the role of the sidecar in the architecture. It specifies, "To enable audit logging for a service, you can deploy it with an rsyslog sidecar. The sidecar sends the audit logs over TLS to the audit logging service's fluentd service." This confirms that the sidecar shifts the burden of transmitting messages.

Scroll to Top