Cert Flashcards
(65 cards)
What is the primary purpose of logging systems?
Logging systems collect store and analyze logs from various sources to help with debugging monitoring and security.
Name one example of a logging system.
Datadog
What are the four main benefits of logging systems?
Troubleshooting, Monitoring, Security, and Compliance
How do logs help with troubleshooting?
Logs help identify and resolve issues by providing insights into what happened when and why.
How do logging systems support monitoring?
Logging systems enable real-time monitoring of system health and performance allowing for proactive identification of potential problems.
How do logs enhance security?
Logs can be used to detect and investigate security incidents such as unauthorized access or malicious activity.
How do logging systems help with compliance?
Logging systems can help organizations meet regulatory requirements by providing audit trails and evidence of system activity.
What are the five main types of log sources?
Server, Container, Cloud, Client, and Other existing logging services
What are Datadog server integrations?
Datadog offers several integrations to forward logs from a server to Datadog using a log configuration block in the conf.yaml file.
How are logs collected from containers?
It depends on where the agent is deployed or run or how logs are routed (e.g. Docker host agent Docker container agent or Kubernetes DaemonSet).
How are logs collected from cloud sources?
Through subscribing to logs on cloud provider services (e.g. AWS CloudWatch) and sending them through streams like AWS Kinesis.
How can logs be collected from clients?
Through SDKs or libraries such as the datadog-logs SDK for JavaScript clients.
What are the three main types of Datadog integrations?
Agent-based, Authentication (crawler) based, and Library integrations
What are Agent-based integrations?
Integrations installed with the Datadog Agent.
What are Authentication-based integrations?
Integrations where credentials are provided for obtaining data with an API (e.g. for AWS).
What are Library integrations?
Integrations that use the Datadog API to send data from applications based on the language they are written in.
What is the recommended log format for Datadog?
JSON format is always recommended.
How is log collection enabled in Docker?
Using the DD_LOGS_ENABLED=true environment variable.
How is log collection enabled in Kubernetes using the Datadog operator?
By setting logCollection.enabled: true in the datadog-agent.yaml manifest.
How is log collection enabled on a host?
By changing logs_enabled from false to true in the datadog.yaml configuration file.
What are the two options for log filtering?
exclude_at_match (exclude logs containing a pattern) and include_at_match (include only logs containing a pattern)
What does the mask_sequences option do for log obfuscation?
It replaces all matched groups with the value of the replace_holder parameter.
What is the flow that logs follow when being ingested by Datadog?
- Logs are ingested, 2. JSON structured logs are preprocessed, 3. Logs are filtered through pipelines, 4. Standard Attributes are applied
What is a pipeline in Datadog log processing?
A pipeline takes a subset of ingested logs and applies a list of sequential Processors.