CertSafari

    Free Datadog Fundamentals Sample Questions

    35 free sample questions from our bank of 371+, covering every exam domain, with answers and detailed explanations. Updated August 2026.

    Domain 1: Essential Concepts

    Subdomain 1.1: Config File Modification

    1.What action must be taken immediately after modifying the datadog.yaml file for the changes to take effect?

    1. A.Refresh the Datadog web UI
    2. B.Restart the Datadog Agent service
    3. C.Run the datadog-agent update command
    4. D.Reboot the host machine
    Show answer & explanation

    Correct answer: BRestart the Datadog Agent service

    • A. Refreshing the Datadog web UI does not affect the Agent's local configuration. The web UI is primarily used for visualization and backend monitoring settings; it does not communicate back to the agent process to trigger a configuration reload.
    • B. Restarting the Datadog Agent service is necessary because the Agent process reads its configuration file (datadog.yaml) at startup. For any manual changes in the yaml file to be applied, the process must be restarted using commands like `systemctl restart datadog-agent` or `service datadog-agent restart`.
    • C. There is no specific 'datadog-agent update' command designed to apply configuration changes. Update commands are generally used for upgrading the Agent binary rather than reloading settings.
    • D. While rebooting the host machine would restart the Datadog Agent and apply the changes, it is an unnecessarily disruptive action. A simple restart of the agent service is sufficient and preferred over a full system reboot.

    Subdomain 1.1: Config File Modification

    2.How can you override a configuration setting defined in datadog.yaml without modifying the file directly?

    1. A.By using Datadog environment variables (e.g., DD_API_KEY)
    2. B.By updating the setting in the Datadog UI
    3. C.By adding a .override file in the same directory
    4. D.By passing the setting as a URL parameter
    Show answer & explanation

    Correct answer: ABy using Datadog environment variables (e.g., DD_API_KEY)

    • A. Correct. Datadog allows configuration keys to be overridden using environment variables prefixed with 'DD_'. This takes precedence over settings defined in datadog.yaml and is the standard approach for containerized environments (like Docker or Kubernetes) or automated deployments where file modification is impractical.
    • B. Incorrect. The Datadog UI is used for visualizing data, managing monitors, and configuring platform-level features, but it cannot directly override or modify the local configuration settings stored in a specific Agent's datadog.yaml file.
    • C. Incorrect. Datadog does not recognize a .override file for its core configuration. While specific integrations use files within the conf.d directory, the global datadog.yaml settings are overridden via environment variables or agent startup options.
    • D. Incorrect. URL parameters are used for interacting with the Datadog API or navigating the web interface, but they are not a valid or supported method for defining or overriding Datadog Agent configuration settings.

    Subdomain 1.3: Programming Languages

    3.Which repository contains the officially maintained integrations that ship bundled with the Datadog Agent?

    1. A.integrations-core
    2. B.integrations-extras
    3. C.agent-checks-official
    4. D.datadog-plugins
    Show answer & explanation

    Correct answer: Aintegrations-core

    • A. integrations-core holds the officially developed and supported integrations that Datadog packages directly into the Agent.
    • B. integrations-extras holds community-developed integrations that are not packaged with the Agent by default.
    • C. agent-checks-official is not the name of a real Datadog integrations repository.
    • D. datadog-plugins is not the name of a real Datadog integrations repository.

    Subdomain 1.3: Programming Languages

    4.Which configuration option, set at the instance level in a check's YAML file, controls the minimum number of seconds between successive runs of that check?

    1. A.`min_collection_interval`
    2. B.`collection_delay`
    3. C.`polling_frequency`
    4. D.`check_interval_seconds`
    Show answer & explanation

    Correct answer: A`min_collection_interval`

    • A. `min_collection_interval` is the instance-level setting, defaulting to 15 seconds, that controls how frequently a given check instance is run.
    • B. `collection_delay` is not a real Datadog Agent check configuration key.
    • C. `polling_frequency` is not the documented setting name used in Agent check configuration.
    • D. `check_interval_seconds` is not the actual key used in the Agent checks framework.

    Subdomain 1.2: Operating Systems

    5.On a Linux host, where is the Datadog Agent's main configuration file (`datadog.yaml`) located by default?

    1. A./etc/datadog-agent/datadog.yaml
    2. B./opt/datadog-agent/etc/datadog.yaml
    3. C./usr/local/datadog-agent/datadog.yaml
    4. D./var/lib/datadog-agent/datadog.yaml
    Show answer & explanation

    Correct answer: A/etc/datadog-agent/datadog.yaml

    • A. This is correct: on Linux the Agent package installs its main configuration file under /etc/datadog-agent/, which is the standard location for host-level daemon configuration.
    • B. This path is where macOS keeps datadog.yaml, not Linux, so it does not match the Linux packaging layout.
    • C. The Agent package does not place configuration under /usr/local/datadog-agent/; that path is not used by the standard Linux install.
    • D. /var/lib/ is typically used for variable application state data, not for the Agent's primary configuration file.

    Subdomain 1.4: Hardware Concepts

    6.How does a virtual machine (VM) differ from a container in terms of hardware resource usage?

    1. A.A VM shares the host operating system's kernel directly, while a container virtualizes its own dedicated physical hardware.
    2. B.A VM runs a full guest operating system atop virtualized hardware, while a container shares the host OS kernel directly.
    3. C.A VM and a container both require a dedicated physical server with no hardware resources shared between them.
    4. D.A VM stores its data exclusively in memory, while a container stores its data exclusively on a physical hard disk.
    Show answer & explanation

    Correct answer: BA VM runs a full guest operating system atop virtualized hardware, while a container shares the host OS kernel directly.

    • A. This reverses the two technologies: it is the container that shares the host's kernel, while a VM runs its own separate guest operating system on virtualized hardware.
    • B. This is correct because a VM includes a complete guest operating system running on emulated hardware, whereas a container shares the host kernel and only packages the application and its dependencies.
    • C. Both VMs and containers are designed to share the underlying physical server's resources among multiple workloads, so requiring a fully dedicated server for each is not accurate.
    • D. Neither technology is limited to a single storage medium in this way; both VMs and containers can use memory and disk storage as needed for their workloads.

    Subdomain 1.5: Shell

    7.Which Datadog Agent CLI subcommand prints all the configuration files that the running Agent has actually loaded and resolved, including any that failed to parse?

    1. A.configcheck
    2. B.status
    3. C.hostname
    4. D.version
    Show answer & explanation

    Correct answer: Aconfigcheck

    • A. This is correct: this subcommand lists every configuration file the Agent loaded and resolved at runtime, which is why it is used to confirm a check's config was picked up.
    • B. This subcommand shows overall Agent and integration health, but it does not list which specific configuration files were loaded and resolved.
    • C. This subcommand only prints the hostname the Agent is using and has no connection to configuration file loading.
    • D. This subcommand only prints Agent version information and does not report on loaded configuration files.

    Subdomain 1.7: Networking

    8.A security team wants to allowlist Datadog's outbound destinations in a strict corporate firewall, but they are concerned that hardcoding a single IP address will break connectivity over time. What does Datadog recommend?

    1. A.Allowlist the published Datadog IP ranges, since the specific addresses can change over time.
    2. B.Allowlist a single static IP address obtained once from a DNS lookup of the Agent endpoint.
    3. C.Disable the firewall for the subnet where Agents run to avoid connectivity issues entirely.
    4. D.Allowlist only the Agent's local loopback address, since that is where DogStatsD listens.
    Show answer & explanation

    Correct answer: AAllowlist the published Datadog IP ranges, since the specific addresses can change over time.

    • A. This is correct. Datadog publishes IP ranges per site and recommends allowlisting the full ranges, because individual addresses within them can change due to routine network maintenance.
    • B. This is incorrect. A single IP captured from one DNS lookup is not stable; Datadog's backend addresses rotate within published ranges, so a static single address can silently break connectivity.
    • C. This is incorrect. Disabling the firewall removes necessary protections and is not the recommended approach; the guidance is to allowlist specific published ranges instead.
    • D. This is incorrect. The loopback address only handles local traffic such as DogStatsD submissions on the host and has no bearing on outbound firewall rules to Datadog.

    Subdomain 1.6: Metadata

    9.On Linux and macOS hosts, what is the default state of the `hostname_fqdn` configuration option?

    1. A.Disabled, so the Agent does not report the fully-qualified domain name by default
    2. B.Enabled, so the Agent always reports the fully-qualified domain name by default
    3. C.Disabled, so the Agent reports only the numeric EC2 instance ID by default
    4. D.Enabled, so the Agent ignores any manually configured hostname value by default
    Show answer & explanation

    Correct answer: ADisabled, so the Agent does not report the fully-qualified domain name by default

    • A. On Linux and macOS this setting is off by default, meaning the Agent does not automatically switch to reporting a fully-qualified domain name unless it is explicitly turned on. This matches the documented default behavior.
    • B. The setting is not enabled by default on these platforms, so the Agent does not automatically report an FQDN unless the option is turned on.
    • C. This option only controls FQDN reporting and has no relationship to reporting a numeric EC2 instance ID, so this description is incorrect.
    • D. This option does not cause the Agent to ignore manually configured hostnames, and it is not enabled by default, so this description is incorrect.

    Subdomain 1.6: Metadata

    10.A newly launched EC2 instance has no `hostname` value configured in `datadog.yaml`, and its system hostname resolves to a generic pattern like `ip-10-0-1-23`. Which value will the Agent use as the canonical hostname?

    1. A.The EC2 instance ID retrieved from AWS cloud metadata
    2. B.The generic `ip-10-0-1-23` system hostname as-is
    3. C.A hostname manually typed in during Agent installation
    4. D.The Kubernetes node name assigned by the cluster
    Show answer & explanation

    Correct answer: AThe EC2 instance ID retrieved from AWS cloud metadata

    • A. With no configured hostname and a generic system hostname, the Agent falls through to the EC2 instance ID from cloud metadata as the next usable candidate, matching the documented resolution order.
    • B. The generic system hostname pattern is specifically the kind of value the resolution logic skips over, so it would not be used as the canonical hostname here.
    • C. No manual hostname was configured in this scenario, so there is no typed-in value for the Agent to fall back on.
    • D. A Kubernetes node name only applies when the Agent is running inside a Kubernetes cluster, which is not the case for this standalone EC2 instance.

    Domain 2: Infrastructure Development

    Subdomain 2.4: Running the Agent

    11.You have just modified the datadog.yaml file to add a new custom tag to your host. What must you do next for the Datadog Agent to apply this configuration change?

    1. A.Wait 5 minutes for the Agent to auto-reload the file.
    2. B.Restart the Datadog Agent service.
    3. C.Run the datadog-agent configcheck command.
    4. D.Reboot the host machine.
    Show answer & explanation

    Correct answer: BRestart the Datadog Agent service.

    • A. The Datadog Agent does not automatically poll or reload the main datadog.yaml configuration file after a fixed interval. Manual intervention is required for the Agent to recognize and apply updates to the core configuration.
    • B. Restarting the Datadog Agent service (e.g., using 'systemctl restart datadog-agent' on Linux) is the standard and necessary way to ensure the Agent re-reads the datadog.yaml file and applies new settings or tags to the host.
    • C. The 'datadog-agent configcheck' command is used to validate the syntax and integrity of your configuration files to identify errors, but it does not reload the Agent or apply the changes to the running service.
    • D. While rebooting the host machine would cause the Agent service to restart and pick up the changes, it is an unnecessarily disruptive and extreme measure when a simple service restart is sufficient.

    Subdomain 2.1: Agent Installation

    12.By default, over which outbound port does the Datadog Agent send data to the Datadog platform?

    1. A.80
    2. B.8125
    3. C.443
    4. D.8126
    Show answer & explanation

    Correct answer: C443

    • A. Port 80 is the default port for unencrypted HTTP traffic. For security, the Datadog Agent sends data encrypted over HTTPS, and does not use plain HTTP (Port 80) for outbound communication.
    • B. Port 8125 is the default port for DogStatsD. It is an inbound port used by applications to send custom metrics to the local Agent, rather than an outbound port used by the Agent to communicate with the Datadog platform.
    • C. The Datadog Agent sends data to the Datadog platform over HTTPS, which by default uses outbound port 443. This is the standard port for secure web traffic and is used for uploading metrics, traces, and logs.
    • D. Port 8126 is used locally by the Trace Agent to receive APM traces from instrumented applications. Like port 8125, it is an internal communication port for the Agent, not an outbound port to the Datadog platform.

    Subdomain 2.3: Application Key

    13.Which of the following best describes the difference between an API Key and an Application Key in Datadog?

    1. A.API keys are used to query data, while Application keys are used to send data.
    2. B.API keys are tied to specific users, while Application keys are tied to the organization.
    3. C.API keys are used by the Agent to submit data, while Application keys are used to manage Datadog resources via the API.
    4. D.API keys expire after 30 days, while Application keys never expire.
    Show answer & explanation

    Correct answer: CAPI keys are used by the Agent to submit data, while Application keys are used to manage Datadog resources via the API.

    • A. Incorrect. The roles are generally the opposite: API keys are primarily used to submit data (like metrics and logs) to Datadog, while Application keys are used to authenticate requests to query data or manage Datadog resources.
    • B. Incorrect. This reverses the actual ownership model in Datadog. API keys are organization-wide and used for submitting data, whereas Application keys are associated with a specific user and inherit that user's permissions.
    • C. Correct. API keys are used by the Datadog Agent and other clients to submit telemetry data (metrics, logs, traces) to the platform. Application keys are used to authenticate API calls that manage or query Datadog resources, such as dashboards and monitors, and are scoped to the permissions of the user who created them.
    • D. Incorrect. Datadog does not impose a default 30-day expiration on either API or Application keys. Both remain valid until they are manually revoked or rotated by an administrator or the key's owner.

    Subdomain 2.3: Application Key

    14.What is required alongside an Application Key to successfully make a request to the Datadog API?

    1. A.A Datadog API Key
    2. B.A user password
    3. C.An SSH key
    4. D.A SAML token
    Show answer & explanation

    Correct answer: AA Datadog API Key

    • A. Correct. To authenticate requests to the Datadog API, both an API key and an Application key are typically required. The API key authenticates the organization account, while the Application key identifies the specific user or application and carries their associated permissions.
    • B. Incorrect. User passwords are intended for interactive login via the Datadog web interface. Programmatic API access relies on API and Application keys rather than account passwords.
    • C. Incorrect. SSH keys are used for secure shell access to remote servers and infrastructure. They are not used for authenticating HTTP requests to the Datadog API.
    • D. Incorrect. SAML tokens are utilized for Single Sign-On (SSO) and identity federation during the user login process. They do not replace the API and Application key requirement for programmatic API interactions.

    Subdomain 2.2: API Key

    15.Scenario: You are deploying the Datadog Agent to 50 new servers across two different environments: Staging and Production. You want to ensure that if the Staging environment is compromised, you can revoke its access to send data without affecting Production. How should you utilize API keys to achieve this?

    1. A.Use the same API key for all servers but assign different Application keys to each environment.
    2. B.Create a separate API key for each environment and configure the respective Agents with their specific key.
    3. C.Use a single API key and rely on Datadog UI filters to drop data from compromised environments.
    4. D.API keys cannot be used to isolate environments; you must use separate Datadog organizations.
    Show answer & explanation

    Correct answer: BCreate a separate API key for each environment and configure the respective Agents with their specific key.

    • A. Incorrect. API keys are required for the Agent to send data, whereas Application keys are used for programmatic access to the Datadog API (e.g., for automation or querying). Using the same API key for all servers fails to provide isolation; revoking it would stop data ingestion for both environments.
    • B. Correct. Creating separate API keys for each environment (Staging and Production) allows you to rotate or revoke the specific key used by the Staging environment without impacting the data flow from the Production environment. This provides the necessary security isolation for data ingestion.
    • C. Incorrect. Datadog UI filters only control how data is displayed or queried and do not prevent the Agent from authenticating and sending data to Datadog. To effectively block a compromised environment, you must revoke the credentials (the API key) used for ingestion.
    • D. Incorrect. While using separate Datadog organizations is a valid way to isolate data entirely, it is not required for this scenario. Multiple API keys can be generated and managed within a single organization to provide independent access control for different environments.

    Subdomain 2.5: Agent Hostname

    16.What command can you run on the host to verify the hostname that the Datadog Agent has resolved and is currently using?

    1. A.datadog-agent status
    2. B.datadog-agent check-host
    3. C.datadog-agent config
    4. D.datadog-agent verify
    Show answer & explanation

    Correct answer: Adatadog-agent status

    • A. Correct. Running 'datadog-agent status' provides a comprehensive summary of the Agent's runtime state. The resolved hostname is explicitly listed at the top of the output under the Agent Information section, making it the standard tool for verifying the hostname being used.
    • B. Incorrect. 'datadog-agent check-host' is not a valid Datadog Agent command. While 'datadog-agent check <check_name>' exists to test specific integrations, it does not display the Agent's resolved hostname.
    • C. Incorrect. 'datadog-agent config' (or 'datadog-agent configcheck') is used to display the Agent's configuration settings. While it might show a manually configured 'hostname' parameter, it does not confirm the actual hostname resolved by the Agent at runtime if it was automatically detected.
    • D. Incorrect. 'datadog-agent verify' is not a standard subcommand for inspecting hostname resolution or general Agent status.

    Domain 3: Networking & Agent Configuration

    Subdomain 3.2: Datadog IP Addresses

    17.Where can you find the official, up-to-date list of Datadog IP addresses?

    1. A.In the Datadog Agent configuration file (datadog.yaml)
    2. B.By querying the ip-ranges.datadoghq.com JSON endpoint
    3. C.By running the datadog-agent info command on your host
    4. D.In the Datadog application under Organization Settings
    Show answer & explanation

    Correct answer: BBy querying the ip-ranges.datadoghq.com JSON endpoint

    • A. The Datadog Agent configuration file (datadog.yaml) is used to define local Agent settings and target site endpoints, but it does not contain the authoritative, up-to-date list of Datadog's public IP ranges required for network allowlisting.
    • B. Datadog publishes its official, up-to-date IP ranges via the ip-ranges.datadoghq.com JSON endpoint (and its regional equivalents). This endpoint is specifically maintained for programmatic retrieval to automate the configuration of firewalls and network access control lists.
    • C. The 'datadog-agent info' (or status) command provides diagnostic information and configuration details for the specific Agent instance running on a host, but it does not return the global list of Datadog public IP addresses.
    • D. While Organization Settings in the Datadog application manage account-level configurations like API keys and user memberships, the official source for network IP ranges is the dedicated IP ranges JSON endpoint and technical documentation.

    Subdomain 3.2: Datadog IP Addresses

    18.When configuring a firewall for Datadog Log Management, which section of the Datadog IP ranges JSON file specifies the destination IPs for log traffic?

    1. A.api
    2. B.logs
    3. C.process
    4. D.synthetics
    Show answer & explanation

    Correct answer: Blogs

    • A. Incorrect. The 'api' section lists IP ranges used for Datadog API endpoints and general API-related traffic. While allowing these ranges is important for many Agent operations, it does not cover the specific endpoints used for log ingestion.
    • B. Correct. The 'logs' section of the Datadog IP ranges JSON file specifically designates the destination IP addresses used for log ingestion. This is the section referenced when configuring outbound firewall rules for Datadog Log Management.
    • C. Incorrect. The 'process' section contains IP ranges dedicated to Process Monitoring and process-agent traffic, which are separate from log management traffic.
    • D. Incorrect. The 'synthetics' section lists IP addresses for Synthetic Monitoring endpoints (such as browser and API tests) and is not used for log ingestion traffic.

    Subdomain 3.1: Datadog Ports

    19.What is the default port used for Inter-Process Communication (IPC) between the core Datadog Agent and its various components?

    1. A.5000
    2. B.5001
    3. C.5002
    4. D.5033
    Show answer & explanation

    Correct answer: B5001

    • A. Port 5000 is not the default port used for IPC within the Datadog Agent architecture. It is commonly associated with other web services (like Flask) but is not part of Datadog's default internal configuration.
    • B. Port 5001 is the default port used for Inter-Process Communication (IPC) between the core Datadog Agent and its various components (such as the Trace Agent or Process Agent). This port hosts the Agent's internal API and is used by the Agent CLI to communicate with the running Agent process.
    • C. Port 5002 is not used for internal communication or IPC within the Datadog Agent. It is not a standard port in Datadog's core configuration.
    • D. Port 5033 is not a default port associated with the Datadog Agent's IPC or any other standard core agent services.

    Subdomain 3.3: Auto-discovery

    20.Your team is running multiple containers from the same NGINX image, but they expose different ports. You want the Datadog Agent to automatically monitor all of them without hardcoding the ports in a configuration file. How does Auto-discovery handle this?

    1. A.It requires a separate datadog.yaml file for each container.
    2. B.It uses the %%port%% template variable to dynamically detect the exposed port of each container.
    3. C.It scans all ports from 1 to 65535 until it finds an active NGINX service.
    4. D.It relies on the Datadog API to query the cloud provider for port mappings.
    Show answer & explanation

    Correct answer: BIt uses the %%port%% template variable to dynamically detect the exposed port of each container.

    • A. Incorrect. Auto-discovery is designed to eliminate the need for manual configuration for each container instance. It uses dynamic templates rather than requiring a separate datadog.yaml file for every individual container.
    • B. Correct. Datadog Auto-discovery supports template variables like %%port%%, %%host%%, and %%tags%%. These variables are automatically populated at runtime from container metadata, allowing the Agent to configure checks for each NGINX instance without hardcoding specific port numbers.
    • C. Incorrect. The Agent does not brute-force scan all ports (1 to 65535), as this would be highly inefficient. Instead, it uses metadata from the container runtime (like Docker or Kubernetes) to identify the specific ports exposed by the container.
    • D. Incorrect. Auto-discovery relies on local container-level metadata (labels, annotations, or runtime info) accessed via the container engine or orchestrator (Kubelet/Docker socket) rather than querying the Datadog API or cloud provider for port mappings.

    Domain 4: Data Collection

    Subdomain 4.1: DogStatsD

    21.In the DogStatsD metric submission format `users.online:10|g|#env:prod`, what does the `g` represent?

    1. A.The metric is a Gauge.
    2. B.The metric is grouped.
    3. C.The metric is global.
    4. D.The metric is a Gigabyte value.
    Show answer & explanation

    Correct answer: AThe metric is a Gauge.

    • A. Correct. The 'g' indicates the metric type is a Gauge. A Gauge represents a single numerical value that can go up or down over time, reflecting an instantaneous state (e.g., current temperature, memory usage, or number of users online).
    • B. Incorrect. Grouping is not indicated by the 'g' suffix. Metric grouping or categorization in Datadog is typically managed via tags or metric naming conventions, not the type identifier.
    • C. Incorrect. The 'g' does not represent a global metric. The scope or visibility of the metric is handled through tags (like '#env:prod') or aggregation settings, rather than the metric type letter.
    • D. Incorrect. The 'g' specifically denotes the metric type 'Gauge' and does not represent a unit of measurement like Gigabytes. Units should be defined in the metric metadata or as part of the metric name.

    Subdomain 4.4: API Endpoints

    22.What is the recommended best practice for managing Datadog API and Application keys in your custom scripts?

    1. A.Hardcode them directly into the source code for faster execution.
    2. B.Store them securely using environment variables or a secrets manager.
    3. C.Share them in public code repositories so the whole team can access them.
    4. D.Use the exact same Application key for all users and scripts in the organization.
    Show answer & explanation

    Correct answer: BStore them securely using environment variables or a secrets manager.

    • A. Hardcoding API and Application keys directly into the source code is a major security risk. It exposes secrets to anyone with access to the repository, makes secret rotation difficult, and increases the risk of accidental leakage through version control.
    • B. Storing keys securely using environment variables or a dedicated secrets manager is the recommended best practice. This method enhances security by keeping sensitive credentials out of the source code, enabling secure access control, and facilitating easier auditing and rotation.
    • C. Sharing keys in public code repositories is highly insecure and exposes sensitive information to the public, where they can be harvested by attackers. Secrets should be restricted to authorized users via secure tooling rather than being exposed in public code.
    • D. Using a single Application key for all users and scripts violates the principle of least privilege and removes the ability to audit actions per user. It is best practice to create scoped, unique keys for different users or services to enhance security and traceability.

    Subdomain 4.3: Agent Integrations

    23.How does the Datadog Agent collect metrics from Java applications using JMX?

    1. A.By parsing Java garbage collection logs
    2. B.Using a lightweight Java plugin called JMXFetch
    3. C.By converting JMX metrics to DogStatsD automatically
    4. D.Through the Datadog REST API
    Show answer & explanation

    Correct answer: BUsing a lightweight Java plugin called JMXFetch

    • A. Datadog does not rely on parsing Java garbage collection logs to collect JMX metrics. GC logs are separate text-based logs that would require the Datadog Logs product or custom parsing, whereas JMX metrics are typically gathered directly from JVM MBeans.
    • B. The Datadog Agent uses a lightweight Java helper called JMXFetch to query JVM MBeans and translate them into Datadog metrics. JMXFetch is configured via the JMX integration and runs as a sub-process of the Agent to collect and forward those metrics.
    • C. JMX metrics are collected by JMXFetch and forwarded to the Agent's aggregator. While DogStatsD is a protocol used for custom metrics via UDP, it is not the primary mechanism the Agent uses to query and collect JMX MBean data.
    • D. The Datadog REST API is used to interact with Datadog's services or submit data to the backend programmatically. It is not the method used by the Agent to pull local JMX metrics from a running Java application.

    Subdomain 4.6: Metrics & Timeseries

    24.Which Datadog metric type represents a snapshot of a value at a specific point in time, such as available disk space or active user sessions?

    1. A.COUNT
    2. B.RATE
    3. C.GAUGE
    4. D.HISTOGRAM
    Show answer & explanation

    Correct answer: CGAUGE

    • A. The COUNT metric type represents a cumulative count of events or occurrences over time. It is used to track totals or increments rather than an instantaneous snapshot of a stateful value.
    • B. The RATE metric type represents the change of a value per unit of time (e.g., requests per second). It describes frequency or velocity rather than the current value at a single point in time.
    • C. The GAUGE metric type represents a snapshot of a value at a specific point in time. Gauges can go up or down and are the standard choice for reporting the current state of resources like available disk space, memory usage, or active user sessions.
    • D. The HISTOGRAM metric type captures the statistical distribution of values over time, providing metrics like min, max, average, and percentiles. It is primarily used for latency or size distributions, not for point-in-time snapshots.

    Subdomain 4.5: Tagging Best Practices

    25.Which three tags form the foundation of Unified Service Tagging in Datadog?

    1. A.host, role, zone
    2. B.app, tier, region
    3. C.env, service, version
    4. D.cluster, pod, container
    Show answer & explanation

    Correct answer: Cenv, service, version

    • A. Incorrect. These are infrastructure-level tags (host, role, zone) that describe where a resource runs rather than its logical service identity. Unified Service Tagging focuses on service-centric tags to enable consistent observability across telemetry and integrations.
    • B. Incorrect. While app, tier, and region can be useful custom tags, they are not the official canonical foundation of Datadog's Unified Service Tagging. The recommended trio is focused on environment context, service identity, and release version.
    • C. Correct. The 'env', 'service', and 'version' tags are the core foundation of Unified Service Tagging. These tags provide the necessary context to correlate metrics, traces, and logs across the entire Datadog platform by identifying the environment (e.g., prod, stage), the logical service name, and the specific software version deployed.
    • D. Incorrect. These tags (cluster, pod, and container) are orchestration-level tags specific to containerized environments like Kubernetes. They describe deployment topology rather than the unified service identity used for cross-product correlation.

    Subdomain 4.2: Crawlers

    26.You have configured the Datadog AWS integration to crawl CloudWatch metrics. However, you notice a delay of several minutes between when a CPU spike occurs in AWS and when it appears in Datadog. What is the most likely reason for this?

    1. A.The Datadog Agent is misconfigured on the EC2 instance.
    2. B.Cloud integrations rely on API polling, which introduces a natural delay based on the polling interval.
    3. C.Your Datadog API key has expired and needs to be rotated.
    4. D.The specific AWS region is not supported by Datadog's ingestion servers.
    Show answer & explanation

    Correct answer: BCloud integrations rely on API polling, which introduces a natural delay based on the polling interval.

    • A. Incorrect. The Datadog AWS integration (crawler) relies on API-to-API communication between Datadog and AWS CloudWatch. It does not require or depend on the Datadog Agent being installed on the EC2 instance for this specific data flow.
    • B. Correct. Cloud integrations like the CloudWatch crawler rely on polling the AWS APIs at set intervals (typically every 10 minutes). This polling mechanism introduces an inherent delay between when a metric is recorded in CloudWatch and when Datadog retrieves it via the API.
    • C. Incorrect. If the Datadog API key were expired, authentication would fail entirely, resulting in no data being ingested rather than a consistent multi-minute delay.
    • D. Incorrect. Datadog supports all standard AWS regions. If a region were unsupported, the integration would fail to collect any data from that region rather than experiencing a processing delay.

    Domain 5: Troubleshooting Datadog

    Subdomain 5.2: Agent Logs

    27.Where are the Datadog Agent logs located by default on a Windows Server?

    1. A.C:\Program Files\Datadog\logs\
    2. B.C:\ProgramData\Datadog\logs\
    3. C.C:\Windows\System32\Datadog\logs\
    4. D.C:\Datadog\logs\
    Show answer & explanation

    Correct answer: BC:\ProgramData\Datadog\logs\

    • A. The 'C:\Program Files' directory is used for application installation binaries and executables. Datadog does not store its logs here to keep application data separate from system-wide program files.
    • B. Correct. On Windows, the Datadog Agent (v6 and v7) defaults to 'C:\ProgramData\Datadog\logs\' for log storage. 'C:\ProgramData' is the standard Windows location for persistent application data and logs, though the folder is hidden by default.
    • C. The 'C:\Windows\System32' directory is reserved for critical Windows system files and drivers. Storing third-party agent logs here is not standard practice and is not the default for Datadog.
    • D. While it is possible to configure a custom log path, 'C:\Datadog\logs\' is not the out-of-the-box default location for the Datadog Agent on Windows.

    Subdomain 5.3: Agent Config Files

    28.Which of the following are valid ways to configure the Datadog Agent?(Select 2)

    1. A.Modifying the datadog.yaml file.
    2. B.Editing the Datadog registry keys on Linux.
    3. C.Using DD_* environment variables.
    4. D.Sending a POST request to the Agent's /config endpoint.
    5. E.Modifying the agent.xml file.
    Show answer & explanation

    Correct answers: A, CModifying the datadog.yaml file.; Using DD_* environment variables.

    • A. Correct. The datadog.yaml file is the primary configuration file for the Agent on Linux, Windows, and macOS. It is the standard way to set persistent Agent configurations, such as the API key, tags, and logging settings.
    • B. Incorrect. Registry keys are specific to the Windows operating system; Linux uses a file-based configuration system. Even on Windows, editing registry keys is not the standard way to configure the Agent's runtime behavior.
    • C. Correct. Using DD_* environment variables (e.g., DD_API_KEY, DD_SITE) is a fully supported method to configure the Agent. This is particularly common in containerized deployments like Docker and Kubernetes and can be used to override settings in the datadog.yaml file.
    • D. Incorrect. The Datadog Agent does not support persistent configuration via a POST request to a /config endpoint. Configuration must be handled through files, environment variables, or orchestration integrations.
    • E. Incorrect. The Datadog Agent uses YAML for its configuration files (datadog.yaml and integration-specific conf.yaml files), not XML. There is no agent.xml file used by the Agent.

    Subdomain 5.1: Agent Commands

    29.Which of the following commands are valid Datadog Agent CLI commands used for troubleshooting and configuration validation?(Select 2)

    1. A.datadog-agent flare
    2. B.datadog-agent trace
    3. C.datadog-agent configcheck
    4. D.datadog-agent push
    5. E.datadog-agent sync
    Show answer & explanation

    Correct answers: A, Cdatadog-agent flare; datadog-agent configcheck

    • A. Correct. The 'datadog-agent flare' command is a fundamental diagnostic tool used to collect logs, configuration files, and runtime information into a compressed bundle. This bundle can be uploaded to Datadog Support to help investigate and resolve technical issues.
    • B. Incorrect. 'datadog-agent trace' is not a valid CLI subcommand. While Datadog handles APM and tracing, those features are managed by the trace-agent component and specific tracer libraries rather than a direct agent CLI command of this name.
    • C. Correct. The 'datadog-agent configcheck' command is used to validate the integrity and syntax of Agent and integration configuration files. It identifies common errors such as YAML formatting issues, helping to verify the setup before the Agent is restarted.
    • D. Incorrect. 'datadog-agent push' is not a recognized Datadog Agent CLI command. The Agent automatically transmits data to Datadog based on set collection intervals; there is no manual 'push' command for generic data transmission.
    • E. Incorrect. 'datadog-agent sync' is not a standard Datadog Agent command. Common troubleshooting commands include status, flare, health, and configcheck.

    Domain 6: Data Visualization & Utilization

    Subdomain 6.1: Host Map

    30.Which of the following actions can be performed directly from the Host Map interface?(Select 2)

    1. A.Grouping hosts by specific tags
    2. B.Filtering the displayed hosts using tags
    3. C.Upgrading the Datadog Agent version on a host
    4. D.SSHing directly into a host's terminal
    5. E.Modifying the host's local firewall rules
    Show answer & explanation

    Correct answers: A, BGrouping hosts by specific tags; Filtering the displayed hosts using tags

    • A. Correct. The Host Map allows you to group hosts by specific tags (such as role, environment, or availability zone) using the 'Group by' control. This helps in organizing and visualizing hosts based on different infrastructure attributes and helps aggregate metrics across segments.
    • B. Correct. The Host Map interface supports filtering hosts using tags via the search bar and filter controls. This enables users to focus on specific subsets of infrastructure that meet certain tag-based criteria, making it easier to manage large fleets of hosts.
    • C. Incorrect. Upgrading the Datadog Agent is an operational task typically performed on the host itself or via configuration management tools (like Ansible, Chef, or Puppet). It is not a feature available directly from the Host Map interface.
    • D. Incorrect. The Host Map is a visualization and navigation tool; it does not provide native SSH terminal access into a host. SSH access is handled through external terminal applications or remote access tooling.
    • E. Incorrect. Modifying local firewall rules is a system configuration change that must be performed on the host or via security management software. Datadog provides monitoring and visualization but does not manage host-level security policies.

    Subdomain 6.2: Dashboards

    31.You are monitoring a web application and want to display the CPU usage of your top 10 hosts with the highest load on a single dashboard panel. Which widget should you use?

    1. A.Top List
    2. B.Log Stream
    3. C.Alert Graph
    4. D.IFrame
    Show answer & explanation

    Correct answer: ATop List

    • A. The Top List widget is specifically designed to display the highest or lowest values for a metric across a tag key (such as 'host'). It allows you to configure a ranking (e.g., top 10) for specific metrics like CPU usage, providing a concise summary of the most resource-intensive entities.
    • B. The Log Stream widget displays raw log events in real-time. It is used for viewing log data and troubleshooting events, but it cannot aggregate, rank, or visualize metric values like CPU usage across multiple hosts.
    • C. The Alert Graph widget visualizes the status and history of a specific monitor or alert. It is focused on alerting conditions and thresholds rather than producing a ranked list of entities based on live metric data.
    • D. The IFrame widget is used to embed external web content or URLs into a Datadog dashboard. It does not have the native capability to query, aggregate, or rank internal Datadog metrics such as host CPU load.

    Subdomain 6.5: Monitors and Alerts

    32.You have a monitor that alerts when disk usage exceeds 90%. However, the alert frequently triggers and resolves within seconds due to minor fluctuations, causing alert fatigue. Which feature should you configure to prevent these rapid state changes?

    1. A.Anomaly detection
    2. B.Recovery threshold
    3. C.Log rehydration
    4. D.Synthetic browser test
    Show answer & explanation

    Correct answer: BRecovery threshold

    • A. Anomaly detection is used to identify deviations from historical patterns and baseline behavior. While it can detect unusual disk usage patterns, it does not provide the hysteresis or stabilization logic required to stop a threshold-based monitor from flapping between states.
    • B. A recovery threshold (also known as hysteresis) allows you to set a separate, typically lower value for a monitor to resolve. By requiring the metric to drop further before the alert clears (e.g., alert at 90% but only recover at 85%), you prevent rapid state changes caused by minor fluctuations around a single threshold.
    • C. Log rehydration is a feature used to pull archived logs back into Datadog for indexing and analysis. It is related to storage and investigation, not the configuration of monitor thresholds or alert state management.
    • D. Synthetic browser tests simulate user interactions with web applications to monitor uptime and performance. They are a separate monitoring product and do not provide threshold stabilization for infrastructure-level disk usage alerts.

    Subdomain 6.3: Using Metrics

    33.You want to monitor the current amount of available RAM on your database server. Which metric type is most appropriate for this use case?

    1. A.Count
    2. B.Rate
    3. C.Gauge
    4. D.Histogram
    Show answer & explanation

    Correct answer: CGauge

    • A. Count metrics are used to track the total number of events or occurrences over a specific time interval. Because they represent cumulative totals or monotonic increases, they are not suited for representing instantaneous, fluctuating measurements like available RAM.
    • B. Rate metrics represent the change of a counter per unit of time, typically used to measure throughput or the frequency of events. They do not provide a point-in-time snapshot of a resource's current state, such as the amount of free memory.
    • C. Gauges represent instantaneous values that can go up and down at any time, such as CPU usage, temperature, or available RAM. Since a gauge provides a snapshot of the current state at a given point in time, it is the most appropriate metric type for monitoring memory availability.
    • D. Histograms are used to track the distribution of data points (like latencies or sizes) across different ranges or buckets to provide percentiles and averages. While they could capture memory samples over time, they are designed for statistical analysis of distributions rather than monitoring a single current value.

    Subdomain 6.4: Using Tags

    34.You are troubleshooting an application issue and want to view CPU usage across all your servers. However, you need a separate line on the timeseries graph for each availability zone. How should you use tags to achieve this?

    1. A.Filter the query by the availability_zone tag
    2. B.Group the query (avg by) using the availability_zone tag
    3. C.Exclude the availability_zone tag from the query
    4. D.Create a template variable for the host tag
    Show answer & explanation

    Correct answer: BGroup the query (avg by) using the availability_zone tag

    • A. Filtering the query by the availability_zone tag limits the results to specific zones rather than producing separate lines for every zone. Filtering is used to narrow scope, not to segment data into multiple series.
    • B. Grouping a query (e.g., using 'avg by') by a specific tag is the standard method in Datadog to split a metric into multiple lines. This segments the data so that each unique value of the availability_zone tag appears as a distinct series on the timeseries graph.
    • C. Excluding the availability_zone tag would result in all data being aggregated into a single line. This prevents you from distinguishing between different zones, which is the opposite of the desired outcome.
    • D. Template variables are used for dynamic dashboard filtering. While they allow you to select specific hosts or zones, they do not automatically group data into separate lines on a graph; that logic must be defined within the query's grouping parameters.

    Subdomain 6.4: Using Tags

    35.You have configured a monitor to alert on high memory usage. You want the monitor to trigger a separate alert for each individual host rather than a single alert for the entire infrastructure. How do you configure the monitor using tags?

    1. A.Set the monitor to trigger on a 'Simple Alert' and filter by the host tag.
    2. B.Set the monitor to trigger on a 'Multi Alert' and group by the host tag.
    3. C.Add the host tag to the notification message body.
    4. D.Create a separate monitor manually for every host.
    Show answer & explanation

    Correct answer: BSet the monitor to trigger on a 'Multi Alert' and group by the host tag.

    • A. A Simple Alert evaluates the entire scope as a single entity and produces one notification. While filtering by a host tag narrows the scope of hosts included in the calculation, it still results in a single aggregate alert rather than splitting notifications per host.
    • B. A Multi Alert allows the monitor to apply the alerting logic to each group independently. By grouping by the 'host' tag, Datadog generates a separate alert status and notification for every individual host, which is the standard way to achieve per-host alerting.
    • C. Adding host tags to the notification message body using template variables can provide context within an alert, but it does not change the triggering logic. It will not convert a single alert into multiple per-host alerts.
    • D. Creating a separate monitor for every host is inefficient, difficult to maintain, and does not scale. Multi Alerts are specifically designed to solve this problem by managing alerts for many entities within a single monitor configuration.

    Want the full experience?

    These are just samples. Practice the full Datadog Fundamentals question bank in quiz mode — free, no signup, with domain practice and exam simulation.