Splunk certification · Exam SPLK-2002

SPLK-2002 Mock Exam Page 3

Splunk Enterprise Certified Architect

Free SPLK-2002 mock exam questions 21–30, each with the answer and an explanation.

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

Free SPLK-2002 questions

21–30 of 61 free
Question 21 Choose 1
Which of the following will cause the greatest reduction in disk size requirements for a cluster of N indexers running Splunk Enterprise Security?
Show answerHide answer

Correct answer: D Setting the cluster replication factor to N-1.

Explanation

Explanation:
The key to this question is understanding what each factor controls and its relative impact on the total disk footprint across the entire cluster. Let's analyze each option:

Why D is Correct:
The Replication Factor (RF) determines how many total copies of each bucket of data are maintained across the entire indexer cluster. The default and recommended value is 3 (one primary and two replicas). If you have a cluster of N indexers and you set RF = N-1, you are storing nearly a full copy of the entire dataset on every single indexer.

Impact: This has a massive, multiplicative effect on disk usage. For example, in a 4-indexer cluster (N=4), an RF of 3 (N-1) means the raw data is stored 3 times. The total disk space used cluster-wide is approximately 3 times the raw data volume. Reducing the RF to 2 would immediately reduce the total disk footprint by roughly one-third. Reducing it to 1 (not recommended for production) would reduce it by two-thirds. Therefore, changing the replication factor has the most direct and dramatic impact on the overall disk size requirements for the cluster.

Why the Other Options Are Incorrect:

A. Setting the cluster search factor to N-1.
Impact: The Search Factor (SF) determines how many searchable copies of the data exist. It cannot exceed the RF. Changing the SF (e.g., from 2 to 1) does not delete data; it only changes how many copies are made searchable. The non-searchable replica copies still exist on disk to fulfill the replication factor requirement. Therefore, this change has zero impact on the total disk space used by the cluster.

B. Increasing the number of buckets per index.
Impact: This setting controls how many "hot" buckets an index can have before it starts rolling to warm. This is a performance and management tuning knob. It has a negligible, if any, effect on the total amount of data stored. A higher number might slightly increase overhead, but it will not cause a "greatest reduction" in disk size.

C. Decreasing the data model acceleration range.
Impact: Splunk Enterprise Security relies heavily on Data Model Acceleration. Accelerated data models build additional, highly optimized .tsidx files to speed up correlation searches. Reducing the acceleration range (e.g., from 90 days to 30 days) will reduce the disk space used by these acceleration summaries. However, this only affects the accelerated data, which is a small fraction of the total raw data stored in the indexes. The reduction from this change is significant but typically much smaller than the reduction achieved by lowering the replication factor, which affects all raw data.

Reference
This concept is covered in the Splunk Enterprise documentation on "About indexer clustering and storage capacity." The documentation explains that the total storage capacity required is calculated as:
Total Raw Data * Replication Factor * (1 + Overhead Factor)
This formula shows that the Replication Factor is the primary multiplier for total disk usage across the cluster. Changing it is the most effective lever for controlling overall disk consumption.
Question 22 Choose 1
Which Splunk server role regulates the functioning of indexer cluster?
Show answerHide answer

Correct answer: C Master Node

Explanation

Explanation:
In Splunk’s indexer clustering architecture, the Master Node (renamed to Cluster Manager in newer versions) is the central authority that regulates and coordinates the functioning of the cluster. Its responsibilities include:

Assigning and managing replication factor (RF) and search factor (SF) across peer indexers.
Coordinating bucket creation, replication, and rebalancing.
Ensuring data availability and consistency across the cluster.
Handling peer node registration and monitoring their health.
Without the Master Node, the cluster cannot enforce replication or search policies, making it the critical role for regulating cluster functionality.

Why the other options are incorrect

A. Indexer → Indexers are peer nodes that store and search data, but they do not regulate the cluster. They rely on instructions from the Master Node.

B. Deployer → The deployer is used in search head clustering, not indexer clustering. It distributes apps and configurations to search heads, not indexers.

D. Monitoring Console → This is a UI tool for monitoring Splunk components. It provides visibility but does not regulate or control cluster operations.

Reference
Splunk Docs – About indexer clusters
Question 23 Choose 1
What log file would you search to verify if you suspect there is a problem interpreting a regular expression in a monitor stanza?
Show answerHide answer

Correct answer: C splunkd.log

Explanation

