Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Splunk Core Certified Advanced Power User SPLK-1004 Exam Questions

Last updated: · 11 practice questions with answers and explanations

Page: 1 / 12 Total 120 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Utilizing Transforming Commands for Visualizations

Skill tested: Selects timechart or chart to aggregate measurements for the required visualization.

A service-operations team reports response time events with fields `host`, `service`, `_time`, and `duration_ms`. Analysts need a line visualization showing the hourly average duration for each service over a selected time range. The report must preserve a time axis and support multiple service series; it does not need to compare a fixed set of non-time categories. Which search best produces the required result?

Correct Answer: A. `... | timechart span=1h avg(duration_ms) by service`
Explanation:

`timechart` is designed to aggregate measures into time-series buckets and retain time as the chart's horizontal axis. Setting `span=1h` gives the required hourly buckets, while `by service` creates a separate series per service. `chart` is intended for categorical pivots and does not provide the same time-series bucketing behavior. `stats` groups by service but discards the hourly time axis. The final chart pivots by service and host instead of producing hourly trends.

Question 2

New Multiple answers

Topic: Formatting and Filtering Outcomes

Skill tested: Uses fillnull and where to normalize missing values before applying field-based filters.

A reliability report combines events from two monitoring systems. Some events have a missing `region`, while others have a populated region and a numeric `error_count`. The report should label missing regions as `unassigned`, retain only events whose `error_count` is greater than zero, and then calculate error totals by region. The field is absent rather than explicitly set to an empty string in some events. Which search sequence meets the requirements? Select TWO answers.

Correct Answer: B. `... | fillnull value="unassigned" region | where error_count > 0 | stats sum(error_count) by region`; C. `... | eval region=if(isnull(region), "unassigned", region) | where error_count > 0 | stats sum(error_count) by region`
Explanation:

Both A and D replace a null or absent `region` with `unassigned` before grouping, while `where error_count > 0` filters events using a Boolean expression. `fillnull` can set a specified value for the named field, and `eval` with `isnull` provides an equivalent explicit transformation. B filters before filling, which can still produce the requested totals in this case but does not follow the intended normalization-before-filtering sequence; it is not a separate valid answer under the requested combination of actions. C additionally discards populated regions, and E changes `error_count` rather than fixing missing region values.

Question 3

New Single answer

Topic: Correlating Events

Skill tested: Chooses transaction or stats based on event sequence requirements and correlation boundaries.

An incident-response search must identify login sessions for each user and source IP. A session begins with an event whose `action` is `login` and ends with `logout`; some sessions have no logout event. Events for the same user and IP can recur throughout the day, and investigators need each session's first event, last event, duration, and the actual events grouped into that session. Which approach is most appropriate?

Correct Answer: A. Use `transaction user src_ip startswith=(action="login") endswith=(action="logout") keepevicted=true` and review incomplete transactions.
Explanation:

The requirement is to group the underlying events into bounded sessions using explicit start and end conditions, while retaining incomplete sessions for investigation. `transaction` supports start/end expressions and `keepevicted=true` retains transactions that cannot be completed within the available events or limits. `stats` is generally more efficient for summaries, but grouping only by user and IP across the entire period merges repeated sessions and does not preserve the event groups. `dedup` removes events, and `chart` produces aggregates rather than session objects.

Question 4

New Multiple answers

Topic: Correlating Events

Skill tested: Uses event grouping and time-bounded correlation to associate related events reliably.

A fraud team receives `purchase` and `review` events. A review should be associated with a purchase only when both share the same `order_id`, and reviewers need the purchase and review events together, not merely counts. An order can be reused in test data on another day, so matching across the entire search range would create false associations. Which TWO choices provide an appropriate correlation strategy?

Correct Answer: B. Use `transaction order_id maxspan=30m` if the business workflow guarantees that a review follows its purchase within 30 minutes.; C. Use `transaction order_id` with a time span appropriate to the order workflow, and inspect the grouped events.
Explanation:

A transaction groups matching events and can retain the events for inspection; a meaningful time boundary prevents unrelated reuse of an `order_id` from joining events. E is appropriate when the stated 30-minute business limit is valid, and A is appropriate when the search uses a correctly chosen workflow span. B aggregates values and loses event-level grouping and sequence. C incorrectly assumes a shared field is sufficient across an unrestricted period. D summarizes counts by action and likewise does not preserve the paired event sequence.

Question 5

New Single answer

Topic: Manage and Build Fields

Skill tested: Selects regex or delimiter-based field extraction according to the source event structure.

A security team ingests appliance events whose payload contains a stable sequence of pipe-delimited values: `2024-05-03|edge-7|DENY|198.51.100.24|443`. The source does not provide named fields, and the positions and delimiters are consistent across events. Analysts need reusable fields for host, decision, client IP, and destination port without writing a separate regular expression for each value. Which extraction method is the best fit?

Correct Answer: A. Create a delimiter-based field extraction using the pipe character and assign field names to the appropriate positions.
Explanation:

A delimiter-based extraction is suited to a consistent, positional format such as this pipe-delimited payload. It defines the fields once and makes them available for searches without repeatedly parsing `_raw`. A regex can extract fields, but it adds unnecessary complexity when the delimiter and positions are stable. Capturing the whole event does not create the individual fields, and a field alias only gives another name to an existing field; it cannot parse multiple values out of `_raw`.

Question 6

New Single answer

Topic: Building calculated fields and field Aliases

Skill tested: Distinguishes field aliases from calculated fields when standardizing search field names.

