
Answer-first summary for fast verification
Answer: Export logs to a Pub/Sub topic and have Splunk subscribe to this topic.
Option D is the recommended approach for exporting logs to third-party applications like Splunk, as it minimizes operational overhead by leveraging Pub/Sub for efficient log transfer. Option A and C introduce unnecessary overhead by involving Cloud Functions. Option B is not feasible as direct export to Splunk is not currently supported. Option D aligns with best practices for log exportation to external systems.
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 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 a BigQuery dataset and use Cloud Functions to transfer them to Splunk.
B
Export logs directly to Splunk as the destination.
C
Export logs to Cloud Storage buckets and utilize Cloud Functions to copy them to Splunk.
D
Export logs to a Pub/Sub topic and have Splunk subscribe to this topic.
No comments yet.