Deck 1 Flashcards
(111 cards)
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