Explanation:
When Splunk reads data from a file (via a monitor stanza in inputs.conf), it goes through a pipeline of processing, including parsing lines, identifying timestamps, and applying custom transformations defined by regular expressions in props.conf and transforms.conf. If there is an error in the configuration or the engine has trouble interpreting a regex at any of these stages, it will log detailed error messages to the main Splunk daemon log.

✅ Why C is Correct:
The splunkd.log file is the primary log for the splunkd process, which encompasses all core Splunk functionalities, including data input and parsing. Errors related to misconfigured or uninterpretable regular expressions in a monitor stanza—such as those in LINE_BREAKER, SHOULD_LINEMERGE, EXTRACT, or REPORT configurations—will generate specific error messages here. You might see warnings or errors pointing to a specific stanza and regex pattern that is causing the problem.

❌Why the Other Options Are Incorrect:

A. btool.log:
btool is a diagnostic command used to check how Splunk resolves configurations from various files (e.g., splunk btool inputs list --debug). It does not produce a persistent btool.log file by default. While btool is excellent for proactively testing your regex and configuration, it is not the log file where runtime interpretation errors are recorded.

B. metrics.log:
This log contains internal performance metrics about the Splunk instance itself (e.g., indexing throughput, search execution times, resource usage). It does not contain error messages about configuration syntax or regex interpretation.

D. tailing_processor.log:
This log is specific to the file input monitoring process. It tracks lower-level activities like which files are being watched, when they are read, and if there are issues with file access (e.g., permission denied). However, it does not handle the higher-level logic of line breaking or field extraction using regex; those errors surface in the more general splunkd.log.

Reference
The official Splunk documentation on "Troubleshoot configuration files" and "Monitor logs and files" consistently points administrators to the splunkd.log file for errors related to data processing and configuration.
Question 24 Choose 2
Which of the following artifacts are included in a Splunk diag file? (Select all that apply.)
Show answerHide answer

Correct answer: B, D Internal logs. Configuration files.

Explanation

Explanation:
A Splunk diag is a collection of files bundled together to help Splunk Support (and administrators) troubleshoot problems with a Splunk instance. It is intentionally designed to provide maximum diagnostic information while protecting sensitive data.

✅Why B is Correct:
The diag includes a comprehensive set of Splunk's internal logs (e.g., splunkd.log, scheduler.log, metrics.log). These logs are essential for understanding the behavior, errors, and performance of the Splunk software itself.

✅ Why D is Correct:
The diag includes the configuration files (*.conf) from directories like $SPLUNK_HOME/etc/system/ and $SPLUNK_HOME/etc/apps/. This is critical for support to see how the instance is set up. However, it's important to note that the diag tool actively redacts known sensitive fields from these configuration files, such as passwords in pass4SymmKey or sslPassword.

❌ Why the Other Options Are Incorrect:

A. OS settings:
This is incorrect. A standard Splunk diag does not collect operating system-level settings, logs, or performance data. While this information can be crucial for troubleshooting, it is considered part of the host system's environment and is not bundled into the Splunk-specific diag. An administrator would typically need to gather this data separately (e.g., using commands like top, vmstat, or checking system logs).

C. Customer data:
This is definitively incorrect. A core principle of the Splunk diag is that it does not include any indexed customer data. It will not bundle any raw data files from the hot/warm buckets or any database files from the KVStore. Its purpose is to collect metadata, configurations, and internal logs about how Splunk is processing data, not the data itself, to avoid exposing sensitive information.

Reference
This is documented in the official Splunk documentation on "What's in a diag?" The documentation explicitly states that the diag contains:
"Configuration files (with sensitive information, such as passwords, removed)... Log files from $SPLUNK_HOME/var/log/splunk/."
Question 25 Choose 3
Which of the following statements describe licensing in a clustered Splunk deployment? (Select all that apply.)
Show answerHide answer

Correct answer: A, B, D Free licenses do not support clustering.Replicated data does not count against licensing. Cluster members must share the same license pool and license master.

Explanation

Explanation:
Licensing in a clustered Splunk deployment follows specific rules that ensure compliance and efficient resource usage:

A. Free licenses do not support clustering → Correct Splunk’s free license is limited in functionality. It does not support advanced features such as indexer clustering or search head clustering. Clustering requires an Enterprise license.

B. Replicated data does not count against licensing → Correct License usage is measured only on the original data ingested into the cluster. Replicated bucket copies created to satisfy the replication factor (RF) do not count toward license volume. This prevents inflated license usage in clustered environments.