A data team receives web events where the same logical client address appears as either `client_ip` or `src_ip`, depending on the input. The team wants searches and dashboards to use `client_address` consistently, without changing the indexed events. In addition, a separate requirement is to calculate `is_success` from the existing numeric `status` field. Which knowledge-object approach correctly addresses both requirements?

Correct Answer: C. Create a field alias mapping each source field to `client_address`, and create a calculated field for `is_success` using an eval expression.
Explanation:

A field alias provides a consistent alternate name for an existing field, so aliases from `client_ip` and `src_ip` can expose the common name `client_address` when the respective source field exists. A calculated field is appropriate for deriving `is_success` from `status` with an eval expression. Aliases do not perform calculations or concatenate fields. Event types and tags classify events; they do not normalize field names or calculate a Boolean-like value.

Question 7

New Single answer

Topic: Build event types and tags

Skill tested: Builds an event type from search criteria and applies tags for reusable classification.

A security analytics group wants searches for authentication failures to remain reusable across teams. Events can be identified by `sourcetype=auth` and `result=failure`. The organization also wants the events discoverable under the shared tag `authentication` without changing their indexed fields. Which design best meets the requirement?

Correct Answer: B. Create an event type with the search `sourcetype=auth result=failure`, then assign the `authentication` tag to that event type.
Explanation:

An event type stores reusable search criteria that classify matching events. Tags can then be associated with event types to give those events a shared semantic label, which users can search and use for classification. A tag is not itself a search-expression field extraction, and a calculated field would alter the field model rather than label the event type. A macro expands search text when invoked; it does not automatically classify events in every search.

Question 8

New Single answer

Topic: Build and Utilize Macros

Skill tested: Defines and invokes a parameterized macro with correct argument substitution and quoting.

An engineering team repeatedly searches for failed requests and wants one macro that accepts an application name. The intended search is `index=web app= status>=500`, and users should invoke it as `` `failed_requests(checkout)` ``. The macro definition must substitute the argument as a value in the search, not as an arbitrary search fragment. Which definition is appropriate?

Correct Answer: B. Define a macro named `failed_requests(1)` with definition `index=web app=$1$ status>=500`.
Explanation:

A macro that accepts one positional argument is defined with `(1)`, and `$1$` references that argument in the definition. The stated invocation supplies `checkout`, which is substituted into the `app` constraint. `$app$` is not the positional argument syntax specified by this macro design. C declares no argument despite referencing one, while D searches for the literal value `failed_requests` rather than the supplied application name.

Question 9

New Single answer

Topic: Creating and Using Workflow Actions

Skill tested: Configures a GET workflow action that passes selected event-field values as URL parameters.

An incident analyst reviews events containing a `client_ip` field. From an event, the analyst must open an internal reputation page in a new browser window and pass that event's IP address as a URL parameter. The receiving service accepts a read-only HTTP GET request and requires no authentication from Splunk. Which workflow action design is most appropriate?

Correct Answer: B. Create a GET link action whose URL includes a token for the selected event's `client_ip`, and configure it to open in a new window.
Explanation:

A GET workflow action can construct a link using values from the selected event, allowing the event's `client_ip` to be passed as a URL parameter and the page to open in a new window. POST is intended for sending request data to a service that accepts a POST request; this endpoint explicitly requires GET. A search action launches a Splunk search rather than the external reputation page, and a hard-coded address would not use the selected event's value.

Question 10

New Single answer

Topic: Build Data Models

Skill tested: Relates data-model constraints and acceleration to efficient Pivot-based reporting.

A fraud analytics team wants analysts to build Pivot reports over transaction events without writing SPL. The events already have extracted fields for `merchant`, `amount`, and `outcome`. Reports commonly filter by outcome and summarize amount by merchant over recent periods. The team needs responsive Pivot searches but must avoid accelerating unrelated event categories because of storage and maintenance overhead. What is the best approach?

Correct Answer: A. Build a data model with a transaction dataset constrained to the relevant events, define the required fields, and accelerate that dataset for the reporting workload.
Explanation:

Pivot uses data models as its structured source, including datasets and their defined fields. A constrained transaction dataset exposes the relevant events and fields to analysts, while acceleration can improve reporting performance for that dataset. Limiting acceleration to the needed dataset addresses the stated storage and maintenance concern. A lookup is not a substitute for a data model over these events, broad acceleration disregards the constraint, and event types classify events but do not themselves create Pivot datasets.

Question 11

New Multiple answers

Topic: Common Information Model utilization (Add-on)

Skill tested: Uses CIM normalization and data-model acceleration to support consistent cross-source analysis.

A company ingests authentication records from two products with different field names and event formats. Analysts want the records normalized to the CIM Authentication data model so that shared searches can work across both sources. The Common Information Model add-on is installed, and the team can configure knowledge objects, but the raw events and their existing extractions must remain unchanged. Which TWO actions are appropriate?

Correct Answer: C. Map each source's relevant fields to the CIM field names using field aliases or calculated fields as appropriate, and classify the events for the Authentication dataset.; D. Use the add-on's CIM knowledge-object content as a starting point, then validate the source-specific mappings and event constraints.
Explanation:

CIM normalization depends on knowledge objects that map source-specific fields and identify events for the appropriate data-model dataset. Field aliases and calculated fields can standardize field names or derive required values without changing indexed raw data; event constraints help place the events in Authentication. The add-on supplies reusable CIM content, but source-specific mappings still need validation. Rewriting indexed raw events is unnecessary, a tag alone does not normalize fields or define dataset constraints, and a lookup does not automatically create CIM mappings.