Datadog-APM-and-Distributed-Tracing-Fundamentals practice question 25 of 25
You are the owner of the Payment API service. The frontend team gave the feedback that the Payment API takes 5 seconds to
Full set: 180 questionsThe Datadog trace search syntax allows for filtering on attributes using key-value pairs. To find traces for a specific service, you use service:. To filter by duration, you use the measured attribute @duration with numerical operators. The query @duration:>=5s correctly filters for all traces where the duration is greater than or equal to 5 seconds, matching the requirement to find calls that take "5 seconds to reply".
A. @duration:5s is too specific; it would only find traces that took exactly 5 seconds, not those that took longer, which is implied by the user's feedback.
C. @duration:high is not a valid search syntax. Durations must be queried with numerical values and operators, not qualitative terms.
D. @duration:p95 is invalid syntax. p95 is a statistical aggregation and cannot be used as a search value for an individual trace's duration.
1. Datadog Documentation, "Search and Filter". This page details the search syntax for traces. It explicitly states that for measures like duration, you can use comparison operators such as >, =, and Traces > Search and Filter)
2. Datadog Documentation, "Trace Search Syntax". Provides a comprehensive guide to constructing search queries, including examples for filtering on tags (like service) and measures (like @duration). (Datadog APM > Traces > Search and Filter > Search Syntax)
Keep practicing
Take the free Datadog-APM-and-Distributed-Tracing-Fundamentals practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other Datadog-APM-and-Distributed-Tracing-Fundamentals practice questions
- Question 1Which statement is true for trace metrics?
- Question 2Your web service has some 500 Internal Server Error showing up on the trace explorer page…
- Question 3What does the following code snippet do for RUM React Native Monitoring? config.firstPart…
- Question 4Your food ordering portal had an incident last week. You would like to offer a discount t…
- Question 5Which of the following actions require creating facets first?
- Question 6How long are traces retained?
