Deck 1 Flashcards

(111 cards)

1
Q

What is the standard naming convention of process metrics in Datadog?

A

system.processes.xx

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

If the log_level is set to “Info” in Datadog, which types of logs will be printed and sent for monitoring?

A

Logs with error, warning and info levels.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When configuring an alert condition, what does the “Trigger Rate” option refer to?

A

The number of times the alert is triggered.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Where can we change the minimum collection interval for custom checks?

A

custom_check_1.yaml

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does “Notify No Data” mean in alert conditions?

A

send an alert when no metric data is available.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the typical location of the conf.d folder on a Linux system?

A

/etc/datadog-agent/conf.d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which variable is required to enable the logs in datadog config file?

A

logs_enabled:true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which is the default site configured for the datadog?

A

datadoghq.com

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does the “rollup” option allow you to control in a timeseries query?

A

The direction of data aggregation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which component of a custom check in Datadog typically contains the logic for data collection, processing, and metric reporting?

A

Python script(check.py)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which variable should you use to store the API key when checking if it’s defined in DataDog’s configuration file?

A

api_key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the purpose of using JSON in timeseries queries in Datadog?

A

to format and structure query results.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

The team has updated the custom metrics configuration file and wants to see the new metrics in Datadog. What should be done?

A

The agent needs to be restarted after every configuration change.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What will the outcome of the Python code below be?

  1. # Using a for loop with simple conditions and break
  2. numbers = [10, 7, 12]
  3. for num in numbers:
  4. if num == 5:
  5. print(“Found the number”)
  6. break
  7. elif num < 5:
  8. print(f”{num} is less than 5”)
  9. else:
  10. print(f”{num} is greater than 5”)
A

10 is greater than 5
7 is greater than 5
12 is greater than 5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How does the “Threshold Count” parameter work in alert conditions?

A

it requires the threshold to be met for a certain number of consecutive periods.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the role of the “facet” option in a JSON-formatted timeseries query?

A

It groups the data by a specific attribute or tag.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the purpose of setting a “Recovery Threshold” in an alert condition?

A

to set a threshold for recovering from an alert state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Which Datadog feature helps in tracing API requests across distributed systems?

A

Distributed tracing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

In a JSON-formatted timeseries query, what does the “unit” attribute control?

A

The measurement unit associated with the metric.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

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?

A

localhost

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

How can you automate the creation of Datadog monitors and dashboards using IAAC(Infrastructure as a code)?

A

Terraform

Datadog has support with terraform which makes it easy to automate the process of creating the dashboards & monitors.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

When setting up “Custom Time of Day” for alert conditions, what are you defining?

A

The time range of sending alert notifications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is the purpose of setting “Isolated Time Windows” for an alert condition?

A

To trigger alerts only during specific time ranges.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

TRUE OR FALSE