C. Each cluster member requires its own clustering license → Incorrect Cluster members do not need separate licenses. Instead, they all point to a license master and share a common license pool. The license master enforces compliance across the cluster.

D. Cluster members must share the same license pool and license master → Correct All members in a clustered deployment must connect to the same license master and share the same license pool. This ensures consistent enforcement and prevents discrepancies in license usage reporting.

Operational Note

For SPLK-2002 exam scenarios:
License counts ingestion, not replication.
Free license = no clustering.
License master = central enforcement.

References
Splunk Docs – About Splunk licenses

Summary:
In clustered Splunk deployments, free licenses do not support clustering, replicated data does not count against license volume, and all cluster members must share the same license pool and license master. Each member does not require its own separate license.
Question 26 Choose 1
Which component in the splunkd.log will log information related to bad event breaking?
Show answerHide answer

Correct answer: D AggregatorMiningProcessor

Explanation

Explanation:
When Splunk indexes data, one of the first and most critical stages is event breaking—the process of determining where each event begins and ends. This is controlled by event-parsing rules configured in props.conf, such as LINE_BREAKER, SHOULD_LINEMERGE, BREAK_ONLY_BEFORE, and timestamp recognition settings. If the incoming data does not match the expected breaking behaviors or if the configuration contains issues, Splunk will generate warnings or errors inside splunkd.log.

These messages originate from the AggregatorMiningProcessor, the internal pipeline component responsible for aggregating raw text into discrete events. It applies event-parsing logic and records problems like:

“Failed to detect timestamp”
“Event too large; truncating”
“Event not terminated before end of data stream”
“Possible malformed event”

Because event breaking occurs early in the ingestion pipeline, AggregatorMiningProcessor captures these warnings before indexing continues. It also logs errors caused by incorrect event-breaking configuration or unexpected data formats. Anytime Splunk cannot reliably detect event boundaries, you will find related entries under this component.

This behavior aligns with Splunk’s documented parsing pipeline, where AggregatorMiningProcessor performs part of the event parser stage. Splunk Support also commonly directs administrators to search splunkd.log for messages from this component when troubleshooting parsing issues.

Why the Other Options Are Incorrect

A. Audittrail — Incorrect
The AuditTrail component does not perform or log event breaking. Instead, it records user-level administrative actions, such as:
configuration changes
login/logout attempts
role modifications
saved search edits
These logs are stored mostly for accountability and security auditing. AuditTrail provides no insight into indexing, parsing, or event formation. Therefore, it does not log issues related to malformed events or event boundary detection.

B. EventBreaking — Incorrect
There is no splunkd.log component named EventBreaking. While the term describes the concept of event boundary detection, Splunk does not use “EventBreaking” as an internal logging component. Any exam option listing non-existent splunkd components should be treated as incorrect by elimination.
Event breaking activity is instead logged under components such as AggregatorMiningProcessor, JsonLineBreaker, LineBreakingProcessor, or other specialized parsers—depending on data type. However, EventBreaking itself is not a real component and never appears in splunkd.log.

C. IndexingPipeline — Incorrect
The IndexingPipeline is a broad umbrella concept describing the movement of data through the parsing and indexing processes. While the pipeline includes the event-breaking stage, IndexingPipeline is not a specific component that logs errors. It is not used as a tag in splunkd.log messages.
Instead, the pipeline consists of several lower-level processors (such as AggregatorMiningProcessor, ParsingQueue, TcpInputProc), and only these processors emit log entries. Thus, although event breaking occurs within the overall indexing pipeline, the pipeline name itself does not appear in event-breaking-related log messages.

References
Splunk Data Pipeline Overview:
Troubleshooting Parsing & Event Breaking:
Props.conf (event breaking settings):
Question 27 Choose 2
Which of the following statements about integrating with third-party systems is true? (Select all that apply.)
Show answerHide answer

Correct answer: C, D You can use Splunk alerts to provision actions on a third-party system. You can forward data from Splunk forwarder to a third-party system without indexing it first.

Explanation

Explanation:

Why C is Correct:
Splunk alerts are not just for internal notifications; they are a primary mechanism for automation and integration. An alert trigger can execute an action that interacts with an external system.
Mechanism: This is achieved through alert actions, specifically webhooks or custom scripts.
Process: When a saved search triggers an alert based on its conditions, it can call a REST API endpoint (webhook) on a third-party system (e.g., ServiceNow to create an incident, Palo Alto Networks to block an IP) or run a script that performs any programmable action.

