Datadog Database Monitoring Fundamentals free question 1 / 10 · Domain 1: Datadog Database Monitoring Fundamentals
Two teams adopt Database Monitoring: one runs Postgres on its own virtual machines and the other runs Azure SQL. Where does the Datadog Agent run for each team?
- On a separate host for the self-hosted team, and on the managed instance itself for the Azure SQL team
- On a separate host for both teams, because the Agent does not share a host with a database
- On the database VM for the self-hosted team, and on a separate remote host for the Azure SQL team
- On the database VM for both teams, because the Agent has to read local files in that setup
Show the answer and explanation
Answer: C
Why this is correct
The Agent connects to the database as a SQL user, and where it runs depends on who controls the host. For self-hosted databases the Agent is installed directly on the database host. For cloud-managed databases such as Amazon RDS and Azure SQL there is no host to install on, so the Agent is configured to connect to the databases remotely.
Why the other options are wrong
"On a separate host for the self-hosted team, and on the managed instance itself for the Azure SQL team" … This reverses the layout. A managed service like Azure SQL does not let you install the Agent on the instance, so the Agent connects to it remotely.
"On the database VM for both teams, because the Agent has to read local files in that setup" … A managed database exposes no host to install on. For cloud-managed databases the Agent is configured to connect to the database remotely.
"On a separate host for both teams, because the Agent does not share a host with a database" … For self-hosted databases the page says to install the Agent directly onto the host that runs the database, which gives full visibility into the host.
Key points
Self-hosted means Agent on the database host; cloud-managed means Agent on another host reaching it remotely. The practical consequence is capacity planning: self-hosted Agents share resources with the database, while Agents for managed databases run on their own host and need network access to every instance they monitor. The documentation puts it this way: "It also connects to the database as a SQL user to collect data about database performance." "For self-hosted databases, you install the agent directly onto the host that is hosting your database."