Deck 1 Flashcards
What is the standard naming convention of process metrics in Datadog?
system.processes.xx
If the log_level is set to “Info” in Datadog, which types of logs will be printed and sent for monitoring?
Logs with error, warning and info levels.
When configuring an alert condition, what does the “Trigger Rate” option refer to?
The number of times the alert is triggered.
Where can we change the minimum collection interval for custom checks?
custom_check_1.yaml
What does “Notify No Data” mean in alert conditions?
send an alert when no metric data is available.
What is the typical location of the conf.d folder on a Linux system?
/etc/datadog-agent/conf.d
Which variable is required to enable the logs in datadog config file?
logs_enabled:true
Which is the default site configured for the datadog?
datadoghq.com
What does the “rollup” option allow you to control in a timeseries query?
The direction of data aggregation
Which component of a custom check in Datadog typically contains the logic for data collection, processing, and metric reporting?
Python script(check.py)
Which variable should you use to store the API key when checking if it’s defined in DataDog’s configuration file?
api_key
What is the purpose of using JSON in timeseries queries in Datadog?
to format and structure query results.
The team has updated the custom metrics configuration file and wants to see the new metrics in Datadog. What should be done?
The agent needs to be restarted after every configuration change.
What will the outcome of the Python code below be?
- # Using a for loop with simple conditions and break
- numbers = [10, 7, 12]
- for num in numbers:
- if num == 5:
- print(“Found the number”)
- break
- elif num < 5:
- print(f”{num} is less than 5”)
- else:
- print(f”{num} is greater than 5”)
10 is greater than 5
7 is greater than 5
12 is greater than 5
How does the “Threshold Count” parameter work in alert conditions?
it requires the threshold to be met for a certain number of consecutive periods.
What is the role of the “facet” option in a JSON-formatted timeseries query?
It groups the data by a specific attribute or tag.
What is the purpose of setting a “Recovery Threshold” in an alert condition?
to set a threshold for recovering from an alert state.
Which Datadog feature helps in tracing API requests across distributed systems?
Distributed tracing
In a JSON-formatted timeseries query, what does the “unit” attribute control?
The measurement unit associated with the metric.
If you need to send data from the same host where your application is running, which value should you typically use for the statsd_host configuration?
localhost
How can you automate the creation of Datadog monitors and dashboards using IAAC(Infrastructure as a code)?
Terraform
Datadog has support with terraform which makes it easy to automate the process of creating the dashboards & monitors.
When setting up “Custom Time of Day” for alert conditions, what are you defining?
The time range of sending alert notifications.
What is the purpose of setting “Isolated Time Windows” for an alert condition?
To trigger alerts only during specific time ranges.
TRUE OR FALSE
The warning threshold must always be less than the Alert threshold value.
TRUE
Which is the default datadog agent user for the Linux system?
datadog-agent
The Datadog Agent does not run as root (and running as root is not recommended, as a general best practice).
Which site should you configure in the Datadog Agent for the EU region?
datadoghq.eu
What are the default roles in Datadog?
(Select the correct ones)
- Datadog read-only role
- Datadog standard role
- Datadog admin role
- All of the above
Datadog read-only role
Datadog standard role
Datadog admin role
The answer is All of the above
Datadog by default provides three roles.
How can you enable Live Process Monitoring for Windows processes? What parameter should you set to ‘true’ in the Agent main configuration file on Windows?
- process_config:
- enabled: “true”
What Datadog feature provides a visual representation of your infrastructure, displaying hosts and their relationships based on tags, making it easier to identify trends and anomalies?
Infrastructure map
In Datadog, what are advanced alert conditions used for?
To define complex conditions for triggering alerts.
In Datadog, what visualization tool is used to display aggregated metrics over time, allowing you to identify patterns and trends in your application’s performance?
Heatmaps
What is the main purpose of an “Alarm” in Datadog?
Notifying users when a specific metric or condition is met.
If the log_level is set to “Debug” in Datadog, which types of logs will be printed and sent for monitoring?
Logs with error, warning, info and debug severity levels.
Where can you define the frequency of a custom check named ‘health_custom_check’?
In conf.d directory by creating a file named health_custom_check.yaml.
Which feature is provided by Datadog for end-to-end tracing?
APM
Application performance monitoring is the feature which allows to have end to end traceability of your application.
Which configuration files are typically used to customize the behavior and settings of the Datadog Agent?
datadog.yaml
What does “Evaluate Every” represent in alert conditions?
The frequency at which conditions are checked.
What is the benefit of using Terraform with Datadog?
It ensures that monitoring configurations are consistent and version controlled.
Which Terraform resource type is used to define a Datadog monitor?
Datadog can help manage and monitor the resources defined in IAC tools like Terraform, CloudFormation and Kubernetes.
If the log_level is set to “critical” in Datadog, which types of logs will be printed and sent for monitoring?
Only logs with “Critical” severity level.
In Datadog, what are “Service Checks” used for in API monitoring?
To check if APIs are responding as expected.
Service checks allow you to characterize the status of a service to monitor it within Datadog. Service checks monitor the up or down status of the specific service.
Which Datadog query formula would you use to calculate the percentage change in a metric’s value over a specific time range?
“(final_value-initial_value)/Initial_value*100”
Which feature in Datadog allows you to create custom-calculated metrics based on existing time-series data?
Query formulas
What is the purpose of using JSON in timeseries queries in Datadog?
To format and structure query results.