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 3 / 10 · Domain 1: APM Fundamentals

You defined env:staging:east as a global tag. According to the rules in the official documentation, how are the key and the value interpreted?

  1. It is invalid as a tag because it contains two colons
  2. The key is env, and the value is staging:east
  3. It is not split into a key and a value, and the whole string is treated as one word
  4. The key is env:staging, and the value is east
Show the answer and explanation

Answer: B

Why this is correct
The documentation states that when using the key:value format, the key always precedes the first colon of the global tag definition. Its table shows that env:staging:east has the key env and the value staging:east, while env_staging:east has the key env_staging and the value east.

Why the other options are wrong
"The key is env:staging, and the value is east" … The key is everything before the first colon, so it cannot be split this way.
"It is invalid as a tag because it contains two colons" … Nothing says the tag becomes invalid. It is split at the first colon.
"It is not split into a key and a value, and the whole string is treated as one word" … The tag is split into a key and a value at the first colon. The documentation never describes the whole string being treated as one word.

Practical implication
A design where the value contains colons is possible, but putting a colon in a string you meant as the key creates an unintended split. If you want a key made of two words, join them with an underscore.

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

See the full practice set