exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

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

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 404 discussion

A company uses AWS X-Ray to monitor a serverless application. The components of the application have different request rates. The user interactions and transactions are important to trace, but they are low in volume. The background processes such as application health checks, polling, and connection maintenance generate high volumes of read-only requests.

Currently, the default X-Ray sampling rules are universal for all requests. Only the first request per second and some additional requests are recorded. This setup is not helping the company review the requests based on service or request type.

A developer must configure rules to trace requests based on service or request properties. The developer must trace the user interactions and transactions without wasting effort recording minor background tasks.

Which solution will meet these requirements?

  • A. Disable sampling for high-volume read-only requests. Sample at a lower rate for all requests that handle user interactions or transactions.
  • B. Disable sampling and trace all requests for requests that handle user interactions or transactions. Sample high-volume read-only requests at a higher rate.
  • C. Disable sampling and trace all requests for requests that handle user interactions or transactions. Sample high-volume read-only requests at a lower rate.
  • D. Disable sampling for high-volume read-only requests. Sample at a higher rate for all requests that handle user interactions or transactions.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
KennethNg923
Highly Voted 8 months, 1 week ago
Selected Answer: C
1. Ensures all important user interactions and transactions are traced (by disabling sampling for these). 2. Reduces the sampling rate for high-volume background tasks, which helps avoid wasting resources on less important requests.
upvoted 5 times
...
0bdf3af
Most Recent 1 month, 3 weeks ago
Selected Answer: D
D. Sampling for user requests - transactions and and interactions and disable tracing healthckes and so on. X-Ray answears for the question asked by user "why it took it so long?" C is not correct answear, because recording ALL requests (even low-volume requests) is overwhelming for the system
upvoted 1 times
...
piipo
9 months ago
Selected Answer: C
C: trace everything, not sample it.
upvoted 2 times
...
catoteja
9 months, 1 week ago
It’s C
upvoted 2 times
...
Mo_1981
9 months, 1 week ago
Selected Answer: D
D is correct Chatgpt explanation Focus on Important Traces: By disabling sampling for high-volume read-only requests such as health checks, polling, and connection maintenance, you can prevent these low-priority requests from overwhelming the tracing system. This ensures that the system resources are conserved for more critical user interactions and transactions. Higher Sampling Rate for User Interactions: By sampling at a higher rate for requests that handle user interactions or transactions, you can ensure that these important requests are traced more comprehensively. This allows for better monitoring and troubleshooting of the application where it matters most. Selective Tracing: This approach allows you to selectively trace and monitor requests based on their importance and volume. High-volume background tasks are sampled minimally or not at all, while low-volume but critical user interactions and transactions are sampled more frequently.
upvoted 4 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