SPLK-1003 · Question #204
Which of the following is a valid method to create a Splunk user?
The correct answer is B. Splunk REST API. The Splunk REST API is a valid, supported method for creating users programmatically. Splunk also supports creating users via the web UI (Settings > Users). Option A is incorrect because users.conf is managed by Splunk internally and should not be manually edited to add users…
Question
Which of the following is a valid method to create a Splunk user?
Options
- AAdd the username to users.conf.
- BSplunk REST API.
- CCreate a user on the host operating system.
- DCreate a support ticket.
How the community answered
(28 responses)- A7% (2)
- B89% (25)
- C4% (1)
Explanation
The Splunk REST API is a valid, supported method for creating users programmatically. Splunk also supports creating users via the web UI (Settings > Users). Option A is incorrect because users.conf is managed by Splunk internally and should not be manually edited to add users - Splunk overwrites it. Option C is incorrect because Splunk users are separate from OS-level accounts (unless PAM authentication is configured). Option D is nonsensical in this context.
Topics
Community Discussion
No community discussion yet for this question.