Splunk certification · Exam SPLK-5001

SPLK-5001 Mock Exam Page 3

Splunk Certified Cybersecurity Defense Analyst

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

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

Free SPLK-5001 questions

21–28 of 28 free
Question 21 Choose 1
Which search command allows an analyst to match whatever is inside the parentheses as a single term in the index, even if it contains characters that are usually recognized as minor breakers such as periods or underscores?
Show answerHide answer

Correct answer: D TERM ()

Explanation

Explanation:
This question tests knowledge of specific SPL search commands and functions used for precise, literal string matching, particularly when dealing with special characters.

Let's analyze each option:

A. CASE():
Incorrect. The CASE function is used for conditional logic within an eval statement (similar to a "switch" or "if-then-else" statement in programming). It does not affect how terms are matched in the index. For example: eval severity = CASE(priority=1, "HIGH", priority=2, "MEDIUM", 1=1, "LOW").

B. LIKE():
Incorrect. The LIKE function is used for pattern matching with wildcards (% for multiple characters, _ for a single character) within a WHERE or EVAL clause. It is not used for matching a single, exact term in the index. For example: WHERE user LIKE "admin%".

C. FORMAT():
Incorrect. The FORMAT function is used to format numbers or timestamps into a specific string representation. It does not perform term matching. For example: eval formatted_time = strftime(_time, "%Y-%m-%d").

D. TERM():
Correct. The TERM() function is used specifically for this purpose. It tells Splunk's search processing to treat everything inside the parentheses as a single, literal term, ignoring any minor breakers (like periods, underscores, or hyphens) that would normally cause the term to be split into multiple parts during indexing. This is essential for searching for exact values like email addresses (TERM("user@domain.com")), hostnames with dots (TERM("server01.prod.net")), or any field value containing special characters.

Reference:
Splunk Documentation for the TERM() function. Using TERM() ensures that the search looks for the exact sequence of characters as a single unit.

Key Takeaway:
When you need to search for an exact phrase that contains characters typically treated as word separators (like ., -, _), you should wrap the phrase in the TERM() function to force Splunk to match it as a single entity.
Question 22 Choose 1
While testing the dynamic removal of credit card numbers, an analyst lands on using therexcommand. What mode needs to be set to in order to replace the defined values with X?

| makeresults

| eval ccnumber="511388720478619733"

| rex field=ccnumber mode=???"s/(\d{4}-){3)/XXXX-XXXX-XXXX-/g"

Please assume that the aboverexcommand is correctly written.
Show answerHide answer

Correct answer: A sed

Explanation

Explanation:
This question tests knowledge of the specific modes available for the rex command in SPL, particularly for performing substitution operations.

Let's analyze each option:

A. sed:
Correct. The rex command supports a mode=sed parameter that allows it to use sed-like substitution syntax. In this mode, the s/.../.../g syntax is used to find and replace text within a field, which is exactly what is shown in the example. The s stands for "substitute," and the g stands for "global" (replace all occurrences). This is the correct mode to use for replacing credit card numbers with 'X's.

B. replace:
Incorrect. While "replace" describes the action, it is not a valid mode for the rex command. The mode for substitution is sed.

C. mask:
Incorrect. "Mask" is not a valid mode for the rex command. There might be other data anonymization techniques or commands referred to as masking, but for the rex command, the mode to perform this specific operation is sed.

D. substitute:
Incorrect. Similar to "replace," this describes the action but is not the actual mode name used by the rex command.

Reference:
Splunk Documentation for the rex command. The documentation specifies that mode=sed enables sed-style substitution using the s/pattern/replacement/flags syntax.

Key Takeaway:
When you need to use the rex command to find and replace text (not just extract it), you must set mode=sed. The substitution pattern then uses the familiar s/.../.../g syntax.
Question 23 Choose 1
A threat hunter generates a report containing the list of users who have logged in to a particular database during the last 6 months, along with the number of times they have each authenticated. They sort this list and remove any user names who have logged in more than 6 times. The remaining names represent the users who rarely log in, as their activity is more suspicious. The hunter examines each of these rare logins in detail.

