Deck 1 Flashcards

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
Q

Which is the default datadog agent user for the Linux system?

A

datadog-agent

The Datadog Agent does not run as root (and running as root is not recommended, as a general best practice).

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

Which site should you configure in the Datadog Agent for the EU region?

A

datadoghq.eu

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

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
A

Datadog read-only role
Datadog standard role
Datadog admin role

The answer is All of the above
Datadog by default provides three roles.

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

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?

A
  1. process_config:
  2. enabled: “true”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

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?

A

Infrastructure map

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

In Datadog, what are advanced alert conditions used for?

A

To define complex conditions for triggering alerts.

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

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?

A

Heatmaps

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

What is the main purpose of an “Alarm” in Datadog?

A

Notifying users when a specific metric or condition is met.

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

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

A

Logs with error, warning, info and debug severity levels.

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

Where can you define the frequency of a custom check named ‘health_custom_check’?

A

In conf.d directory by creating a file named health_custom_check.yaml.

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

Which feature is provided by Datadog for end-to-end tracing?

A

APM

Application performance monitoring is the feature which allows to have end to end traceability of your application.

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

Which configuration files are typically used to customize the behavior and settings of the Datadog Agent?

A

datadog.yaml

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

What does “Evaluate Every” represent in alert conditions?

A

The frequency at which conditions are checked.

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

What is the benefit of using Terraform with Datadog?

A

It ensures that monitoring configurations are consistent and version controlled.

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

Which Terraform resource type is used to define a Datadog monitor?

A

Datadog can help manage and monitor the resources defined in IAC tools like Terraform, CloudFormation and Kubernetes.

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

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

A

Only logs with “Critical” severity level.

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

In Datadog, what are “Service Checks” used for in API monitoring?

A

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.

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

Which Datadog query formula would you use to calculate the percentage change in a metric’s value over a specific time range?

A

“(final_value-initial_value)/Initial_value*100”

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

Which feature in Datadog allows you to create custom-calculated metrics based on existing time-series data?

A

Query formulas

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
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
45
Q

Where should you place the configuration file for a custom check named “custom_check” in Datadog’s recommended folder structure?

A

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
Q

What is the purpose of using “Precedence” when configuring alert conditions?

A

To control the order of alert notifications in the recipient’s inbox.

47
Q

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
A

3,6,9,12,15

48
Q

For AIX systems, which command is used to generate and send a diagnostic package (flare) to Datadog support, including a specific case ID?

A

datadog-agent flare <CASE_ID></CASE_ID>

49
Q

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

A

It groups the data by a sepcific attribute or tag.

50
Q

What logging level configuration is typically used to enable the highest level of detail in the Datadog Agent logs, allowing for extensive debugging?

A

debug

51
Q

What is the term used to refer to the unique identifier assigned to a host where the Datadog Agent is running?

A

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
Q

Which configuration is required to change the default port of DogstatD?

A

dogstatsd_port:8125

53
Q

How does setting a “Warn Window” in an alert condition differ from the “Time Aggregator”?

A

The warn window defines when the notification is sent, the time aggregator does not.

54
Q

On which port by default DogStatD listens?

A

UDP 8125

55
Q

Which command can be used to check the agent status?

A

sudo systemctl status datadog-agent.

56
Q

How should the tagging name start in datadog?

A

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
Q

To oversee the status of this check across multiple hosts, which method is employed?

A

Implementing Host Monitoring

58
Q

What is the purpose of a Mute Monitor?

A

To mute the monitor for a specific duration.

59
Q

Where to check the errors incase of any issues with the agent?

A

cat/var/log/datadog/agent.log

60
Q

In advanced options for alert conditions, what is the “Hysteresis” setting used for?

A

To adjust the alert’s sensitivity to minor fluctuations

61
Q

What are the different reserved tags used by the datadog?

A

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
Q

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)
A

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
Q

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”)
A

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
Q

What role does “Group By” play when configuring alert conditions?

A

It groups data points for evaluation.

65
Q

Which JSON attribute is commonly used to define the aggregation method in a timeseries query?

A

agg_method

66
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

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
Q

In the Datadog agent, what type of log level is typically used for verbose logging?

A

DEBUG

68
Q

Which configuration file should you examine to check if the api_key is defined in DataDog?

A

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
Q

What is the purpose of using “Evaluated As” in advanced options for alert conditions?

A

To specify how multiple conditions should be combined.

70
Q

By default the Datadog Agent sends its logs to Datadog over TCP using which port?

A

10516

71
Q

