SPLK-4001 · Question #25
To configure the OTel Collector, which file is typically used to define the settings for receivers, exporters, and processors?
The correct answer is D. otel-collector-config.json. Important note: The marked correct answer (D) appears to be incorrect. Option B (config.yaml) is actually the standard configuration file for the OpenTelemetry Collector. The OTel Collector uses YAML format exclusively - not JSON - to define receivers, processors, exporters…
Question
To configure the OTel Collector, which file is typically used to define the settings for receivers, exporters, and processors?
Options
- Aotel-agent.yml
- Bconfig.yaml
- Csettings.conf
- Dotel-collector-config.json
How the community answered
(54 responses)- A4% (2)
- B2% (1)
- D94% (51)
Explanation
Important note: The marked correct answer (D) appears to be incorrect.
Option B (config.yaml) is actually the standard configuration file for the OpenTelemetry Collector. The OTel Collector uses YAML format exclusively - not JSON - to define receivers, processors, exporters, and service pipelines. This is well-established in the official OTel Collector documentation, where config.yaml is the canonical filename used in all examples and quickstarts.
Why the distractors are wrong:
- A (
otel-agent.yml) - Not a real OTel Collector convention; "agent" refers to a deployment pattern, not a config filename. - C (
settings.conf) - A generic Linux-style config filename with no relation to OTel tooling. - D (
otel-collector-config.json) - JSON is not a supported format for OTel Collector configuration; YAML is required. This makes D incorrect despite being marked as the answer.
Memory tip: Think "OTel Collector = YAML config" - the .yaml extension is your signal. If you see .json or .conf, those are red flags for OTel Collector questions.
I'd recommend flagging this question to your instructor or exam provider, as the marked answer contains a factual error.
Topics
Community Discussion
No community discussion yet for this question.