Splunk Certified Developer Flashcards
Suppose the following query in a Simple XML dashboard returns a table including hyperlinks:
index news sourcetype web_proxy | table sourcetype title link
Which of the following is a valid dynamic drilldown element to allow a user of the dashboard to visit the hyperlinks contained in the link field?
A. $row.link$
B. $$row.link$$
C. $row.link|n$
D. http://localhost:8000/debug/refresh
C. $row.link|n$
When updating a knowledge object via REST, which of the following are valid values for the sharing Access Control List property?
A. App
B. User
C. Global
D. Nobody
A. App
Which of the following are ways to get a list of search jobs? (Select all that apply.)
A. Access Activity > Jobs with Splunk Web.
B. Use Splunk REST to query the /services/search/jobs endpoint.
C. Use Splunk REST to query the /services/saved/searches endpoint.
D. Use Splunk REST to query the /services/search/sid/results endpoint.
A. Access Activity > Jobs with Splunk Web.
B. Use Splunk REST to query the /services/search/jobs endpoint.
Which of the following are benefits from using Simple XML Extensions? (Select all that apply.)
A. Add custom layouts.
B. Add custom graphics.
C. Add custom behaviors.
D. Limit Splunk license consumption based on host.
A. Add custom layouts.
B. Add custom graphics.
C. Add custom behaviors.
How can indexer acknowledgement be enabled for HTTP Event Collector (HEC)? (Select all that apply.)
A. No need to do anything, it is turned on by default.
B. When a REST request is sent to create a token, the property for indexer acknowledgement must be set to 1.
C. When a new HEC token is created in Splunk Web, select the checkbox labeled ג€Enable indexer acknowledgementג€.
D. When the Global Settings for HEC are updated in Splunk Web, select the checkbox labeled ג€Enable indexer acknowledgementג€.
——> C is specified in the manual
C. When a new HEC token is created in Splunk Web, select the checkbox labeled ג€Enable indexer acknowledgementג€.
D. When the Global Settings for HEC are updated in Splunk Web, select the checkbox labeled ג€Enable indexer acknowledgementג€.
Reference:
https://docs.splunk.com/Documentation/Splunk/8.1.2/Data/UsetheHTTPEventCollector
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.)
A. The dashboardג€™s permissions were set to private.
B. User role permissions are different on the new instance.
C. The admin deleted the myApp/local directory before packaging.
D. Changes were placed in: $SPLUNK_HOME/etc/apps/search/default/data/ui/nav
A. The dashboardג€™s permissions were set to private.
B. User role permissions are different on the new instance.
Reference:
https://docs.splunk.com/Documentation/Splunk/8.1.2/Viz/DashboardPermissions
Which of the following statements define a namespace?
A. The namespace is a combination of the user and the app.
B. The namespace is a combination of the user, the app, and the role.
C. The namespace is a combination of the user, the app, the role, and the sharing level.
D. The namespace is a combination of the user, the app, the role, the sharing level, and the permissions.
A. The namespace is a combination of the user and the app.
Research!!!
Which of the following are characteristics of an add-on? (Select all that apply.)
A. Requires navigation file.
B. Occupies a unique namespace within Splunk.
C. Can depend on add-ons for correct operation.
D. Contains technology or components not intended for reuse by other apps.
C. Can depend on add-ons for correct operation.
Research!!!!
Which of the following statements describe oneshot searches? (Select all that apply.)
A. Are always executed asynchronously.
B. Can specify csv as an output format.
C. Stream all results upon search
completion.
D. Can use auto_cancel to set a timeout limit.
B. Can specify csv as an output format.
C. Stream all results upon search completion.
Which of the following options would be the best way to identify processor bottlenecks of a search?
A. Using the REST API.
B. Using the search job inspector.
C. Using the Splunk Monitoring Console.
D. Searching the Splunk logs using index=ג€ internalג€.
C. Using the Splunk Monitoring Console.
https://www.splunk.com/pdfs/technical-briefs/disk-diagnosis-digging-deep-with-monitoring-console-and-more.pdf
Which of the following is true of a namespace?
A. The namespace is a type of token filter.
B. The namespace includes an app attribute which cannot be a wildcard.
C. The namespace filters the knowledge objects returned by the REST API.
D. The namespace does not filter knowledge objects returned by the REST API.
D. The namespace does not filter knowledge objects returned by the REST API.
What must be done when calling the serviceNS endpoint?
A. Authenticate with an admin user.
B. Specify the user and app context in the URI.
C. Authenticate with the user of the required context.
D. Pass the user and app context in the request payload.
B. Specify the user and app context in the URI.
https://docs.splunk.com/Documentation/Splunk/8.1.2/RESTUM/RESTusing
Assuming permissions are set appropriately, which REST endpoint path can be used by someone with a power user role to access information about mySearch, a saved search owned by someone with a user role?
A. /servicesNS/-/data/saved/searches/mySearch
B. /servicesNS/object/saved/searches/mySearch
C. /servicesNS/search/saved/searches/mySearch
D. /servicesNS/-/search/saved/searches/mySearch
D. /servicesNS/-/search/saved/searches/mySearch
Reference:
https://docs.splunk.com/Documentation/Splunk/8.1.2/RESTUM/RESTusing
Research!!!!
Using Splunk Web to modify config settings for a shared object, a revised config file with those changes is placed in which directory?
A. $SPLUNK_HOME/etc/apps/myApp/local
B. $SPLUNK_HOME/etc/system/default/
C. $SPLUNK_HOME/etc/system/local
D. $SPLUNK_HOME/etc/apps/myApp/default
A. $SPLUNK_HOME/etc/apps/myApp/local
Reference:
https://docs.splunk.com/Documentation/Splunk/8.1.2/Admin/Howtoeditaconfigurationfile
What application security best practices should be adhered to while developing an app for Splunk? (Select all that apply.)
A. Review the OWASP Top Ten List.
B. Store passwords in clear text in .conf files.
C. Review the OWASP Secure Coding Practices Quick Reference Guide.
D. Ensure that third-party libraries that the app depends on have no outstanding CVE vulnerabilities.
A. Review the OWASP Top Ten List.
C. Review the OWASP Secure Coding Practices Quick Reference Guide.
D. Ensure that third-party libraries that the app depends on have no outstanding CVE vulnerabilities.
There is a global search named global_search
defined on a form as shown below:
index-_internal source-*splunkd.log | stats count by component, log_level
Which of the following would be a valid post-processing search? (Select all that apply.)
A. | tstats count
B. sourcetype=mysourcetype
C. stats sum(count) AS count by log level
D. search log_level=error | stats sum(count) AS count by component
C. stats sum(count) AS count by log level
D. search log_level=error | stats sum(count) AS count by component
Reference:
https://docs.splunk.com/Documentation/Splunk/8.1.2/Viz/Savedsearches
In order to successfully accelerate a report, which criteria must the search meet? (Select all that apply.)
A. Cannot use event sampling.
B. Use a transforming command.
C. Use a standard Splunk visualization.
D. Commands before the first transforming command must be streamable.
A. Cannot use event sampling.
B. Use a transforming command.
D. Commands before the first transforming command must be streamable.
Reference:
https://docs.splunk.com/Documentation/Splunk/8.1.2/Knowledge/Manageacceleratedsearchsummaries
Correct 100%
Which statements are true regarding HEC (HTTP Event Collector) tokens? (Select all that apply.)
A. Multiple tokens can be created for use with different sourcetypes and indexes.
B. The edit token http admin role capability is required to create a token.
C. To create a token, send a POST request to services/collector endpoint.
D. Tokens can be edited using the data/inputs/http/{tokenName} endpoint.
A. Multiple tokens can be created for use with different sourcetypes and indexes.
D. Tokens can be edited using the data/inputs/http/{tokenName} endpoint.
Seems Rights
Which type of command is tstats?
A. Generating
B. Transforming
C. Centralized streaming
D. Distributable streaming
A. Generating
https://docs.splunk.com/Documentation/Splunk/8.1.2/SearchReference/Commandsbytype#Transforming_commands
Which of the following is an example of a Splunk KV store use case? (Select all that apply.)
A. Stores checkpoint data for modular inputs.
B. Tracks workflow in an incident-review system.
C. Indexes metrics data from remote HTTP sources.
D. Stores application state as a user interacts with an app.
A. Stores checkpoint data for modular inputs.
B. Tracks workflow in an incident-review system.
D. Stores application state as a user interacts with an app.
https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/kvstore/
%100 correct
How can hiding or showing a panel by clicking on a chart or a table on the same form be performed?
A. By using vent drilldown.
B. By using workflow action.
C. By using contextual drilldown.
D. By using visualization drilldown.
D. By using visualization drilldown.
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
$SPLUNK_HOME/etc/apps/app_name/local/data/ui/nav/default/xml
A. Search
B. Reports
C. Datasets
D. Dashboards
A. Search
C. Datasets
D. Dashboards
Which of the following is an example of a valid syntax for specifying an absolute time range modifier in a search?
A. earliest=01/01/2019:00:00:00
B. earliest=01/01/2019T00:00:00
C. earliest=2019-01-01 00:00:00
D. earliest=2019-01-01T00:00:00
A. earliest=01/01/2019:00:00:00
https://docs.splunk.com/Documentation/Splunk/8.1.2/Search/Specifytimemodifiersinyoursearch
Which of the following are true of auto-refresh for dashboard panels? (Select all that apply.)
A. Applies to inline searches and saved searches.
B. Enabling auto-refresh for a report requires editing XML.
C. Post-processing searches are refreshed when their base searches are refreshed.
D. Each post-processing search using the same base search can have a different refresh time.
A. Applies to inline searches and saved searches.
B. Enabling auto-refresh for a report requires editing XML.
D. Each post-processing search using the same base search can have a different refresh time.
When added to an app’s default.meta file, which of the following makes one of its views available to other apps?
A. export = app
B. export = none
C. export = view
D. export = system
D. export = system
https://dev.splunk.com/enterprise/tutorials/module_getstarted/setpermissions/
When output_mode is not used, which element of a feed is a human readable name for a returned entry?
A. Author
B. Title
C. Link
D. Id
B. Title
https://docs.splunk.com/Documentation/Splunk/8.1.2/RESTUM/RESTusing
Which Splunk REST endpoint is used to create a KV store collection?
A. /storage/collections
B. /storage/kvstore/create
C. /storage/collections/config
D. /storage/kvstore/collections
C. /storage/collections/config
A new collection is creted via POST method and endpoint /storage/collections/config
https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/kvstore/usetherestapitomanagekv/
A KV store collection can be associated with a namespace for which of the following users?
A. Nobody
B. Users in the admin role.
C. Users in the admin and power roles.
D. Users in the admin, power, and splunk-system-user roles.
A. Nobody
https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/kvstore/usetherestapitomanagekv/