
Answer-first summary for fast verification
Answer: Use a schema-on-read approach where each log entry is stored as a JSON object.
A schema-on-read approach allows for flexibility in handling different log data formats without requiring schema changes. Storing log entries as JSON objects enables the system to handle evolving data structures without the need for frequent schema updates.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are designing a data model for AWS Lake Formation to store log data from various applications. The log data includes timestamps, log levels, messages, and application IDs. The model must support schema evolution to accommodate changes in log data formats. Which of the following strategies would be most effective?
A
Use a fixed schema with predefined columns for all possible log data fields.
B
Use a schema-on-read approach where each log entry is stored as a JSON object.
C
Create a new table for each new log data format.
D
Use a schema-less database to store log data.
No comments yet.