# Free SPLK-1001 practice questions

> 10 free SPLK-1001 practice questions with the correct answer and an explanation.

Page: https://devopscodelab.com/exams/splunk-core-certified-user/free-practice-questions/
Practice exams: https://devopscodelab.com/exams/splunk-core-certified-user/

### Question 1 of 10

Which app is installed with Splunk Enterprise by default and provides the search bar, the time range picker and the Reports and Dashboards pages most users work from?

- A. Splunk Enterprise Security
- B. Splunk IT Service Intelligence
- C. Splunk Add-on for Unix and Linux
- D. Search & Reporting

**Answer:** D

**Explanation:** Search & Reporting ships with every Splunk Enterprise and Splunk Cloud Platform deployment and is where users search, save reports and build dashboards. Enterprise Security and IT Service Intelligence are separately licensed premium apps, and the Unix and Linux add-on only provides inputs and field knowledge for that data, not a search interface.

### Question 2 of 10

An analyst needs events from the firewall sourcetype that mention either deny or drop, plus all events from the ids sourcetype whatever their content. Which search returns exactly this?

- A. (sourcetype=firewall (deny OR drop)) OR sourcetype=ids
- B. sourcetype=firewall NOT (deny OR drop) OR sourcetype=ids
- C. sourcetype=firewall (deny OR drop) sourcetype=ids
- D. sourcetype=firewall OR sourcetype=ids deny OR drop

**Answer:** A

**Explanation:** Grouping the firewall condition with its keywords and then adding OR sourcetype=ids returns both sets. Adding NOT before the keyword group keeps the firewall events that do not mention deny or drop, the opposite of what is needed; joining two sourcetypes with implied AND matches nothing; and the last option also applies deny OR drop to the ids events.

### Question 3 of 10

An analyst runs index=web | stats count by status in Fast mode and later in Verbose mode. What difference should the analyst expect?

- A. Fast mode returns the raw events and the statistics table together, while Verbose returns only the table
- B. Verbose mode also returns the underlying events and full field discovery, so it runs more slowly
- C. Both modes return identical output and timing, because search mode only affects real-time searches
- D. Verbose mode limits field discovery to host, source and sourcetype, making it the quickest mode

**Answer:** B

**Explanation:** With a transforming search, Verbose mode still retrieves the events and discovers all fields, which adds work, while Fast mode skips field discovery and event output. Fast mode does not return raw events alongside the table, Verbose is the slowest mode rather than the quickest, and search mode applies to historical searches as well as real-time ones.

### Question 4 of 10 (choose 2)

Which searches return only events from hosts whose name begins with db? (Choose two.)

- A. index=main db*
- B. index=main host=d*
- C. index=main host=db*
- D. index=main NOT host=db*
- E. index=main | search host=db*

**Answer:** C, E

**Explanation:** host=db* in the base search, or the same comparison in a later search command, keeps only hosts starting with db, although the base search form is more efficient. host=d* also matches hosts such as dns01, NOT host=db* excludes exactly the hosts that are needed, and the bare keyword db* matches any event containing a word that starts with db.

### Question 5 of 10

In the fields sidebar a field named action is listed under Interesting Fields while a field named session_flag is not. What is the most likely reason?

- A. action is a numeric field, and only numeric fields are promoted to interesting fields
- B. action has fewer than 100 distinct values, and session_flag has more than 100 distinct values
- C. action appears in at least 20 percent of the returned events, and session_flag appears in fewer
- D. action was extracted at index time, and session_flag is only extracted at search time

**Answer:** C

**Explanation:** Interesting Fields are the fields present in at least 20 percent of the events in the current results; the rest are reachable through All Fields. Being listed does not depend on the number of distinct values, on index-time versus search-time extraction, or on whether the values are numeric or strings.

### Question 6 of 10

A search returns several events per user and the analyst needs to keep only the most recent event for each user. Which command does this?

- A. | sort -user
- B. | dedup user
- C. | uniq user
- D. | table user

**Answer:** B

**Explanation:** dedup keeps the first result for each value of the field, and because results arrive newest first, that is the most recent event per user. uniq removes only results that are completely identical and takes no field argument, sort -user only reorders results, and table displays the field without removing repeats.

### Question 7 of 10

An analyst needs a table of the 20 largest file transfers with the fields user, file and bytes. Which search produces this?

- A. index=ftp | table user file bytes | sort bytes limit=20
- B. index=ftp | top 20 bytes | table user file bytes
- C. index=ftp | dedup 20 bytes | table user file bytes
- D. index=ftp | sort 20 -bytes | table user file bytes

**Answer:** D

**Explanation:** sort 20 -bytes returns the 20 results with the highest bytes values, and table then shows the three fields. sort bytes sorts ascending and limit is not set that way, top returns frequency counts rather than the largest transfers, and dedup 20 keeps up to 20 duplicates per value instead of ranking by size.

### Question 8 of 10

A security analyst needs the number of distinct user values that logged in to each host. Which search returns this?

- A. index=auth action=success | stats dc(user) by host
- B. index=auth action=success | stats count(user) by host
- C. index=auth action=success | top user by host limit=1
- D. index=auth action=success | stats values(host) by user

**Answer:** A

**Explanation:** dc() is the distinct count function, so dc(user) by host gives the number of unique users per host. count(user) counts every event containing user, including repeats; values(host) by user lists hosts per user instead; and top with limit=1 shows only the most frequent user per host.

### Question 9 of 10

After running a search that ends with stats count by status, an analyst opens the Visualization tab. Why is a chart available for this search?

- A. Charts become available only when the search contains the chart command
- B. Every event search produces chart data, whether or not it transforms results
- C. The transforming command produced a statistics table that can be charted
- D. The Visualization tab charts raw events directly from the selected fields

**Answer:** C

**Explanation:** Visualizations are built from the tabular output of transforming commands such as stats, top, rare, chart and timechart. Plain event searches do not produce chart data, raw events are not charted directly, and chart is only one of several transforming commands that can feed a visualization.

### Question 10 of 10

An analyst uploads a CSV file named product_codes.csv as a lookup table file and wants to check its contents in the search bar. Which search displays the rows of the file?

- A. index=lookups source=product_codes.csv
- B. | inputlookup product_codes.csv
- C. | lookup product_codes.csv
- D. | outputlookup product_codes.csv

**Answer:** B

**Explanation:** inputlookup reads a lookup table and returns its rows as search results, and it must be the first command after the leading pipe. lookup enriches existing events and needs input fields, outputlookup writes results to a lookup, and lookup files are not stored as events in an index.

Ready for a timed run? Take the free 15-question SPLK-1001 mini exam: https://devopscodelab.com/app/exams/splunk-core-certified-user/mini/

DevOpsCode Lab is not affiliated with Splunk. SPLK-1001 and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
