Tools / Monitoring and Observability Interview Questions
What is application performance monitoring (APM) and how does it differ from infrastructure monitoring?
Application Performance Monitoring (APM) focuses on the behavior and performance of your application code — transaction tracing, method-level timing, database query performance, external API call latency, memory allocations, and error rates at the code level. APM tools like Datadog APM, New Relic APM, Dynatrace, and Elastic APM instrument your code (often via agents) to collect this data with minimal manual effort.
Infrastructure monitoring, in contrast, focuses on the resources that your application runs on: CPU utilization, memory, disk I/O, network throughput, and availability of the underlying VMs, containers, or bare-metal hosts. Tools like Prometheus + Node Exporter, Datadog Infrastructure, or CloudWatch cover this layer.
The distinction matters for diagnosis. If your service's p99 latency spikes:
- Infrastructure monitoring tells you whether the host is CPU-throttled or network-saturated.
- APM tells you which specific database query or downstream API call accounts for the added latency, and on which line of code it originates.
Modern APM platforms increasingly blur this distinction by correlating application traces with host metrics and logs in a single UI, but the conceptual separation remains useful: infrastructure monitoring is about the box; APM is about the code running on that box.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
