Datadog APM & Distributed Tracing Fundamentals Practice Questions

Datadog APM & Distributed Tracing Fundamentals Certification exam preparation

Datadog APM & Distributed Tracing Fundamentals practice questions in English: 180 questions with explanations. The mock exam has 90 questions and 120 minutes.

Datadog APM & Distributed Tracing Fundamentals free question 8 / 10 · Domain 3: Insight Discovery

You want to pull out only the spans whose HTTP status code is in the 400s. Which numeric range search does the official documentation show?

  1. Join the bounds with a hyphen and write @http.status_code:400-499
  2. Chain two comparisons and write @http.status_code:>=400 AND <=499
  3. Fill the digits with question marks and write @http.status_code:4?? to match a three-digit code
  4. Wrap the bounds in square brackets with TO and write @http.status_code:[400 TO 499]
Show the answer and explanation

Answer: D

Why this is correct
The Numerical values part of the query syntax page says you can use the comparison operators on numerical attributes, with @http.response_time:>100 as the example for traces whose response time is over 100ms. It then adds that you can also search numerical attributes within a specific range, and shows @http.status_code:[400 TO 499] as the way to retrieve all your 4xx errors. The range is written in square brackets with the word TO between the bounds.

Why the other options are wrong
"Join the bounds with a hyphen and write @http.status_code:400-499" … A hyphenated range is not shown anywhere on the page, and a hyphen is easily mistaken for an exclusion symbol.
"Fill the digits with question marks and write @http.status_code:4?? to match a three-digit code" … The question mark appears in the list of special characters that need escaping. It is not a range operator.
"Chain two comparisons and write @http.status_code:>=400 AND <=499" … The comparison operators are valid, but the second condition here has no attribute name, and this is not the range form the page shows.

Related setting
A comparison operator cuts one side of a boundary, while square brackets with TO enclose both sides. The same page also shows that measures can carry units, for example writing 20ms against a duration.

Go to the Datadog APM & Distributed Tracing Fundamentals practice app (10 free questions; purchase unlocks all questions)

See the full practice set