How does “Consecutive Occurrences” affect the triggering of alert conditions?

A

It defines the number of consecutive periods the condition must be met.

72
Q

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?

A

Heatmaps

73
Q

For CentOS systems, which command is used to generate and send a diagnostic package (flare) to Datadog support, including a specific case ID?

A

sudo datadog-agent flare <CASE></CASE>

74
Q

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)
A

2,3,4,5,6

75
Q

What is the file extension typically used for Datadog integration configuration files in the /etc/datadog-agent/conf.d folder?

A

yaml

76
Q

Which Datadog query formula would you use to calculate the difference between two metric values at specific time points?

A

“derivitave(metric_name)”

77
Q

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?

A

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
Q

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)
A

Numbers are too large to calculate sum

79
Q

What does the term “log ingestion” refer to in Datadog?

A

collecting and processing log data

80
Q

How can we parse the below log pattern in JSON format in Datadog
employee_name=max joining_date=01/001/2023 emp_id=102

A

rule%(data::keyvalue)

81
Q

Which logging is enabled by default in Datadog?

A

Info

82
Q

How does Datadog handle log storage when a daily quota is set for an index?

A

Exclude

83
Q

What is the purpose of log pipelines in Datadog?

A

Parse logs and extract fields

84
Q

Which variable is used in the Datadog Agent configuration file to enable log collection for monitoring?

A

logs_enable:true

85
Q

Which filter is used to not include some log types(error/debug/info) in Datadog?

A

Exclusion filter

86
Q

Which logical operator is used for combining multiple filter conditions with an OR operation in Datadog?

A

OR

87
Q

Which term searches work within tags and attributes in Datadog logs?

A

Wildcard

88
Q

What type of logs will be printed and sent for monitoring in Datadog if the log_level is set Debug?

A

Logs with error, warning, info and debug severity levels.

89
Q

What does the AND operator do in log filtering?

A

Matches ALL conditions

90
Q

Which of the following is NOT a valid Datadog log filtering option:

Less than
Greater than
Equal
Multiply

A

Multiply

91
Q

How are metrics created from ingested logs billed in Datadog?

A

Custom metrics

92
Q

By default ,how many indexes can we create per account?

A

100 indexes per account

93
Q

What is the maximum retention period for Logs stored in Datadog by default?

A

60 Days max retention period

94
Q

The infrastructure team wants to deploy log indexes for 10 application teams in Datadog , what is the best way to do it?

A

Deploy using Terraform (IAC)

95
Q

What will the parsing rule that can be applied to the below log ?

employee_name: Michael joining_date: 01/001/2023 emp_id :102

A

rule%(data::keyvalue(“:”)}

96
Q

Which tag is used to configure the log index

A

Index

97
Q

How does Datadog handle log storage when a daily quota is set for an index?

A

Limited indexing

98
Q

How can we enable debug logs in the Datadog agent?

A

log_level:DEBUG

99
Q

Which Parser is used by Datadog to format other types of logs?

A

GROK

100
Q

Which Datadog feature allows you to extract fields from logs and create structures logs?

A

LOG Parsing

101
Q

Which log aggregation method is used for grouping logs by a specific field in Datadog?

A

Group by

102
Q

What is the purpose of configuring sampling rates when sending traces to Datadog using OpenTelemntary?

A

To minimize costs by avoiding unnecessary trace data ingestion.

103
Q

In the context of OpenTelemntary, which component is APM RED metrics such as request/error counts and latency distributions

A

Datadog exporter

104
Q

What is the purpose of the Datadog API key in the installation process?

A

It configures the agent to communicate with the Datadog platform.

105
Q

What command can you use to verify the successful installation of the Datadog agent?

A

sudo datadog-agent status

106
Q

How can you enhance the versatility of your dashboard to answer different scenarios?

A

Experiment with various widget types, queries and functions.

107
Q

What type of widget can you use to visualize complex metric-infrastructure relationships across multiple tags with intuitive multicolour intensity graphs?

A

Heatmaps

108
Q

How can you update an incidents impact section and specify customer impact , start and end times, and whether the incident is still active?

A

Use the slash command/datadog incident update in the incident channel

109
Q

How can you add additional metadata and context to an incident in DataDogs incident management

A

By configuring assessment fields in the incident settings ,using key::value metric tags.

110
Q

How does Datadog ensure the security of logs submitted to their platform?

A

Symmetric encryption (AES-256) is used for indexed logs at rest.

111
Q

How can you prevent the submission of specific logs to Datadog using the agent

A

By excluding logs through the logs_processing_rule setting with exclude_at_match