
Answer-first summary for fast verification
Answer: Creating sinks is necessary to export log entries, where each sink specifies the destination, format, and filter for the logs.
To export log entries to different storage systems such as Cloud Storage and BigQuery, you must create sinks. These sinks define the destination, format (e.g., JSON, Avro), and a filter for the logs you wish to export. Once a sink is established, logs are automatically exported according to the specified configuration. It's incorrect to say logs exported to Cloud Storage can only be viewed via the Cloud Storage Console; they can also be accessed using gsutil, Cloud SDK, and client libraries. Exporting logs to BigQuery is indeed possible, contrary to the notion that BigQuery isn't suitable for log storage. Lastly, while the Cloud Logging API facilitates reading, writing, and configuring log entries, setting up sinks is essential for exporting logs to Cloud Storage and BigQuery.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
When managing the Cloud Logging platform in Google Cloud Platform, how can you export log entries to different storage systems like Cloud Storage and BigQuery?
A
Log entries cannot be exported to BigQuery because it's designed for data analysis, not log storage.
B
The Cloud Logging API enables real-time log exports to Cloud Storage and BigQuery without the need for sinks.
C
Creating sinks is necessary to export log entries, where each sink specifies the destination, format, and filter for the logs.
D
Exported logs to Cloud Storage are exclusively viewable through the Cloud Storage Console.
No comments yet.