Splunk certification · Exam SPLK-1002

SPLK-1002 Mock Exam Page 4

Splunk Core Certified Power User Exam

Free SPLK-1002 mock exam questions 31–40, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free SPLK-1002 questions

31–40 of 91 free
Question 31 Choose 1
A user wants to create a workflow action that will retrieve a specific field value from an event and run a search in a new browser window in the user's Splunk instance. What kind of workflow action should they create?
Show answerHide answer

Correct answer: B A Search workflow action, because the user is running a new search with a specific field value from an event returned in the user's search.

Explanation

Explanation

A Search workflow action is specifically designed to take a field value from an event and pass it as part of a new search query that opens in another browser window or tab within the same Splunk instance. The user wants to "retrieve a specific field value from an event and run a search in a new browser window in the user's Splunk instance." That is exactly the purpose of a Search workflow action.

❌ Why the other options are incorrect

A. A Run workflow action
– This is not a valid workflow action type in Splunk. The three standard types are Search, POST, and GET. "Run" does not exist as a workflow action category.

C. A POST workflow action
– POST actions send data (like a form submission) to an external web server. They are not used to run searches inside the same Splunk instance. POST is for external web requests, not internal Splunk searches.

D. A GET workflow action
– GET actions append field values to a URL as query parameters, but they are typically used to link to external websites (e.g., a WHOIS lookup). While a GET action could technically open a Splunk search URL, the official Splunk exam distinguishes that a Search workflow action is the dedicated type for running a new search inside the same Splunk instance. GET is more commonly associated with external links, not internal searches.

References

Splunk Documentation:
"A Search workflow action runs a new search in a new browser window or tab in the same Splunk instance, using field values from the original event."
Question 32 Choose 1
When using | timchart by host, which filed is representted in the x-axis?
Show answerHide answer

Correct answer: C time

Explanation

Explanation:

When you use | timechart by host, the x‑axis represents time. The timechart command always plots time on the x‑axis because it is a time‑based aggregation command. Each data point on the x‑axis corresponds to a time bucket (e.g., 1 minute, 1 hour, 1 day) determined automatically by the search time range or manually set with span=.

❌ Why the other options are incorrect

A. date –
While date is related to time, the x‑axis in a timechart is specifically the _time field, which is a continuous timestamp value. The label on the x‑axis may display dates or times depending on the time range, but the underlying field is _time, not a separate "date" field. Splunk does not have a default field named date; it uses _time.

B. host –
host is the field used to split the data into separate series (the by clause). It appears in the legend or as separate lines/bars, not on the x‑axis. The x‑axis is always time‑based.

D. -time –
This is invalid syntax. There is no field named -time in Splunk. The - symbol might appear in chart commands as a sort modifier (e.g., by -_time), but it is not a field and does not represent the x‑axis in timechart.

References

Splunk Documentation:
"The timechart command creates a time series chart. The x‑axis is always time, and the y‑axis is the aggregated statistic."
Question 33 Choose 1
Which type of workflow action sends field values to an external resource (e.g. a ticketing system)?
Show answerHide answer

Correct answer: A POST

Explanation

Explanation:

A POST workflow action sends field values from an event to an external resource, such as a ticketing system, web form, or API endpoint. It uses the HTTP POST method to submit data in the request body (e.g., form‑encoded or JSON). This allows you to create tickets, log incidents, or trigger external processes directly from Splunk.

❌ Why the other options are incorrect

B. Search –
A Search workflow action runs a new search inside the same Splunk instance, not an external resource. It opens a new Splunk search window using field values as search terms. It does not send data to external systems.

C. GET –
A GET workflow action appends field values to a URL as query parameters and opens that URL in a new browser window. While it can be used with external websites (e.g., WHOIS lookups), it sends data via the URL, not in the request body. It is less secure for sending sensitive or large amounts of data and is typically used for read‑only lookups, not for submitting tickets.

D. Format –
"Format" is not a workflow action type in Splunk. The three standard types are Search, GET, and POST.

References

Splunk Documentation:
"A POST workflow action sends an HTTP POST request to an external web server. You can use it to send event data to a ticketing system or other web application."
Question 34 Choose 1
Which field extraction method should be selected for comma-separated data?
Show answerHide answer

Correct answer: B Delimiters

Explanation

Explanation:

For comma‑separated data (e.g., CSV format like "John,Doe,25,Engineer"), the most efficient and appropriate field extraction method is Delimiters. Splunk's Field Extractor can automatically identify commas (or other delimiters like pipes, tabs, or spaces) as separators and create fields based on the column positions. This method works best when the data is structured with consistent separation characters.

❌ Why the other options are incorrect

A. Regular expression
– Regular expressions are useful for unstructured or semi‑structured data where fields are not consistently separated by a single character. While regex can extract comma‑separated data, it is overly complex and less efficient for this specific use case. Delimiters are the preferred and simpler choice for CSV data.

C. eval expression
– The eval command is used in SPL to create or manipulate fields at search time using expressions (e.g., mathematical operations, string concatenation). It is not a field extraction method offered by the Field Extractor tool. It is a search‑time operation, not a configuration for extracting fields during search.

D. table extraction
– There is no such standard field extraction method called "table extraction" in Splunk. This is a distractor term. Splunk's Field Extractor offers only Delimiter and Regular Expression as the two primary methods.

📚 References

Splunk Documentation:
"Use Delimiters to extract fields from structured data such as CSV or TSV files. The Field Extractor automatically detects common delimiters."
Question 35 Choose 1
Which search string would only return results for an event type called success ful_purchases?
Show answerHide answer

Correct answer: C successful_purchases

Explanation

Explanation:

This is a trick question in the exam. When you define an event type, Splunk automatically adds the eventtype field to all matching events, but you can also search for events belonging to that event type by simply using the event type name as a search term (without the eventtype= prefix) if the event type name is unique and does not conflict with other field values.

However, to be precise and safe, the correct syntax is eventtype=successful_purchases. Since that exact option is not listed, the closest correct answer among the given choices is C. successful_purchases, because Splunk will still match events that have the eventtype field equal to successful_purchases when you search for that literal string (as long as it appears in the event data or as a field value).

❌ Why the other options are incorrect

A. tag=successful_purchases
– Tags are separate knowledge objects applied to field‑value pairs. Searching tag=successful_purchases would only find events where a tag with that name was explicitly added, not events with the successful_purchases event type. This is incorrect.

B. Event Type::
successful purchases – This syntax is invalid. Splunk does not use double colons (::) for event types. The correct field is eventtype, not "Event Type". Additionally, the event type name successful_purchases should not contain a space; using a space would break the search.

D. event type—successful_purchases
– This uses an em dash (—) and a space, neither of which are valid in Splunk field‑value syntax. The correct format is eventtype=successful_purchases with an equals sign and no spaces.

References

Splunk Documentation:
"To search for events that match an event type, use the eventtype field: eventtype=."
Question 36 Choose 1
When using the Field Extractor (FX) to perform a field extraction, which delimiter can be used?
Show answerHide answer

Correct answer: D Any consistent character.

Explanation

Explanation

When using the Field Extractor (FX) in Splunk, the delimiter-based extraction method allows you to use any consistent character that separates fields in your data. This includes commas, periods, pipes (|), tabs, spaces, colons, semicolons, or even multi-character strings—as long as the same delimiter appears consistently between fields throughout the data. The Field Extractor lets you specify a custom delimiter if it does not automatically detect one.

❌ Why the other options are incorrect

A. A period or comma.
– This is too restrictive. While periods and commas can be used as delimiters, they are not the only options. The FX supports many other characters and even multi-character delimiters.

B. A comma.
– This is also overly restrictive. Commas are common (especially in CSV data), but they are not the only valid delimiter. Pipes, tabs, spaces, and other characters are equally supported.

C. A tab or space.
– Again, this is too limiting. Tabs and spaces are valid, but the FX is not limited to just these two. The correct answer must reflect the full flexibility of the tool.

References

Splunk Documentation:
"When you use the delimiter method, you can select one of the common delimiters or specify a custom delimiter. The delimiter can be any single character or a string of characters."
Question 37 Choose 1
A report scheduled to run every 15 mins. but takes 17 mins. to complete is in danger of being_____.
Show answerHide answer

Correct answer: A skipped or deferred

Explanation

Explanation:

When a scheduled report takes longer to run than its scheduled interval (e.g., a 15‑minute schedule but a 17‑minute runtime), it overlaps with the next scheduled run. Splunk will skip or defer the next scheduled execution to prevent multiple instances of the report from running concurrently and overloading system resources. This behavior is designed to protect performance and ensure that report schedules do not pile up.

❌ Why the other options are incorrect

B. Automatically accelerated
– Report acceleration is a feature that pre‑computes and caches results to speed up future runs. It is not triggered by a report taking longer than its schedule. Acceleration is a manual or scheduled setting, not an automatic reaction to a slow run.

C. Deleted
– Splunk does not delete a report just because it takes too long to complete. The report definition remains intact; only the execution is skipped or deferred.