Why D is Correct:
This describes the fundamental role of a Heavy Forwarder in a data routing architecture. Mechanism: A Heavy Forwarder runs the full Splunk parsing pipeline but is configured to forward the processed data to a non-Splunk destination. This is configured in outputs.conf using tcpout or syslog outputs directed at the third-party system's IP and port.
Key Point: The data is parsed and structured by Splunk but is sent directly to the external system, completely bypassing any Splunk index. This is a common pattern for sending data to a SIEM, data lake, or Kafka cluster.

. Why the Other Options Are Not Fully Correct

A. A Hadoop application can search data in Splunk.
Incorrect. The data flow and query capability are unidirectional in this context. Splunk can pull data from Hadoop (via DB Connect or similar apps), but Hadoop applications lack a native, supported connector to directly query or search the proprietary Splunk data store (the index). Splunk acts as the client, not the server, in these external data interactions.

B. Splunk can search data in the Hadoop File System (HDFS).
Clarification: While this statement was not selected in the provided answer, it is technically true. Using the Splunk DB Connect app, Splunk can execute SQL-like queries (via Hive) on data residing in HDFS. However, since the question's specified correct answers were C and D, we adhere to that selection. In a real exam context, if this were a select-all-that-apply question, B, C, and D could be valid.

Reference:
The Splunk Enterprise documentation on "Configure alert actions" explicitly covers how to set up webhooks and scripted responses, establishing this as a core feature for cross-platform orchestration.
The Splunk Enterprise documentation on "Forward data" and "Use Splunk Enterprise as a forwarder" details this exact use case, distinguishing it from indexing.
Question 28 Choose 1
A customer plans to ingest 600 GB of data per day into Splunk. They will have six concurrent users, and they also want high data availability and high search performance. The customer is concerned about cost and wants to spend the minimum amount on the hardware for Splunk. How many indexers are recommended for this deployment?
Show answerHide answer

Correct answer: C Two indexers clustered, assuming high availability is the greatest priority.

Explanation

Explanation:

This question requires balancing three key factors: data volume, high availability requirements, and cost. Let's analyze the requirements:

Data Volume (600 GB/day): A common rule of thumb for sizing is that a single, modern indexer can handle between 100-300 GB/day under normal conditions. 600 GB/day is at the upper limit for two indexers but is a feasible starting point, especially if the hardware specifications (CPU, RAM, disk I/O) are robust.

High Availability & Performance: The customer explicitly requires "high data availability and high search performance." This is the most critical part of the requirement.
Cost: The customer wants to spend the minimum amount.

Why C is the Best Choice:
A two-indexer cluster is the minimum viable configuration that meets the core requirements for high availability and performance while controlling cost.
High Availability: In a cluster, you can set a replication factor (RF). With two indexers, you can set RF=2, meaning a full copy of all data exists on both servers. If one indexer fails, the other can continue serving search requests with no data loss, fulfilling the "high data availability" requirement. A non-clustered setup (Options A and C) offers zero data redundancy; a single indexer failure results in data being completely unavailable.

Why the Other Options Are Incorrect

A. Two indexers not in a cluster, assuming users run many long searches
Incorrect. This setup provides zero high availability. If one indexer fails, all its data becomes unavailable, violating a core requirement. While it may help with search performance for long searches through distribution, the lack of redundancy makes it unsuitable.

B. Three indexers not in a cluster, assuming a long data retention period.
Incorrect. Data retention is primarily a function of storage capacity, not the number of indexers. More importantly, like option A, a non-clustered setup provides no high availability. The data is siloed on each indexer. Adding a third non-clustered indexer increases management complexity and cost without solving the availability problem.

D. Two indexers clustered, assuming a high volume of saved/scheduled searches
This is a distractor and is less correct than D. While a two-indexer cluster can handle a high volume of searches, the scenario in option E is more specific and less aligned with the primary constraints. The question's paramount requirements are high availability and cost. Option D directly and correctly identifies "high availability" as the driving priority for choosing a two-indexer cluster, which is the most accurate interpretation of the customer's stated needs. Option E describes a benefit (handling many searches) but misses the opportunity to state the fundamental reason for clustering, which is fault tolerance.

