exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 365 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 365
Topic #: 1
[All AWS Certified Developer Associate Questions]

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?

  • A. Set a lower value for the SamplingIntervalInMilliseconds property.
  • B. Set a lower value for the ReportingIntervalInMilliseconds property.
  • C. Set a higher value for the SamplingIntervalInMilliseconds property.
  • D. Set a higher value for the ReportingIntervalInMilliseconds property.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
almadeedo
Highly Voted 2 years, 4 months ago
Selected Answer: A
Choosing A. As stated in https://docs.aws.amazon.com/it_it/codeguru/latest/profiler-api/API_AgentConfiguration.html: SamplingIntervalInMilliseconds is The sampling interval in milliseconds that is used to profile samples ... and so: - Reducing (lower value) the sampling interval expressed in millisecond will increase the number of sampling, hence reduce the number of miss
upvoted 5 times
...
Ankit1010
Most Recent 2 years, 2 months ago
A To reduce the number of missed events in the profile, the developer should set a lower value for the SamplingIntervalInMilliseconds property. This property determines the frequency at which the profiler agent samples data from the application. By default, the SamplingIntervalInMilliseconds property is set to 10 milliseconds. However, if the application is generating a significant number of events that are being missed by the profiler, the developer can reduce the SamplingIntervalInMilliseconds property to a lower value, such as 1 millisecond, to increase the frequency of data sampling and capture more events in the profile.
upvoted 3 times
...
mrbig00
2 years, 5 months ago
Selected Answer: C
The correct answer is C. To reduce the number of missed events in the profile, the developer should set a higher value for the SamplingIntervalInMilliseconds property. This property controls the sampling rate of the agent, and setting a higher value will result in the agent collecting more data. Option A is incorrect because setting a lower value for the SamplingIntervalInMilliseconds property would result in the agent collecting less data, leading to more missed events in the profile. Option B is incorrect because the ReportingIntervalInMilliseconds property does not affect the number of missed events in the profile. This property controls how often the agent sends data to CodeGuru Profiler. Option D is incorrect because setting a higher value for the ReportingIntervalInMilliseconds property would not affect the number of missed events in the profile. This property only controls how often the agent sends data to CodeGuru Profiler.
upvoted 1 times
LittleSoap
2 years, 1 month ago
Option A is the correct answer because by reducing the interval at which you sample, you have less chances of missing events
upvoted 1 times
...
...
DrCloud
2 years, 5 months ago
Selected Answer: A
https://docs.aws.amazon.com/it_it/codeguru/latest/profiler-api/API_AgentConfiguration.html
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago