If an update is made to an attribute in inputs.conf on a universal forwarder, on which Splunk component would the fishbucket need to be reset in order to reindex the data?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerA
Explanationhttps://www.splunk.com/en_us/blog/tips-and-tricks/what-is-this-fishbucket- thing.html "Every Splunk instance has a fishbucket index, except the lightest of hand-tuned lightweight forwarders, and if you index a lot of files it can get quite large. As any other index, you can change the retention policy to control the size via indexes.conf" Reference https://community.splunk.com/t5/Archive/How-to-reindex-data-from-a-forwarder/td-p/93310
A security team needs to ingest a static file for a specific incident. The log file has not been collected previously and future updates to the file must not be indexed. Which command would meet these needs?
-
A
splunk add one shot / opt/ incident [data .log --index incident
-
B
splunk edit monitor /opt/incident/data.* --index incident
-
C
splunk add monitor /opt/incident/data.log --index incident
-
D
splunk edit oneshot [opt/ incident/data.* --index incident
Reveal answer details
Close answer details
Correct answerA
ExplanationThe correct answer is A. splunk add one shot / opt/ incident [data . log --index incident According to the Splunk documentation1, the splunk add one shot command adds a single file or directory to the Splunk index and then stops monitoring it. This is useful for ingesting static files that do not change or update. The command takes the following syntax: splunk add one shot <file> -index <index_name> The file parameter specifies the path to the file or directory to be indexed. The index parameter specifies the name of the index where the data will be stored. If the index does not exist, Splunk will create it automatically. Option B is incorrect because the splunk edit monitor command modifies an existing monitor input, which is used for ingesting files or directories that change or update over time. This command does not create a new monitor input, nor does it stop monitoring after indexing. Option C is incorrect because the splunk add monitor command creates a new monitor input, which is also used for ingesting files or directories that change or update over time. This command does not stop monitoring after indexing. Option D is incorrect because the splunk edit oneshot command does not exist. There is no such command in the Splunk CLI. References: 1:Monitor files and directories with inputs.conf - Splunk Documentation
Which forwarder type can parse data prior to forwarding?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerD
Explanationhttps://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Typesofforwarders "A heavy forwarder parses data before forwarding it and can route data based on criteria such as source or type of event."
Local user accounts created in Splunk store passwords in which file?
-
A
-
B
$ SFLUNK_HOME/etc/authentication
-
C
$ S?LUNK_HOME/etc/users/passwd.conf
-
D
$ SPLUNK HOME/etc/users/authentication.conf
Reveal answer details
Close answer details
Correct answerA
ExplanationPer the provided reference URL https://docs.splunk.com/Documentation/Splunk/7.3.1/Admin/User-seedconf "To set the default username and password, place user-seed.conf in $SPLUNK_HOME/etc/system/local. You must restart Splunk to enable configurations. If the $SPLUNK_HOME/etc/passwd file is present, the settings in this file (user-seed.conf) are not used."
Question 5
Multiple choice
Which of the following methods will connect a deployment client to a deployment server? (select all that apply)
-
A
Run $SPLUNK_ROME/bin/ splunk set deploy-poll : from the command line of the deployment client.
-
B
Create and edit a deploymentserver . conf file in SSPLVNE{ on the deployment server.
-
C
Create and edit a deploymentclient . conf file in SSPLTJNE( EOME/etc/ system/local on the deployment client.
-
D
Run $SPLUNK ROME/bin/spiunk set deploy-poi i : from the command line of the deployment server.
Reveal answer details
Close answer details
Correct answersA, C
ExplanationThe correct methods to connect a deployment client to a deployment server are A and C. You can either run the command splunk set deploy-poll <IP_address/hostname>:<management_port> from the command line of the deployment client1 or create and edit a deploymentclient.conf file in $SPLUNK_HOME/etc/ system/local on the deployment client 2. Both methods require you to specify the IP address, hostname, and management port of the deployment server that you want the client to connect to.
A configuration file in a deployed app needs to be directly edited. Which steps would ensure a successful deployment to clients?
-
A
Make the change in $SPLUNK HOME/etc/dep10yment apps/$appName/10ca1/ on the deployment server, and the change will be automatically sent to the deployment clients.
-
B
Make the change in $SPLUNK HOME /etc/apps/$appname/local/ on any of the deployment clients, and then run the command . / splunk reload deploy-server to push that change to the deployment server.
-
C
Make the change in $SPLUNK HOME/etc/dep10yment apps/$appName/10ca1/ on the deployment server, and then run $SPLUNK HOME/bin/sp1unk reload deploy--server.
-
D
Make the change in $SPLUNK HOME/etc/apps/$appName/defau1t on the deployment server, and it will be distributed down to the clients' own local versions.
Reveal answer details
Close answer details
Correct answerC
ExplanationAccording to the Splunk documentation, to customize a configuration file, you need to create a new file with the same name in a local or app directory. Then, add the specific settings that you want to customize to the local configuration file. Never change or copy the configuration files in the default directory. The files in the default directory must remain intact and in their original location. The Splunk Enterprise upgrade process overwrites the default directory. To deploy configuration files to deployment clients, you need to use the deployment server. The deployment server is a Splunk Enterprise instance that distributes content and updates to deployment clients. The deployment server uses a directory called $SPLUNK_HOME/etc/ deployment-apps to store the apps and configuration files that itdeploys to clients. To update the configuration files in this directory, you need to edit them manually and then run the command $SPLUNK_HOME/bin/sp1unk reload deploy--server to make the changes take effect. Therefore, option A is incorrect because it does not include the reload command. Option B is incorrect because it makes the change on a deployment client instead of the deployment server. Option D is incorrect because it changes the default directory instead of the local directory. References: 1: How to edit a configuration file - Splunk Documentation 2: Deployment of configuration files - Splunk Community
Question 7
Multiple choice
Which authentication methods are natively supported within Splunk Enterprise? (select all that apply)
-
A
-
B
-
C
-
D
Duo Multifactor Authentication
Reveal answer details
Close answer details
Correct answersA, B, C
ExplanationReferences: https://docs.splunk.com/Documentation/Splunk/7.3.1/Security/Setupuserauthent icationwithSplunk Splunk authentication: Provides Admin, Power and User by default, and you can define your own roles using a list of capabilities. If you have an Enterprise license, Splunk authentication is enabled by default. See Set up user authentication with Splunk's built-in system for more information. LDAP: Splunk Enterprise supports authentication with its internal authentication services or your existing LDAP server. See Set up user authentication with LDAP for more information. Scripted authentication API: Use scripted authentication to integrate Splunk authentication with an external authentication system, such as RADIUS or PAM. See Set up user authentication with external systems for more information. Note: Authentication, including native authentication, LDAP, and scripted authentication, is not available in Splunk Free.
Question 8
Multiple choice
Which of the following statements apply to directory inputs? {select all that apply)
-
A
All discovered text files are consumed.
-
B
Compressed files are ignored by default
-
C
Splunk recursively traverses through the directory structure.
-
D
When adding new log files to a monitored directory, the forwarder must be restarted to take them into account.
Reveal answer details
Close answer details
Question 9
Multiple choice
Which of the following configuration files are used with a universal forwarder? (Choose all that apply.)
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answersA, C
Explanationhttps://docs.splunk.com/Documentation/Forwarder/8.0.5/Forwarder/Configuretheuniversalf orwarder --Key configuration files are: inputs.conf controls how the forwarder collects data. outputs.conf controls how the forwarder sends data to an indexer or other forwarder server.conf for connection and performance tuning deploymentclient.conf for connecting to a deployment server References: https://docs.splunk.com/Documentation/Forwarder/8.0.5/Forwarder/ Configuretheuniversalforwarder
Question 10
Multiple choice
Which of the following indexes come pre-configured with Splunk Enterprise? (select all that apply)
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answersB, D
Explanationhttps://docs.splunk.com/Documentation/Splunk/8.0.5/Indexer/Howindexingworks
Question 11
Single choice
Which Splunk component does a search head primarily communicate with?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 12
Single choice
Which of the following authentication types requires scripting in Splunk?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerD
Explanationhttps://answers.splunk.com/answers/131127/scripted-authentication.html Scripted Authentication: An option for Splunk Enterprise authentication. You can use an authentication system that you have in place (such as PAM or RADIUS) by configuring authentication.conf to use a script instead of using LDAP or Splunk Enterprise default authentication.
Question 13
Single choice
What hardware attribute would need to be changed to increase the number of simultaneous searches (ad-hoc and scheduled) on a single search head?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerB
Explanationhttps://docs.splunk.com/Documentation/Splunk/7.3.1/DistSearch/SHCarchitecture Scroll down to section titled, How the cluster handles concurrent search quotas, "Overall search quota. This quota determines the maximum number of historical searches (combined scheduled and ad hoc) that the cluster can run concurrently. This quota is configured with max_Searches_per_cpu and related settings in limits.conf."
Question 14
Single choice
Where are deployment server apps mapped to clients?
-
A
Apps tab in forwarder management interface or clientapps.conf.
-
B
Clients tab in forwarder management interface or deploymentclient.conf.
-
C
Server Classes tab in forwarder management interface or serverclass.conf.
-
D
Client Applications tab in forwarder management interface or clientapps.conf.
Reveal answer details
Close answer details
Correct answerC
Explanation"Use serverclass.conf to define server classes" "The most important settings define the set of deployment clients and the set of apps for each server class."
Question 15
Single choice
Which of the following monitor inputs stanza headers would match all of the following files? /var/log/www1/secure.log /var/log/www/secure.l /var/log/www/logs/secure.logs /var/log/www2/secure.log
-
A
[monitor:///var/log/.../secure.*
-
B
[monitor:///var/log/www1/secure.*]
-
C
[monitor:///var/log/www1/secure.log]
-
D
[monitor:///var/log/www*/secure.*]
Reveal answer details
Close answer details
Question 16
Single choice
What is the command to reset the fishbucket for one source?
-
A
rm -r ~/splunkforwarder/var/lib/splunk/fishbucket
-
B
splunk clean eventdata -index_thefishbucket
-
C
splunk cmd btprobe -d SPLUNK_HOME/var/lib/splunk/fishbucket/splunk_private_db -- file <source> --reset
-
D
splunk btool fishbucket reset <source>
Reveal answer details
Close answer details
Correct answerC
ExplanationReferences: https://community.splunk.com/t5/Getting-Data-In/How-can-I-trigger-the-re-indexing-of-a-single-file/m-p/108568 The fishbucket is a directory that stores information about the files that have been monitored and indexed by Splunk. The fishbucket helps Splunk avoid indexing duplicate data by keeping track of file signatures and offsets. To reset the fishbucket for one source, the command splunk cmd btprobe can be used with the -reset option and the name of the source file. Therefore, option C is the correct answer. References: Splunk Enterprise Certified Admin | Splunk, [Use btprobe to troubleshoot file monitoring - Splunk Documentation]
Question 17
Single choice
Which Splunk configuration file is used to enable data integrity checking?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 18
Single choice
A Splunk administrator has been tasked with developing a retention strategy to have frequently accessed data sets on SSD storage and to have older, less frequently accessed data on slower NAS storage. They have set a mount point for the NAS. Which parameter do they need to modify to set the path for the older, less frequently accessed data in indexes.conf?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerD
ExplanationThe coldPath parameter defines the path for the cold buckets, which are the oldest and least frequently accessed data in an index. By setting the coldPath to point to the NAS mount point, the Splunk administrator can achieve the retention strategy of having older data on slower NAS storage.
Question 19
Single choice
Which network input option provides durable file-system buffering of data to mitigate data loss due to network outages and splunkd restarts?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerC
ExplanationReferences: https://docs.splunk.com/Documentation/SplunkCloud/8.2.2111/Data/Usepersistentqueues
Question 20
Single choice
How do you remove missing forwarders from the Monitoring Console?
-
A
-
B
By rescanning active forwarders.
-
C
By reloading the deployment server.
-
D
By rebuilding the forwarder asset table.
Reveal answer details
Close answer details
Question 21
Single choice
Immediately after installation, what will a Universal Forwarder do first?
-
A
Automatically detect any indexers in its subnet and begin routing data.
-
B
Begin generating internal Splunk logs.
-
C
Begin reading local files on its server.
-
D
Send an email to the operator that the installation process has completed.
Reveal answer details
Close answer details
Correct answerB
ExplanationImmediately after installation, a universal forwarder will start generating internal Splunk logs that contain information about its own operation, such as configuration changes, data inputs, and forwarding activities 1. These logs are stored in the $SPLUNK_HOME/var/log/splunk directory on the universal forwarder machine 1. The universal forwarder will not automatically detect any indexers in its subnet and begin routing data, as it needs to be configured with the IP address and port number of the indexer or the deployment server 2. The universal forwarder will not begin reading local files on its server, as it needs to be configured with the data inputs that specify which files or directories to monitor 2. The universal forwarder will not send an email to the operator that the installation process has completed, as this is not a default behavior of the universal forwarder and would require additional configuration 3.
Question 22
Single choice
When running the command shown below, what is the default path in which deployment server. conf is created? splunk set deploy-poll deployServer:port
-
A
SFLUNK_HOME/etc/deployment
-
B
SPLUNK_HOME/etc/system/local
-
C
SPLUNK_HOME/etc/system/default
-
D
SPLUNK_KOME/etc/apps/deployment
Reveal answer details
Close answer details
Correct answerC
Explanationhttps://docs.splunk.com/Documentation/Splunk/8.1.1/Updating/Definedeploymentclasses# Ways_to_define_server_classes "When you use forwarder management to create a new server class, it saves the server class definition in a copy of serverclass.conf under $SPLUNK_HOME/etc/system/local. If, instead of using forwarder management, you decide to directly edit serverclass.conf, it is recommended that you create the serverclass.conf file in that same directory, $SPLUNK_HOME/etc/system/local."
Question 23
Single choice
Which Splunk component distributes apps and certain other configuration updates to search head cluster members?
-
A
-
B
-
C
-
D
Search head cluster master
Reveal answer details
Close answer details
Correct answerC
Explanationhttps://docs.splunk.com/Documentation/Splunk/8.0.5/Updating/Updateconfigurations First line says it all: "The deployment server distributes deployment apps to clients."
Question 24
Single choice
The Splunk administrator wants to ensure data is distributed evenly amongst the indexers. To do this, he runs the following search over the last 24 hours: index=* What field can the administrator check to see the data distribution?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerD
Explanationhttps://docs.splunk.com/Documentation/Splunk/8.2.2/Knowledge/Usedefaultfields splunk_server The splunk server field contains the name of the Splunk server containing the event. Useful in a distributed Splunk environment. Example: Restrict a search to the main index on a server named remote. splunk_server=remote index=main 404
Question 25
Single choice
Which file will be matched for the following monitor stanza in inputs. conf? [monitor: ///var/log/*/bar/*. txt]
-
A
/var/log/host_460352847/temp/bar/file/csv/foo.txt
-
B
/var/log/host_460352847/bar/foo.txt
-
C
/var/log/host_460352847/bar/file/foo.txt
-
D
/var/ log/ host_460352847/temp/bar/file/foo.txt
Reveal answer details
Close answer details
Correct answerC
ExplanationThe correct answer is C. /var/log/host_460352847/bar/file/foo.txt. The monitor stanza in inputs.conf is used to configure Splunk to monitor files and directories for new data.The monitor stanza has the following syntax1: [monitor://<input path>] The input path can be a file or a directory, and it can include wildcards (*) and regular expressions. The wildcards match any number of characters, including none, while the regular expressions match patterns of characters.The input path is case-sensitive and must be enclosed in double quotes if it contains spaces 1. In this case, the input path is /var/log//bar/.txt, which means Splunk will monitor any file with the .txt extension that is located in a subdirectory named bar under the / var/log directory.The subdirectory bar can be at any level under the /var/log directory, and the * wildcard will match any characters before or after the bar and .txt parts 1. Therefore, the file /var/log/host_460352847/bar/file/foo.txt will be matched by the monitor stanza, as it meets the criteria. The other files will not be matched, because: A. /var/log/host_460352847/temp/bar/file/csv/foo.txt has a .csv extension, not a .txt extension. B. /var/log/host_460352847/bar/foo.txt is not located in a subdirectory under the bar directory, but directly in the bar directory. D. /var/log/host_460352847/temp/bar/file/foo.txt is located in a subdirectory named file under the bar directory, not directly in the bar directory.
Question 26
Single choice
How is a remote monitor input distributed to forwarders?
-
A
-
B
-
C
-
D
As a forwarder monitor profile.
Reveal answer details
Close answer details
Correct answerA
Explanationhttps://docs.splunk.com/Documentation/Splunk/8.0.5/Data/Usingforwardingagents Scroll down to the section Titled, How to configure forwarder inputs, and subsection Here are the main ways that you can configure data inputs on a forwarder Install the app or add-on that contains the inputs you wants References: https://docs.splunk.com/Documentation/Splunk/8.0.5/Data/Usingforwardingagents
Question 27
Multiple choice
Which of the following statements describe deployment management? (select all that apply)
-
A
Requires an Enterprise license
-
B
Is responsible for sending apps to forwarders.
-
C
Once used, is the only way to manage forwarders
-
D
Can automatically restart the host OS running the forwarder.
Reveal answer details
Close answer details
Correct answersA, B
Explanationhttps://docs.splunk.com/Documentation/Splunk/8.2.2/Admin/Distdeploylicenses#:~:text=License%20requirements,do%20not%20index%20external%20data. "All Splunk Enterprise instances functioning as management components needs access to an Enterprise license. Management components include the deployment server, the indexer cluster manager node, the search head cluster deployer, and the monitoring console." https://docs.splunk.com/Documentation/Splunk/8.2.2/Updating/Aboutdeploymentserver "The deployment server is the tool for distributing configurations, apps, and content updates to groups of Splunk Enterprise instances."
Question 28
Single choice
Which Splunk component performs indexing and responds to search requests from the search head?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerB
ExplanationA Splunk platform instance that responses to search requests from a search head. The term "Search peer" is usually synonymous with the indexer role in a distributed search topology..."
|