Datadog Fundamental Certification: The Study Guide

Status
Created
Nov 20, 2024 06:51 AM
Tags
This Datadog Fundamental study guide will help you prepare for the Datadog Fundamental exam with all the required resoruces. Datadog Fundamental is the Datadog certification that tests the core knowledge to use the Datadog platform effectively.
In this article, I will go through all the resoruces that can help you prepare for the CKAD exam.
Note: The author of this blog are Datadog certified.

Table of Contents

What is the Datadog Fundamental exam?

The official Datadog certification page says:
Datadog Fundamentals is our foundational certification offering. This exam tests core knowledge required to use the platform effectively. Knowledge covered includes basic computer fundamentals, infrastructure deployment with Datadog, networking and Datadog Agent configuration, data collection, troubleshooting the Datadog Agent, and data visualization and utilization.
Datadog Fundamental is the initial certification for Datadog newcomers. It is aimed for engineers that is interested in the

Datadog Fundamental Exam Preparation Guide

This section will go over the complete resources and official Datadog documentation pages that can help you prepare for the exam better.
Content Outline:

Computer Fundamentals

  1. Config File Modification
    1. Some programs require you to configured via editing a text file for the software to run as you wish.
      These text files configure the software and are — unsuprusingly enought — called “config files”.
      Config files are essentially editable text fiels that contain information required for the successful operation of a program. The files are structured in a particular way, formatted to be user configurable.
      notion image
      Config files are structured in a format of the developer’s own design. Others use known standards used to structure data, like: JSON (JavaScript Object Notation, YAML (YAML Ain’t Markup Language), and XML (eXtensible Markup Language).
      Some programs load the information stored in their config files when they start. Meanwhile other periodically check the config file to see it has been changed.
  1. Operating Systems
  1. Programming Languages
  1. Hardware Concepts
  1. Shell
  1. Metadata
  1. Networking
Notes:
  • What backend language supported by Datadog
  • Something about swap in memory, what it is used for
  • And about page fault, where it is happen in computer?
  • Networking talks about subnet mask, there are 2 questions there

Infrastructure Development

  1. Agent Installation
    1. The Datadog Agent is software that runs on your hosts. It collects events and metrics from hosts and sends them to Datadog.
      It is recommended to fully install the Agent.
  1. API Key
    1. API keys are unique to your organization. An API key is required by the Datadog Agent to submit metrics and events to Datadog. [*]
      Your org must have at least one API key and at most 50 API keys. [*]
      notion image
  1. Application Key
    1. Application keys, in conjunction with your organization’s API key, give users access to Datadog’s programmatic API. [*]
      Application keys are associated with the user account that created them and by default have the permission and scopes of the user who created them. [*]
      If a user’s account is disabled, any application keys that the user created are revoked. Any API keys that were created by the disabled account are not deleted, and are still valid. [*]
      notion image
      The Datadog API is an HTTP REST API. The API uses resource-oriented URLs to call the API, uses status codes to indicate the success or failure of requests, return JSON from all requests, and uses standard HTTP response code. [*]
      Authenticate to API with an API key using the header DD-API-KEY. For some endpoints, you also need an Application key, which uses the header DD-APPLICATION-KEY . [*]
      Use the Datadog HTTP API to access the Datadog platform programmatically. You can use the API to send data to Datadog, build data visualizations, and manage your account.
  1. Running the Agent
    1. In Ubuntu, it is reccomended to use the service manager sudo service datadog-agent status meanwhile systemctl is used in Red Hat system.
  1. Agent Hostname
    1. The Agent can send its own configuration to Datadog to be displayed in the Agent Configuration section of the host detail panel. [*]
      The Agent configuration is scrubbed of any sensitive information and only contains configuration you’ve set using the configruation file or environment variables. The configuration changes are updated every 10 minutes. [*]
Notes:
  • Datadog reccomendation when installing Agent on Ubuntu / Linux system? One-line command?
  • API Key formal definition, something like “alphanumeric string bla bla” or “unique identifier bla bla” which one?
  • Different between API Key and Application Key? What is the use of Application Key?
  • What happen to API Key and Application Key when user create it removed from organization
  • Canonical hostname

Networking & Agent Configuration

  1. Datadog Ports
    1. Open the following ports to benefit from all the Agent functionalities:
      Outbound:
      Functionality
      Port / Protocol
      Agent APM Containers Live Processes Metrics
      443 / TCP
      Custom Agent Autoscaling
      8443 / TCP
      Log Collection
      10516 / TCP
      NTP
      123 / UDP
      Inbound:
      Functionality
      Port / Protocol
      Agent Browser GUI
      5002 / TCP
      APM receiver
      8126 / TCP
      DogStatsD
      8125 / UDP
      go_expvar server (APM)
      5012 / TCP
      go_expvar integration server
      5000 / TCP
      IPC API
      5001 / TCP
      Process Agent debug
      6062 / TCP
      Process Agent runtime
      6162 / TCP
  1. Datadog IP Addresses
  1. Auto-discovery
Notes:
  • Port to check metrics or something, port 5001? And what each port use for?
  • How to specify auto-discovery. Something like discovering specific container nginx, how to define it on configuration file?

Data Collection

  1. DogStatsD
  1. Crawlers
  1. Agent Integrations
  1. API Endpoints
  1. Tagging Best Practices
  1. Metrics & Timeseries
Notes:
  • What feature taking from StatsD by DogStatsD?
  • What is Crawlers? It come out often actually. From different between crawlers and agent-based integrations, about its functionality which is to push metrics or to pull metrics?
  • All above concepts must can be explain deliberately by just hear the terms

Troubleshooting Datadog

  1. Agent Commands
  1. Agent Logs
  1. Agent Config Files
Notes:
  • There are some command that show up on option: flare, diagnose, check, configchek
  • What are all commands available? I should familiar with some of it
  • How to inspect logs
  • And the directory structure, I should familiar. It come out often: cheks, conf.d, whether cheks.d is exist or not I’m not sure back then

Data Visualization & Utilization

  1. Host Map
  1. Dashboards
  1. Using Metrics
  1. Using Tags
  1. Monitors and Alerts
Notes:
  • Host Map use for highlight or visualize
  • Basic terms for Dashboard, its functionality like event report
  • NoProxy in datadog config, is it use for metrics?
  • Al kind of monitors and alerts need hands-on practice

Datadog Fundamental Certification Resoruces

Introduction to Observability

What is Monitoring?
📹
Monitoring is the process of gathering data to understand what’s going on inside of your infrastructure.
  • Monitoring is the act of paying attention to the patterns that your metrics are telling you. It’s about analyzing your data and acting on it.
What do we monitor?
  • Performance
    • By watching performance we can watch how our architecture and applications are using the resources that are available
  • Security
    • Is something going wrong in our environment? Creating monitors around security metrics can stop incidents in their tracks.
  • Usage
    • What are our users doing in our environment? Are they interacting with our products?
Alerting
Alerts are simply setting a threshold in a monitor. When that threshold is breached, a notification is sent to the designated recipient
What is Observability?
🩻
Observability is taking the same data that you’ve collected and moving beyond “What is happening?” to “Why is it happening?”
Three Pillars of Observability
📈
Metrics
These data points are numerical values that can track anything about your environment over time, from latency to error rates to user signups
Example of Metrics:
[17.82, 22:11:01] [ 6.38, 22:11:12] [ 2.87, 22:11:38] [ 7.06, 22:12:00]
Visualizing Metrics:
notion image
Why do we collect metrics?
  • Baseline for Operations
    • Metrics can tell us what normal looks like for our applications. Without metrics, we’re stuck guessing what’s going on.
  • Reactive Responses
    • Using metrics we don’t have to wait until a customer reports an outage. We can react to issues in our environment before they snowball
  • Proactive Responses
    • Why wait for something to go wrong? By looking at metrics we can get ahead of problems before they happen.
📃
Logs
A computer generated file that contains time stamped information about the usage of that system
🗃️
Traces
Used to track the time spent by an application processing a request and the status of this request
What is Datadog?
page icon
Datadog is an observability platform for cloud-scale applications, providing monitoring of servers, databases, tools, and services, through a SaaS-based data analytics platform
notion image