Courseiva

SPLK-1001 · domain

Basic Searching and Transforming Commands

Practise Splunk Core Certified User SPLK-1002 Basic Searching and Transforming Commands practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.

69 questions13 easy28 medium28 hard

Focused practice

Practice Basic Searching and Transforming Commands questions

Scored sessions drawing only from this domain — pick a length below.

Start 20-question practice test →

What this domain covers

What to know about Basic Searching and Transforming Commands

Basic Searching and Transforming Commands questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Watch out for

Common Basic Searching and Transforming Commands exam traps

  • Answering from memory before reading the full scenario.
  • Missing a constraint such as cost, availability, security, scope or command context.
  • Choosing a broad answer when the question asks for the most specific fix.
  • Ignoring why the wrong options are tempting.

Question index

All Basic Searching and Transforming Commands questions (69)

Click any question to see the full explanation, or start a practice session above.

1

A medium-sized company uses Splunk to monitor its e-commerce platform. The platform generates around 10 million events per day from web servers, application logs, and databases. The security team wants to identify the top 10 IP addresses that trigger the most 403 Forbidden errors in the last 24 hours. However, when they run the search: index=ecom sourcetype=web status=403 | top src_ip, the search takes over 5 minutes to complete and sometimes times out. The team needs a faster approach that still accurately identifies the top IPs. The team's Splunk environment uses indexers and a search head. The data is not accelerated. What should the team do to improve search performance?

Medium
2

Refer to the exhibit. An analyst wants to see the top 10 most visited URI paths, but the result also includes a 'percent' column. To remove the percent column, which command should be added?

Easy
3

A search returns many duplicate events due to data source redundancy. Which command can remove duplicate events based on a specific field?

Medium
4

Refer to the exhibit. A security analyst runs the search and sees the result table. The analyst wants to see only the top 3 URI paths with their counts, without the percentage column. Which command modification achieves this?

Hard
5

A large financial institution uses Splunk to consolidate logs from thousands of ATMs. Each ATM sends a heartbeat event every 5 minutes containing fields: atm_id, timestamp, status (OK or ERROR), and firmware_version. The operations team wants to find the number of ATMs that have reported at least one ERROR status in the last hour. The initial search is: index=atm sourcetype=heartbeat status=ERROR | dedup atm_id | stats count. However, this search returns a count that is too high because some ATMs report multiple errors within the hour. The team needs an accurate count of ATMs that had any error, regardless of how many error events each ATM generated. The search must be efficient due to the high volume of events. Which approach should be used?

Hard
6

Which two components are required to create a time-based chart of average CPU usage per host over the last 4 hours? (Choose two.)

Medium
7

Which THREE of the following are valid uses of the stats command?

Hard
8

An analyst wants to remove duplicate events based on the 'user' field, keeping only the first occurrence. Which command should be used?

Easy
9

A user wants to see the top 5 most common values of the 'action' field in the web access logs. Which command should be used?

Easy
10

An analyst wants to find all events where the field 'status' is not 200. Which search is correct?

Easy
11

Which TWO of the following commands will return exactly one result row when there is at least one event?

Easy
12

Which of the following statements about the `top` and `rare` commands in Splunk are correct? Choose all that apply. (There are four correct answers.)

Medium
13

A search `index=main | top limit=10 user | fields - percent` is running slowly on a large dataset. Which change would likely improve performance the most?

Hard
14

Refer to the exhibit. The search runs but the user field is not modified. What is the most likely cause?

Hard
15

Drag and drop the steps to configure a Splunk forwarder to send data to an indexer into the correct order.

Medium
16

Match each Splunk license type to its description.

Medium
17

A user runs a search that returns thousands of results. They need to see only the first 100 events after sorting by time descending. Which command should they use?

Medium
18

Which two of the following search commands are transforming commands? (Choose two.)

Easy
19

A user wants to see the top 10 source IP addresses generating 404 errors. Which SPL is correct?

