PCA (Prometheus Certified Associate) sample exam question with answer 86
Question:
Which of the following best describes the difference between logs and events?
- Logs are more structured and formatted, while events are unstructured
- Logs are real-time, while events are historical
- Logs record system state changes, while events capture system or user actions
- Logs and events are the same thing
Answer:
C - Logs are typically used to record system state changes and provide a historical record of what happened on a system.
Events, on the other hand, capture system or user actions that are often triggered by specific occurrences, such as the arrival of a message or a user login