DVA-C02 exam dumps

DVA-C02 practice question 367 of 399

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

DVA-C02 Question 367

Single answer

A developer is building a serverless application on AWS and needs to troubleshoot performance issues and understand system behavior. The developer is considering the use of logging, monitoring, and observability tools. Which statement correctly explains the difference between these three concepts?

  1. A

    Logging focuses on capturing raw event data such as application errors or API access logs, while monitoring uses metrics to track system health and performance.

  2. B

    Monitoring is primarily concerned with generating logs, while logging provides aggregated metrics to track the overall performance of a system.

  3. C

    Observability refers to setting up CloudWatch alarms for real-time notifications, while monitoring focuses on collecting logs and metrics.

  4. D

    Logging, monitoring, and observability are interchangeable terms that all refer to tracking system health using CloudWatch.

Show answer and explanation

Correct answer: A

Explanation

Understanding the differences between logging, monitoring, and observability is crucial for developers working on AWS. Logging captures detailed event data, monitoring tracks system metrics over time, and observability enables developers to infer system behavior and identify issues using a combination of logs, metrics, and traces. Each plays a distinct role in maintaining and troubleshooting applications.

  • A. Correct.

    This is correct. Logging captures raw event data (e.g., errors, API calls), while monitoring uses metrics (e.g., CPU utilization) to track system health and performance. Observability builds on these concepts to help developers understand system behavior in a holistic way.

  • B. Incorrect.

    This is incorrect. Monitoring does not generate logs, and logging does not provide aggregated metrics. These are distinct processes with different purposes.

  • C. Incorrect.

    This is incorrect. Observability is not just about setting up alarms; it encompasses the ability to infer system behavior through the combination of logs, metrics, and traces.

  • D. Incorrect.

    This is incorrect. Logging, monitoring, and observability are related but not interchangeable. Each serves a unique purpose in understanding and managing system performance.

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