Easy
20

An analyst wants to find events where the field 'user' is not present. Which search correctly identifies such events?

Hard
21

A user needs to create a report showing the average response time per endpoint for the last hour. Which command would produce this result?

Medium
22

An analyst runs the search `index=web | stats count by status | sort - count` and wants to show only status codes with count greater than 100. Which command should be added before the sort?

Medium
23

Drag and drop the steps to create a Splunk dashboard with a single panel into the correct order.

Medium
24

Refer to the exhibit. The search returns zero results. What is a likely cause?

Hard
25

A search returns 1,000 events. The analyst wants to see the first 10 events sorted by the '_time' field in descending order. Which search is correct?

Medium
26

Refer to the exhibit. A Splunk analyst wants to find the top users generating syslog events. If the analyst wants to include all users, not just the top 5, which command modification is correct?

Hard
27

Which TWO commands can be used to filter events based on a field value? (Choose two.)

Medium
28

A search returns events with a field 'ip' that contains both IPv4 and IPv6 addresses. An analyst wants to count events for each IP type (IPv4 vs IPv6). Which command should be used to create a new field that categorizes the IP type?

Medium
29

A junior Splunk user is tasked with investigating slow search performance in a large Splunk environment. The user runs a search over a week of data from the main index (containing 500 GB of data per day) using the following command: `index=main | search error | stats count by host`. The search takes over 10 minutes to complete. The user wants to improve search performance while still getting accurate results. Which of the following actions should the user take first?

Easy
30

A large e-commerce company uses Splunk to monitor their web application. The operations team has noticed that the search for tracking user sessions is taking too long and consuming excessive resources. The current search is: index=web sourcetype=access_combined | stats count by clientip, sessionid, productid | sort - count The index contains over 10 billion events per day. The team wants to reduce the search time while still being able to identify the top 10 most active sessions (combinations of clientip and sessionid) that involve more than 5 product views. They also need to exclude any sessions that originated from internal IPs (10.0.0.0/8). Which approach would achieve this most efficiently?

Hard
31

Refer to the exhibit. An analyst runs this search and expects to see a table of status codes with their counts, filtered to those with count greater than 100. The search returns zero results even though there are many events. What is the most likely reason?

Hard
32

A security analyst needs to find the number of failed login attempts per user. Which command group should be used?

Easy
33

Refer to the exhibit. A Splunk admin runs a search using a lookup file. What is the result of the stats command?

Hard
34

Which three of the following are valid ways to filter events before a transforming command? (Choose three.)

Hard
35

Refer to the exhibit. A user runs this search. The results show only Error and Warning, but no Info. What is the most likely reason?

Easy
36

Refer to the exhibit. A user gets an error: 'Error in 'where' command: The field 'count' is not a numeric type.' What is the issue?

Medium
37

A search returns events with a field 'duration' in milliseconds. The analyst wants to create a new field 'duration_sec' that divides duration by 1000. Which command accomplishes this?

Hard
38

A network operations team uses Splunk to monitor netflow data stored in index='net' and sourcetype='netflow'. The events contain fields: src_ip, dest_ip, bytes, and protocols. The team needs to identify the top 5 source IPs by total bytes transferred (based on the bytes field). For each of those top source IPs, they also want to list the destination IPs and the number of times they communicated. The data volume is large, so performance is important. Which SPL approach returns the desired results efficiently?

Medium
39

Which three of the following are valid uses of the `stats` command in Splunk? (Choose three.)

Medium
40

What is the purpose of this search? `index=web | top limit=5 status`

Hard
41

Which TWO of the following commands can be used to create a new field from existing fields?

Medium
42

A security analyst needs to identify the top 5 source IP addresses generating the most web traffic. Which command should be used?

Easy
43

Which TWO commands can be used to create a chart that shows the count of events over time?

Medium
44

An analyst runs a search that returns 10,000 events. They want to see the distribution of the 'status' field across the 'method' field. Which command should be used?

