Splunk certification · Exam SPLK-2002

SPLK-2002 Mock Exam Page 2

Splunk Enterprise Certified Architect

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

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

Free SPLK-2002 questions

11–20 of 61 free
Question 11 Choose 2
Which of the following is true regarding Splunk Enterprise performance? (Select all that apply.)
Show answerHide answer

Correct answer: B, D Adding RAM to an existing search heads provides additional search capacity. Adding search heads provides additional CPU cores to run more concurrent searches.

Explanation

Explanation:
Splunk Enterprise performance depends on how resources are allocated between search heads and indexers (search peers). This exam question is designed to test your understanding of distributed search architecture and hardware scaling.

B. Adding RAM to an existing search head provides additional search capacity ✅
This is true. Search heads are responsible for managing search jobs, merging results from indexers, and handling user interactions. Their performance is heavily dependent on available memory.
More RAM allows the search head to manage more concurrent searches.
Larger result sets can be cached in memory.
Responsiveness improves when multiple users run searches simultaneously.
Splunk documentation emphasizes that memory is a critical resource for search heads. Increasing RAM directly increases search capacity.

D. Adding search heads provides additional CPU cores to run more concurrent searches ✅
This is also true. Each search head brings its own CPU resources. By adding search heads, you increase the number of CPU cores available across the cluster, which allows more concurrent searches to be executed.
Search head clustering distributes user search requests across multiple search heads.
More search heads = more CPU cores = higher concurrency capacity.
This improves scalability for environments with many users running searches simultaneously.
It’s important to note that CPU cores are not pooled across search heads for a single search, but concurrency across multiple searches is improved.

Why the Other Options Are Incorrect

A. Adding search peers increases the maximum size of search results ❌
Incorrect. The maximum size of search results is not determined by the number of search peers. Search peers distribute indexing and search workloads, but they do not change the maximum result size. That limit is controlled by search head memory and configuration parameters such as maxresultrows.

C. Adding search peers increases the search throughput as search load increases ❌
Misleading. Adding search peers (indexers) does improve indexing throughput and distributes search execution, but search throughput is primarily constrained by the search head’s ability to manage jobs and by query efficiency. Simply adding peers does not guarantee higher throughput unless the bottleneck is indexing capacity. In exam context, this option is considered incorrect because Splunk stresses that search head resources (RAM/CPU) are the limiting factor for search capacity.

Exam Relevance
This is a common SPLK‑2002 exam trap. Candidates often confuse scaling indexers with scaling search heads. The exam expects you to recognize that search head resources (RAM/CPU) are the limiting factor for search capacity.

References
Splunk Docs: Distributed search overview
Splunk Docs: Search head clustering
Question 12 Choose 1
Splunk configuration parameter settings can differ between multiple .conf files of the same name contained within different apps. Which of the following directories has the highest precedence?
Show answerHide answer

Correct answer: A System local directory.

Explanation

Explanation:
Splunk loads configuration files in a specific order, where settings from directories with higher precedence override those from directories with lower precedence. The standard precedence order (from highest to lowest) is:
User-defined preferences (from the user interface)
App local directories (within a specific app)
App default directories (within a specific app)
System local directory ($SPLUNK_HOME/etc/system/local/)
App local directories (from all apps, in alphabetical order)
App default directories (from all apps, in alphabetical order)
System default directory ($SPLUNK_HOME/etc/system/default/)

Let's break down why A is correct and the others are not, based on this hierarchy:

A. System local directory (Correct):
The $SPLUNK_HOME/etc/system/local/ directory has the highest precedence among the directories listed in the options. A setting defined here will override the same setting in any app's local or default directory, as well as the system default directory. It is the recommended place for administrators to make system-wide customizations that should not be overridden by app updates.

B. System default directory (Incorrect):
The $SPLUNK_HOME/etc/system/default/ directory has the lowest precedence. These files contain the factory-default settings for Splunk. Any setting here will be overridden by a setting for the same stanza and key in any other directory, including all app directories and the system local directory.

C. App local directories, in ASCII order (Incorrect):
While settings in an app's local directory ($SPLUNK_HOME/etc/apps//local/) have high precedence (overriding the app's own default directory and the system default directory), they are still overridden by the System local directory. The ASCII ordering only matters for resolving conflicts between different apps at the same precedence level.

