Courseiva

CCNA Lookups And Alerts Questions

42 questions · Lookups And Alerts · All types, answers revealed

1
MCQeasy

A compliance officer needs an alert that runs a saved search every day at 06:00 and emails a report of all privileged account creations found in the previous 24 hours, regardless of how many events are returned. Which trigger configuration accomplishes this?

A.Trigger on "Number of Results" greater than 0
B.Trigger on "Number of Results" equal to 0
C.Trigger on a custom condition that references the count field
D.Trigger on "Number of Results" greater than or equal to 0
AnswerD

The condition "greater than or equal to 0" is always true because a result count can never be negative. This guarantees the alert fires on every scheduled run, so the compliance report is emailed daily whether or not privileged account creations were detected, exactly as required.

Why this answer

To send a report unconditionally, the trigger condition must evaluate true on every run. Using a result count comparison of greater than or equal to zero always evaluates true, ensuring the daily email is delivered even when the search returns no events. Threshold conditions tied to positive result counts would suppress the report on quiet days.

Exam trap

The trap here is assuming an alert with zero results cannot trigger, when a greater-than-or-equal-to-zero condition always evaluates true and forces the notification.

2
MCQeasy

Which action can be triggered by a Splunk alert?

A.Restart the indexer
B.Modify user passwords
C.Send an email
D.Delete search history
AnswerC

Alert actions run automatically when trigger conditions are met. Email is a native alert action, dispatching notifications to configured recipients with results attached. This satisfies the requirement to notify staff without manual intervention, unlike search commands or dashboard edits.

Why this answer

Splunk alerts can trigger a variety of actions, including sending an email, running a script, using a webhook, or logging the event. Sending an email is a standard alert action, making C correct.

Exam trap

SPLK-1004 often tests the range of valid alert actions, and distractors like restarting the indexer or modifying passwords are clearly administrative tasks not tied to alerts.

How to eliminate wrong answers

Option A is wrong because restarting the indexer is not an alert action; it is an administrative task performed via CLI or UI, not triggered by an alert. Option B is wrong because modifying user passwords is not an alert action and would be a security risk if allowed. Option D is wrong because deleting search history is not an alert action; search history is managed separately and not through alerts.

3
MCQmedium

You are building a dashboard panel that must display the top 10 source IP addresses by count of failed logins, and the results must be returned as a single results set with a field named 'fail_count'. You also need to add a drilldown that passes the selected source IP to another dashboard. Which search command sequence correctly produces the required results set while keeping the field name 'fail_count'?

A.index=security action=failure | top limit=10 src_ip | rename count as fail_count
B.index=security action=failure | stats count as fail_count by src_ip | sort - fail_count | head 10
C.index=security action=failure | eventstats count as fail_count by src_ip | dedup src_ip | sort - fail_count
D.index=security action=failure | stats count by src_ip | where count > 10 | sort - count
AnswerB

The stats command aggregates failures per src_ip into a single results set and names the count field 'fail_count' exactly as required. Sorting descending by fail_count and then using head 10 returns the top 10 source IPs. This produces one row per src_ip with the requested field name, which is ideal for a drilldown that passes the selected src_ip.

Why this answer

To display the top 10 source IPs by failed login count with a specific field name, aggregate with stats using 'count as fail_count by src_ip', then sort descending and limit with head 10. This yields a single results set with one row per source IP and the exact field name needed for the drilldown token.

Exam trap

The trap here is assuming top automatically names the count field 'fail_count' or that it returns the same clean single results set as stats, when top introduces additional fields and different behavior.

4
MCQmedium

You are using an automatic lookup. If you want to overwrite an existing field in your search results with a value from the lookup, which setting should be enabled?

A.Default values
B.Force match
C.Overwrite field values
D.Strict match
AnswerC

Overwrite field values lets the automatic lookup replace an existing field in the results with the lookup's value. Without it, Splunk preserves the original field and only adds new fields, so enabling this setting is required to substitute values.

Why this answer

The 'Overwrite field values' setting in an automatic lookup configuration allows values from the lookup to replace existing field values in the search results. This is necessary when you want the lookup to take precedence over fields already present in the events. Without this setting, the lookup will not overwrite existing fields.

Exam trap

SPLK-1004 often tests the specific setting name 'Overwrite field values' versus other lookup options like 'Force match' or 'Strict match', which are not used for this purpose.

How to eliminate wrong answers

Option A is wrong because 'Default values' is not a setting related to overwriting fields in automatic lookups; it may refer to default field values in other contexts. Option B is wrong because 'Force match' is not a standard automatic lookup setting; it might be confused with match type options but does not control overwriting. Option D is wrong because 'Strict match' is not a valid setting for automatic lookups; it may be confused with strict matching in other Splunk features like lookups with match_type, but it does not enable overwriting.

5
MCQmedium

You are configuring a lookup definition named `product_owner` that uses a CSV file. The lookup contains a field `product_id` that in your event data is sometimes lowercase and sometimes uppercase. You need the lookup to match regardless of case. Which advanced setting in the lookup definition should you configure?

A.Set `match_type = exact` in the lookup definition.
B.Set `max_matches = 0` in the lookup definition.
C.Set `case_sensitive_match = 0` in the lookup definition.
D.Set `filter = false` in the lookup definition.
AnswerC

The `case_sensitive_match` setting in a lookup definition controls whether lookup matching is case-sensitive. Setting it to 0 makes matching case-insensitive, so mixed-case values in the event field will still match the lookup table. This is the correct advanced setting for this requirement.

Why this answer

The `case_sensitive_match` setting in a lookup definition determines whether lookup matching is case-sensitive. Setting it to 0 makes matching case-insensitive, so values like `ABC123` and `abc123` will both match the lookup table. This is the correct advanced setting for the scenario.

Exam trap

The trap here is confusing `max_matches` with a case-sensitivity control, when it actually limits the number of matching rows returned.

6
MCQeasy

You are using the lookup command to enrich your search results with a CSV lookup. You want to add a field from the lookup only if that field does not already exist in your events. Which argument should you use?

A.OUTPUT
B.INPUT
C.OUTPUTNEW
D.MATCH
AnswerC

The OUTPUTNEW argument in the lookup command adds fields from the lookup only if they do not already exist in the event. This prevents overwriting existing fields. In this scenario, you want to preserve any existing fields and only add new ones, so OUTPUTNEW is the correct choice. It ensures that only new fields are introduced.

Why this answer

The lookup command's OUTPUTNEW argument adds fields from the lookup only if they are not already present in the event, preserving existing values. OUTPUT overwrites existing fields, while INPUT and MATCH are not valid arguments. Thus, OUTPUTNEW is the correct choice to add fields without overwriting.

