Datadog Fundamentals Practice Questions with Explanations
Free Datadog Fundamentals practice questions. 34 of them, each with the correct answer, a full explanation, and the reason every other option is wrong.
Datadog Fundamentals practice questions
Question 1
In the context of system memory, swap space is used to
- A. substitute disk space for RAM when RAM is at capacity.
- B. perform a bitwise swap on an arbitrary memory location
- C. define and export a block device for external file storage
Show answer and explanation ▾
Correct answer: A
Swap is an area on disk that the operating system uses as extra memory when RAM is full, at the cost of much slower access.
Why the other options are wrong:
- B. A bitwise swap is a CPU-level operation and has nothing to do with swap space.
- C. Exporting a block device is a storage sharing task, not what swap space does.
Question 2
The metric system.cpu.system represents the percent of time the CPU spent running
- A. the virtual processor
- B. user space processes
- C. the kernel
Show answer and explanation ▾
Correct answer: C
system.cpu.system is the share of CPU time spent on kernel (system) code. Time in user space processes is reported separately as system.cpu.user.
Why the other options are wrong:
- A. It is not a measure of a virtual processor.
- B. User space processes are counted by the separate user metric.
Question 3
Which of the following BEST describes the role of RAM in a computer system?
- A. It is where the applications and data that are in current use are kept
- B. It is a non-volatile, persistent storage device
- C. It is responsible for executing instructions of a computer program
Show answer and explanation ▾
Correct answer: A
RAM is fast working memory that holds the programs and data in use right now.
Why the other options are wrong:
- B. RAM is volatile and loses its contents when power is off.
- C. Executing instructions is the job of the CPU, not RAM.
Question 4
A high number of page faults usually indicates insufficient
- A. storage
- B. RAM
- C. CPU
Show answer and explanation ▾
Correct answer: B
A page fault happens when needed data is not in RAM and must be loaded from disk, so many page faults point to too little RAM.
Why the other options are wrong:
- A. Disk capacity does not cause page faults.
- C. CPU power affects speed of execution, not how often data is missing from memory.
Question 5
Which two IP addresses are located in the same subnet?
- A. 192.168.1.1/16 and 192.168.2.1/16
- B. 192.168.1.1/32 and 192.168.1.65/32
- C. 192.168.1.1/24 and 192.168.2.1/24
Show answer and explanation ▾
Correct answer: A
A /16 mask keeps the first two octets as the network, so 192.168.1.1 and 192.168.2.1 are both in 192.168.0.0/16.
Why the other options are wrong:
- B. A /32 is a single host, so the two addresses are in different networks.
- C. With a /24 mask the third octet is part of the network, and 1 and 2 differ.
Question 6
For the IP address 192.168.1.1/24 what does the value/24 indicate?
- A. the subnet mask value assigned to the address
- B. the broadcast domain for the physical network segment
- C. the default gateway value assigned to the address
Show answer and explanation ▾
Correct answer: A
The /24 is CIDR notation for the subnet mask. It means the first 24 bits of the address are the network portion, which equals a mask of 255.255.255.0 and leaves the last 8 bits for hosts.
Why the other options are wrong:
- B. The prefix length describes the mask, not the broadcast domain of a physical segment.
- C. The default gateway is a separate address set on the host and is not written as a prefix length.
Question 7
Compared to TCP-based communication. UDP-based communication is
- A. more secure
- B. less reliable
- C. more compressed
Show answer and explanation ▾
Correct answer: B
UDP is connectionless: it sends datagrams with no handshake, no acknowledgments and no retransmission of lost packets. TCP adds all of those, so UDP is faster and lighter but less reliable.
Why the other options are wrong:
- A. UDP has no security features that TCP lacks.
- C. UDP does not compress the data it carries.
Question 8
Which of the following can be graphed with metrics exposed by Cloud Networking Monitoring?
- A. throughput
- B. UDP retransmits
- C. packet size
Show answer and explanation ▾
Correct answer: A
Cloud Network Monitoring reports the volume of traffic between a source and a destination as bytes sent and received, which is graphed as throughput, alongside TCP metrics such as retransmits and latency.
Why the other options are wrong:
- B. Retransmits are a TCP behavior, and UDP does not retransmit.
- C. Packet size is not one of the metrics the product graphs.
Question 9
Which of the following BEST describes the purpose of a networking port?
- A. It assigns unique IP addresses to devices on a network
- B. It provides a standardized endpoint for communication between devices
- C. It regulates the flow of data between devices on a network
Show answer and explanation ▾
Correct answer: B
A port is a numbered endpoint on a host that identifies a specific service or process. Together with the IP address it lets devices direct traffic to the right application, for example port 443 for HTTPS.
Why the other options are wrong:
- A. Assigning IP addresses is the job of DHCP or manual configuration, not of ports.
- C. Regulating data flow is handled by mechanisms such as TCP flow control, not by the port itself.
Question 10
Which component of the Datadog observability platform displays all discovered services in a consolidated view?
- A. Resource Catalog
- B. Universal Service Monitoring
- C. Software Catalog
Show answer and explanation ▾
Correct answer: C
Software Catalog gives one consolidated view of the services Datadog has discovered, together with their ownership, metadata and health information.
Why the other options are wrong:
- A. Resource Catalog lists infrastructure resources such as cloud hosts and databases, not services.
- B. Universal Service Monitoring detects services and collects their health metrics, but it is not the consolidated view.
Question 11
Which of the following serve as a key foundation for Datadog observability?
- A. errors
- B. tags
- C. traces
Show answer and explanation ▾
Correct answer: B
Tags add dimensions to all Datadog telemetry, so metrics, traces and logs can be filtered, grouped and correlated across hosts, services and environments. That makes tagging a foundation of observability in Datadog.
Why the other options are wrong:
- A. Errors are one signal to observe, not a foundation that ties the data together.
- C. Traces are one type of telemetry, and they rely on tags to be correlated with other data.
Question 12
Which data types are most fundamental to observability?
- A. events, traces, logs
- B. metrics, logs, tags
- C. metrics, traces, logs
Show answer and explanation ▾
Correct answer: C
Metrics, traces and logs are the three pillars of observability. Metrics show what is happening as numbers over time, traces follow a request across services, and logs record the detail of individual events.
Why the other options are wrong:
- A. Events are useful, but this set leaves out metrics.
- B. Tags are metadata attached to data, not a data type, and this set leaves out traces.
Question 13
Which of the following backend programming languages are fully supported by Datadog?
- A. JavaScript and C++
- B. Rust and Python
- C. Ruby and Go
Show answer and explanation ▾
Correct answer: C
Datadog provides fully supported tracing libraries for both Ruby and Go, so backend services written in either language can send traces and runtime data to Datadog.
Why the other options are wrong:
- A. This pair is not the one in which both are fully supported backend languages.
- B. This pair is not the one in which both are fully supported backend languages.
Question 14
Which value MUST be set in the datadog.yaml file to enable Datadog Agent debug-level logs?
- A. log_level=debug
- B. log_level: ‘debug’
- C. log_level= ‘debug’
Show answer and explanation ▾
Correct answer: B
datadog.yaml is a YAML file, so settings are written as a name, a colon, a space and the value. Debug logging is turned on with log_level: 'debug', followed by an Agent restart.
Why the other options are wrong:
- A. An equals sign is not valid YAML syntax for a setting.
- C. An equals sign is not valid YAML syntax, with or without quotes around the value.
Question 15
In the following YAML block, what is the data type of excluded_filesystems? instances:
-use_mount: false excluded_filesystems:
-tmpfs -/dev/sda2 -/dev/sda1
- A. a list
- B. a mapping
- C. a tuple
Show answer and explanation ▾
Correct answer: A
In YAML, entries that each start with a dash under one name form a list, also called a sequence. excluded_filesystems holds three such entries, so it is a list.
Why the other options are wrong:
- B. A mapping is a set of name and value pairs, not dash-prefixed entries.
- C. YAML has no tuple type.
Question 16
Which file is used to specify the maximum number of log files that can be tailed in parallel?
- A. auto_conf.yaml
- B. datadog.yaml
- C. conf.yaml
Show answer and explanation ▾
Correct answer: B
The limit on how many log files the Agent tails at once is the open_files_limit setting under logs_config in datadog.yaml, the main Agent configuration file.
Why the other options are wrong:
- A. auto_conf.yaml holds Autodiscovery templates for an integration, not Agent-wide log limits.
- C. conf.yaml configures one integration, not the Agent-wide limit on tailed files.
Question 17
What is the name of the Datadog Agent Configuration file for Agent Version 6 and 7?
- A. datadog.conf
- B. datadog.yaml
- C. integrations.yaml
Show answer and explanation ▾
Correct answer: B
Agent versions 6 and 7 use datadog.yaml as the main configuration file. It holds settings such as the API key, the Datadog site, tags and log level.
Why the other options are wrong:
- A. datadog.conf was the main configuration file of Agent version 5.
- C. integrations.yaml is not the Agent's main configuration file.
Question 18
What is an API key?
- A. an alphanumeric string that serves as the public half of a cryptographic key-pair, used to authenticate a programmatic interface
- B. an encrypted password that authorizes programmatic read-write access to a secure HTTP endpoint
- C. a unique identifier that acts like an authentication token for the purposes of interacting with an application programming interface
Show answer and explanation ▾
Correct answer: C
An API key is a unique identifier sent with requests so the API can recognize and authenticate the caller, much like a token.
Why the other options are wrong:
- A. It is not the public half of a cryptographic key pair.
- B. It is not an encrypted password.
Question 19
Which of the following is the PRIMARY function of an API key?
- A. to specify the data to be returned by an API
- B. to authorize a request being made to an API
- C. to store the value of a request to an API
Show answer and explanation ▾
Correct answer: B
An API key identifies the caller so the API can decide whether to accept the request. In Datadog, the Agent needs a valid API key before it can submit metrics and events.
Why the other options are wrong:
- A. The data to return is specified by the endpoint and its parameters.
- C. It does not store the value of a request.
Question 20
What is the benefit of attaching metadata to a monitored entities?
- A. It provides additional context and attributes for an organizing and filtering data
- B. It authenticates users accessing the monitoring dashboard
- C. It encrypts sensitive information transmitted to the Datadog platform
Show answer and explanation ▾
Correct answer: A
Metadata such as tags adds context to hosts, containers and services. That context makes it possible to organize, filter, group and compare data, for example by environment, team or region.
Why the other options are wrong:
- B. User authentication is handled by login and access controls, not by metadata.
- C. Encryption in transit is handled by TLS, not by metadata.
Question 21
An example of metadata for a Datadog metric is
- A. size
- B. unit
- C. timestamp
Show answer and explanation ▾
Correct answer: B
Metric metadata describes a metric as a whole and is not part of each data point. In Datadog it includes the unit of measurement, the metric type and the description.
Why the other options are wrong:
- A. Size is not a metadata field of a Datadog metric.
- C. The timestamp is part of each data point, not metadata about the metric.
Question 22
Which of the following Autodiscovery template variables will provide the highest exposed container port for a container that exposes ports 80, 443, and 8443?
- A. %%port_1%%
- B. %%port%%
- C. %%port_0%%
Show answer and explanation ▾
Correct answer: B
Autodiscovery sorts a container's exposed ports in ascending numerical order. %%port%% with no index resolves to the highest one, which here is 8443.
Why the other options are wrong:
- A. %%port_1%% resolves to the second port in ascending order, which is 443.
- C. %%port_0%% resolves to the lowest port, which is 80.
Question 23
To monitor an NGINX Docker container with the name custom_repo/ngnx:1.21, which value should be assigned to ad_identifiers in the Datadog Agent’s Autodiscovery configuration file?
- A. custom_repo/nginx:1.21
- B. nginx
- C. nginx:1.21
Show answer and explanation ▾
Correct answer: B
ad_identifiers matches a container by its short image name, which is the name without the repository path or the tag. For this container the short name is nginx.
Why the other options are wrong:
- A. The repository path and tag are not part of the short name used for matching.
- C. The version tag is not part of the short name used for matching.
Question 24
Datadog Autodiscovery automatically identifies services running by
- A. executing kubectl get service
- B. defining configuration templates for Agent checks
- C. executing kubectl apply-f values.yaml
Show answer and explanation ▾
Correct answer: B
Autodiscovery works from configuration templates for Agent checks. The Agent watches for containers starting and stopping, and when one matches a template it fills in the template variables and runs the check against that service.
Why the other options are wrong:
- A. Autodiscovery does not work by running kubectl get service.
- C. Applying a values file with kubectl is a deployment step, not how services are identified.
Question 25
Which TCP port is used to expose runtime metrics about the Datadog Agent?
- A. 5001
- B. 5002
- C. 5000
Show answer and explanation ▾
Correct answer: C
TCP port 5000 on the local host is the Datadog Agent's go_expvar server, which exposes runtime metrics about the Agent itself.
Why the other options are wrong:
- A. Port 5001 is the Agent's inter-process communication API port, not the runtime metrics port.
- B. Port 5002 is the port for the Agent browser GUI, not the runtime metrics port.
Question 26
Which of the following inbound TCP ports is used to send traces to the Datadog Agent?
- A. 8080
- B. 8123
- C. 8126
Show answer and explanation ▾
Correct answer: C
The trace Agent listens on TCP port 8126. Tracing libraries in instrumented applications send their traces to that port on the Datadog Agent.
Why the other options are wrong:
- A. Port 8080 is a common web application port, not the trace intake port.
- B. Port 8123 is not the port that receives traces.
Question 27
What is the purpose of the no-proxy setting in the Datadog Agent configuration file?
- A. to specify metrics that must bypass the configured proxy
- B. to specify log data that must bypass the configured proxy
- C. to specify hosts that must bypass the configured proxy
Show answer and explanation ▾
Correct answer: C
The no_proxy setting under proxy in datadog.yaml is a list of hosts. Requests from the Agent to those hosts go direct instead of through the configured proxy.
Why the other options are wrong:
- A. The setting lists hosts, not metrics.
- B. The setting lists hosts, not types of log data.
Question 28
The address “https://ip-ranges.datadoghq.com” is used to
- A. identify where the Datadog Agent sends observability data
- B. verify the addresses where the Datadog Agent is installed
- C. set the IP address ranges for Datadog servers
Show answer and explanation ▾
Correct answer: C
This address returns the current list of IP address ranges that belong to Datadog. Teams use it to build firewall and allow-list rules for traffic to and from Datadog servers.
Why the other options are wrong:
- A. The destination for Agent data is defined by the Datadog site setting in the Agent configuration, not by this address.
- B. It holds no information about the hosts where the Agent is installed.
Question 29
A custom agent Python check called custom_apprunner.py needs to run every two minutes.
What is the correct directory and contents for the check’s configuration file?
- A. Filename: checks.d/custom_apprunner.yaml Contents: init-config instances: -min_collection_interval: 120
- B. Filename: conf.d/custom_apprunner.yaml Contents: init_config: instances: -min_collection_interval: 120
- C. Filename: conf.d/custom_apprunner.yaml Contents: init_config instances: -min_collection_interval: 2
Show answer and explanation ▾
Correct answer: B
A custom check's configuration file goes in conf.d with the same name as the Python file in checks.d. It needs init_config: and instances: written as valid YAML, and min_collection_interval is in seconds, so two minutes is 120.
Why the other options are wrong:
- A. checks.d holds the Python file, not its configuration, and init-config is not the correct name.
- C. The interval is in seconds, so 2 is not two minutes, and the names lack the colons YAML needs.
Question 30
In Datadog Agent-based integrations, what is a custom check?
- A. a test used to verify the integrity of the Agent’s installation
- B. a routine to check the compatibility of the Agent with different systems
- C. a user-defined function for collecting specific data
Show answer and explanation ▾
Correct answer: C
A custom check is a piece of Python code written by the user and run by the Agent on a schedule. It collects metrics, events or service checks from applications or systems that no existing integration covers.
Why the other options are wrong:
- A. It does not verify the integrity of the Agent installation.
- B. It does not test whether the Agent is compatible with a system.
Question 31
Which parent directory contains the subdirectory /dns_check.d?
- A. /conf.d
- B. /checks.d
- C. /datadog-agent
Show answer and explanation ▾
Correct answer: A
Each Agent integration has its own folder named after the check with a .d suffix inside conf.d. The DNS check's configuration is therefore in conf.d/dns_check.d.
Why the other options are wrong:
- B. checks.d holds the Python files of custom checks, not integration configuration folders.
- C. The folder is not placed directly in the datadog-agent directory.
Question 32
For which of the following technologies is a Datadog Agent-based integration available?
- A. Google Cloud
- B. NGINX
- C. Slack
Show answer and explanation ▾
Correct answer: B
NGINX is monitored by an Agent-based integration: a check that runs on the Agent, queries the NGINX status endpoint and can collect its logs.
Why the other options are wrong:
- A. Google Cloud is connected through an authentication-based integration that pulls data from the provider's API.
- C. Slack is connected through an authentication-based integration in the Datadog app, without an Agent check.
Question 33
A user wants to fetch all of their existing dashboard list definitions programmatically.
What authorization scope should be assigned to the endpoint “https://api.datadoghq.com/api/v1/dashboard/lists/manual”?
- A. dashboards_read
- B. user_access_read
- C. dashboards_public_share
Show answer and explanation ▾
Correct answer: A
Fetching dashboard lists is a read operation on dashboards, so the request needs the dashboards_read scope.
Why the other options are wrong:
- B. user_access_read covers reading users and their roles, not dashboards.
- C. dashboards_public_share covers sharing dashboards outside the organization, not reading dashboard lists.
Question 34
Which reserved tags are used as part of unified service tagging?
- A. host, source, env
- B. service, env, version
- C. source, version, device
Show answer and explanation ▾
Correct answer: B
Unified service tagging uses the three reserved tags env, service and version. Applying them consistently links metrics, traces and logs for the same service and deployment.
Why the other options are wrong:
- A. host and source are reserved tags, but they are not part of unified service tagging.
- C. source and device are reserved tags, but they are not part of unified service tagging.
That was 34 of 90.
The full Datadog Fundamentals pack has all 90 questions, each with the answer, the explanation and why the other options are wrong, plus a questions-only copy for timed runs. $39.00 USD, paid once, with free monthly updates and a pass-or-your-money-back guarantee.
Get the full packNot ready yet? Get the first 34 free as one PDF by email. Get the Half Pack →
About the Datadog Fundamentals exam
These 34 Datadog Fundamentals questions are free here, and as a free PDF by email.
They are drawn from the same bank as the full Datadog Fundamentals pack, which has 90 questions in total.