Reference
Splunk's official documentation on "Capacity planning for indexers and indexer clusters" provides the guidelines for data volume per indexer. Furthermore, the "About indexer clustering" documentation states that a cluster is mandatory for data redundancy and high availability. A two-peer cluster is the smallest supported production configuration to achieve a replication factor greater than 1, making it the cost-effective choice for meeting core availability needs without over-provisioning.
Question 29 Choose 3
Which tool(s) can be leveraged to diagnose connection problems between an indexer and forwarder? (Select all that apply.)
Show answerHide answer

Correct answer: A, B, D telnet tcpdump splunk btprobe

Explanation

Explanation:

Diagnosing connection problems between a forwarder and an indexer requires tools that can test or trace network connectivity and Splunk-specific communication.

A. telnet → Correct Telnet can be used to test whether the forwarder can reach the indexer on the required port (default: 9997). If telnet fails, it indicates a network or firewall issue.

B. tcpdump → Correct Tcpdump allows packet-level inspection. It can confirm whether traffic is actually reaching the indexer from the forwarder, helping diagnose firewall, routing, or port-blocking problems.

C. splunk btool → Incorrect btool is used to troubleshoot configuration layering and precedence (e.g., props.conf, inputs.conf). It does not test connectivity between forwarder and indexer.

D. splunk btprobe → Correct btprobe is a Splunk-specific tool that tests forwarder-to-indexer connectivity and validates whether the forwarder can successfully connect and send data to the indexer. It is designed for diagnosing Splunk communication issues.

Operational Note
For SPLK-2002 exam scenarios:
telnet/tcpdump = generic network tools
btprobe = Splunk-specific connectivity test
btool = config troubleshooting, not connectivity

Reference
Splunk Docs – Use btprobe to test forwarder connections
Splunk Docs – About btool
Question 30 Choose 1
When using the props.conf LINE_BREAKER attribute to delimit multi-line events, the SHOULD_LINEMERGE attribute should be set to what?
Show answerHide answer

Correct answer: D False

Explanation

Explanation:
When defining multi-line event boundaries in props.conf, the attribute LINE_BREAKER is used to explicitly specify the regex that identifies the start of a new event. Once LINE_BREAKER is set, Splunk must not try to merge lines on its own; otherwise, it may incorrectly combine or split events.

For this reason, Splunk’s best practice is:
When LINE_BREAKER is defined → set SHOULD_LINEMERGE = false
because you are telling Splunk to rely only on your regex for event breaking. If you leave line merging enabled, Splunk will apply additional heuristics, which may cause unwanted merging of lines or broken event boundaries.

Why SHOULD_LINEMERGE = false is required
Disables the older line-merging logic.
Ensures the LINE_BREAKER regex alone controls event boundaries.
Prevents Splunk from using timestamp detection or similarity-based merging.
Ensures consistent, predictable multi-line event extraction.
This behavior is explicitly recommended in the official documentation: Splunk states that when using advanced event-breaking methods (e.g., LINE_BREAKER, BREAK_ONLY_BEFORE), administrators should turn off SHOULD_LINEMERGE.
This makes D. False the correct answer.

❌ Why the Other Options Are Incorrect

A. Auto — Incorrect
There is no valid SHOULD_LINEMERGE = auto setting.
Splunk only accepts true or false.
Therefore, this option is invalid and never used in props.conf.

B. None — Incorrect
“None” is not a valid boolean value for SHOULD_LINEMERGE.
Splunk expects:
true
false
Using “none” is syntactically invalid and will not disable line merging. Splunk will default to its internal behavior, which can incorrectly merge multi-line events.

C. True — Incorrect
SHOULD_LINEMERGE = true tells Splunk to use its own line-merging heuristics, even when LINE_BREAKER is configured. This causes Splunk to:
Look for timestamps Attempt automatic merging Potentially override LINE_BREAKER behavior
This often results in:
too many lines combined
broken event boundaries
inconsistent multi-line extraction
Therefore, when a LINE_BREAKER is explicitly defined, setting SHOULD_LINEMERGE to true contradicts proper Splunk configuration practice.

References
These references confirm Splunk’s guidance for using LINE_BREAKER with SHOULD_LINEMERGE:
1. Props.conf LINE_BREAKER documentation
2. SHOULD_LINEMERGE documentation
3. Event Processing & Line Breaking Best Practices
Full mock exam

Sit the SPLK-2002 exam before exam day

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

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