ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 40 - 300-910 discussion

Report
Export

Which step must be taken to enable centralized logging in a Kubernetes environment?

A.

No steps need to be taken. The master node automatically aggregates logs from all worker nodes and stores them on the specified persistent volume.

Answers
A.

No steps need to be taken. The master node automatically aggregates logs from all worker nodes and stores them on the specified persistent volume.

B.

Create a CustomResourceDefinition in each deployment that specifies the IP or names the log collector.

Answers
B.

Create a CustomResourceDefinition in each deployment that specifies the IP or names the log collector.

C.

Deploy a sidecar node that aggregates logs from the entire cluster.

Answers
C.

Deploy a sidecar node that aggregates logs from the entire cluster.

D.

Create a DaemonSet that deploys a container with a logging agent on every node in the cluster.

Answers
D.

Create a DaemonSet that deploys a container with a logging agent on every node in the cluster.

Suggested answer: D

Explanation:

To enable centralized logging in a Kubernetes environment, you must create a DaemonSet that deploys a container with a logging agent on every node in the cluster. This allows all of the logs from each node to be collected in one place, allowing for easier analysis and management. Reference:

Kubernetes Documentation, Logging Architecture.

asked 10/10/2024
N C
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first