Exam trap

The trap here is confusing OUTPUT with OUTPUTNEW, where OUTPUT overwrites existing fields and OUTPUTNEW only adds new ones.

7
MCQeasy

Which search command is used to display the contents of a lookup table?

A.table
B.inputlookup
C.lookup
D.outputlookup
AnswerB

`inputlookup` reads a lookup definition or CSV file directly into the search pipeline as events, returning its rows without needing an index. This satisfies the stem's requirement to display a lookup table's contents, unlike `lookup`, which enriches existing events by matching field values against the table.

Why this answer

The 'inputlookup' command is specifically designed to read and display the contents of a lookup table file (CSV or KV Store) as search results. It is the standard command for viewing lookup data without joining it to an event stream. Running '| inputlookup mylookup.csv' returns all rows and columns from the lookup.

Exam trap

SPLK-1004 often tests the distinction between inputlookup, outputlookup, and lookup, and candidates who confuse reading with enriching or writing pick the wrong command.

How to eliminate wrong answers

Option A is wrong because 'table' is a formatting command that displays specified fields from search results, not a command to read a lookup file. Option C is wrong because 'lookup' is used to enrich events by matching fields against a lookup table, not to display the lookup's contents. Option D is wrong because 'outputlookup' writes search results to a lookup file, the opposite of reading it.

8
MCQeasy

Where is the most appropriate place to check for errors related to a failed lookup execution?

A.The _internal index
B.The Splunk Web UI dashboard
C.The lookup csv file
D.The savedsearches.conf file
AnswerA

Splunk writes internal diagnostic messages, including lookup execution failures and search errors, to the _internal index. Searching there surfaces the specific error details, unlike the _audit index, which records user activity rather than processing faults.

Why this answer

The _internal index stores Splunk's own operational logs, including search-time errors, lookup execution failures, and messages from the search process. Checking _internal is the standard way to diagnose why a lookup failed, as it contains detailed error messages from the search and knowledge object subsystems.

Exam trap

The trap is choosing the Splunk Web UI or the lookup file itself as the troubleshooting location; candidates must know that Splunk's own operational errors live in the _internal index, not in user-facing dashboards or data files.

How to eliminate wrong answers

Option B is wrong because the Splunk Web UI dashboard shows search results and visualizations, not the underlying error logs; it may display a generic error but not the diagnostic detail. Option C is wrong because the lookup CSV file contains the reference data itself, not execution logs — it cannot tell you why a lookup failed. Option D is wrong because savedsearches.conf stores the definition of saved searches (schedule, search string), not runtime error logs.

9
MCQeasy

When configuring a CSV lookup file, where is the file uploaded in Splunk?

A.Settings > Indexes
B.Settings > Field extractions
C.Settings > Data inputs
D.Settings > Lookups > Lookup table files
AnswerD

CSV lookup files are uploaded under Settings > Lookups > Lookup table files, which stores the file in the app's lookups directory and registers it for use. This satisfies the stem's requirement for the correct upload location.

Why this answer

CSV lookup files in Splunk are managed as lookup table files, which are uploaded and stored via Settings > Lookups > Lookup table files. This is the dedicated location where Splunk stores the actual CSV content that lookup definitions reference. Once uploaded here, a lookup definition is created to bind the file to a name usable in SPL via the lookup command.

Exam trap

SPLK-1004 often tests the distinction between the three lookup-related settings pages — Lookup table files (the CSV itself), Lookup definitions (the named binding), and Automatic lookups (the auto-apply rules) — so candidates who confuse them pick the wrong menu path.

How to eliminate wrong answers

Option A is wrong because Settings > Indexes is where you configure index storage, retention, and sizing — not lookup files. Option B is wrong because Settings > Field extractions is where you define regex-based field extractions and transforms, not upload CSV data. Option C is wrong because Settings > Data inputs configures ingestion sources such as forwarders, monitors, and scripts, not lookup table files.

10
MCQeasy

What is the result of setting an alert's priority to 'High'?

A.It triggers faster.
B.It uses more CPU.
C.It elevates the alert in the Triggered Alerts list.
D.It sends extra emails.
AnswerC

Setting an alert's priority to 'High' changes its severity classification, which Splunk uses to sort and display the alert more prominently in the Triggered Alerts list. This elevates it above lower-priority alerts, satisfying the stem's requirement.

Why this answer

In Splunk, an alert's priority setting (High, Medium, Low) does not change execution speed, resource usage, or notification behavior. It only affects the sort order in the Triggered Alerts list, elevating High-priority alerts to the top for visibility. This is purely a UI/display attribute.

Exam trap

SPLK-1004 often tests the misconception that alert priority affects execution or resources — it is only a display/sorting attribute in the Triggered Alerts list.

How to eliminate wrong answers

Option A is wrong because alert priority has no effect on scheduling or trigger speed — that is controlled by the alert's cron schedule or real-time settings. Option B is wrong because CPU consumption is determined by the search itself, not the priority label. Option D is wrong because email notifications are configured separately in the alert's Actions section; priority does not add or change notifications.

11
Multi-Selecthard

An analyst is building an alert that must fire only when the count of events from a search exceeds a threshold, and the alert must suppress duplicate notifications for the same host for one hour. The search is `index=firewall action=blocked | stats count by src_ip`. Which TWO alert configuration elements are required to satisfy these requirements? (Choose two.)

Select 2 answers
A.Set the alert to run in real-time with a sliding window of one hour
B.Configure alert suppression with a suppression field of `src_ip` and a suppression period of 1 hour
C.Set the trigger condition to "Number of Results" greater than 0 with a custom threshold on the stats output
D.Add a `where count > threshold` clause to the search or use a trigger condition that evaluates the count field
E.Enable throttling by setting the alert's expiration to one hour without specifying a suppression field
AnswersB, D

Alert suppression prevents duplicate notifications for the same field value during a defined window. Setting the suppression field to `src_ip` with a one-hour period ensures that once an alert fires for a given source IP, additional triggers for that same IP are suppressed for one hour, directly satisfying the deduplication requirement.

Why this answer

The stats command produces one row per source IP with a count field, so the threshold must be applied to that field through a where clause or a trigger condition referencing count. Duplicate notifications for the same host are prevented by configuring alert suppression keyed on `src_ip` for a one-hour window, which is the documented mechanism for per-field deduplication.

Exam trap

The trap here is confusing suppression without a field, which silences all alerts, with field-based suppression that only deduplicates repeated notifications for the same value.

