Exam Information
Free practice questions with explanations
Splunk SPLK-1002 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 10
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice 1.0 Using Transforming Commands for Visualizations
A network operations analyst needs a dashboard panel showing hourly count of failed logins per data center over the last 7 days. The data center name is stored in a field called dc, and the panel must render as a line chart with one series per data center. The analyst runs the search index=auth action=failure | timechart span=1h count by dc, but the chart shows only the top 10 data centers and groups the rest into OTHER. The company has 25 data centers and the security team requires every data center to appear individually in the chart without any aggregation into OTHER. Which change to the search meets the requirement with the least impact on performance?
Correct Answer: CExplanationThe timechart command limits the number of distinct series with its limit argument, defaulting to 10, and folds the remainder into an OTHER series unless useother=false is set. Setting limit=0 removes the cap and returns every data center as its own series, which matches the requirement. Setting useother=false only hides the OTHER bucket, so the dropped data centers would still be missing. Replacing timechart with chart loses the time axis needed for a line chart, and limit=25 would work only as a hard-coded number that breaks when a data center is added.
-
2 Question 2 Single choice 10.0 Using the Common Information Model (CIM) Add-On
A security analyst has onboarded firewall logs into a Splunk Enterprise deployment that already has the Splunk Common Information Model Add-On installed. The SOC wants a single correlation search that works across firewall logs from two vendors, and the analyst must not modify the original source sourcetypes or re-index the data. The analyst needs the events to match the Network Traffic data model constraints and the vendor-specific field names mapped to CIM fields such as src, dest, and action. Which approach best meets these requirements?
Correct Answer: DExplanationThe CIM Add-On relies on knowledge objects such as field aliases, calculated fields, and tags to normalize data at search time without changing the raw events. Mapping vendor fields to CIM names through props.conf knowledge objects and applying the network and communicate tags is the standard way to make the Network Traffic data model accept the events. Renaming fields inside each search would have to be repeated everywhere and would not make data model constraints match. A separate index and summary index adds storage and does not change field naming. Editing a data model does not map fields, since data models only select events that match tags and constraints.
-
3 Question 3 Single choice 2.0 Filtering and Formatting Results
An operations team builds a search over web access logs that calculates a response time bucket with eval and then needs to keep only the slow requests. The current search is index=web sourcetype=access | eval bucket=if(resp_ms>2000,"slow","fast") | search bucket="slow" | stats count by host. The search works, but the team wants the filter to happen as early and efficiently as possible, and they also need events where resp_ms is null to be excluded without an extra filter step. A teammate proposes moving the filter before the eval command. Which statement correctly describes the best final search?
Correct Answer: AExplanationPlacing the search command as early as possible lets Splunk discard events before any transforming or calculating work, and filtering on resp_ms directly is both cheaper and more efficient than filtering a derived field. The search command handles comparisons on existing fields in the pipeline, so resp_ms>2000 removes non-matching events while nulls naturally fail the comparison. The claim that search cannot use a field created by eval is wrong for where but misleading as a general rule, and the where option after eval still works but adds unneeded calculation. Using where before eval is not valid as the explanation claims, since where still evaluates its expression on the current pipeline fields and does not run ahead of eval.
-
4 Question 4 Single choice 3.0 Correlating Events
A fraud analytics team is correlating login events and subsequent password reset events for each user. The events for a single user session must be grouped together only when the gap between consecutive events is no more than 5 minutes, and each grouped session should report its total duration and the number of events. The team currently uses stats, but the sessions sometimes overlap across the boundaries of the time range being searched, and the team is not allowed to increase the search window beyond the default 24 hours. The analyst needs the grouping to honor the 5-minute inactivity rule. Which solution is the best choice?
Correct Answer: CExplanationThe transaction command groups events that share a field value and uses maxpause to split a transaction when the gap between consecutive events exceeds the specified time, which is exactly the inactivity rule. The resulting duration and eventcount fields are produced automatically. Stats cannot evaluate gaps between consecutive events, so the min and max approach merges all activity into one window. Maxspan limits the overall length of a transaction rather than the gap between events, and binning creates fixed buckets that split sessions at arbitrary boundaries rather than at actual inactivity.
-
5 Question 5 Multiple choice 4.0 Creating and Managing Fields
A data analyst receives application logs where each event is a pipe-delimited line with the format timestamp|user|action|status|duration_ms, and the field names are not present in the raw data. The analyst must create the fields using the Field Extractor and make them available to all users of the app context without writing regex by hand. The raw events sometimes contain a trailing pipe, and the team does not want extra empty fields created. Which TWO actions best meet these requirements? (Choose two.)
Correct Answer: A, EExplanationThe Field Extractor offers a delimiter method that splits events on a character such as a pipe and assigns names in order, which avoids hand-written regex and matches the requirement. Setting the extraction permissions to Global makes the fields usable across all apps and users, which is what the team needs. A regex approach works but conflicts with the no-hand-regex requirement. Editing props.conf directly is not required, since the Field Extractor writes equivalent configuration. Adding an extra column name to catch the trailing pipe would create an empty field the team explicitly wants to avoid.
-
6 Question 6 Single choice 5.0 Creating Field Aliases and Calculated Fields
A security team stores authentication events from two identity providers. Provider one writes the account name in a field called user_name, while provider two writes it in a field called account. Analysts want one field named user to search across both, and the team wants the original fields kept so older saved searches still work. The team also wants a field named session_minutes computed as duration_sec divided by 60. Which configuration meets these requirements with the least risk to existing searches?
Correct Answer: DExplanationField aliases create an additional name for an existing field without removing the original, so mapping user_name and account to user keeps older saved searches working, while a calculated field can derive session_minutes from duration_sec. Deleting original fields breaks existing searches that reference them. Aliasing in the reverse direction does not create a field that exists in the event for searches to match, and renaming duration_sec with an alias would not compute minutes at all, which needs an eval expression.
-
7 Question 7 Single choice 6.0 Creating Tags and Event Types
A SOC has defined an event type named failed_logon for Windows Security events with EventCode 4625. An analyst wants to label every event matching failed_logon with the tag authentication_failure so that a dashboard panel built on the tag shows results from any sourcetype that includes that event type. The analyst created the tag through the event type's Tags field, but the dashboard panel returns no results when searching tag=authentication_failure. Several sourcetypes contain EventCode 4625 events, but only one has the field EventCode extracted. Which change is most likely needed to make the tag search return results?
Correct Answer: AExplanationAn event type is applied only to events that match its search string, and a tag attached to an event type is inherited only by events that match. If EventCode is not extracted in some sourcetypes, those events never match failed_logon and never receive the tag, which explains the empty result. Tags can be created from Settings rather than only in configuration files, and a tag's priority affects display ordering rather than whether a tag is applied. Rewriting the event type as eventtype=failed_logon would be circular and does not solve the extraction gap.
-
8 Question 8 Single choice 7.0 Creating and Using Macros
A reporting team uses the same search pattern for several dashboards: index=proxy sourcetype=squid | where status>=400 | stats count by user. The team wants a reusable macro named proxy_errors that accepts a single argument, minimum_status, so that dashboards can pass threshold values such as 500 or 404. The macro must be defined to work in the Search app and be shared with the team. The first attempt, which references $minimum_status$ inside the where clause, returns an error when the macro is invoked with proxy_errors(500). Which definition correctly uses the argument and should be applied?
Correct Answer: BExplanationMacro arguments are declared in the Arguments field as bare names, and the definition references them by wrapping each name in dollar signs, so where status>=$minimum_status$ is correct, and invocation passes the value positionally as proxy_errors(500). Declaring the argument with dollar signs in the Arguments field is an error, and omitting the dollar signs in the definition leaves the text literal rather than substituting the value. Passing a named argument in the form minimum_status=500 is not the macro invocation syntax.
-
9 Question 9 Single choice 8.0 Creating and Using Workflow Actions
A security analyst wants to add a workflow action to a table of firewall events so that clicking a source IP opens a search in the Search app for all events involving that IP over the last 24 hours. The workflow action must run inside the Splunk instance and must not send any field values to an external system. The analyst also wants the new search to open in the same browser tab. Which workflow action type and setting combination best meets these requirements?
Correct Answer: CExplanationA Search workflow action runs a search in Splunk using field values from the selected event, so it keeps all data inside the instance, and it can open results in the same tab when the new-window option is disabled. The analyst's requirement is a search within Splunk, so a Search action fits. A GET action to a URL would be the right fit only for an external link, and the external site option violates the no-external-transmission constraint. POST to the REST endpoint is inappropriate for an interactive table click and would not open in the Search app as intended.
-
10 Question 10 Multiple choice 9.0 Creating Data Models
A security team has built a data model named Authentication to speed up dashboards on failed logins. Analysts report that pivot tables built on the data model return results that are far too slow and sometimes miss recent events, and the team has limited disk space for the acceleration summary. The data model's root event dataset is defined by tag=authentication and currently has the attribute action with values such as success and failure, but the attribute is not used in any constraint. The team must reduce summary size and keep recent events current. Which TWO actions best meet these requirements? (Choose two.)
Correct Answer: A, BExplanationAdding a constraint on action=failure in a child dataset narrows what the acceleration summary needs to store, which reduces disk usage while still serving the failed-login dashboards. Enabling acceleration with a summary range matching the dashboard window keeps recent events current and avoids storing unnecessary history. Removing the action attribute would break the constraint the dashboards need. Changing the root tag risks dropping events that other datasets rely on. Setting All Time increases summary size, the opposite of what the limited disk requires.
These are 10 of the 315 questions in the full SPLK-1002 pack.
Get All 315 QuestionsGet all 315 questions & answers
Full access options for Splunk SPLK-1002
Self-study
PDF Version
- 315 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 315 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 315 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the SPLK-1002 Exam (Splunk Core Certified Power User) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.