This is an example of what type of threat-hunting technique?
Show answerHide answer

Correct answer: A Least Frequency of Occurrence Analysis

Explanation

Explanation
This technique, also known as "Analysis of Rare Occurrences" or "Rarest of the Rare," is based on the principle that unusual or infrequent activity can be a strong indicator of malicious behavior. Attackers' actions often differ from the normal, repetitive patterns of legitimate users.

The scenario perfectly matches this definition:

Establish a Baseline:
The hunter first establishes what "normal" frequency looks like by gathering six months of login data.

Identify Infrequency:
The hunter then specifically looks for activity that deviates from this baseline by being less frequent. The threshold is set at "more than 6 times" in six months, meaning the focus is on accounts with very low activity.

Investigate the Anomaly:
The accounts that fall below this frequency threshold are flagged as suspicious and investigated further.

The core of the technique is hunting for what happens the least often.

Why the Other Options are Incorrect:
B. Co-Occurrence Analysis:
This technique looks for two or more events that happen together in a way that is statistically significant or suspicious. For example, if a user logs in from New York and then from London within an hour, the co-occurrence of those two login locations is the anomaly. The given scenario only analyzes a single type of event (database logins) for its frequency, not the relationship between different events.

C. Time Series Analysis:
This technique involves analyzing data points over a continuous time interval to identify trends, cycles, or seasonal patterns. It focuses on when events happen. For example, detecting a spike in logins at 3 AM when there is normally no activity. The hunter in the scenario is not analyzing the timing or sequence of the logins; they are only counting the total number of occurrences over a long period.

D. Outlier Frequency Analysis:
This is a very good distractor, but it is too broad. "Outlier" can refer to any deviation from the norm, including both high-frequency and low-frequency anomalies. The scenario is not just looking for any outlier; it is specifically and exclusively targeting the least frequent events. Therefore, "Least Frequency of Occurrence Analysis" is the more precise and accurate term for this technique.

Summary

Least Frequency:
Hunting for what rarely happens.

Outlier Frequency:
Hunting for what deviates from the norm (could be very high OR very low frequency).

The described technique is a specific type of outlier analysis focused solely on the low end of the frequency spectrum.

Reference
This methodology is a cornerstone of data-driven threat hunting and is described in various threat-hunting frameworks and publications, such as those from the SANS Institute, which often categorize hunting hypotheses based on statistical analysis including frequency, time, and occurrence.
Question 24 Choose 1
Which of the following is a tactic used by attackers, rather than a technique?
Show answerHide answer

Correct answer: A Gathering information about a target.

Explanation

Explanation:
This question tests the understanding of the MITRE ATT&CK framework, specifically the hierarchy of Tactics, Techniques, and Procedures (TTPs). The key is to identify which option represents a high-level strategic goal (a Tactic) rather than a specific method (a Technique).

Let's analyze each option using the MITRE ATT&CK framework:

A. Gathering information about a target:
Correct. This is a Tactic. In MITRE ATT&CK, this is the Reconnaissance tactic (TA0043). Tactics represent the "why" of an attack—the adversary's tactical goal. Reconnaissance is the broad objective of gathering information to plan future operations.

B. Establishing persistence with a scheduled task:
Incorrect. This is a Technique. This is a specific method to achieve the Persistence tactic. In MITRE ATT&CK, it is listed as the "Scheduled Task/Job" technique (T1053).

C. Using a phishing email to gain initial access:
Incorrect. This is a Technique. This is a specific method to achieve the Initial Access tactic. In MITRE ATT&CK, it is listed as the "Phishing" technique (T1566).

D. Escalating privileges via UAC bypass:
Incorrect. This is a Technique. This is a specific method to achieve the Privilege Escalation tactic. In MITRE ATT&CK, it is listed as the "Bypass User Account Control" technique (T1548.002).

Reference:
The MITRE ATT&CK Matrix. The matrix is organized by Tactics (the columns), which contain individual Techniques (the cells within the columns).

Key Takeaway:

Tactic:
The high-level objective (e.g., Reconnaissance, Initial Access, Persistence).

Technique:
The how—the specific method used to accomplish a tactical objective (e.g., Phishing, Scheduled Task, UAC Bypass).
Question 25 Choose 1
Splunk Enterprise Security has numerous frameworks to create correlations, integrate threat intelligence, and provide a workflow for investigations. Which framework raises the threat profile of individuals or assets to allow identification of people or devices that perform an unusual amount of suspicious activities?
Show answerHide answer

Correct answer: B Risk Framework

Explanation

Explanation
The key phrase in the question is "raises the threat profile of individuals or assets." This is the exact purpose of the Risk Framework.

Risk Framework:
This framework is designed for risk-based alerting. Instead of generating a notable event for every single suspicious activity, it assigns a risk score to the asset (device) or identity (user) involved. When multiple suspicious activities associated with the same asset or identity occur, their risk scores accumulate. A notable event is then triggered when the total risk score for that entity exceeds a certain threshold. This effectively "raises the threat profile" and helps identify entities that are performing an unusual amount of suspicious activities, even if each individual activity is low severity.

Why the Other Options Are Incorrect

A. Threat Intelligence Framework:
This framework is used to import, manage, and match external threat data (e.g., lists of known malicious IPs, file hashes) against internal data. It enriches events with threat context but does not inherently track and score the behavior of internal assets and identities over time.

C. Notable Event Framework:
This framework manages the lifecycle of alerts after they have been created. It provides the workflow for investigation, assignment, and disposition. It does not itself perform the correlation or scoring that leads to the notable event's creation.

D. Asset and Identity Framework:
This is a critical lookup framework. It stores important information about assets (like criticality) and identities (like department). This information is used by the Risk Framework to weight scores (e.g., a suspicious activity by a critical server adds more risk points) and to provide context. However, the Asset and Identity Framework itself does not perform the correlation or risk scoring; it supplies the data for it.

Reference
The Splunk Enterprise Security documentation clearly defines the Risk Framework's role in adaptive response and risk-based alerting. It explains how risk scores are attributed to objects and how these scores accumulate over time to help identify the most threatened entities in your environment, which is a central concept for reducing alert fatigue and focusing on true threats.
Question 26 Choose 1
The field file_acl contains access controls associated with files affected by an event. In which data model would an analyst find this field?
Show answerHide answer

Correct answer: D Endpoint

Explanation

Explanation
The question is about identifying the correct Splunk Common Information Model (CIM) data model based on a specific field. The field in question is file_acl, which refers to file access control lists (ACLs). ACLs are a fundamental security feature of files and directories on an endpoint operating system (like Windows, Linux, or macOS) that define which users or system processes are granted access to objects.

Let's examine the data models:

Endpoint Data Model:
This data model is designed to normalize data related to activity on endpoints (servers, workstations, etc.). It includes datasets that capture detailed file information, such as file accesses, modifications, and permissions. A field like file_acl fits perfectly here, as it describes a security property of a file on an endpoint system.

Malware Data Model (A):
This model focuses on data related to malware detection and analysis (e.g., antivirus logs, intrusion detection system alerts). While malware affects endpoints, the file_acl field itself is a descriptive property of a file, not necessarily a direct indicator of malware.

Alerts Data Model (B):
This model normalizes data from alerting systems. It's about the alerts themselves (e.g., source, severity, message), not the specific low-level details of a file on an endpoint.

Vulnerabilities Data Model (C):
This model is for data about known software vulnerabilities (e.g., from vulnerability scanners). It deals with CVE IDs, patch levels, and risk scores, not the specific access control lists of individual files.

Therefore, an analyst would find the file_acl field in the Endpoint data model, likely within a dataset like File or FileAccess.

Reference
The Splunk Common Information Model (CIM) documentation outlines the purpose and the fields of each data model. The Endpoint data model includes datasets for endpoint activity, and the file_acl field is a standardized field within those datasets to represent file permissions consistently across different data sources.
Question 27 Choose 1
Which stage of continuous monitoring involves adding data, creating detections, and building drilldowns?
Show answerHide answer

Correct answer: A Implement and Collect

Explanation

Explanation:
This question tests knowledge of the stages in a continuous monitoring or security operations lifecycle. The key activities mentioned—"adding data, creating detections, and building drilldowns"—are all foundational steps to implementing the monitoring capability.

Let's analyze each option in the context of a typical lifecycle (like the NIST Cybersecurity Framework or Splunk's deployment methodology):

A. Implement and Collect:
Correct. This stage is focused on building and deploying the technical capabilities. This includes:

Adding data:
Onboarding new data sources into the SIEM (Splunk).

Creating detections:
Building correlation searches and alerting rules.

Building drilldowns:
Developing the investigative dashboards and searches that analysts will use when an alert fires.

This is the "build" phase where the monitoring system is constructed.

B. Establish and Architect:
Incorrect. This is a earlier, planning stage. It involves defining requirements, designing the architecture, and establishing policies. It's about deciding what to build, not the hands-on work of building it.

C. Respond and Review:
Incorrect. This is a later, operational stage that occurs after the system is built and alerts are generated. It involves investigating incidents (Response) and conducting post-incident reviews or tuning detections (Review). The question describes building the tools for response, not the act of responding itself.

D. Analyze and Report:
Incorrect. This stage involves using the implemented system to analyze data for threats, trends, and compliance reporting. It assumes the data, detections, and drilldowns are already in place.

Reference:
This aligns with IT project and security operations lifecycles. The "Implement and Collect" phase is where the technical work of setting up the monitoring infrastructure takes place.

Key Takeaway:
Implement and Collect is the phase where the monitoring platform is actively configured with data sources, detection rules, and investigative tools. The other phases involve planning, using, and improving upon what was built in this phase.
Question 28 Choose 1
A successful Continuous Monitoring initiative involves the entire organization. When an analyst discovers the need for more context or additional information, perhaps from additional data sources or altered correlation rules, to what role would this request generally escalate?
Show answerHide answer

Correct answer: C Security Engineer

Explanation

Explanation:
This question tests the understanding of roles and responsibilities within a Security Operations Center (SOC) and the escalation path for tuning and improving the security monitoring infrastructure.

Let's analyze each role:

A. SOC Manager:
Incorrect. The SOC Manager is responsible for the overall operation of the SOC, including personnel management, reporting, process adherence, and high-level strategy. While they might approve the resources for a project, they are not the direct recipient of a technical request for altering data sources or correlation rules.

B. Security Analyst:
Incorrect. The Security Analyst is the one who discovers the need. They are the primary user of the SIEM (like Splunk ES) and would be the one identifying gaps in visibility or detection. They do not typically have the permissions or skills to implement these changes themselves; they escalate the request.

C. Security Engineer:
Correct. The Security Engineer is the role responsible for the implementation, maintenance, and tuning of security tools. Their tasks include:

Onboarding new data sources into the SIEM.

Creating and modifying correlation searches (detection rules).

Ensuring the health and performance of the security platform.

Implementing the technical changes requested by analysts to improve monitoring.

D. Security Architect:
Incorrect. The Security Architect operates at a higher, more strategic level. They design the overall security infrastructure, select technologies, and define security standards and frameworks. They are not typically involved in the day-to-day operational tuning of correlation rules or data onboarding; that is an engineering task. An analyst's request for "more context" is a tactical, operational need, not an architectural one.

Reference:
This aligns with standard SOC role definitions. The workflow is typically: Security Analyst (identifies need) -> Security Engineer (implements solution) -> SOC Manager (oversees process) -> Security Architect (designs overarching system).

That's the last free question

You've seen the free 30% (28 of 95 questions). Full access unlocks every question and full-length SPLK-5001 mock exams (65 questions, 105 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the SPLK-5001 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real SPLK-5001 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-5001 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 95questions in the bank
  • Newmock on every attempt