VMware vRealize Automation 8.x (VCP-CMA 2021) — Question 6
Which is the correct option to forward logs from Tanzu Kubernetes Grid clusters to Elastic, Kafka, Splunk or an HTTP endpoint?
Answer options
- A. No action is required. Tanzu Kubernetes Grid automatically forwards the logfiles to syslog.
- B. Use the kubectl get logs command to forward the logs
- C. Deploy the fluent bit plugin to vRealize Log Insight
- D. Deploy Fluent Bit to forward the logs
Correct answer: D
Explanation
The correct answer is D because deploying Fluent Bit allows for effective log forwarding to various endpoints. Option A is incorrect as automatic forwarding to syslog does not cover other specified destinations. Option B is wrong because kubectl get logs only retrieves logs and does not forward them. Option C is not the best solution for forwarding logs to the specified endpoints.