PCA (Prometheus Certified Associate) sample exam question with answer 550

Question:
What is the purpose of logging in observability?

  1. To measure the performance of a system
  2. To collect data about the behavior of a system
  3. To visualize the flow of requests through a system
  4. To identify and diagnose errors and issues in a system
Answer:
D - is the correct answer. Logging is a component of observability that involves capturing and storing data about the behavior of a system, such as requests and responses, errors and warnings, and system events. This data can be used to diagnose issues and errors in the system and to understand how the system is behaving over time