12
Multi-Selectmedium

You are configuring a new alert in Splunk to trigger when a search returns more than 10 failed login attempts. You want the alert to send an email and also run a script. Which two actions must you configure in the alert definition? (Choose two.)

Select 2 answers
A.Set the alert type to 'Real-time' to ensure immediate triggering.
B.Add a 'Webhook' action and specify the URL.
C.Set the alert severity to 'High' to prioritize the alert.
D.Add an 'Email' action and specify recipients.
E.Add a 'Run a script' action and specify the script path.
AnswersD, E

To send an email when the alert triggers, you must add the 'Email' action in the alert's action list and configure the recipient addresses. This action is a built-in alert action that sends the search results to the specified email addresses. Without adding and configuring this action, no email will be sent, so it is required for the email notification.

Why this answer

To send an email and run a script when an alert triggers, you must add and configure the 'Email' and 'Run a script' actions in the alert definition. These are the specific actions that enable those behaviors. Other settings like alert type or severity do not control action execution, and a webhook is a different action not requested.

Exam trap

The trap here is thinking that alert type or severity automatically triggers actions, when in fact each action must be explicitly added and configured.

13
Multi-Selecteasy

Which THREE settings can be configured for a scheduled alert?

Select 3 answers
A.Trigger conditions
B.Lookup indexing
C.Cron schedule
D.Data retention policy
E.Alert actions
AnswersA, C, E

Trigger conditions define the threshold and evaluation logic that determine whether a scheduled alert fires, such as result count or field value comparisons. This is a configurable setting, satisfying the stem's requirement that scheduled alerts expose trigger criteria.

Why this answer

A scheduled alert requires trigger conditions (A), which define the search query and threshold that determine when the alert fires, so this is a valid configurable setting. The cron schedule (C) is also configurable because scheduled alerts run on a recurring cadence defined by a cron expression, controlling when the alert search executes. Alert actions (E) are configurable as well, since you must specify what happens when the alert triggers, such as sending an email, invoking a webhook, or running a script.

Lookup indexing (B) is not a scheduled-alert setting; lookups are separate knowledge objects used to enrich search results, not configured per alert. Data retention policy (D) is not part of an alert definition either; retention is governed by index or data lifecycle settings, not by the scheduled alert configuration.

Exam trap

SPLK-1004 often tests the distinction between alert-specific settings and unrelated index or lookup settings, tempting candidates to select options like 'Lookup indexing' or 'Data retention policy'.

14
Multi-Selectmedium

Which TWO of the following are required components to successfully implement a CSV-based automatic lookup?

Select 2 answers
A.A KV store collection
B.A script to parse the CSV
C.A saved search
D.A lookup table file (.csv)
E.A lookup definition
AnswersD, E

A CSV-based automatic lookup requires the lookup table file itself, since the transformation reads key-value pairs directly from that .csv source at search time. Without the file, no lookup definition can reference data, so this satisfies the stem's requirement for a mandatory component underpinning automatic lookups.

Why this answer

To implement a CSV-based automatic lookup, you must have a lookup table file (.csv) (option D), which contains the actual key-value data that will be used to enrich events, and a lookup definition (option E), which tells the search head how to interpret that file (filename, fields, match type) and is what gets referenced when configuring the automatic lookup. The lookup definition is the object that binds the CSV file to the fields used for matching and output, making both D and E the essential building blocks. A KV store collection (A) is only needed for KV Store lookups, not CSV file lookups, so it is not required here.

A script to parse the CSV (B) is unnecessary because Splunk natively parses CSV lookup files via the lookup definition. A saved search (C) is used for scheduled or report-based workflows and is not a component of an automatic lookup configuration.

Exam trap

SPLK-1004 often tests the confusion between CSV lookups and KV Store lookups — candidates incorrectly assume a KV store collection or a saved search is required for a CSV-based automatic lookup.

15
MCQhard

You have an automatic lookup that enriches events with `user_department` from a CSV file. You run a search and notice that the `user_department` field is not appearing in the results, even though the lookup file contains the correct mappings and the automatic lookup is enabled. Which of the following is the most likely cause?

A.The search is not using the `lookup` command explicitly, so automatic lookups do not apply.
B.The lookup definition is configured with `case_sensitive_match = 1` and the user field in events has different casing than the lookup file.
C.The automatic lookup is configured with `OUTPUTNEW` instead of `OUTPUT`.
D.The lookup file is stored in the `etc/apps` directory instead of `etc/system`.
AnswerB

If the lookup definition is case-sensitive and the event field values differ in case from the lookup table, no match occurs, so the output field is not added. This is a common cause when the lookup appears correct but fails to enrich. The other options are less likely given the scenario details.

Why this answer

A case-sensitive lookup definition can cause automatic lookups to fail to match when event field values differ in case from the lookup table. Setting `case_sensitive_match = 0` would resolve this. The other options are not typical causes for a missing output field when the lookup file and definition appear correct.

Exam trap

The trap here is assuming that automatic lookups always work regardless of case, when case sensitivity can silently prevent matches.

16
MCQmedium

A Splunk administrator uploads a new CSV lookup file containing a column of IPv4 addresses in CIDR notation. Analysts need searches to match individual event IPs against these ranges rather than requiring exact string equality. Which lookup definition setting must be configured?

A.Set Match Type to WILDCARD and enable case sensitivity for the IP field
B.Set Match Type to CIDR with the IP address field selected as the match field
C.Set Match Type to EXACT and append a wildcard to each lookup entry
D.Convert the CSV to a KV Store collection and set the lookup's match type to IP
AnswerB

The CIDR match type tells Splunk to compare an event IP against lookup entries expressed as network ranges, so an event with 10.1.2.3 matches a lookup row containing 10.1.0.0/16. Selecting the correct match field ensures the comparison targets the IP column. This is the documented mechanism for range-based IP lookups.

Why this answer

CIDR is the lookup definition match type designed for network range comparison. It allows an event field containing a single IP address to match a lookup row containing a subnet in slash notation, which is exactly what the analysts need. EXACT and WILDCARD operate on literal string equality or pattern matching and cannot interpret network prefixes.

Exam trap

The trap here is assuming a wildcard match can approximate network range matching, when only the CIDR match type interprets slash-notation prefixes.

17
MCQhard

An analyst uses the following search to enrich events: index=web | lookup local=1 web_assets clientip OUTPUTNEW asset_owner, asset_criticality. They notice that events where clientip matches multiple entries in web_assets get an arbitrary owner value. They need deterministic behavior where the first matching entry in the lookup is used. Which approach should they take?

