ExamGecko
Question list
Search
Search

Question 43 - 500-425 discussion

Report
Export

Java APM agents used in a production environment are consistently found to be disabled while no development environments exhibit this behavior Given that agents in both environments use the default configuration, what solution should be implemented to resolve this issue?

A.

Enable agent auto-restart in the controller Ul.

Answers
A.

Enable agent auto-restart in the controller Ul.

B.

Increase heap space for agent

Answers
B.

Increase heap space for agent

C.

Decrease worker thread count

Answers
C.

Decrease worker thread count

D.

Enable heap-storage-monitor-enabled setting on agent.

Answers
D.

Enable heap-storage-monitor-enabled setting on agent.

Suggested answer: D

Explanation:

One possible reason why Java APM agents used in a production environment are consistently found to be disabled while no development environments exhibit this behavior is that the production agents are running out of heap memory and crashing. This can happen if the production agents are monitoring a high volume of business transactions, metrics, or snapshots, and the default heap size is not sufficient to handle the load. To resolve this issue, you can enable the heap-storage-monitor-enabled setting on the agent, which allows the agent to monitor its own heap usage and automatically reduce the amount of data it collects when the heap usage reaches a certain threshold. This can help to prevent the agent from running out of memory and crashing.You can also adjust the heap-storage-monitor-threshold setting to specify the percentage of heap usage that triggers the data reduction1.Alternatively, you can also increase the heap space for the agent by using the -Xmx option in the agent startup script, but this may require more resources from the host machine2.

The other options are not valid solutions to resolve this issue. Enabling agent auto-restart in the controller UI will not prevent the agent from crashing due to heap exhaustion, but only restart the agent after it crashes.This may cause data loss and performance degradation3. Decreasing the worker thread count will not affect the heap usage of the agent, but only limit the number of concurrent tasks that the agent can execute. This may reduce the agent throughput and responsiveness.

https://docs.appdynamics.com/display/PRMY22/Java+Agent

https://docs.appdynamics.com/appd/23.x/latest/en/application-security-monitoring/cisco-secure-application-requirements

asked 11/10/2024
Akash Patel
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first