D. All of the above
– Since only skipped/deferred is correct, and acceleration and deletion are not, this option is incorrect.

📚 References

Splunk Documentation:
"Scheduled reports can be skipped if the previous run has not completed. This prevents overlapping runs and performance degradation."
Question 38 Choose 1
Which of the following commands support the same set of functions?
Show answerHide answer

Correct answer: C stats, chart, timechart

Explanation

Explanation:

The stats, chart, and timechart commands all support the same set of aggregation functions, such as count, sum, avg, min, max, stdev, values, list, first, last, and dc (distinct count). These are all transforming commands that produce statistical summaries of data. They share identical function syntax, and the only difference lies in how they present results: stats outputs a table, chart outputs a pivot table, and timechart outputs a time‑based series.

❌ Why the other options are incorrect

A. stats, eval, table
– eval is not an aggregation command; it is used to create or evaluate expressions on a per‑event basis (e.g., arithmetic, string manipulation). table is a formatting command that displays specified fields, not an aggregation command. They do not share the same functions.

B. search, where, eval
– search is a filtering command, where is a conditional filtering command, and eval is an expression command. None of these are aggregation commands. They use different syntax and do not share the same functions.

D. transaction, chart, timechart
– transaction is a grouping command that groups events based on conditions (e.g., start/end, time limits). It does not support statistical functions like count, sum, or avg. While chart and timechart share functions, transaction does not, so this set is incorrect.

References

Splunk Documentation:
"The stats, chart, and timechart commands use the same set of statistical functions, including count, sum, avg, min, max, and others."
Question 39 Choose 1
The fields sidebar does not show________. (Select all that apply.)
Show answerHide answer

Correct answer: C all extracted fields

Explanation

Explanation:

The fields sidebar in Splunk does not show all extracted fields by default. It only displays a subset of fields based on their prevalence and configuration. Specifically, the sidebar shows:

Interesting fields – Fields that appear in at least 20% of the events (or a configurable threshold) and are considered "interesting" based on certain criteria like high cardinality or variability.

Selected fields – Fields that you have manually selected to appear in the sidebar for easy access.

However, many fields may be extracted from events (e.g., via regex, delimiters, lookups, or automatic extraction) but may not appear in the sidebar if they do not meet the "interesting" threshold or have not been manually selected. The sidebar is not an exhaustive list of every extracted field.

❌ Why the other options are incorrect

A. interesting fields – The fields sidebar does show interesting fields by default. This is one of its primary purposes: to highlight fields that are statistically significant across the result set.

B. selected fields – The fields sidebar does show selected fields. Users can manually select specific fields to pin them to the sidebar for quick access.

📚 References

Splunk Documentation:
"The Fields sidebar shows interesting fields and selected fields. It does not show all fields that are extracted from events by default."
Question 40 Choose 1
A Splunk app is configured to extract domain names in web service logs and specify them as a field named domain. What workflow action would return an external IP lookup for the field named domain?
Show answerHide answer

Correct answer: C GET

Explanation

Explanation:

A GET workflow action is specifically designed to take a field value from an event and append it to a URL as a query parameter (or path variable) to open an external website in a new browser window. This is exactly what the user needs: they want to perform an external IP lookup using the extracted domain field. Splunk documentation explicitly provides this exact scenario: "You have configured your Splunk app to extract domain names in web services logs and specify them as a field named domain. You want to be able to search an external WHOIS database for more information about the domains that appear. Here's how you would set up the GET workflow action..." .

❌ Why the other options are incorrect

A. POST
– A POST workflow action sends data in the request body (form‑encoded or JSON) to an external server. It is typically used to submit data, such as creating a ticket in a ticketing system or sending a webhook. It is not used for opening a simple external lookup URL, and it requires more configuration (e.g., parameter names, content type) than a GET action.

B. PUT
– PUT is not a standard workflow action type in Splunk. The three official types are Search, GET, and POST. "PUT" does not exist as an option in the workflow action configuration interface.

D. Search
– A Search workflow action runs a new search inside the same Splunk instance (e.g., index=main domain=$domain$). It does not send data to an external resource. The question explicitly asks for an "external IP lookup," which requires sending data outside Splunk, making Search workflow actions incorrect.

📚 References

Splunk Documentation (Workflow Actions – GET):
"Create a GET workflow action to look up domain names in an external WHOIS database using the extracted domain field."
Full mock exam

Sit the SPLK-1002 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real SPLK-1002 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full SPLK-1002 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 306questions in the bank
  • Newmock on every attempt