The warning threshold must always be less than the Alert threshold value.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
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).
26
Which site should you configure in the Datadog Agent for the EU region?
datadoghq.eu
27
What are the default roles in Datadog? (Select the correct ones) 1. Datadog read-only role 2. Datadog standard role 3. Datadog admin role 4. 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.
28
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?
1. process_config: 2. enabled: "true"
29
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
30
In Datadog, what are advanced alert conditions used for?
To define complex conditions for triggering alerts.
31
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
32
What is the main purpose of an "Alarm" in Datadog?
Notifying users when a specific metric or condition is met.
33
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.
34
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.
35
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.
36
Which configuration files are typically used to customize the behavior and settings of the Datadog Agent?
datadog.yaml
37
What does "Evaluate Every" represent in alert conditions?
The frequency at which conditions are checked.
38
What is the benefit of using Terraform with Datadog?
It ensures that monitoring configurations are consistent and version controlled.
39
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.
40
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.
41
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.
42
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"
43
Which feature in Datadog allows you to create custom-calculated metrics based on existing time-series data?
Query formulas
44
What is the purpose of using JSON in timeseries queries in Datadog?
To format and structure query results.
45
Where should you place the configuration file for a custom check named "custom_check" in Datadog's recommended folder structure?
conf.d/custom_check.yaml In Datadog's recommended folder structure, the configuration file for a custom check named "custom_check" should be placed in the directory path: conf.d/custom_check.yaml. This helps organize your custom checks and their configuration files in a structured manner within the Datadog Agent's configuration.
46
What is the purpose of using "Precedence" when configuring alert conditions?
To control the order of alert notifications in the recipient's inbox.
47
What will the outcome of the Python code below? 1. # Multiples of a number up to a maximum 2. max = 15 3. multiple = 3 4. if max < 0: 5. print(max) 6. elif max == 0: 7. print("max is zero") 8. else: 9. i = 1 # Initialize i 10. while i <= max: 11. if i % multiple == 0: 12. print(i, end=' ') 13. i += 1
3,6,9,12,15
48
For AIX systems, which command is used to generate and send a diagnostic package (flare) to Datadog support, including a specific case ID?
datadog-agent flare
49
What is the role of the "facet" option in a JSON-formatted timeseries query?
It groups the data by a sepcific attribute or tag.
50
What logging level configuration is typically used to enable the highest level of detail in the Datadog Agent logs, allowing for extensive debugging?
debug
51
What is the term used to refer to the unique identifier assigned to a host where the Datadog Agent is running?
HOST ID The Host ID is a unique identifier that Datadog assigns to each host or instance where the Datadog Agent is installed and running. This ID is used by Datadog to track and distinguish individual hosts in your infrastructure. It ensures that metrics, traces, logs, and other data collected by the Datadog Agent are accurately associated with the correct host. This identification is essential for effective monitoring and analysis within the Datadog platform
52
Which configuration is required to change the default port of DogstatD?
dogstatsd_port:8125
53
How does setting a "Warn Window" in an alert condition differ from the "Time Aggregator"?
The warn window defines when the notification is sent, the time aggregator does not.
54
On which port by default DogStatD listens?
UDP 8125
55
Which command can be used to check the agent status?
sudo systemctl status datadog-agent.
56
How should the tagging name start in datadog?
Starting with letter Tags must start with a letter and after that may contain the characters listed below: * Alphanumerics * Underscores * Minuses * Colons * Periods * Slashes
57
To oversee the status of this check across multiple hosts, which method is employed?
Implementing Host Monitoring
58
What is the purpose of a Mute Monitor?
To mute the monitor for a specific duration.
59
Where to check the errors incase of any issues with the agent?
cat/var/log/datadog/agent.log
60
In advanced options for alert conditions, what is the "Hysteresis" setting used for?
To adjust the alert's sensitivity to minor fluctuations
61
What are the different reserved tags used by the datadog?
Service Version Env In Datadog, tagging is like labeling different types of data to organize and connect them. It helps correlate metrics, traces, processes, and logs, making it easier to understand and act on them. Tags like "host" connect data to specific devices, while others like "service" and "version" help focus on particular parts or versions of applications. Overall, tagging simplifies data management and analysis in Datadog.
62
What will the outcome of the below python code? 1. # Sum of two numbers with condition 2. num1 = 20 3. num2 = 10 4. if num1 > 100 or num2 > 100: 5. print("Numbers are too large to calculate the sum.") 6. else: 7. sum = num1 + num2 8. print(sum)
30 The first condition fails as both numbers are smaller than 100. Therefore it will go in else condition. Hence the sum is 30
63
What will the outcome of the below python code? 1. numbers = [5, 7, 12] 2. for num in numbers: 3. if num == 5: 4. print("Found the number") 5. break 6. elif num < 5: 7. print(f"{num} is less than 5") 8. else: 9. print(f"{num} is greater than 5")
Found the number As per the above code, We can see the array has a list of numbers. The first number is 5 . Therefore it will directly go into the first condition.
64
What role does "Group By" play when configuring alert conditions?
It groups data points for evaluation.
65
Which JSON attribute is commonly used to define the aggregation method in a timeseries query?
agg_method
66
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?
127.0.0.1 Explanation (localhost/127.0.0.1), therefore you must be on the same host that the Agent is running. That is, you can’t run the Agent on a VM or a container and access it from the host machine.
67
In the Datadog agent, what type of log level is typically used for verbose logging?
DEBUG
68
Which configuration file should you examine to check if the api_key is defined in DataDog?
datadog.yaml In Datadog, the api_key is a crucial piece of information that grants access to the Datadog API for sending data and performing various actions. To check whether the api_key is defined, you need to examine the datadog.yaml configuration file.
69
What is the purpose of using "Evaluated As" in advanced options for alert conditions?
To specify how multiple conditions should be combined.
70
By default the Datadog Agent sends its logs to Datadog over TCP using which port?
10516
71
How does "Consecutive Occurrences" affect the triggering of alert conditions?
It defines the number of consecutive periods the condition must be met.
72
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
73
For CentOS systems, which command is used to generate and send a diagnostic package (flare) to Datadog support, including a specific case ID?
sudo datadog-agent flare
74
What will the outcome of the Python code below? 1. num = 5 2. if num < 0: 3. num = num + 1 4. elif num == 0: 5. print(num) 6. else: 7. i = 1 8. # use the while loop to iterate until zero 9. while i <= num: 10. i += 1 11. print(i, end=', ') # Print i with a comma & space as the separator 12. if i > 5: 13. break 14. print(i)
2,3,4,5,6
75
What is the file extension typically used for Datadog integration configuration files in the /etc/datadog-agent/conf.d folder?
yaml
76
Which Datadog query formula would you use to calculate the difference between two metric values at specific time points?
"derivitave(metric_name)"
77
What is the name of the feature in Datadog that automatically identifies and monitors new services as they are deployed, allowing the Datadog Agent to collect metrics and traces without manual configuration?
Auto Discovery Auto Discovery is the feature in Datadog that automatically identifies and monitors new services as they are deployed. It allows the Datadog Agent to collect metrics, traces, and logs without manual configuration. This feature helps streamline the monitoring process by automatically detecting and tracking services as they come online in your infrastructure.
78
What will the outcome of the below python code be? 1. # Sum of two numbers with condition 2. num1 = 50 3. num2 = 10 4. if num1 > 30 or num2 > 100: 5. print("Numbers are too large to calculate the sum.") 6. else: 7. sum = num1 + num2 8. print(sum)
Numbers are too large to calculate sum
79
What does the term "log ingestion" refer to in Datadog?
collecting and processing log data
80
How can we parse the below log pattern in JSON format in Datadog employee_name=max joining_date=01/001/2023 emp_id=102
rule%(data::keyvalue)
81
Which logging is enabled by default in Datadog?
Info
82
How does Datadog handle log storage when a daily quota is set for an index?
Exclude
83
What is the purpose of log pipelines in Datadog?
Parse logs and extract fields
84
Which variable is used in the Datadog Agent configuration file to enable log collection for monitoring?
logs_enable:true
85
Which filter is used to not include some log types(error/debug/info) in Datadog?
Exclusion filter
86
Which logical operator is used for combining multiple filter conditions with an OR operation in Datadog?
OR
87
Which term searches work within tags and attributes in Datadog logs?
Wildcard
88
What type of logs will be printed and sent for monitoring in Datadog if the log_level is set Debug?
Logs with error, warning, info and debug severity levels.
89
What does the AND operator do in log filtering?
Matches ALL conditions
90
Which of the following is NOT a valid Datadog log filtering option: Less than Greater than Equal Multiply
Multiply
91
How are metrics created from ingested logs billed in Datadog?
Custom metrics
92
By default ,how many indexes can we create per account?
100 indexes per account
93
What is the maximum retention period for Logs stored in Datadog by default?
60 Days max retention period
94
The infrastructure team wants to deploy log indexes for 10 application teams in Datadog , what is the best way to do it?
Deploy using Terraform (IAC)
95
What will the parsing rule that can be applied to the below log ? employee_name: Michael joining_date: 01/001/2023 emp_id :102
rule%(data::keyvalue(":")}
96
Which tag is used to configure the log index
Index
97
How does Datadog handle log storage when a daily quota is set for an index?
Limited indexing
98
How can we enable debug logs in the Datadog agent?
log_level:DEBUG
99
Which Parser is used by Datadog to format other types of logs?
GROK
100
Which Datadog feature allows you to extract fields from logs and create structures logs?
LOG Parsing
101
Which log aggregation method is used for grouping logs by a specific field in Datadog?
Group by
102
What is the purpose of configuring sampling rates when sending traces to Datadog using OpenTelemntary?
To minimize costs by avoiding unnecessary trace data ingestion.
103
In the context of OpenTelemntary, which component is APM RED metrics such as request/error counts and latency distributions
Datadog exporter
104
What is the purpose of the Datadog API key in the installation process?
It configures the agent to communicate with the Datadog platform.
105
What command can you use to verify the successful installation of the Datadog agent?
sudo datadog-agent status
106
How can you enhance the versatility of your dashboard to answer different scenarios?
Experiment with various widget types, queries and functions.
107
What type of widget can you use to visualize complex metric-infrastructure relationships across multiple tags with intuitive multicolour intensity graphs?
Heatmaps
108
How can you update an incidents impact section and specify customer impact , start and end times, and whether the incident is still active?
Use the slash command/datadog incident update in the incident channel
109
How can you add additional metadata and context to an incident in DataDogs incident management
By configuring assessment fields in the incident settings ,using key::value metric tags.
110
How does Datadog ensure the security of logs submitted to their platform?
Symmetric encryption (AES-256) is used for indexed logs at rest.
111
How can you prevent the submission of specific logs to Datadog using the agent
By excluding logs through the logs_processing_rule setting with exclude_at_match