A.Sort the lookup file by clientip and rely on the lookup command to honor file order.
B.Edit the lookup definition and set the advanced option for multiple matches to use the first matching entry.
C.Add the option match_type=first to the lookup command.
D.Change OUTPUTNEW to OUTPUT so the lookup overwrites existing fields and resolves duplicates.
AnswerB

Lookup definitions include an advanced setting that controls behavior when multiple matches occur, such as first match, last match, or all matches. Setting it to use the first matching entry makes the enrichment deterministic. This is the correct place to configure duplicate handling, and it applies to both automatic and manual lookups that reference this definition.

Why this answer

Deterministic handling of duplicate lookup matches is configured in the lookup definition's advanced settings. Options such as first match, last match, or all matches control which row is applied. Setting the definition to use the first matching entry ensures consistent results regardless of file order.

The lookup command itself does not expose a parameter for this, and OUTPUT versus OUTPUTNEW only affects field overwriting.

Exam trap

The trap here is thinking that OUTPUTNEW or file sorting controls duplicate resolution, when it is actually an advanced setting on the lookup definition.

18
MCQeasy

What is the primary purpose of a lookup?

A.To store user dashboards.
B.To add external data to events.
C.To index raw data.
D.To filter out unwanted data.
AnswerB

A lookup enriches events at search time by matching field values against an external table, such as a CSV or KV store, returning additional fields. This adds external data to events without indexing it, satisfying the question's requirement.

Why this answer

A lookup in Splunk is a mechanism that enriches events by adding fields from an external data source (like a CSV file or a KV Store collection) based on a common field. This allows you to correlate indexed event data with additional context, such as user details, asset information, or threat intelligence, without re-indexing the raw data. The primary purpose is to add external data to events, making option B correct.

Exam trap

SPLK-1004 often tests the distinction between index-time and search-time operations, and candidates may confuse lookups with other knowledge objects like tags or event types, or mistakenly think lookups filter data rather than enrich it.

How to eliminate wrong answers

Option A is wrong because user dashboards are stored as knowledge objects in Splunk's configuration files or via the UI, not through lookups. Option C is wrong because indexing raw data is the function of indexers and inputs, not lookups; lookups do not index data. Option D is wrong because filtering unwanted data is typically done with search commands like where, search, or regex, not with lookups; lookups add data rather than remove it.

19
MCQeasy

You need to create a lookup that will be updated frequently with new data from a search. Which lookup type should you use to allow for fast, concurrent writes and reads?

A.External lookup
B.CSV lookup
C.Automatic lookup
D.KV Store lookup
AnswerD

KV Store lookups use MongoDB under the hood and support fast, concurrent reads and writes. They are designed for dynamic data that changes frequently. This makes them the best choice for lookups that are updated often via searches or the REST API.

Why this answer

KV Store lookups are built on MongoDB and are optimized for dynamic data with frequent updates. They support concurrent reads and writes, making them suitable for lookups that are updated regularly. CSV lookups are file-based and less efficient for frequent changes.

Exam trap

The trap here is confusing automatic lookups with a lookup type, when automatic lookups are just a way to apply a lookup, not a storage format.

20
Multi-Selectmedium

You are configuring a new alert in Splunk Enterprise Security. You want to ensure that the alert triggers only when a specific condition is met and that it performs multiple actions. Which two alert settings are required to define the alert's trigger condition and actions? (Choose two.)

Select 2 answers
A.Alert type (e.g., Scheduled, Real-time)
B.Alert actions (e.g., email, webhook, script)
C.Alert schedule (e.g., cron expression)
D.Alert permissions (e.g., sharing with other users)
E.Trigger condition (e.g., number of results, custom condition)
AnswersB, E

Alert actions determine what happens when the alert triggers, such as sending an email, executing a script, or posting to a webhook. You must configure at least one action for the alert to be useful. The actions are defined in the alert configuration under the 'Add Actions' section. Without actions, the alert would trigger but not perform any notification or response, making it ineffective. Therefore, configuring actions is a required part of the alert setup.

Why this answer

To define when an alert triggers, you must configure a trigger condition, which can be based on the number of results or a custom condition. To define what the alert does when it triggers, you must configure alert actions, such as sending an email or executing a script. These two settings are essential for the alert's core functionality.

Other settings like alert type, permissions, and schedule are important but do not directly define the trigger condition and actions.

Exam trap

The trap here is thinking that the alert schedule or type defines the trigger condition; in reality, the trigger condition is a separate setting that specifies the threshold or custom logic.

21
MCQmedium

A user wants to restrict an alert to trigger only once per hour, even if the search returns results every minute. Which setting should be modified?

A.Throttling
B.Cron schedule
C.Alert frequency
D.Trigger conditions
AnswerA

Throttling suppresses alert actions for a defined window after the first trigger, so subsequent search results within that period generate no further notifications. Setting a one-hour throttle satisfies the requirement of one alert per hour despite minute-by-minute results.

Why this answer

Alert throttling in Splunk suppresses alert actions for a specified period after a trigger, so setting throttling to one hour ensures the alert fires at most once per hour even if the search runs every minute. Throttling can be configured per alert and can suppress based on fields or the entire alert.

Exam trap

SPLK-1004 often tests the distinction between schedule (when the search runs) and throttling (how often actions fire), tricking candidates into changing the cron schedule or trigger conditions instead of throttling.

How to eliminate wrong answers

Option B is wrong because the cron schedule controls when the search runs, not how often the alert triggers; changing it would alter search execution, not suppression. Option C is wrong because alert frequency is not a standard Splunk alert setting that controls trigger rate; it is not the mechanism for limiting triggers. Option D is wrong because trigger conditions define when an alert fires based on search results (e.g., number of results), not how often it can fire over time.

22
MCQhard

You have a scheduled alert that runs every hour and triggers when the number of results is greater than 0. The alert is configured to send an email. You notice that the alert triggers and sends an email every hour, even when there are no new events. The search itself returns results because it includes a `stats` command that always returns at least one row (e.g., a count of 0). How can you modify the alert to only trigger when there are actual events?

A.Set the alert to trigger only when the search returns more than 0 results and add `| head 0` to the search.
B.Change the alert type to Real-time and set the trigger condition to 'Number of Results' is greater than 0.
C.Modify the search to include `| where count > 0` after the stats command.
D.Change the trigger condition to 'Number of Results' is greater than 1.
AnswerC

Adding `| where count > 0` after the `stats` command will filter out the row when the count is 0, so the search returns no results when there are no events. Consequently, the alert will not trigger because the number of results will be 0. This directly addresses the problem of the stats command always returning a row. The alert will then only trigger when there are actual events, as the count will be greater than 0.

