Study. uk . com
  1. Home
  2. All questions
  3. Question 899

CKA study material · question 899 of 1000

An application writes its logs to a file rather than stdout, and the cluster has a node-level agent. What does a streaming sidecar achieve?

  1. It ships the file directly to the logging backend
  2. It rotates the application's log file
  3. It reads the file and reprints it to its own stdout
  4. It mounts the file into the node agent's container
Show the answer

Answer: C. It reads the file and reprints it to its own stdout

A streaming sidecar turns file output into stdout output, which the kubelet and the node agent already handle — no new collection path is needed.

Source: Logging Architecture (Kubernetes) — Cluster-level logging architectures › Using a sidecar container with the logging agent

Challenge yourself on this topic → Study as cards