Datadog Database Monitoring Fundamentals free question 9 / 10 · Domain 5: Database Troubleshooting and Optimization
Bits Chat recommends a new index for a slow query. What does the documentation say about applying the change?
- Bits Chat includes the SQL in its response, and the team reviews and applies it
- Bits Chat schedules the index in a maintenance window, and the team approves the report
- Bits Chat creates the index through the Agent database user, and the team confirms it
- Bits Chat applies the index in the non-production databases, and the team marks them
Show the answer and explanation
Answer: A
Why this is correct
When a recommended fix involves a SQL change, such as a new index or a query rewrite, Bits Chat includes the SQL in its response. The page states that Bits Chat never connects to your database or runs SQL against it, because recommended changes are for you to review and apply. The team therefore carries out the change itself.
Why the other options are wrong
"Bits Chat schedules the index in a maintenance window, and the team approves the report" … The page says Bits Chat never connects to your database or runs SQL against it, so it cannot schedule or apply an index.
"Bits Chat creates the index through the Agent database user, and the team confirms it" … The page says Bits Chat never connects to your database, so no database user is used by it to change anything.
"Bits Chat applies the index in the non-production databases, and the team marks them" … It never connects to the database or runs SQL against it, whatever the environment.
Key points
The investigation ends with a structured report that covers what happened, why, the supporting evidence, the root cause and the recommended fixes. The documentation puts it this way: "If a recommended fix involves a SQL change (a new index, a query rewrite), Bits Chat includes the SQL in its response. Bits Chat never connects to your database or runs SQL against it, as recommended changes are for you to review and apply."