Datadog Database Monitoring Fundamentals Practice Questions

Datadog Database Monitoring Fundamentals Certification exam preparation

Datadog Database Monitoring Fundamentals practice questions in English: 180 questions with explanations. The mock exam has 60 questions and 120 minutes.

Datadog Database Monitoring Fundamentals free question 4 / 10 · Domain 2: Database Monitoring (DBM) Configuration and Setup

A team cannot find explain plans for queries that run rarely or finish quickly. How does the advanced page suggest capturing them?

  1. Lower pg_stat_statements.max so that fewer normalized queries compete for room
  2. Lower collection_interval under query_samples so that samples are collected more often
  3. Raise collection_interval under query_samples so that samples are collected less often
  4. Raise track_activity_query_size so that longer statements are visible to the Agent
Show the answer and explanation

Answer: B

Why this is correct
Infrequent or fast queries are easy to miss when samples are taken only once per interval. The page says to raise the sampling rate by lowering the collection_interval value under query_samples in the instance configuration. The default is 1 second and the example sets it to 0.1.

Why the other options are wrong
"Raise collection_interval under query_samples so that samples are collected less often" … A larger interval means fewer samples. The page lowers the value to sample more often.
"Lower pg_stat_statements.max so that fewer normalized queries compete for room" … This reduces coverage of normalized queries. It does not raise the sampling rate of explain plans.
"Raise track_activity_query_size so that longer statements are visible to the Agent" … This addresses truncated SQL text. It does not make the Agent sample more often.

Key points
The troubleshooting page offers the same remedy for queries that are relatively infrequent or execute quickly: try raising the sampling rates. A shorter interval increases the work done by the Agent, so it is tuned only when needed. The documentation puts it this way: "If you have queries that are relatively infrequent or execute quickly, raise the sampling rate by lowering the collection_interval value to collect explain plans more frequently."

Go to the Datadog Database Monitoring Fundamentals practice app (10 free questions; purchase unlocks all questions)

See the full practice set