SPLK-2001 Sample Questions & Answers
Free Certified Developer practice questions with worked answers and explanations. See how the ExamJungle simulator prepares you — then jump into the full test.
Launch the full SPLK-2001 simulator →Free SPLK-2001 Sample Questions with Answers
Real questions from the Splunk Certified Developer practice test — answers and explanations included. Showing 16 of 32 free samples.
- Question 1Select 2
Which of the following statements describe oneshot searches? (Select all that apply.)
Show answer & explanation
Correct answers: B, C
- Question 2
Which of the following options would be the best way to identify processor bottlenecks of a search?
Show answer & explanation
Correct answer: C
C
- Question 3
Which of the following is true of a namespace?
Show answer & explanation
Correct answer: D
D
- Question 4
What must be done when calling the serviceNS endpoint?
Show answer & explanation
Correct answer: C
- Question 5Beginner
Use Forms · Creating and managing forms in Splunk apps
A developer is building a custom application for a logistics company. The app requires a dashboard that displays shipment statuses. The developer needs to initialize a token named
default_regionto the value "NorthAmerica" as soon as the dashboard loads, before any user interaction occurs. Which Simple XML element should be used to achieve this?Show answer & explanation
Correct answer: A
The element is used specifically to set tokens or perform actions immediately when a dashboard loads, independent of search completion or user input. It is placed at the top level of the dashboard definition.
- Question 6Advanced
Introduction to the Splunk REST API · Retrieving results
A security operations team needs to export a large volume of search results (approx. 500,000 events) from a Splunk search job using a Python script. They want to minimize memory usage on the client side by processing results as they stream. Which REST endpoint and output_mode combination is optimal for this requirement?
Show answer & explanation
Correct answer: C
The /services/search/jobs/export endpoint is designed for streaming large result sets directly without keeping the job on the server indefinitely. Using 'json' or 'csv' output modes allows for easy line-by-line parsing in Python, which is memory efficient.
- Question 7IntermediateSelect 2
Creating a KV Store · KV Store implementation
A developer is creating a KV Store collection named
device_inventoryto store hardware asset details. The collection must support a hierarchy of users where only theadminrole can write data, butpowerusers can read it. Which configuration file must be modified to define the collection structure, and which file handles the access control list (ACL)? (Select TWO)Show answer & explanation
Correct answers: A, D
The metadata/local.meta file stores the permissions (read/write access by role) for the collection object defined in collections.conf.
collections.conf is used to define the KV Store collection, its fields, and data types. Permissions (ACLs) are managed via the metadata/local.meta file or via the REST API, not transforms.conf.
- Question 8Beginner
Add Drilldowns · Token passing
While developing a dashboard for a financial application, you need to pass a token named
account_idto a drilldown URL. Theaccount_idvalue might contain spaces or special characters that could break the URL structure. Which token filter should be applied to ensuring the value is properly URL-encoded?Show answer & explanation
Correct answer: A
The |u filter encodes the token value for use in a URI/URL, ensuring special characters (like spaces becoming %20) do not break the link structure.
- Question 9Intermediate
Introduction to the Splunk REST API · REST endpoints
A developer needs to programmatically retrieve the list of all saved searches that belong to the app
FinanceOpsand are owned by the userjdoe. Which REST API endpoint correctly targets this specific namespace?Show answer & explanation
Correct answer: D
The servicesNS endpoint format is /servicesNS/{user}/{app}/{endpoint}. To scope the request to user 'jdoe' and app 'FinanceOps', the URI must start with /servicesNS/jdoe/FinanceOps/.
- Question 10Intermediate
Improve Performance · Performance optimization techniques
You are optimizing a dashboard that contains five different panels. All panels utilize the same base search logic but visualize the data differently. To improve performance and reduce the load on the search head, which strategy should you implement?
Show answer & explanation
Correct answer: C
Using a base search executes the SPL once. Post-process searches then filter or transform the results of that base search in memory for each panel, significantly reducing the number of concurrent search jobs dispatched.
- Question 11Intermediate
Introduction to the Splunk REST API · Search job management
A developer writes a script to interact with the Splunk REST API. The script sends a POST request to
/services/search/jobswith the argumentsearch='search index=web | stats count'. The script receives an HTTP 201 response. What does this response indicate?Show answer & explanation
Correct answer: D
HTTP 201 Created is the standard response code when a resource (in this case, a search job) is successfully created via the REST API.
- Question 12Beginner
Packaging Apps · App packaging and distribution
When creating a Splunk App for release on Splunkbase, which configuration file is used to define the app's version, author, and description visible in the Splunk UI?
Show answer & explanation
Correct answer: D
The app.conf file in the /default directory contains the [launcher] stanza where the version, description, and author are defined. This file controls how the app appears in the Splunk Apps management page.
- Question 13Intermediate
Add Advanced Visualizations & Behaviors · Simple XML Extensions
A developer is configuring a 'Single Value' visualization to change color based on the returned numerical value. The requirement is: Values below 50 are green, 50-80 are yellow, and above 80 are red. Which Simple XML element is used to define these thresholds?
Show answer & explanation
Correct answer: C
The 'rangeColors' option (often paired with 'rangeValues') is used within the visualization definition to map specific numerical ranges to hex color codes or preset color names.
- Question 14Intermediate
Creating a KV Store · KV Store implementation
A developer needs to delete a specific record from a KV Store collection named
user_sessions. The record has a_keyvalue ofsess_12345. Which REST operation and endpoint are correct?Show answer & explanation
Correct answer: C
To delete a specific record, send a HTTP DELETE request to the collection data endpoint appended with the specific _key of the record.
- Question 15Intermediate
Improve Performance · Performance optimization techniques
Which of the following statements about the
tstatscommand is TRUE?Show answer & explanation
Correct answer: C
tstats is a generating command that performs statistical queries on indexed fields (like host, sourcetype, source, _time) directly from the time-series index (tsidx) files, bypassing the need to retrieve raw events.
- Question 16Beginner
Use Forms · Creating and managing forms in Splunk apps
You have a dashboard panel that relies on a token
$selected_host$. You want to completely hide this panel from the dashboard when the user has not yet selected a host (i.e., when the token is unset). Which attribute should you add to theorelement?Show answer & explanation
Correct answer: D
The 'depends' attribute takes a token name. If the token is set (has a value), the element is rendered. If the token is unset (null), the element is hidden.
Ready for the real thing?
The full SPLK-2001 simulator has every exam-style question, timed mode, and instant scoring.