AWS Certified Developer – Associate — Question 277

A developer is using Amazon CodeGuru Profiler. The developer has configured the application with the CodeGuru Profiler agent. However, when the application runs, the developer notices that a significant number of events are missing from the generated profile.

How can the developer reduce the number of missed events in the profile?

Answer options

Correct answer: A

Explanation

Decreasing the SamplingIntervalInMilliseconds property causes the profiler agent to sample the application's call stacks more frequently, which captures more granular data and reduces the number of missed events. Modifying the ReportingIntervalInMilliseconds property only changes how often collected data is sent to the service, which does not affect the granularity of the captured events. Increasing the SamplingIntervalInMilliseconds would have the opposite effect, resulting in fewer samples and potentially more missed events.