D. App default directories, in ASCII order (Incorrect):
App default directories ($SPLUNK_HOME/etc/apps//default/) have very low precedence. They are intended for an app's initial configuration and are overridden by the app's own local directory, the system local directory, and even the local directories of other apps.

Reference:
Splunk Documentation: "Configuration file precedence"
Question 13 Choose 2
Which of the following are true statements about Splunk indexer clustering?
Show answerHide answer

Correct answer: A, B All peer nodes must run exactly the same Splunk version. The master node must run the same or a later Splunk version than search heads.

Explanation

Explanation:

✅Correct Answers:

A. All peer nodes must run exactly the same Splunk version.
In an indexer cluster, all peer nodes must run the identical Splunk Enterprise version, including the same build number. This strict requirement ensures compatibility and stable communication between peers as they manage data replication and recovery.

B. The master node must run the same or a later Splunk version than search heads.
The cluster master can be the same version or a newer version than any connected search head. This ensures the master can properly communicate with and manage the search heads that are interacting with the cluster.

❌Incorrect Answers:
C. The peer nodes must run the same or a later Splunk version than the master node.
This is false. Peer nodes can run the same version as the master, but during a rolling upgrade, they often run a newer version temporarily. The master can manage peers running a later version.

D. The search head must run the same or a later Splunk version than the peer nodes.
This is incorrect. A search head can connect to an indexer cluster where the peer nodes are running a later Splunk version. The search head's version must simply be compatible.

Reference:
Splunk Documentation, "Indexer cluster upgrade overview".
Question 14 Choose 1
Which of the following is a best practice to maximize indexing performance?
Show answerHide answer

Correct answer: D Minimize configuration generality

Explanation

Explanation:
When working with Splunk Enterprise, indexing performance is critical because it directly impacts ingestion speed, search responsiveness, and system scalability. One of the most important best practices is to minimize configuration generality. This means avoiding overly broad or generic configurations that force Splunk to perform unnecessary parsing or evaluation during indexing. Instead, configurations should be precise, tailored to the data source, and optimized for the specific fields or sourcetypes being ingested. By reducing generality, Splunk spends less time interpreting ambiguous rules, which results in faster indexing throughput and more efficient resource usage.

Why D is Correct:
Precise configurations reduce overhead during parsing and indexing.
Generic rules (e.g., catch‑all regex or broad sourcetypes) slow down indexing because Splunk must evaluate more conditions.
Optimized sourcetypes and field extractions ensure Splunk only processes what is necessary, maximizing performance.
This aligns with Splunk’s official guidance: indexing performance improves when configurations are streamlined and specific.

❌ Why the Other Options Are Incorrect:
A. Use automatic sourcetyping → Incorrect. Automatic sourcetyping can lead to misclassification and extra parsing overhead. Best practice is to define sourcetypes explicitly.

B. Use the Splunk default settings → Incorrect. Defaults are designed for general use, not optimized for performance. Tuning is required for high‑volume environments.

C. Not use pre‑trained source types → Incorrect. Pre‑trained sourcetypes are optimized by Splunk engineers and often improve performance. Avoiding them can increase workload.

📚 References:

Splunk Lantern – Performance tuning the indexing tier
Splunk Docs – Optimize indexing and search processes
Question 15 Choose 1
A Splunk architect has inherited the Splunk deployment at Buttercup Games and end users are complaining that the events are inconsistently formatted for a web sourcetype. Further investigation reveals that not all web logs flow through the same infrastructure: some of the data goes through heavy forwarders and some of the forwarders are managed by another department. Which of the following items might be the cause for this issue?
Show answerHide answer

Correct answer: C The indexers may have different configurations than the heavy forwarders.

Explanation

Explanation:

✅Correct Answer:
The indexers and heavy forwarders can both parse data and assign source types. If they have different configuration files (like props.conf), they will process the same raw data differently. This leads to inconsistent field extraction and event formatting when the data is searched.

❌ Incorrect Answers:

A. The search head may have different configurations than the indexers.
Search heads primarily handle search-time operations, not initial parsing. Inconsistent event formatting is typically a parsing issue that occurs at index time, before the data reaches the search head.

B. The data inputs are not properly configured across all the forwarders.
Incorrect input configuration would likely cause data to not be collected at all, or sent to the wrong index. It would not typically cause the formatting of successfully collected events to be inconsistent.

D. The forwarders managed by the other department are an older version than the rest.
While version mismatches can cause problems, they are less likely to be the direct cause of inconsistent event formatting. Different parsing configurations are a much more common and direct cause of this specific symptom.

Reference:
Splunk Documentation, "Where you can configure data parsing".
Question 16 Choose 1
When adding or rejoining a member to a search head cluster, the following error is displayed: Error pulling configurations from the search head cluster captain; consider performing a destructive configuration resync on this search head cluster member.What corrective action should be taken?
Show answerHide answer

Correct answer: D Run the splunk resync shcluster-replicated-config command on this member.

Explanation

Explanation:
In Splunk Search Head Clustering, when a member is added or rejoined and fails to pull configurations from the cluster captain, the error message suggests a destructive configuration resync. The corrective action is to run:
This command forces the problematic search head to discard its local replicated configuration and resynchronize with the cluster captain. It is specifically designed to resolve configuration inconsistencies that prevent a member from properly joining or rejoining the cluster.

❌ Why the other options are incorrect:

A. Restart the search head → Incorrect A restart alone does not resolve configuration mismatches. The error requires a resync, not just a reboot.

B. Run the splunk apply shcluster-bundle command from the deployer → Incorrect This command pushes configuration bundles from the deployer to the cluster, but the error is about a member failing to sync with the captain. The deployer is not involved in this corrective step.

C. Run the clean raft command on all members of the search head cluster → Incorrect clean raft is a last‑resort recovery option for cluster state corruption. It is destructive and not appropriate for resolving a single member’s configuration sync issue.

📚 References:
Splunk Docs – Search Head Cluster Administration
Splunk Docs – Troubleshoot Search Head Clustering
Splunk Enterprise Certified Architect Exam Blueprint
Question 17 Choose 1
When Splunk indexes data in a non clustered environment, what kind of files does it create by default?
Show answerHide answer

Correct answer: A Index and .tsidx files.

Explanation

Explanation:
When Splunk indexes data, it performs two primary actions: it stores the original raw data, and it creates index files to allow for fast searching. The terminology in the answers can be a bit confusing, so let's clarify what each term refers to.

Why A is Correct: In Splunk's file structure for an index (found in $SPLUNK_HOME/var/lib/splunk/defaultdb/db/), you will find directories called buckets. Each bucket contains two main types of files:
The rawdata file (rawdata): This is a compressed file (using zlib by default) that contains the original, untransformed event data.
The index files (*.tsidx): These are the "time series index" files. They are the key to Splunk's speed. These files contain the sorted lexicon of all the keywords found in the raw data and pointers back to where those events are located in the rawdata file.
While option A uses the general term "index files," in this context, it is understood to be referring to the collection of files that make up the index, with the .tsidx files being the most critical component for search performance. This is the standard and most accurate description of the files Splunk creates.

Why the Other Options Are Incorrect:

B. Rawdata and index files.
This is technically descriptive of the components but is not the precise terminology used by Splunk in an exam context. The "index" part is composed of specific file types, primarily the .tsidx files. Option A is more specific and accurate.

C. Compressed and .tsidx files.
This is misleading. While the rawdata file is indeed compressed, "Compressed" is not a file type or a standard term for a category of files Splunk creates. The correct pair is the compressed rawdata file and the .tsidx index files.

D. Compressed and meta data files.
This is incorrect. While metadata exists (in files like bucketmanifest), the primary, purpose-built files for storing and retrieving data are the rawdata (compressed) and .tsidx (index) files. "Metadata files" is not the standard term for the core indexing components.

Reference
This file structure is documented in the Splunk Enterprise documentation under "How the indexer stores indexes" or "Index structure." The documentation explicitly states:
"A bucket contains the rawdata in a compressed file (rawdata) and the index files (*.tsidx) that point to the rawdata."
Question 18 Choose 1
What is the default log size for Splunk internal logs?
Show answerHide answer

Correct answer: C 25MB

Explanation

Explanation:
Splunk maintains its own internal logs, such as splunkd.log, under $SPLUNK_HOME/var/log/splunk. These logs capture diagnostic information about Splunk’s operation, including indexing activity, search processes, licensing, and system health. To prevent uncontrolled growth of log files, Splunk enforces a default log rotation policy. The most important parameter here is the maximum log file size, which by default is 25MB. Once a log file reaches this threshold, Splunk automatically rotates it, renaming the file and starting a new one. This ensures that logs remain manageable while still retaining sufficient diagnostic history for troubleshooting.

The rotation mechanism is controlled by two key parameters:
maxSize: Default 25MB, defines the maximum size of a log file before rotation occurs.
maxBackupIndex: Default 5, defines how many rotated log files are retained before the oldest is overwritten.
This means Splunk will keep up to five rotated copies of each log file, each capped at 25MB, ensuring administrators have access to recent logs without consuming excessive disk space. This default configuration strikes a balance between operational visibility and resource efficiency.

Why the Other Options Are Incorrect

A. 10MB This is too small compared to Splunk’s default. A 10MB cap would cause frequent rotations, potentially making log review cumbersome and fragmenting diagnostic information. Splunk’s default is deliberately set higher to accommodate verbose logging without overwhelming administrators.

B. 20MB Although closer to the correct value, 20MB is not the default. Splunk documentation explicitly states that the default maximum size is 25MB. Choosing 20MB would misrepresent the actual configuration and could lead to incorrect assumptions in exam scenarios.

D. 30MB This exceeds the default. While administrators can manually configure log size to 30MB or higher in log.cfg or log-local.cfg, the out-of-the-box default remains 25MB. Exam questions test knowledge of defaults, not custom configurations.

References
Splunk Docs – About Splunk logs

Summary
The default log size for Splunk internal logs is 25MB. This value ensures logs are large enough to capture meaningful diagnostic data but small enough to prevent uncontrolled growth. Other options (10MB, 20MB, 30MB) are incorrect because they do not reflect Splunk’s documented defaults. Administrators can adjust these values, but exam questions focus on defaults, making 25MB the correct answer.
Question 19 Choose 3
To optimize the distribution of primary buckets; when does primary rebalancing automatically occur? (Select all that apply.)
Show answerHide answer

Correct answer: A, B, D Rolling restart completes. Master node rejoins the cluster. A peer node joins or rejoins the cluster.

Explanation

Explanation:
Primary bucket rebalancing is a process in Splunk indexer clustering that ensures primary buckets are evenly distributed across all peer nodes. This prevents uneven search loads and optimizes performance. Splunk automatically triggers primary rebalancing under specific conditions:

✅ Correct Answer

A. Rolling restart completes → Correct After a rolling restart of the cluster, Splunk rebalances primary buckets to ensure that the restarted peers are properly reintegrated and the distribution of primaries is even.

B. Master node rejoins the cluster → Correct The cluster master (or cluster manager in newer terminology) is responsible for coordinating bucket assignments. When it rejoins the cluster, it triggers a rebalancing to reassert control and redistribute primaries as needed.

D. A peer node joins or rejoins the cluster → Correct When a peer (indexer) joins or rejoins, the cluster master rebalances primaries to include the new or returning peer in the distribution. This ensures that primaries are spread evenly across all available peers

❌ Incorrect Answer

C. Captain joins or rejoins cluster → Incorrect The captain is part of the search head cluster, not the indexer cluster. Primary bucket rebalancing is an indexer cluster function, so the captain’s status has no effect on primary bucket distribution.

. Operational Note:
Primary rebalancing can also be triggered manually by an administrator using the rebalance primaries command, but the exam focuses on automatic triggers.

Reference:
Splunk Docs – Rebalance indexer cluster primary buckets
Question 20 Choose 1
The KV store forms its own cluster within a SHC. What is the maximum number of SHC members KV store will form?
Show answerHide answer

Correct answer: B 50

Explanation

Explanation:
In a Splunk Search Head Cluster (SHC), the KV Store forms its own cluster to replicate and synchronize knowledge objects, lookup data, and other KV Store collections across all members. The KV Store is built on MongoDB, and Splunk enforces a hard limit of 50 members for this KV Store cluster. This means that even if you configure more than 50 search heads in the SHC, the KV Store replication group will only include up to 50 members. This limit is tied to MongoDB’s supported scaling boundaries and Splunk’s architectural design, ensuring stability and predictable performance.

The KV Store cluster is critical because it maintains consistency of knowledge objects across the SHC. When a search head writes to the KV Store, the data must be replicated across the cluster. Limiting the cluster size to 50 ensures replication remains efficient and avoids excessive overhead. Beyond this number, synchronization would become unreliable and resource-intensive, which is why Splunk explicitly documents the maximum supported limit.

Why the other options are incorrect

A. 25 This is too low. While smaller clusters are common in practice, Splunk officially supports KV Store clustering up to 50 members. Limiting it to 25 would misrepresent the documented maximum and could lead to incorrect assumptions in exam scenarios.

C. 100 Incorrect because Splunk does not support KV Store clusters of this size. Although SHCs can scale to many members for search distribution, the KV Store replication group itself is capped at 50. Choosing 100 would exceed the supported architecture.

D. Unlimited This is entirely wrong. KV Store clustering is not unlimited; it is bound by MongoDB’s replication limits and Splunk’s supported configuration. Unlimited membership would be impractical and unsupported, leading to performance and consistency issues.

References
Splunk Docs – Search head clustering overview

Summary
The KV Store forms its own cluster within a Search Head Cluster, and the maximum number of members it supports is 50. This limit ensures efficient replication and consistency of knowledge objects across the SHC. Options 25, 100, and Unlimited are incorrect because they do not reflect Splunk’s documented defaults and supported architecture. For exam purposes, always remember that 50 is the hard maximum for KV Store clustering.
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