Why this answer

The search always returns at least one row because the `stats` command produces a count of 0 when there are no events. To prevent the alert from triggering in that case, you must filter out the row when the count is 0. Adding `| where count > 0` after the `stats` command ensures that the search returns no results when there are no events, so the alert will only trigger when there are actual events.

Other options either do not address the root cause or suppress all triggers.

Exam trap

The trap here is assuming that changing the trigger condition to a higher number will solve the problem, but the search still returns a row with a count of 0, so any threshold above 0 will still be met.

23
MCQeasy

A security team wants to trigger an alert when a user account is locked out more than five times in 10 minutes. They create a saved search with the following SPL: index=security EventCode=4740 | stats count by user | where count > 5. They configure the alert to run every 10 minutes and trigger when the number of results is greater than 0. Which alert action should they configure to automatically create a ticket in their incident management system?

A.Add to Triggered Alerts
B.Log Event
C.Webhook
D.Run a Script
AnswerC

A webhook alert action sends an HTTP POST request to a specified URL with a payload containing alert details. This is the standard way to integrate Splunk alerts with external systems such as incident management platforms, which typically expose an API endpoint to create tickets. Configuring the webhook URL and payload allows automatic ticket creation when the alert triggers.

Why this answer

The Webhook alert action is designed to send an HTTP POST to an external URL, making it ideal for integrating with incident management systems that expose an API for ticket creation. It requires no custom scripting and is configured directly in the alert settings. Other actions either only record the alert internally or require additional scripting and deployment effort.

Exam trap

The trap here is overlooking Webhook as a built-in alert action and instead choosing a script or internal logging action for an external integration.

24
MCQmedium

You need to update a lookup table periodically using the output of a scheduled search. Which command is required to write the search results to the lookup file?

A.lookup_update
B.outputlookup
C.inputlookup
D.lookup
AnswerB

outputlookup writes search results into a specified lookup file, overwriting or appending as configured. A scheduled search running this command therefore refreshes the CSV lookup periodically, satisfying the requirement to update the table from search output.

Why this answer

The outputlookup command is used to write search results to a lookup file. It takes the results of a search and outputs them to a specified lookup table, either overwriting or appending.

Exam trap

SPLK-1004 often tests the confusion between inputlookup and outputlookup. Candidates might reverse their functions, thinking inputlookup writes to a lookup, when it actually reads from it.

How to eliminate wrong answers

Option A is wrong because 'lookup_update' is not a valid Splunk command; the correct command is 'outputlookup'. Option C is wrong because 'inputlookup' reads data from a lookup file into the search, not writes to it. Option D is wrong because 'lookup' is used to enrich events by looking up values from a lookup table, not to write to it.

25
MCQmedium

You want an alert to run every Monday at 8 AM. How should you configure the schedule?

A.Run every 1 hour.
B.Use a cron expression of 0 8 * * 1.
C.Use the Weekly setting.
D.Use the Daily setting.
AnswerB

A cron expression of `0 8 * * 1` fires at minute 0, hour 8, on day-of-week 1 (Monday), satisfying the Monday 8 AM requirement. Splunk cron scheduling uses five fields — minute, hour, day-of-month, month, day-of-week — so this precisely encodes the weekly cadence without extra configuration.

Why this answer

To schedule an alert for every Monday at 8 AM, you need a cron expression that specifies minute 0, hour 8, any day of month, any month, and day of week 1 (Monday). The expression '0 8 * * 1' exactly matches this schedule. Splunk's alert scheduler uses cron expressions for precise timing.

Exam trap

SPLK-1004 often tests cron syntax and the misconception that Splunk has a simple 'Weekly' option, leading candidates to choose incorrect scheduling methods.

How to eliminate wrong answers

Option A is wrong because running every 1 hour would trigger the alert 24 times a day, not just once a week on Monday. Option C is wrong because Splunk's alert scheduler does not have a simple 'Weekly' setting; it uses cron expressions or basic interval settings, and 'Weekly' is not a standard option. Option D is wrong because the 'Daily' setting would run the alert every day at a specified time, not just on Mondays.

26
MCQhard

Which of the following is a key advantage of using KV Store lookups over CSV lookups?

A.They support dynamic updates and data types.
B.They don't require lookup definitions.
C.They use less disk space.
D.They are faster for static data.
AnswerA

KV Store lookups are backed by an app-managed key-value collection rather than a static CSV file, so entries can be added, updated or deleted at runtime and fields retain defined data types. CSV lookups require re-uploading the file to reflect changes.

Why this answer

KV Store lookups support dynamic updates and preserve data types, unlike CSV lookups which are static files. This makes KV Store ideal for lookups that change frequently or require field-type fidelity. CSV lookups are read-only at search time and treat all values as strings.

Exam trap

SPLK-1004 often tests the misconception that KV Store lookups don't need lookup definitions or are always faster; the key differentiator is dynamic updates and data typing.

How to eliminate wrong answers

Option B is wrong because KV Store lookups still require a lookup definition to be referenced in SPL. Option C is wrong because KV Store lookups may use more disk space due to MongoDB storage overhead, not less. Option D is wrong because CSV lookups are often faster for static data since they are simple file reads, whereas KV Store involves a database engine.

27
MCQmedium

You maintain a KV Store lookup named asset_inventory in the search app. A scheduled search populates it every 15 minutes. A dashboard user reports that when they run a search that joins against asset_inventory, some events return no lookup fields, even though the assets exist in the collection. You confirm the lookup definition is shared globally and the collection contains the expected keys. Which action should you take to ensure the lookup is usable by the dashboard user's searches without granting them write access to the collection?

A.Add the dashboard user to the role that owns the scheduled search and restart the search head.
B.Grant the dashboard user the admin role so they inherit KV Store write permissions.
C.Edit the lookup definition and set the permissions to share it with the appropriate role while ensuring the KV Store collection ACL allows read for that role.
D.Convert the KV Store lookup to a CSV lookup and upload the file to the search app.
AnswerC

KV Store lookups require both the lookup definition to be shared with the user's role and the underlying collection to permit read access. Adjusting the lookup definition's permissions and the collection's access controls gives the user read-only use of the lookup without write privileges, which matches the requirement and preserves least privilege for the scheduled population job.

Why this answer

KV Store lookups are backed by collections with their own access controls. Even if the lookup definition is globally shared, the user still needs read access to the collection. Setting the lookup definition's permissions and the collection ACL to allow read for the user's role resolves the missing fields while keeping write access restricted to the scheduled job, which is the correct least-privilege solution.

