Exam 2v0-7123 All QuestionsBrowse all questions from this exam
Question 2

An administrator set the following value: ENABLE_AUDIT_LOGGING=true during a cluster deployment. What was the purpose of this setting?

    Correct Answer: A

    The purpose of setting ENABLE_AUDIT_LOGGING=true during a cluster deployment is to log metadata about all requests made to the Kubernetes API server. This setting enables audit logging, which helps in tracking and recording all the interactions with the API server for security and compliance purposes.

Discussion
contributorOption: A

A. Log metadata about all requests made to the Kubernetes API server. 6-8 About Kubernetes Audit Logging Kubernetes audit logging: • Is enabled by setting ENABLE_AUDIT_LOGGING=true when deploying a cluster • Logs metadata about all requests made to the Kubernetes API server • Logs audit events to the /var/log/kubernetes/audit.log file on each control plane node • Is included in the logs sent to the logging server by Fluent Bit ENABLE_AUDIT_LOGGING=true can be set in several ways: • Select the Enable Audit Logging check box when using the installer. • Enable audit logging in the cluster configuration file.