
Answer-first summary for fast verification
Answer: Export logs to a Pub/Sub topic and have Splunk subscribe to that topic.
Option A introduces unnecessary overhead by requiring the management of Cloud Functions. Option B is not feasible as direct export to Splunk is currently not supported. Option C, similar to A, adds overhead with Cloud Functions. Option D is the recommended method for exporting logs to third-party applications like Splunk, as it minimizes operational overhead by leveraging Pub/Sub for efficient log transfer. Reference: [Google Cloud Logging Export Documentation](https://cloud.google.com/logging/docs/export).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As the person in charge of designing the logging for an application, your company has tasked you with ensuring that logs are sent to the company's Splunk instance with minimal operational overhead. What is the best approach to achieve this?
A
Export logs to Cloud Storage buckets and utilize Cloud Functions to transfer them to Splunk.
B
Export logs directly to Splunk as the destination.
C
Export logs to a BigQuery dataset and use Cloud Functions to move them to Splunk.
D
Export logs to a Pub/Sub topic and have Splunk subscribe to that topic.
No comments yet.