Exam trap

The trap here is assuming that sharing the lookup definition alone grants access, when the underlying KV Store collection ACL must also permit the user's role to read it.

28
MCQmedium

You need to ensure that an alert does not fire multiple times for the same user if they trigger the alert 50 times in one minute. Which throttling setting should you use?

A.Suppress all results
B.Throttling by time only
C.Suppress results by field
D.Result limit
AnswerC

Suppress results by field groups matching events on a specified field, such as user, and emits only one result per group within the suppression window. This directly satisfies the stem's constraint of preventing repeat alerts for the same user triggering 50 times in one minute.

Why this answer

To prevent an alert from firing multiple times for the same user, you need to suppress results based on a field (e.g., user). The 'Suppress results by field' throttling setting groups results by a specified field and only triggers once per unique field value within the throttle window. This ensures one alert per user even if they trigger 50 times in a minute.

Exam trap

SPLK-1004 often tests the difference between time-based throttling and field-based suppression — candidates may pick time throttling, which does not group by user.

How to eliminate wrong answers

Option A is wrong because 'Suppress all results' would suppress every result, preventing the alert from firing at all. Option B is wrong because throttling by time only limits the overall alert frequency, not per-user; it would still fire multiple times for different users or even the same user if the window resets. Option D is wrong because result limit controls how many results are returned, not how alerts are throttled per field.

29
Multi-Selecthard

A Splunk administrator is designing a lookup that will be used in a real-time alert to enrich incoming events with user department information. The lookup must support rapid updates without restarting Splunk, allow multiple users to modify entries concurrently, and provide the ability to define a lookup with a case-sensitive match. The administrator wants to use a KV Store lookup instead of a CSV lookup. Which two statements accurately describe KV Store lookups in this context? (Choose two.)

Select 2 answers
A.KV Store lookups can only be created by uploading a CSV file through the Splunk web interface.
B.KV Store lookups require a lookup definition with a case-sensitive match setting to be configured in transforms.conf.
C.KV Store lookups can be updated in real time without restarting Splunk, and changes are immediately available to searches.
D.KV Store lookups support concurrent updates from multiple users through REST API calls and the Splunk web interface.
E.KV Store lookups automatically replicate data across all search heads in a distributed environment without additional configuration.
AnswersC, D

KV Store lookups are stored in a MongoDB collection and are queried dynamically at search time. Updates made via the REST API or UI are immediately visible to subsequent searches without requiring a Splunk restart or configuration reload. This is a key advantage for dynamic enrichment in real-time alerts.

Why this answer

KV Store lookups leverage MongoDB, allowing concurrent updates and immediate visibility of changes without restarting Splunk. These features make them ideal for dynamic enrichment in real-time alerts. The other statements are incorrect because KV Store replication requires explicit configuration, case sensitivity is not a mandatory setting, and KV Store lookups are not created by CSV upload.

Exam trap

The trap here is assuming that KV Store lookups automatically replicate across search heads, when in fact replication requires configuration of the KV Store replication factor and cluster settings.

30
MCQhard

You have configured an automatic lookup that is failing to populate. You verified the lookup definition and the automatic lookup rule. What is the most likely reason for the failure?

A.The lookup is set to read-only.
B.The lookup is shared globally.
C.The lookup table file is too large.
D.Field name mismatch between event and lookup.
AnswerD

Automatic lookups join on field names, so if the event field and lookup table column differ, no match occurs and the lookup returns nothing. Verifying the definition and rule would not reveal this, making a field name mismatch the most likely cause of the failure.

Why this answer

An automatic lookup joins fields from the lookup table to fields in the event stream at search time. If the field name referenced in the lookup definition (the 'Lookup input field') does not exist in the events, or the case/name differs from what the lookup CSV header expects, the lookup silently returns no matches and the lookup fields remain null. Since the definition and automatic rule were already verified, the most common remaining cause is a field name mismatch between the event data and the lookup table.

Exam trap

SPLK-1004 often tests the misconception that lookup failures are caused by permissions or file size, when the real culprit is almost always a silent field-name or case mismatch between the event and the lookup table.

How to eliminate wrong answers

Option A is wrong because lookup definitions in Splunk do not have a 'read-only' attribute that would prevent population; permissions are controlled via sharing and roles, not a read-only flag. Option B is wrong because global sharing actually broadens access and would not cause the lookup to fail to populate. Option C is wrong because lookup table size is not a population blocker — Splunk supports large KV Store and CSV lookups, and size only affects performance, not whether fields populate.

31
MCQhard

What is the result of using 'OUTPUTNEW' instead of 'OUTPUT' in a lookup command?

A.It forces an error if the lookup is empty.
B.It performs a case-insensitive lookup.
C.It only adds fields if they do not already exist.
D.It creates a new lookup table.
AnswerC

OUTPUTNEW writes lookup fields only when the destination field is absent, preserving existing values instead of overwriting them. Plain OUTPUT replaces any field of the same name. This satisfies the requirement to add new fields without clobbering data already present in the event.

Why this answer

In a lookup command, OUTPUTNEW only adds fields from the lookup if those fields do not already exist in the event. If the field already exists, the lookup value is ignored. This contrasts with OUTPUT, which overwrites existing fields.

Thus, option C is correct.

Exam trap

The trap is confusing OUTPUTNEW with OUTPUT, assuming it changes lookup behavior like case sensitivity or error handling, rather than just field addition logic.

How to eliminate wrong answers

Option A is wrong because OUTPUTNEW does not force an error on empty lookups; it simply adds no fields. Option B is wrong because case-insensitivity is controlled by the lookup definition's case_sensitive_match setting, not by OUTPUTNEW. Option D is wrong because OUTPUTNEW does not create a new lookup table; it only controls field output behavior.

32
MCQmedium

A Splunk power user is configuring an alert that must trigger only when a search returns more than 100 events in a 5-minute window. The user wants to avoid duplicate alerts for the same set of events and wants the alert to include a link to the search results in the notification email. Which alert configuration should the user set to prevent duplicate alerts?

A.Enable the 'Throttle' option and set a throttle period.
B.Set the alert to run on a cron schedule instead of a real-time schedule.
C.Add the dedup command to the search to remove duplicate events.
D.Configure the alert to trigger once per result instead of once per search.
AnswerA

The throttle option suppresses alerts for a specified period after an alert triggers. This prevents duplicate notifications for the same condition. The throttle period can be set to match the search window or a longer duration, ensuring that repeated triggers do not generate multiple emails.

Why this answer

