Alerts are based on searches that are either run on a scheduled interval or in real-time. B. Alerts are based on searches and when triggered will only send an email notification.
Alerts are based on searches and require cron to run on scheduled interval. D. Alerts are based on searches that are run exclusively as real-time.
Show answerHide answer
Correct answer: A Alerts are based on searches that are either run on a scheduled interval or in real-time
Explanation
ExplanationThis question tests your understanding of the fundamental types of alerts in Splunk.
Why Option A is Correct:
Splunk alerts are indeed triggered by saved searches, and these searches can be executed in two primary ways:
Scheduled (Historical):
The search runs at a specified interval (e.g., every 5 minutes, hourly, daily). It looks over a window of historical data (e.g., the last 15 minutes) to see if it matches the alert condition.
Real-time (Continuous):
The search runs continuously, scanning data as it is indexed in real-time (or with a very short delay of 1-60 seconds). This is used for immediate notification of critical conditions.
This flexibility to use either scheduling mode is a core feature of Splunk's alerting mechanism.
Why the Other Options Are Incorrect:
B) Alerts are based on searches that are either run on a scheduled interval or in real-time.
This appears to be a duplicate of option A. In a properly formatted exam, this would not be listed twice, and A would be the correct choice.
C) Alerts are based on searches and when triggered will only send an email notification.
This is false. While email is a common action, it is not the only one. Splunk alerts can be configured to perform multiple actions, including:
Running a script
Logging an event to a file
Creating a ticket in an external system via webhooks
Triggering a summary-indexing search
D) Alerts are based on searches and require cron to run on a scheduled interval.
This is incorrect. While you can use cron-style scheduling syntax (e.g., */5 * * * * to run every 5 minutes) in Splunk, it is not a requirement. Splunk provides a user-friendly scheduler in the web interface that allows you to specify intervals without needing to know cron syntax. The underlying system may use a similar concept, but the user is not required to configure cron directly.
E) Alerts are based on searches that are run exclusively as real-time.
This is false. As explained for the correct answer, alerts can be either scheduled or real-time. Stating they are "exclusively" real-time ignores the very common and powerful use case for scheduled, historical alerts.
Reference:
Splunk Documentation: About alerts