Prev Next

DevOps / AppDynamics Interview questions

How would you troubleshoot a suspected memory leak using AppDynamics?

AppDynamics won't point at the exact leaking object automatically, but it gives you the signal that narrows where to look and the tooling to confirm it, rather than guessing blind.

  1. Spot the trend: in the Metric Browser, watch heap usage (or a specific memory pool) over hours or days — a leak shows a saw-tooth pattern where garbage collection reclaims less each cycle, so the floor keeps rising.
  2. Correlate with GC metrics: rising GC frequency and duration alongside climbing heap usage suggests the JVM working harder to reclaim shrinking free space.
  3. Check for a matching Business Transaction pattern: see whether response times or error rates degrade on the same timeline, which tells you if the leak is customer-visible yet or still headroom.
  4. Trigger diagnostic actions: attach a policy to capture a heap dump (via a custom diagnostic action or Machine Agent extension) at a threshold, so you have an artifact to analyze offline with a tool like Eclipse MAT.

The key discipline is correlating the memory trend with deployment timestamps: if the saw-tooth pattern started right after a specific release, that release is the first place to look for a newly introduced leak, such as an unclosed resource or a growing cache with no eviction policy.

What pattern in heap usage typically suggests a memory leak?
What is a useful way to narrow down which release introduced a leak?

More Related questions...

Explain AppDynamics. What is Appdynamics? What is Application Performance Monitoring (APM)? What are agents and the controller in AppDynamics? What are the core components of the AppDynamics platform? Why is AppDynamics used? What is the Controller in AppDynamics? What is OpenTelemetry in Appdynamics? What is an App Agent in AppDynamics? What is Unified Monitoring in AppDynamics? What is a flow map in Appdynamics? What are the types of agents available in AppDynamics? What is a Business Transaction in AppDynamics? What is Appdynamics node? What is a Tier in AppDynamics? What is Galileo suite? What is a Node in AppDynamics? What is a Business Application in AppDynamics? What is the Application Flow Map? What is a Health Rule? What is a Policy in AppDynamics? What is a Transaction Snapshot? Define baseline in AppDynamics? What is the Machine Agent used for? What is End User Monitoring (EUM)? What is Database Visibility in AppDynamics? What are Backends in AppDynamics? Describe the Metric Browser in AppDynamics? What is the difference between a Tier and a Node in AppDynamics? How does AppDynamics automatically discover Business Transactions? What is the difference between automatic and custom Business Transaction match rules? How does AppDynamics correlate a transaction across multiple tiers? Why is the singularityheader important in transaction correlation? How does AppDynamics decide when to capture a transaction snapshot? What is dynamic baselining and how does it work? Why does the Java Agent use byte-code instrumentation? Explain the internal working of AppDynamics' byte-code instrumentation? What is a Service Endpoint in AppDynamics? What is an Information Point? What is a Data Collector in AppDynamics? When should you use custom match rules instead of automatic discovery? What is the difference between Slow, Very Slow, and Stalled transactions? How does AppDynamics calculate Average Response Time (ART)? What is the difference between the Machine Agent and the Network Agent? What is an Adaptive Session in AppDynamics? What is a thread dump and when does AppDynamics capture one automatically? How would you troubleshoot a suspected memory leak using AppDynamics? What are custom extensions for the Machine Agent? How does the Cluster Agent monitor Kubernetes environments? What is the difference between SaaS and On-Premises Controller deployments? How can you reduce AppDynamics agent overhead in a production environment? What is Business iQ / Analytics in AppDynamics? How does AppDynamics integrate with ITSM tools like ServiceNow or PagerDuty? What is the AppDynamics REST API used for? Explain the lifecycle of an alert from health rule violation to notification? What is the difference between Warning and Critical health rule severities? What are Instrumentation exclude rules and why would you use them? Explain the execution flow of a distributed transaction across microservices in AppDynamics?
Show more question and Answers...

GitHub Actions Interview Questions

Comments & Discussions