Throttling suppresses alert actions for a defined period after an alert triggers, preventing duplicate notifications for the same condition. The other options do not address duplicate alerts: cron scheduling still triggers on each run if the condition persists, dedup only affects events within a single search, and triggering per result increases notifications.

Exam trap

The trap here is confusing event deduplication within search results with alert throttling, which suppresses repeated alert actions over time.

33
MCQhard

You have a lookup definition 'user_info' that maps user to department. In a search, you run: index=main | lookup user_info user OUTPUTNEW department AS dept. Some events already contain a field named 'dept'. What is the result for those events?

A.The lookup value is added as a new field named 'department' instead of 'dept'.
B.The existing 'dept' field remains unchanged, and the lookup value is not added.
C.The existing 'dept' field is overwritten with the value from the lookup.
D.The search fails with an error because OUTPUTNEW cannot be used with an AS clause.
AnswerB

OUTPUTNEW only writes the lookup result if the target field is not already present in the event. Since 'dept' exists, the lookup value is discarded for those events. This preserves existing data and prevents overwriting. For events without 'dept', the lookup value would be added as 'dept'. This behavior is useful when you want to fill gaps without clobbering existing fields.

Why this answer

OUTPUTNEW adds lookup values only when the destination field is absent. When 'dept' already exists, the lookup value is not applied, leaving the original field intact. This differs from OUTPUT, which overwrites existing fields.

The search does not error; it simply skips adding the value for events that already have the field.

Exam trap

The trap here is assuming OUTPUTNEW overwrites like OUTPUT, or that it creates a new field with the original name when the renamed field exists.

34
MCQeasy

You need to create a lookup definition that references a CSV file stored in the `lookups` directory of your app. Which configuration file is used to define the lookup?

A.props.conf
B.transforms.conf
C.outputs.conf
D.inputs.conf
AnswerB

Lookup definitions are defined in `transforms.conf`. This file specifies the lookup name, the filename of the CSV (or other type), and other settings such as case sensitivity. The lookup definition is then referenced in searches using the `lookup` command or in automatic lookups. `transforms.conf` is the correct place to define how Splunk should interpret and access the lookup table.

Why this answer

Lookup definitions are stored in `transforms.conf`. This file contains the stanza for the lookup definition, specifying the lookup name, the file path, and other parameters like case sensitivity. The other files listed serve different purposes: `props.conf` for parsing, `inputs.conf` for data inputs, and `outputs.conf` for forwarding.

Therefore, `transforms.conf` is the correct configuration file.

Exam trap

The trap here is confusing `props.conf` with `transforms.conf`; while `props.conf` can reference lookups for automatic lookups, the lookup definition itself resides in `transforms.conf`.

35
MCQhard

You have a lookup definition named `employee_lookup` that maps `employee_id` to `department` and `manager`. You want to use this lookup in a search to add the `department` and `manager` fields to your events, but you also want to ensure that if the `department` field already exists in the event, it is not overwritten. Which `lookup` command syntax achieves this?

A.`| lookup employee_lookup employee_id OUTPUT department AS new_department, manager AS new_manager`
B.`| lookup employee_lookup employee_id OUTPUT department, manager`
C.`| lookup employee_lookup employee_id OUTPUT department, manager OVERWRITE=false`
D.`| lookup employee_lookup employee_id OUTPUTNEW department, manager`
AnswerD

`OUTPUTNEW` adds fields from the lookup only if they do not already exist in the event. If `department` or `manager` already exist, they are left unchanged. This matches the requirement to not overwrite existing fields. `OUTPUTNEW` is specifically designed for this purpose, ensuring that existing data takes precedence over lookup data. It is the correct choice when you want to enrich events without replacing existing field values.

Why this answer

`OUTPUTNEW` adds fields from the lookup only if they do not already exist in the event. If the `department` or `manager` fields are already present, they remain unchanged. This is the correct way to enrich events without overwriting existing field values. `OUTPUT` would overwrite existing fields, and there is no `OVERWRITE` argument in the `lookup` command.

Using aliases with `OUTPUT` does not preserve the original fields under their original names.

Exam trap

The trap here is confusing `OUTPUT` and `OUTPUTNEW`; `OUTPUT` overwrites existing fields, while `OUTPUTNEW` only adds fields that are not already present.

36
Multi-Selecthard

Which TWO settings in a lookup definition affect how the lookup matches the data?

Select 2 answers
A.Match type
B.Case sensitive match
C.Owner permissions
D.Lookup file compression
E.Refresh interval
AnswersA, B

Match type determines whether Splunk performs a case-sensitive or case-insensitive comparison when joining lookup fields to event data, directly governing which events match. This satisfies the stem's requirement for a setting affecting how the lookup matches data, alongside advanced options such as CIDR matching.

Why this answer

In a Splunk lookup definition, the Match type setting (A) determines whether the lookup matches on the entire field value (exact match) or on a portion of it (CIDR, wildcard, or regex matching), directly controlling how lookup keys are compared to event field values. The Case sensitive match setting (B) controls whether the lookup comparison treats uppercase and lowercase characters as distinct, which also directly affects whether a match is found. Together these two settings govern the matching logic of the lookup.

Owner permissions (C) only control access rights to the lookup object, not how values are matched. Lookup file compression (D) is not a matching setting and relates to file storage/size handling. Refresh interval (E) controls how often the lookup file is reloaded into memory, not how matches are performed.

Exam trap

SPLK-1004 often tests the distinction between lookup definition settings that affect matching (match type, case sensitivity) and those that affect other aspects like permissions, file handling, or refresh behavior.

37
MCQmedium

You need to ensure that an alert notifies a specific team via email only when the number of errors exceeds 50 in 5 minutes. What is the correct way to implement this?

A.Set trigger condition to 'greater than' 50 results in 5 minutes.
B.Enable 'Real-time' alert mode.
C.Use a cron expression of */5.
D.Configure the 'Action' to 'Email'.
AnswerA

Setting the trigger condition to greater than 50 results within a five-minute window fires the alert only when the error count exceeds the threshold, satisfying the stem's requirement for email notification on that specific condition.

Why this answer

The trigger condition in a Splunk saved search defines the threshold that must be met for the alert to fire. Setting it to 'greater than' 50 results over a 5-minute window directly implements the requirement of notifying only when errors exceed 50. The alert action (email) is configured separately, and the trigger condition is what governs when that action executes.

Exam trap

SPLK-1004 often tests the confusion between scheduling an alert (cron/real-time) and defining its trigger condition — candidates mistakenly think the schedule or action determines when the alert fires.

How to eliminate wrong answers

Option B is wrong because real-time alert mode changes when the search runs (continuously as events arrive) but does not enforce a numeric threshold over a 5-minute window. Option C is wrong because a cron expression of */5 only controls the schedule (every 5 minutes) and does not evaluate whether the result count exceeds 50. Option D is wrong because configuring the email action only defines the notification channel; it does not determine when the alert should trigger.

38
MCQmedium

You have a CSV lookup file 'employees.csv' with fields employee_id, department, and manager. You need to enrich incoming events that contain 'user' by matching user to employee_id and adding department and manager to the events. The lookup should apply automatically to all searches against the 'main' index without requiring users to add a lookup command. What should you configure?

A.Define a field alias that maps user to employee_id and then use the lookup command in each search.
B.Create a lookup definition and then create an automatic lookup that maps user to employee_id and outputs department and manager for the main index.
C.Upload the CSV as a lookup table file and enable the 'Global' permission so it applies to all searches automatically.
D.Create a calculated field that uses the lookup() function to return department and manager for each event.
AnswerB

An automatic lookup is exactly the mechanism that applies a lookup definition to searches without users adding the lookup command. You define the lookup table and definition, then create an automatic lookup specifying the lookup definition, the input field user, the lookup field employee_id, and the output fields department and manager. Scoping it to the main index ensures it applies to searches against that index.

Why this answer

Automatic lookups are designed to enrich events at search time without requiring the lookup command. By creating a lookup definition for the CSV and then an automatic lookup that matches user to employee_id and outputs department and manager, scoped to the main index, all searches against that index receive the enriched fields.

Exam trap

The trap here is confusing lookup permissions or field aliases with automatic lookups, which are the only configuration that applies a lookup to searches without explicit commands.

39
MCQeasy

Which permission setting is required for other users to use a lookup table you have created?

A.Owner-only
B.System-only
C.Private
D.App or Global
AnswerD

Sharing a lookup requires its permissions be set to App or Global, which grants all users of that app, or every user, read access to the lookup definition and file. Private or user-scoped settings restrict it to the owner, blocking other users.

Why this answer

For other users to use a lookup table, its permissions must be set to App or Global. App-level permissions make the lookup available to all users of that app, while Global permissions make it available across all apps. These settings ensure the lookup is shared beyond the owner.

Exam trap

SPLK-1004 often tests the confusion between permission levels, tricking candidates into selecting 'System-only' or 'Private' when App or Global is required for sharing.

How to eliminate wrong answers

Option A is wrong because Owner-only permissions restrict the lookup to the creating user, preventing others from using it. Option B is wrong because 'System-only' is not a valid permission level in Splunk's knowledge object sharing model; the levels are Private, App, and Global. Option C is wrong because Private permissions are equivalent to owner-only and do not allow other users to access the lookup.

40
Multi-Selecteasy

Which TWO of the following are valid lookup types in Splunk?

Select 2 answers
A.KV Store lookup
B.Database lookup
C.Log lookup
D.CSV lookup
E.Text lookup
AnswersA, D

Standard key-value store lookup.

Why this answer

KV Store lookups (A) are a valid Splunk lookup type, defined with a transforms.conf stanza using external_type = kvstore and backed by the app's MongoDB-based KV Store collections, allowing lookups to be created and edited via the Splunk Web UI or REST API. CSV lookups (D) are also valid, defined with external_type = csv and a filename pointing to a .csv file in the app's lookups directory, and are the most common file-based lookup type. The remaining options are not Splunk lookup types: there is no 'Database lookup' (B) type (external database access is done via DB Connect, which surfaces data as lookups or via dbxquery), no 'Log lookup' (C) type, and no 'Text lookup' (E) type — Splunk supports CSV, KV Store, and external/scripted lookup types, not these.

Exam trap

SPLK-1004 often tests whether candidates invent non-existent lookup types like 'database' or 'text' lookups, when only CSV and KV Store are native.

41
MCQhard

You have an alert that runs a search every 15 minutes and triggers when the number of failed login attempts exceeds 10. The alert is configured to send an email. After a week, you notice that the alert triggered multiple times but no emails were received. You verify the search returns results and the email settings are correct. What is the most likely cause?

A.The alert is configured to throttle by a field, and the throttle period suppresses subsequent emails.
B.The alert action's 'Expires' setting is set to a past date, disabling the action.
C.The alert is configured with a 'Number of Results' trigger condition instead of a custom condition.
D.The alert's time range is set to 'All time', causing it to search too much data and time out.
AnswerA

Alert throttling suppresses actions for a specified period when a trigger occurs. If throttling is enabled and set to suppress by a field such as `user`, subsequent triggers within the throttle period will not send emails. This matches the scenario: the alert triggers but emails are suppressed. Throttling is a common cause of missing alert notifications.

Why this answer

Alert throttling suppresses alert actions for a defined period. If throttling is enabled, even though the alert triggers, the action (email) may be suppressed if the throttle condition is met. The other options would either prevent the alert from triggering or are less likely given the scenario.

Throttling is a frequent configuration oversight that leads to missing notifications.

Exam trap

The trap here is assuming that if an alert triggers, its actions always execute; throttling can silently suppress actions.

42
Multi-Selectmedium

Which TWO pieces of information must be provided when defining a lookup table file upload?

Select 2 answers
A.Lookup definition
B.Destination Filename
C.Lookup index
D.Field aliases
E.Destination App
AnswersB, E

The destination filename defines the lookup name that the uploaded CSV is stored as and later referenced by lookup commands in searches. The source file alone is insufficient, since Splunk needs to know what to name the resulting lookup definition.

Why this answer

When defining a lookup table file upload, the two required pieces of information are the Destination Filename (B) and the Destination App (E). The Destination Filename (B) specifies the exact name of the lookup file (for example, a .csv file) that will be created or replaced in the destination app, so the system knows where to write the uploaded lookup data. The Destination App (E) identifies the Splunk app context in which the lookup file will be stored, ensuring the file is placed in the correct app's lookups directory and is available to knowledge objects in that app.

The Lookup definition (A) is not required at upload time because the lookup definition (transform) can be created or referenced separately after the file exists. The Lookup index (C) is not applicable, since lookup files are stored as files in an app's lookups directory, not indexed as events in an index. Field aliases (D) are optional configuration applied to a lookup definition to map lookup fields to event fields, and are not required to upload the file itself.

Exam trap

SPLK-1004 often tests the distinction between the file upload step (filename + app) and the later lookup definition step (fields, permissions), causing candidates to select 'lookup definition' as a required upload field.

Ready to test yourself?

Try a timed practice session using only Lookups And Alerts questions.