DVA-C02 exam dumps

DVA-C02 practice question 368 of 399

AWS Certified Developer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DVA-C02 Question 368

Select 3

A development team is working on a serverless application hosted in AWS. They are trying to ensure smooth operation and quick troubleshooting of their application. The team wants to understand the differences between logging, monitoring, and observability to apply the correct tools and techniques. Which statements correctly describe these concepts?

  1. A

    Logging involves recording discrete events or messages that occur during the operation of an application.

  2. B

    Monitoring focuses on collecting and analyzing metrics to measure the performance of a system over time.

  3. C

    Observability refers to the ability to infer the internal state of a system based on its external outputs, including logs, metrics, and traces.

  4. D

    Logging and monitoring are interchangeable terms and refer to the same set of activities.

  5. E

    Observability does not require logs or metrics and relies solely on application tracing.

Show answer and explanation

Correct answers: A, B, C

Explanation

Understanding the differences between logging, monitoring, and observability is critical for developers working on AWS applications. Logging provides raw event data, monitoring tracks system performance, and observability involves using various data sources (logs, metrics, and traces) to deduce the internal state of a system. Together, they form a comprehensive strategy for maintaining and troubleshooting applications in AWS.

  • A. Correct.

    Logging is indeed about recording discrete events or messages, such as errors, information, or debug data, which are used for troubleshooting and auditing purposes.

  • B. Correct.

    Monitoring is about collecting and analyzing metrics like CPU utilization, request latency, or memory usage to assess the system's performance and detect issues proactively.

  • C. Correct.

    Observability is a broader concept that encompasses using logs, metrics, and traces to understand the internal state of a system and debug complex issues.

  • D. Incorrect.

    This is incorrect because logging and monitoring are distinct concepts. Logging is about event data, while monitoring is about performance metrics.

  • E. Incorrect.

    This is incorrect because observability relies on logs, metrics, and traces collectively. Tracing alone is insufficient to make a system observable.

Timed practice exam

Take a DVA-C02 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam