Splunk certification · Exam SPLK-2001

SPLK-2001 Mock Exam Page 2

Splunk Certified Developer Exam

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

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

Free SPLK-2001 questions

11–20 of 21 free
Question 11 Choose 2
Which of the following are reserved field names in a KV Store? (Select all that apply.)
Show answerHide answer

Correct answer: A, C _key _user

Explanation

Explanation: The reserved field names in a KV Store are _key and _user. The _key field is a unique identifier for each record in a KV Store collection, and the _user field is the owner of the record. The other fields are not reserved, and can be used as custom fields in a KV Store collection.
Question 12 Choose 1
Which event handler uses the element to support pan and zoom functionality?
Show answerHide answer

Correct answer: A Visualization event handler

Explanation

Explanation: The correct answer is A, because visualization event handler uses the element to support pan and zoom functionality. Visualization event handler is a type of event handler that enables you to interact with custom visualizations3. The element defines the behavior of the visualization when the user selects a region of the chart. It supports attributes such as pan and zoom4.
Question 13 Choose 2
Which files within an app contain permissions information? (Select all that apply.)
Show answerHide answer

Correct answer: B, D metadata/local.meta metadata/default.meta

Explanation

Explanation: The correct answer is B and D, because they are the files within an app that contain permissions information. Permissions information refers to the access control settings for the app, such as who can read and write to the app, and whether the app is visible to all users or only to the app owner. The files that contain permissions information are the metadata/local.meta and metadata/default.meta files, which are located in the metadata folder of the app. The local/metadata.conf and default/metadata.conf files do not exist, and are not valid configuration files for an app.
Question 14 Choose 1
Which of the following is an example of a valid syntax for specifying an absolute time range modifier in a search?
Show answerHide answer

Correct answer: B earliest=01/01/2019T00:00:00

Explanation

Explanation: The valid syntax for specifying an absolute time range modifier in a search is earliest=01/01/2019T00:00:00. The T character separates the date and time components. The other options are invalid because they use either a colon or a space instead of a T. For more information, see Specify time modifiers in your search.
Question 15 Choose 1
Which of the following statements defines a namespace?
Show answerHide answer

Correct answer: A The namespace is a combination of the user and the app.

Explanation

Explanation: The correct answer is A because the namespace is a combination of the user and the app. The namespace determines the scope and visibility of the knowledge objects in Splunk. The role, the sharing level, and the permissions are not part of the namespace, but they affect the access to the knowledge objects. You can find more information about the namespace and the knowledge objects in the Splunk Developer Guide.
Question 16 Choose 3
After updating a dashboard in myApp, a Splunk admin moves myApp to a different Splunk instance. After logging in to the new instance, the dashboard is not seen. What could have happened? (Select all that apply.)
Show answerHide answer

Correct answer: A, B, C The dashboard’s permissions were set to private. User role permissions are different on the new instance. The admin deleted the myApp/local directory before packaging.

Explanation

Explanation: The correct answer is A, B, and C because these are the possible reasons why the dashboard is not seen after moving myApp to a different Splunk instance. Option A is correct because if the dashboard’s permissions were set to private, only the owner of the dashboard can see it on the new instance. Option B is correct because if the user role permissions are different on the new instance, the user may not have access to the dashboard. Option C is correct because if the admin deleted the myApp/local directory before packaging, the dashboard configuration may have been lost. Option D is incorrect because changes placed in $SPLUNK_HOME/etc/apps/search/default/data/ui/nav do not affect the visibility of the dashboard. You can find more information about dashboard permissions and configuration in the Splunk Developer Guide.
Question 17 Choose 3
In order to successfully accelerate a report, which criteria must the search meet? (Select all that apply.)
Show answerHide answer

Correct answer: A, B, D Cannot use event sampling. Use a transforming command. Commands before the first transforming command must be streamable.

Explanation

Explanation: The correct answer is A, B, and D because these are the criteria that the search must meet in order to successfully accelerate a report. A report is a saved search that runs on a schedule and returns results in a table or a chart. A report can be accelerated to improve its performance and reduce the load on the Splunk indexers. Option A is correct because the search cannot use event sampling, which is a technique that reduces the number of events returned by the search. Event sampling can affect the accuracy and consistency of the report results. Option B is correct because the search must use a transforming command, which is a command that converts the results into a data table with rows and columns. Transforming commands are required for report acceleration, as they enable the creation of summary data. Option D is correct because the commands before the first transforming command must be streamable, which means they can process each event as it is returned by the search. Streamable commands are preferred for report acceleration, as they reduce the memory usage and improve the performance of the search. Option C is incorrect because the search does not need to use a standard Splunk visualization, which is a type of chart or graph that displays the results. The search can use any visualization that is compatible with the report acceleration. You can find more information about report acceleration and the criteria for the search in the Splunk Developer Guide.
Question 18 Choose 3
Given the following two files defining app navigation, which navigation options will be displayed to the end user? (Select all that apply.)
$SPLUNK_HOME/etc/apps/app_name/default/data/ui/nav/default.xml
  • <nav search_view=“search” color=“#65A637”>
  • <view name=“search” default=‘true’ />
  • <view name=“datasets” />
  • <view name=“reports” />
  • <view name=“dashboards” />
  • </nav>
$SPLUNK_HOME/etc/apps/app_name/local/data/ui/nav/default/xml
  • <nav search_view=“search” color=“#65A637”>
  • <view name=“search” default=‘true’ />
  • <view name=“datasets” />
  • <view name=“dashboards” />
  • </nav>
Show answerHide answer

Correct answer: A, C, D Search Datasets Dashboards

Explanation

Explanation: The navigation options that will be displayed to the end user are Search, Datasets, and Dashboards. This is because the local file overrides the default file, and the local file does not include the Reports view.
Question 19 Choose 3
When the search/jobs REST endpoint is called to execute a search, what can be done to reduce the results size in the results? (Select all that apply.)
Show answerHide answer

Correct answer: B, C, D Remove unneeded fields. Truncate the data, using selective functions. Summarize data, using analytic commands.

Explanation

Explanation: The correct answer is B, C, and D, because they are all ways to reduce the results size in the results when the search/jobs REST endpoint is called to execute a search. The search/jobs REST endpoint is used to create, manage, and control search jobs in Splunk. The results size in the results refers to the amount of data returned by the search job, which can affect the performance and efficiency of the search. Removing unneeded fields, truncating the data using selective functions, and summarizing the data using analytic commands are all methods to reduce the results size by filtering, limiting, or aggregating the data. Using a generating search is not a way to reduce the results size, but a way to create a search job that does not use the index, but instead generates its own data3.
Question 20 Choose 1
Which of the following log files contains logs that are most relevant to Splunk Web?
Show answerHide answer

Correct answer: D web_service.log

Explanation

Explanation: The log file that contains logs that are most relevant to Splunk Web is web_service.log. This log file records information about the web server that runs Splunk Web, such as requests, responses, errors, and performance. The other log files contain logs that are related to other aspects of Splunk, such as audit.log for security events, metrics.log for performance metrics, and splunkd.log for Splunk daemon activity.
Full mock exam

Sit the SPLK-2001 exam before exam day

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