Hard
45

A security analyst needs to find the number of failed login attempts per user in the last hour. The events contain a field 'result' with value 'failure'. Which search is correct?

Easy
46

A search uses `eval memory_MB = memory_bytes / 1024 / 1024`. The field memory_bytes contains values like '2,048,000'. The eval results memory_MB is often null. What is the most likely cause?

Hard
47

Which THREE of the following are valid uses of the 'eval' command? (Choose three.)

Hard
48

Which TWO factors should be considered when deciding to use the rare command instead of top?

Hard
49

An analyst executes the following search: index=main sourcetype=access | stats dc(user) by host. What does dc(user) do?

Hard
50

Which TWO of the following statements about the `stats` command in Splunk are correct? (Choose two.)

Medium
51

Refer to the exhibit. A security analyst runs a search to count failed login attempts by hour. Which hour has the highest number of failed login attempts?

Medium
52

A Splunk administrator is troubleshooting a slow search on firewall logs. The index is 'firewall', sourcetype is 'cisco:asa', and there is about 500 GB of data per day. The search is: index=firewall sourcetype=cisco:asa action=block | stats count by src_ip | where count > 1000. This search takes over 5 minutes to return results. The administrator needs the same results faster. The index has a data model named 'firewall_dm' that is accelerated with a summary range of 7 days. Which change to the search will improve performance the most while still returning the same results?

Hard
53

An analyst runs: index=app sourcetype=log ERROR | stats count by host | where count > 5. What is the function of the where command in this search?

Medium
54

A large enterprise uses Splunk to monitor 500+ servers. A search returns results slowly due to high data volume. Which best practice can improve performance when using the top command?

Hard
55

A team needs to calculate the average response time for each URL path from web server logs. The response time is in a field 'duration'. Which search is correct?

Medium
56

Refer to the exhibit. A data analyst is analyzing web traffic and wants to find the most accessed products. The rex command extracts product IDs from URI paths. Why might the top command return inaccurate results?

Hard
57

Refer to the exhibit. The search returns only events where src_zone is 'external'. What is the problem?

Medium
58

Which THREE of the following are transforming commands in Splunk?

Medium
59

Refer to the exhibit. The search returns no results. What is the most likely reason?

Hard
60

A search includes the command '| stats dc(user) by host'. What does this command return?

Hard
61

A user wants to remove duplicate events based on the 'transaction_id' field, keeping only the first occurrence. Which command is appropriate?

Easy
62

Match each Splunk role to its typical permission scope.

Medium
63

Refer to the exhibit. A user runs the search and gets no results. Which is the most likely cause?

Hard
64

An administrator wants to count events by status code and show only codes with more than 100 events. Which search correctly accomplishes this?

Medium
65

An analyst needs to find the count of events by source type for each day in the past week, but only for source types with more than 1000 events. Which search is correct?

Hard
66

Refer to the exhibit. A user runs this search and gets 10 results as expected. However, they want to see the top 10 hosts for the past week. The search still returns results, but the counts are lower than expected. What is the most likely reason?

Medium
67

Refer to the exhibit. A security analyst runs a search to identify HTTP 500 errors over time. Which time period shows the highest count of 500 errors?

Hard
68

Refer to the exhibit. What will be the output of this search?

Hard
69

A user wants to find events where the status code is 500 or 503 and the response time is greater than 2 seconds. Which TWO SPL commands will correctly limit the results to only these events?

Medium

Frequently asked questions

What does the Basic Searching and Transforming Commands domain cover on the SPLK-1001 exam?
Basic Searching and Transforming Commands questions test whether you can apply the concept in context, not just recognise a definition.
How many questions are in this domain?
This page lists all 69 Basic Searching and Transforming Commands questions in the SPLK-1001 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only Basic Searching and Transforming Commands questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
splunk-core-certified-user SPLUNK-CORE-CERTIFIED-USER basic searching Practice Questions