Courseiva

CCNA Macros And Workflow Actions Questions

41 questions · Macros And Workflow Actions · All types, answers revealed

1
MCQmedium

You want to ensure a macro is only available to a specific user role. Where do you configure this restriction?

A.In the user's account profile
B.By editing the permissions setting of the macro object
C.By adding the role to the macros.conf file manually
D.In the macro definition itself using a 'role' parameter
AnswerB

Macro permissions are controlled through the macro object's own permissions setting, where you assign read or write access to specific roles. Editing that setting restricts visibility so only the intended user role can invoke the macro.

Why this answer

Macro permissions in Splunk are controlled through the object's permission settings, accessible via Settings > Advanced Search > Search Macros (or the macro's Permissions link). You can set the macro to be private, shared in the app, or shared globally, and you can specify which roles have read or write access. This is the standard way to restrict a macro to a specific role.

Exam trap

SPLK-1004 often tests where macro permissions are configured, and candidates who think permissions are set in macros.conf or in the macro definition itself rather than in the object's permission settings pick the wrong answer.

How to eliminate wrong answers

Option A is wrong because user account profiles do not control macro access; permissions are role-based, not user-based. Option C is wrong because manually editing macros.conf is not the recommended way to set permissions — permissions are stored in metadata files (default.meta), not macros.conf. Option D is wrong because macros.conf does not support a 'role' parameter in the macro definition; access control is handled via metadata, not the definition stanza.

2
MCQmedium

When a workflow action is configured with 'Search' type, what happens if the 'Link URI' field is also populated?

A.The action fails to execute
B.The Link URI field is ignored
C.The URI takes precedence
D.The search is run, and the URI is opened as a popup
AnswerB

Populating Link URI alongside a Search-type action has no effect: the search results render directly in the workflow panel, so the field is ignored. This satisfies the stem's constraint that Search type takes precedence, unlike Link type, which requires the URI to open an external resource.

Why this answer

When a workflow action is configured with type 'Search', the 'Link URI' field is ignored. The action runs a search instead of opening a URI. Therefore, option B is correct.

The Link URI is only used when the action type is 'Link'.

Exam trap

The trap is assuming that if both fields are populated, the URI is used or causes an error, when actually the Search type overrides and ignores the URI.

How to eliminate wrong answers

Option A is wrong because the action does not fail; it simply ignores the Link URI and executes the search. Option C is wrong because the URI does not take precedence; the search type dictates behavior. Option D is wrong because the search is run, but the URI is not opened as a popup; that would be a different configuration.

3
MCQmedium

When creating a workflow action, what does the 'Apply only to the following fields' field do?

A.It forces these fields to be extracted
B.It restricts the action to only appear when these fields are part of the results
C.It filters the results to only include these fields
D.It adds these fields to the search query
AnswerB

The setting filters by field presence rather than by user role or result count. Splunk evaluates the fields returned by the search and displays the workflow action only when every listed field exists in the results, controlling contextual visibility of the action.

Why this answer

The 'Apply only to the following fields' setting in a workflow action restricts the action so it only appears in the event menu when the specified fields are present in the search results. This ensures the action is contextually relevant and does not appear for events lacking those fields.

Exam trap

SPLK-1004 often tests whether candidates confuse workflow action field restrictions (UI visibility) with field extraction or result filtering, which are separate mechanisms.

How to eliminate wrong answers

Option A is wrong because workflow actions do not force field extraction — extraction is handled by props.conf/transforms.conf or the field extractor, not by workflow action configuration. Option C is wrong because the setting does not filter search results; it only controls the visibility of the action in the UI. Option D is wrong because it does not modify the search query — it is a UI-level conditional display setting.

4
MCQmedium

You need to pass a field value from a search result into a workflow action URL. What syntax should you use in the URI field?

A.%field%
B.{field}
C.$field$
D.<field>
AnswerC

Dollar-sign delimiters substitute the named field's value from the triggering result into the workflow action URI at runtime. This satisfies the stem's requirement to pass a field value dynamically, since literal text or bare field names would transmit unchanged.

Why this answer

In Splunk workflow actions, the URI field uses dollar-sign syntax ($field$) to reference a field value from the search result, which Splunk substitutes at runtime when the action is invoked. This token replacement happens when the user clicks the workflow action, injecting the actual field value into the URL. The $field$ syntax is Splunk's standard token substitution format used across workflow actions, dashboards, and forms.

Exam trap

SPLK-1004 often tests the exact token syntax for workflow action URIs, and candidates who have experience with other templating systems (Python, Jinja, shell) pick {field} or %field% instead of Splunk's $field$ convention.

How to eliminate wrong answers

Option A is wrong because %field% is not Splunk token syntax — it resembles URL encoding or Windows environment variable syntax and will be passed literally. Option B is wrong because {field} is not Splunk's token syntax; it resembles Python format strings or some other templating systems but Splunk will not substitute it. Option D is wrong because <field> is XML/HTML tag syntax and has no meaning in Splunk workflow action URIs.

5
MCQhard

You want a macro to expand to a specific set of fields. Which field in the macro definition would you use to provide a default value if the user provides no arguments?

A.Default value
B.Arguments
C.Definition
D.Validation text
AnswerA

The Default value field supplies the argument value used when the macro runs without user-supplied parameters. Defining it lets the macro expand to the intended field set automatically, satisfying the requirement for a fallback when no arguments are passed.

Why this answer

In a Splunk macro definition, the 'Default value' field provides a value that is used when the user does not supply an argument for a corresponding argument placeholder. This allows macros to be called with fewer arguments than defined, using defaults for the missing ones. The Arguments field defines the argument names, and the Definition field contains the macro's search string.

Exam trap

SPLK-1004 often tests the specific fields in the macro definition UI, and candidates who confuse Arguments (names) with Default value (fallback values) or Definition (search logic) pick the wrong field.

How to eliminate wrong answers

Option B is wrong because the Arguments field defines the names of the arguments the macro accepts, not their default values. Option C is wrong because the Definition field contains the actual search logic with $arg$ placeholders, not default values. Option D is wrong because Validation text is an error message shown when argument validation fails, not a default value provider.

6
MCQmedium

A Splunk administrator is creating a search macro that will be used to standardize the extraction of a user ID from an email address. The macro should accept an email field as an argument and return only the portion before the '@' symbol. The administrator wants to ensure that when the macro is invoked in a search, the argument is properly validated to be a valid email address. Which of the following is the correct way to define the validation for this macro?

A.Use the eval command with the match function inside the macro to validate the argument and return an error if it fails.
B.Create a separate saved search that validates the email format and schedule it to run before the macro is used.
C.In the macro definition, add a validation expression using a regular expression and a validation error message that will be displayed if the argument does not match the pattern.
D.Define the macro with a validation type of 'string' and rely on Splunk's built-in email format validation.
AnswerC

This is correct because Splunk search macros support a validation expression and error message. The validation expression is evaluated against the argument value, and if it does not match, the search fails with the specified error message. This ensures the argument is a valid email address before the macro logic runs.

Why this answer

The correct answer is to use the macro's built-in validation expression and error message. This feature allows administrators to define a regular expression that the argument must match. If the argument fails validation, Splunk returns the specified error message and does not execute the search.

This provides immediate feedback and prevents invalid data from being processed.

Exam trap

The trap here is assuming that Splunk has built-in validation types for common formats like email, when in fact only basic types exist and custom regular expressions are required.

7
MCQhard

A Splunk administrator is creating a search macro that will be used in a dashboard. The macro should accept a time range as an argument and use it in an `earliest` and `latest` clause. The administrator wants to ensure that the macro can be called with different time ranges without modifying the macro definition. Which of the following is the correct way to define the macro arguments?

A.Define one argument named `time` and use it as `earliest=$time$ latest=$time$`.
B.Define no arguments and use the dashboard's time picker to set the time range.
C.Define two arguments, `earliest` and `latest`, and use them as `earliest=$earliest$ latest=$latest$`.
D.Define one argument named `time_range` and use it as `earliest=$time_range$`.
AnswerC

This correctly defines two separate arguments for earliest and latest, allowing the caller to specify each independently. The macro can then be called with different time ranges, such as `mymacro(earliest="-1h", latest="now")`. This provides flexibility and clarity, and ensures that the time range is properly applied in the search.

Why this answer

To allow different time ranges, the macro should accept two separate arguments for earliest and latest. This enables the caller to specify each independently, such as `earliest=-1h` and `latest=now`. The macro definition uses `earliest=$earliest$ latest=$latest$`, which correctly substitutes the provided values.

This approach provides the necessary flexibility and is the standard way to parameterize time ranges in search macros.

Exam trap

The trap here is trying to use a single argument for both earliest and latest, or assuming that the dashboard time picker can substitute for macro arguments.

8
MCQhard

A Splunk power user has created a macro named `convert_time` that accepts one argument, a time field, and returns the time in epoch format. The user wants to use this macro in a search and also wants to ensure that if the macro is called without an argument, it uses a default field named `_time`. Which approach should be used?

A.Define the macro with one argument and use the `eval` command to check if the argument is null, then set it to `_time`.
B.Define two macros: one with one argument and one with zero arguments that calls the one-argument macro with `_time`.
C.Define the macro with one argument and instruct users to always pass `_time` if they want to use the default.
D.Define the macro with one argument and set the argument's default value in the macro's permissions settings.
AnswerB

This is correct because Splunk macros do not support default argument values. To simulate a default, you can create a zero-argument macro that calls the one-argument macro with the default value `_time`. This way, users can call the zero-argument macro to use the default, or call the one-argument macro with a specific field. This is a common pattern to work around the lack of default arguments.

Why this answer

Splunk macros do not support default values for arguments. To achieve a default behavior, the best approach is to create two macros: one that accepts an argument and performs the conversion, and another that takes no arguments and calls the first macro with the default field `_time`. This allows users to call the zero-argument macro when they want the default, or the one-argument macro when they need to specify a different field.

This pattern is widely used in Splunk to simulate optional parameters.

Exam trap

The trap here is assuming that Splunk macros support default argument values, which they do not. Another trap is thinking that permissions or eval can handle defaults, but they cannot.

9
MCQhard

Which of the following is a capability that must be enabled for a user to create macros?

A.edit_macros
B.admin_all_objects
C.search_manager
D.write_config
AnswerA

The edit_macros capability governs creation and modification of search macros in Splunk; without it the user can only run existing ones. Enabling it satisfies the stem's requirement that the user be able to create macros.

Why this answer

The `edit_macros` capability is specifically designed to allow users to create, edit, and delete search macros in Splunk. Without this capability, users cannot manage macros even if they have other administrative permissions. This is a granular capability that directly controls macro management, making it the correct answer.

Exam trap

SPLK-1004 often tests candidates' understanding of specific capabilities versus broad administrative permissions, causing them to incorrectly choose `admin_all_objects` thinking it covers all actions.

How to eliminate wrong answers

Option B is wrong because `admin_all_objects` grants broad administrative access to all objects but does not specifically enable macro creation; it is too broad and not the required capability. Option C is wrong because `search_manager` is not a valid Splunk capability; the correct capability for managing search-related tasks is `search` or `schedule_search`, but neither allows macro creation. Option D is wrong because `write_config` allows writing to configuration files but does not grant the specific permission to create macros; it is unrelated to macro management.

10
MCQhard

A user has defined a macro with the argument 'user_id'. When calling the macro, the user provides the value 'admin'. How should the macro be invoked in the search bar?

A.$my_macro(admin)$
B.[my_macro admin]
C.my_macro:admin
D.`my_macro(admin)`
AnswerD

Macro arguments are passed positionally as bare values inside the parentheses, so the literal value admin is supplied without quotes or the argument name. Splunk substitutes it for user_id at execution, matching the defined argument order.

Why this answer

In Splunk, macros are invoked using backticks (`) around the macro name, and arguments are passed inside parentheses. The correct syntax is `my_macro(admin)`, where 'admin' is the value supplied for the 'user_id' argument. This is the standard Splunk search macro invocation format.

Exam trap

SPLK-1004 often tests the distinction between macro invocation syntax (backticks and parentheses) and other Splunk constructs like subsearches (square brackets) or token substitution (dollar signs), causing candidates to pick the wrong delimiter.

How to eliminate wrong answers

Option A is wrong because $my_macro(admin)$ uses dollar signs, which are used for token substitution in dashboards, not for invoking macros in the search bar. Option B is wrong because [my_macro admin] uses square brackets and a space, which is subsearch syntax, not macro invocation. Option C is wrong because my_macro:admin uses a colon, which is not valid macro syntax; it resembles a field:value pair.

11
MCQeasy

Where are search macros primarily stored within the Splunk configuration file system?

A.props.conf
B.transforms.conf
C.savedsearches.conf
D.macros.conf
AnswerD

Search macros are defined as stanza entries in macros.conf, which Splunk reads from its configuration file system to resolve macro names during search processing. This file is the designated location for macro definitions, satisfying the stem's question about where macros are primarily stored.

Why this answer

Search macros in Splunk are defined and stored in macros.conf, which resides in the app's local or default directory. This configuration file contains the macro name, definition, arguments, and validation settings. When a user invokes a macro in SPL, Splunk resolves it by looking up the definition in macros.conf.

Exam trap

SPLK-1004 often tests the confusion between configuration files — candidates may incorrectly associate macros with savedsearches.conf or props.conf instead of macros.conf.

How to eliminate wrong answers

Option A is wrong because props.conf is used for configuring source types, field extractions, line breaking, and other index-time or search-time parsing settings, not macros. Option B is wrong because transforms.conf defines field transformations, lookups, and routing rules, not search macros. Option C is wrong because savedsearches.conf stores saved searches, alerts, and reports, not macros.

12
MCQmedium

When using a macro in a search, what happens if the macro is not defined?

A.Splunk will automatically create it
B.The search will fail with an error
C.The macro will be ignored
D.The search will prompt for a definition
AnswerB

Splunk resolves macros at search parse time; an undefined macro name cannot be expanded, so the search returns a parse error rather than running. The search fails outright, satisfying the scenario where the macro was never created or is misspelled.

Why this answer

When a search references a macro that is not defined in the current app or user context, Splunk cannot resolve the macro and the search fails with an error. Splunk does not auto-create macros, ignore them, or prompt for definitions at runtime. The search will return an error message indicating the macro is unknown.

Exam trap

The trap is assuming Splunk is forgiving with undefined macros — candidates may think it ignores them or prompts, but it actually fails the search.

How to eliminate wrong answers

Option A is wrong because Splunk never automatically creates macros; macros must be defined by a user with the right permissions. Option C is wrong because Splunk does not silently ignore undefined macros — it treats them as invalid syntax and aborts the search. Option D is wrong because Splunk has no interactive prompt to define a macro during search execution; macro definitions are managed in Settings > Advanced Search > Search Macros.

13
MCQhard

What happens if a macro name conflicts with a Splunk search command name?

A.The macro will override the search command
B.The search command takes precedence
C.Splunk will throw a syntax error during search execution
D.The search will fail to initialize
AnswerB

A macro name that collides with a built-in search command is shadowed, because Splunk resolves command tokens before macro expansion. The command therefore executes, and the macro is never invoked. This satisfies the stem's conflict scenario: command precedence overrides the macro definition, so the macro's arguments and definition remain unused.

Why this answer

When a macro name collides with a built-in Splunk search command name, the search command takes precedence and the macro is not invoked by that name. Splunk resolves command names before macro expansion, so the built-in command wins and the macro must be renamed or invoked with a distinct identifier.

Exam trap

SPLK-1004 often tests whether candidates assume user-defined macros can shadow built-in commands — the trap is picking 'macro overrides command' when Splunk's parser actually gives precedence to the built-in command.

How to eliminate wrong answers

Option A is wrong because macros cannot override built-in search commands — command resolution happens first in the search parser. Option C is wrong because Splunk does not throw a syntax error; it silently resolves to the command, which can cause confusing results if the user expected the macro. Option D is wrong because the search initializes normally — there is no initialization failure, just precedence of the command over the macro.

14
MCQmedium

A Splunk power user is creating a macro that will be used in a search. The macro definition includes a search command that is not permitted by the user's role. What happens when the user attempts to run a search that calls this macro?

A.The macro is expanded, but the disallowed command is replaced with a null command.
B.The macro is skipped, and the search continues without the macro's content.
C.The macro is executed with elevated privileges, allowing the command to run.
D.The macro is expanded, but the search fails with an error indicating that the command is not permitted.
AnswerD

This is correct because when a macro is expanded, the resulting search is executed with the permissions of the user running the search. If the macro contains a command that the user's role does not allow, the search will fail with an error about insufficient permissions. The macro itself does not grant additional capabilities; it only inserts the search string.

Why this answer

When a macro is used in a search, it is expanded inline, and the resulting search is executed with the permissions of the user. If the macro contains a command that the user's role does not permit, the search will fail with a permission error. Macros do not bypass role-based access controls.

Therefore, the search will not run successfully.

Exam trap

The trap here is assuming that macros run with the permissions of the macro owner or that they can bypass role restrictions, when in fact they run with the invoking user's permissions.

15
MCQeasy

Which of the following is true about search macros?

A.They cannot accept arguments
B.They must always be a full search query
C.They can contain parts of a search query
D.They are only for admins
AnswerC

Search macros are reusable fragments of SPL that expand inline wherever referenced, letting you embed partial search clauses such as a base search or filtering terms. This differs from event types, which match complete events rather than supplying query syntax.

Why this answer

Search macros can contain a full search or just a portion of a search, such as a set of filtering commands or a field extraction snippet. This flexibility allows macros to be reused as building blocks within larger SPL statements.

Exam trap

SPLK-1004 often tests the misconception that macros must be complete searches or cannot take arguments, when in fact they are flexible SPL fragments that support parameterization.

How to eliminate wrong answers

Option A is wrong because macros can accept arguments, which are referenced with $arg$ syntax inside the macro definition. Option B is wrong because macros do not have to be a full search query; they can be partial SPL fragments. Option D is wrong because macros are not restricted to admins — any user with the appropriate role and app access can create or use macros depending on permissions.

16
MCQmedium

When configuring a workflow action of type 'GET', what is the purpose of the 'Link URI' field?

A.To provide the target URL for the GET request
B.To set the HTTP header for the request
C.To define the search query that the workflow action runs
D.To identify which index the data should be retrieved from
AnswerA

Link URI supplies the destination address the browser or client requests when the workflow action fires. For a GET action, that URL defines the endpoint receiving the request, directly fulfilling the stem's requirement to specify where the GET is sent.

Why this answer

For a GET workflow action, the Link URI field specifies the target URL that the browser will request when the action is triggered. It typically includes field placeholders like $field$ that are substituted with the event's field values. This URI determines where the GET request is sent.

Exam trap

The trap is confusing the Link URI with the search query or HTTP headers; candidates must remember that for GET actions, the URI is the destination URL, not the search definition.

How to eliminate wrong answers

Option B is wrong because HTTP headers are not set via the Link URI; they would be configured separately if supported. Option C is wrong because the search query is defined in a Search workflow action, not a GET action. Option D is wrong because the index is not specified in a GET action; the URI points to an external resource.

17
MCQeasy

In the context of workflow actions, what is the 'POST' method used for?

A.To retrieve logs from a server
B.To view a dashboard
C.To run a local command
D.To send data to an external URL
AnswerD

POST transmits a request body to an external endpoint, which is precisely how workflow actions push event data outward to third-party systems. Unlike GET, which appends parameters to the URL and is limited in payload size, POST carries the payload in the body, satisfying the requirement to send data to an external URL.

Why this answer

In Splunk workflow actions, the POST method is used to send data to an external URL. It typically submits a form or payload to a web service, often to create a ticket, update a system, or trigger an external process. GET is used to retrieve data, while POST is for sending data.

Exam trap

The trap is confusing GET and POST — candidates may think POST retrieves data, but it actually sends data to an external URL.

How to eliminate wrong answers

Option A is wrong because retrieving logs from a server is typically a GET operation, not POST. Option B is wrong because viewing a dashboard is a local Splunk UI action, not an external POST. Option C is wrong because running a local command is not what POST does; POST sends data over HTTP to an external endpoint.

18
Multi-Selecthard

Which THREE of the following are valid sources of information for a Workflow Action link?

Select 3 answers
A.Values from fields in the search result
B.User password
C.Fixed text in the URI string
D.System time
E.Values from the search query parameters
AnswersA, C, E

Field values returned in each search result can be substituted into the workflow action URI using field-name tokens. This satisfies the stem's requirement for a valid information source, letting the link carry event-specific data such as a hostname or IP address.

Why this answer

Option A is correct because a Workflow Action link can dynamically pull values from fields in the search result, allowing the URI to be constructed based on the specific event or record returned. Option C is correct because fixed text in the URI string is a valid static source, enabling the link to include constant portions such as a base URL or static path. Option E is correct because values from the search query parameters can be referenced, letting the action link incorporate the user's original search terms or filters.

Option B is not valid because user passwords are never exposed as a source for constructing action links, as that would be a severe security risk. Option D is not valid because system time is not a supported dynamic source for Workflow Action links in this context.

Exam trap

The trap is assuming that any dynamic value, like system time or user credentials, can be used, when only specific tokens from fields, search parameters, and fixed text are valid.

19
MCQmedium

A security analyst needs a search macro that will be used across multiple dashboards and alerts. The macro must accept a field name as an argument and return a search string that filters events where that field equals a specific value. The analyst wants to ensure that the macro can be reused without modification in different contexts. Which of the following best describes how the macro should be defined to achieve this?

A.Define the macro with an argument named `filter` and use it in the search string as `$filter$`.
B.Define the macro with an argument named `field` and use it in the search string as `$field$=value`.
C.Define the macro with two arguments, `field` and `value`, and use them in the search string as `$field$=$value$`.
D.Define the macro with no arguments and use a token in the search string that is replaced by the dashboard or alert at runtime.
AnswerC

This correctly parameterizes both the field name and the value, allowing the macro to be reused with different fields and values by simply passing different arguments at call time. It meets the analyst's need for a reusable macro that filters events where a specified field equals a specified value, without modifying the macro definition.

Why this answer

The macro must accept both the field name and the value as arguments to be reusable without modification. By defining two arguments and using them in the search string as `$field$=$value$`, the analyst can call the macro with different field-value pairs. This parameterization ensures flexibility and meets the requirement for cross-dashboard and alert reuse.

Exam trap

The trap here is assuming that a single argument can encapsulate both field and value, or that tokens can be used inside macros, which they cannot.

20
MCQeasy

You need to create a search macro that accepts one argument. How should you define the argument in the macro definition field?

A.Using dollar signs like $arg1$
B.Using angle brackets like <arg1>
C.Using curly braces like {arg1}
D.Using percent signs like %arg1%
AnswerA

Dollar-sign delimiters, such as $arg1$, are Splunk's required syntax for declaring arguments inside a search macro definition. The stem's constraint of exactly one argument is satisfied by naming a single token this way; Splunk substitutes the supplied value at execution. Bare names or other delimiters are not parsed as arguments.

Why this answer

In Splunk, search macro arguments are defined by wrapping the argument name in dollar signs, e.g., $arg1$. This syntax tells the Splunk search processor to treat the enclosed token as a substitution variable that will be replaced at search time with the value supplied by the user or calling search. The dollar-sign delimiters are mandatory; without them, Splunk treats the text as a literal string rather than a dynamic argument.

Exam trap

SPLK-1004 often tests the specific syntax for macro arguments, and candidates may confuse it with other templating systems like Jinja2 ({{ }}) or shell variables ($VAR), leading them to pick curly braces or percent signs.

How to eliminate wrong answers

Option B is wrong because angle brackets like <arg1> are not recognized by Splunk as argument delimiters; they would be treated as literal characters in the search string. Option C is wrong because curly braces {arg1} are used in Splunk for other purposes such as token delimiters in dashboards or field names in some contexts, but not for macro arguments. Option D is wrong because percent signs %arg1% are not part of Splunk's macro argument syntax; they might be confused with URL encoding or other tools, but Splunk does not interpret them as variables.

21
MCQmedium

A Splunk administrator defines a search macro `top_errors(2)` with arguments `$host$` and `$error_type$`. The definition is `index=main host=$host$ error_type=$error_type$ | top limit=10 error_message`. The administrator sets a validation expression for the first argument as `match($host$, "^[a-zA-Z0-9.-]+$")` and for the second argument as `match($error_type$, "^(critical|warning|info)$")`. An analyst invokes the macro as `| top_errors("web-01", "fatal")`. What happens?

A.The search runs successfully because the validation expressions only apply to the macro definition, not to the arguments passed at invocation.
B.The search runs but returns no results because the validation expressions are ignored when the macro is invoked with quoted strings.
C.The search fails with a validation error because `fatal` does not match the allowed values for the second argument.
D.The search fails with a validation error because `web-01` does not match the allowed pattern for the first argument.
AnswerC

The validation expression for the second argument only allows `critical`, `warning`, or `info`. The value `fatal` does not match this pattern, so the macro invocation fails with the validation error message. The first argument `web-01` matches its pattern, but the second argument causes the failure. Thus, the search does not execute.

Why this answer

Validation expressions are evaluated at invocation time against the supplied arguments. The second argument `fatal` does not match the pattern that permits only `critical`, `warning`, or `info`, so the macro fails with a validation error. The first argument `web-01` is valid, but the failure on the second argument prevents the search from running.

Exam trap

The trap here is thinking that validation expressions are only checked when the macro is defined, not when it is called.

22
MCQeasy

A user wants to create a workflow action that, when clicked, runs a secondary search in Splunk and displays the results in the current window. The action should be available for all events. Which workflow action type should be selected?

A.eval
B.search
C.dashboard
D.link
AnswerB

The 'search' type is specifically designed to run a Splunk search when the workflow action is clicked. By default, it opens the search in a new window, but it can be configured to display in the current window depending on the settings. This meets the requirement of running a secondary search and displaying results in the current window.

Why this answer

The 'search' workflow action type is used to run a secondary Splunk search when the action is clicked. It can be configured to display results in the current window or a new window. The 'link' type is for external URLs, and 'eval' and 'dashboard' are not valid types.

Therefore, 'search' is the correct choice for running a search and displaying results in the current window.

Exam trap

The trap here is confusing 'link' with 'search' type, or assuming that 'eval' or 'dashboard' are valid workflow action types.

23
MCQeasy

Which type of workflow action allows you to execute a new search based on the value of a field in a current search result?

A.Search
B.Dashboard
C.Report
D.GET
E.POST
AnswerA

A Search workflow action runs a secondary SPL query, substituting field values from triggering results as tokens, so it satisfies the requirement to execute a new search based on a field's value. Other action types (email, script, lookup) cannot launch searches.

Why this answer

A Search workflow action runs a new Splunk search using field values from the current result. It is designed to let analysts pivot from one event to related events by launching a preconfigured search. The search string can include field tokens that are substituted at runtime.

Exam trap

SPLK-1004 often tests the distinction between workflow action types; candidates may confuse Search actions with GET/POST actions, forgetting that only Search actions execute a new Splunk search.

How to eliminate wrong answers

Option B is wrong because Dashboard is not a workflow action type; dashboards are separate UI constructs. Option C is wrong because Report is not a workflow action type either. Option D is wrong because GET actions open a URL, not run a Splunk search.

Option E is wrong because POST actions send an HTTP POST, not a search.

24
Multi-Selecteasy

Which TWO of the following features are supported by Search Macros?

Select 2 answers
A.Hiding complex search syntax
B.Accepting arguments
C.Automatic scheduling
D.Real-time data visualization
E.Database auto-discovery
AnswersA, B

Search macros let administrators encapsulate lengthy, complex SPL into a short reusable name, so users invoke the macro without seeing the underlying syntax. This abstraction directly satisfies the stem's requirement, simplifying searches and enforcing consistent, governed logic across the environment.

Why this answer

Option A (Hiding complex search syntax) is correct because Search Macros in Splunk let you encapsulate long or complicated search strings behind a simple macro name, so users can run advanced searches without writing the full SPL themselves. Option B (Accepting arguments) is correct because macros can be defined with argument placeholders (e.g., $arg1$, $arg2$) that are substituted at runtime, allowing a single macro to be reused with different values. Option C (Automatic scheduling) is not a Search Macro feature; scheduling is handled by saved searches and alerts, not by macros.

Option D (Real-time data visualization) is not provided by macros; visualization is a function of dashboards and panels, not macro definitions. Option E (Database auto-discovery) is unrelated to Search Macros; discovery of data sources is handled by other Splunk components such as the monitoring console or DB Connect, not by macros.

Exam trap

SPLK-1004 often tests whether candidates attribute scheduling or visualization features to macros, when macros are purely search-time SPL reuse and argument-passing tools.

25
MCQmedium

A Splunk power user is creating a workflow action of type 'Search' that will run a secondary search when an analyst clicks a field value in the results. The user wants the secondary search to open in a new browser tab and to pass the clicked field value as an argument to the search. Which configuration should the user apply?

A.Set the 'Link URI' field to a URL that includes the search string and enable 'Open in new window'.
B.Set the 'Search string' field to the secondary search using `$field_value$` and enable 'Run in background'.
C.Set the 'Link URI' field to the search string and enable 'Open in new window'.
D.Set the 'Search string' field to the secondary search using `$field_value$` and enable 'Open in new window'.
AnswerD

For a 'Search' type workflow action, the secondary search is defined in the 'Search string' field. Using `$field_value$` allows the clicked field value to be passed as an argument. Enabling 'Open in new window' makes the search open in a new browser tab. This combination meets both requirements: passing the field value and opening in a new tab.

Why this answer

A workflow action of type 'Search' requires the secondary search to be defined in the 'Search string' field. The clicked field value is passed using a token such as `$field_value$`. To make the search open in a new browser tab, the 'Open in new window' option must be enabled.

This configuration satisfies both the argument passing and the new-tab requirement.

Exam trap

The trap here is using the 'Link URI' field for a search-type workflow action instead of the 'Search string' field.

26
MCQhard

A security team defines a macro `threat_lookup(2)` with arguments `$ip$` and `$severity$`. In the macro definition UI they set the validation for `$severity$` to a regular expression of `^(low|medium|high)$` and a validation error message of "Severity must be low, medium, or high." An analyst runs `| `threat_lookup("10.1.1.5", "critical")``. What is the result?

A.The macro expands and runs normally because validation is only enforced when the macro is invoked from a scheduled search.
B.The macro expands and runs, but `$severity$` is replaced with an empty string because the value did not match the regex.
C.The macro expands and runs, and Splunk logs a warning to `splunkd.log` but does not interrupt the search.
D.The search fails before expansion and returns the validation error message "Severity must be low, medium, or high."
AnswerD

When a supplied argument does not match the validation regular expression, Splunk refuses to expand the macro and returns the configured validation error message to the user. Because `critical` is not one of the permitted values, the analyst sees the custom message instead of a search result, which makes the mistake explicit.

Why this answer

Macro argument validation compares each supplied value to the configured expression before expansion. A value outside the permitted set halts expansion and returns the custom validation error message, so the analyst immediately learns that `critical` is not an accepted severity and can correct the call rather than running a search on bad input.

Exam trap

The trap here is believing validation only logs a warning or applies to scheduled searches, when it actually blocks expansion interactively.

27
MCQeasy

When creating a workflow action, what is the 'Label' field used for?

A.The internal name used in configurations
B.The field name to which the action is attached
C.The search query executed by the action
D.The name shown in the user interface
AnswerD

The Label field supplies the human-readable name displayed for the workflow action in the Splunk interface, letting users identify the action when configuring alerts or reports. It is purely presentational and does not affect the action's underlying command or execution logic.

Why this answer

The 'Label' field in a Splunk workflow action controls the human-readable text that appears in the event action menu (the dropdown that shows when you click an event in Search results). It is purely a display string — it does not affect how the action is matched, executed, or stored. Administrators use it to give users a meaningful, descriptive name like 'Search for this IP' rather than an internal identifier.

Exam trap

SPLK-1004 often tests the distinction between the workflow action's 'Name' (internal stanza identifier) and its 'Label' (UI display text), so candidates who conflate configuration identity with user-facing presentation pick the wrong answer.

How to eliminate wrong answers

Option A is wrong because the internal name used in configurations is the 'Name' field (the stanza identifier in workflow_actions.conf), not the Label. Option B is wrong because the field the action attaches to is defined by the 'Field name' setting (or the apply-to field), which determines when the action appears. Option C is wrong because the search query executed by the action is defined in the 'Search string' or 'URI' field, not the Label.

28
MCQeasy

Where can users find a list of all currently available workflow actions?

A.Settings > Search
B.Settings > User interface
C.Settings > Fields > Workflow actions
D.Settings > Data inputs
AnswerC

Workflow actions are configured under Settings > Fields > Workflow actions, where administrators can view, create and manage the actions available to users. This location lists every currently defined action, satisfying the requirement to find all available workflow actions in one place.

Why this answer

Workflow actions are managed under Settings > Fields > Workflow actions, where administrators can view, create, edit, and enable/disable all workflow actions available in the Splunk instance. This is the central management page for both GET and POST workflow actions, and it lists every action along with its app context and permissions.

Exam trap

SPLK-1004 often tests the exact navigation path, and candidates confuse 'Settings > Fields > Workflow actions' with 'Settings > User interface' because both sound like they involve UI customization.

How to eliminate wrong answers

Option A is wrong because Settings > Search contains search-related preferences such as search head settings and search limits, not workflow actions. Option B is wrong because Settings > User interface holds UI preferences like theme, default app, and time zone — not workflow action definitions. Option D is wrong because Settings > Data inputs is where you configure data ingestion inputs (files, ports, scripts), which is unrelated to workflow actions.

29
MCQmedium

What is the maximum number of arguments a search macro can accept?

A.Unlimited (subject to system resources)
B.1
C.10
D.5
AnswerA

Search macros accept any number of arguments, bounded only by available system resources rather than a fixed ceiling. This satisfies the stem's request for the maximum, since Splunk imposes no documented limit on parameter count. Competing figures such as ten or twenty reflect other macro constraints, not argument quantity.

Why this answer

Search macros in Splunk can accept any number of arguments; there is no hard-coded limit such as 5, 10, or 1. The only practical constraints are system resources and the complexity of the macro definition itself. Arguments are defined in the macro's argument list and referenced as $arg1$, $arg2$, etc., and Splunk will accept as many as you define.

Exam trap

SPLK-1004 often tests whether candidates assume a fixed numeric limit (like 5 or 10) for macro arguments, when in fact Splunk imposes no such cap.

How to eliminate wrong answers

Option B is wrong because a macro can accept more than one argument — single-argument macros are just the simplest case, not a limit. Option C is wrong because 10 is not a documented maximum; Splunk does not enforce a ten-argument cap. Option D is wrong because 5 is likewise not a real limit — it may be a common number in examples, but it is not a technical ceiling.

30
MCQhard

A Splunk administrator is creating a workflow action that will appear when a user clicks on a field value in search results. The action should open a new browser tab and pass the field value to an external ticketing system via a URL. The administrator wants to ensure that the field value is properly URL-encoded and that the action is only available for events where the field `status` equals `open`. Which of the following configurations will achieve this?

A.Set the workflow action type to 'search', set the URI to the external system's URL with `$status$` appended, and add a condition `status=open`.
B.Set the workflow action type to 'link', set the URI to the external system's URL with `$status$` appended, and add a condition `status=open`.
C.Set the workflow action type to 'link', set the URI to the external system's URL with `$status$` appended, and add a condition `status="open"`.
D.Set the workflow action type to 'link', set the URI to the external system's URL with `$status|u$` appended, and add a condition `status=open`.
AnswerD

This configuration uses the `|u` filter to URL-encode the field value, which is essential for safely passing the value in a URL. The condition `status=open` correctly limits the action to events where the status field equals 'open'. The action type 'link' opens the URI in a new tab by default when configured appropriately, and this meets all requirements.

Why this answer

To open an external URL with a field value, the workflow action type must be 'link', and the field value should be URL-encoded using the `|u` filter to ensure it is safe for transmission. The condition `status=open` restricts the action to relevant events. This combination satisfies the requirement to open a new tab and pass the encoded value to the ticketing system.

Exam trap

The trap here is confusing the 'search' action type with 'link', or forgetting to URL-encode the field value, which can cause the link to break.

31
MCQhard

You have a macro that uses a search command that is not allowed by the user's role. What happens when the user tries to run the macro?

A.The macro is blocked from expanding
B.The user is prompted to elevate privileges
C.The macro expansion succeeds but the command fails
D.The macro is automatically sanitized
AnswerC

Macro expansion occurs before permission checks, so the definition resolves and the disallowed search command is injected into the query. Splunk then evaluates the expanded search against the user's role, and the command fails because the role lacks the capability. The constraint satisfied is that role-based restrictions apply to the expanded command, not to the macro itself.

Why this answer

When a macro contains a search command that the user's role does not permit, the macro expansion itself succeeds because macro expansion is a text substitution that occurs before command authorization. The resulting search then fails when the unauthorized command is executed, typically with a permission error. Thus, the macro expands but the command fails.

Exam trap

SPLK-1004 often tests the timing of macro expansion versus command authorization, causing candidates to think the macro is blocked entirely rather than just the command failing.

How to eliminate wrong answers

Option A is wrong because macros are not blocked from expanding based on command permissions; expansion is a syntactic operation. Option B is wrong because Splunk does not prompt for privilege elevation; it simply denies the command. Option D is wrong because macros are not automatically sanitized; the unauthorized command remains and causes a failure.

32
MCQhard

A Splunk administrator is configuring a workflow action that will appear when a user clicks on a field value in search results. The action should open a new browser tab to an external threat intelligence website, passing the field value as a query parameter. The administrator sets the action type to `link` and configures the URI as `https://threatintel.example.com/search?q=$value$`. However, when testing, the link opens in the same tab, replacing the Splunk UI. Which setting must be adjusted to ensure the link opens in a new tab?

A.Set `target` to `_blank` in the workflow action configuration.
B.Enable `popup` in the workflow action configuration.
C.Set `link.uri` to include `target="_blank"` as an HTML attribute.
D.Change the action type from `link` to `search`.
AnswerA

In Splunk workflow actions of type `link`, the `target` setting controls the browser target. Setting it to `_blank` causes the link to open in a new tab or window. Without this, the default target is `_self`, which replaces the current page. This is the correct setting to change for the described behavior.

Why this answer

For workflow actions of type `link`, the `target` setting determines where the link opens. The default is `_self`, which replaces the current page. To open in a new tab, set `target` to `_blank`.

This setting is separate from the URI and must be configured explicitly. Changing the action type or embedding HTML attributes in the URI will not achieve the desired behavior.

Exam trap

The trap here is assuming that the URI itself can control the browser target or that a `popup` option exists, rather than using the dedicated `target` setting.

33
Multi-Selectmedium

Which THREE of the following are valid ways to manage Search Macros in Splunk?

Select 3 answers
A.Using the REST API
B.Using the 'Indexes' configuration page
C.Via the 'Saved Searches' menu
D.Editing the macros.conf file directly
E.Using the Splunk Web interface under Settings
AnswersA, D, E

The Splunk REST API exposes endpoints under /services/data/macros, allowing macros to be created, listed, updated and deleted programmatically. This satisfies the stem's requirement for a valid management method, and suits automation or bulk changes where the web interface is impractical.

Why this answer

Option A is correct because Splunk exposes search macros through the REST API, specifically the /servicesNS/<user>/<app>/configs/conf-macros endpoint, allowing programmatic creation, update, and deletion of macro definitions. Option D is correct because macros are stored in macros.conf, so editing this configuration file directly (followed by a reload or restart) is a valid way to manage them. Option E is correct because Splunk Web provides a Settings > Advanced Search > Search Macros page where administrators can create and edit macros through the UI.

Option B is incorrect because the Indexes configuration page manages index definitions and settings, not search macros. Option C is incorrect because the Saved Searches menu manages saved searches, reports, and alerts, not search macros.

Exam trap

SPLK-1004 often tests whether candidates confuse configuration file ownership — assuming macros live in savedsearches.conf or indexes.conf rather than macros.conf, which leads them to pick the 'Saved Searches' or 'Indexes' options.

34
Multi-Selecthard

Which TWO of the following are true regarding the order of operations when a macro is used in a search?

Select 2 answers
A.Macros are expanded before search execution
B.Macros are expanded based on the current app context
C.Macros are expanded by the Indexer
D.Macros are expanded by the browser
E.Macros are expanded after the search finishes
AnswersA, B

Splunk resolves macros during search parsing, substituting the macro definition into the search string before the search processor executes it. Expansion therefore precedes execution, meaning any syntax error inside the macro surfaces at parse time rather than runtime.

Why this answer

Option A is correct because macro expansion occurs at search time, before the search is actually executed — the search head parses the search string, resolves any macro references into their underlying search fragments, and then runs the resulting expanded search. Option B is correct because macro expansion is context-sensitive: the current app context determines which macros are visible and how they resolve, so the same macro name can expand differently depending on the app in which the search runs. Option C is wrong because the indexer handles indexing and search-time data retrieval, not macro expansion, which is a search-head parsing activity.

Option D is wrong because the browser merely submits the search; expansion happens server-side on the search head, not client-side. Option E is wrong because expansion must precede execution — a macro cannot be resolved after the search has already finished.

Exam trap

SPLK-1004 often tests the misconception that indexers or the browser perform macro expansion, when in fact expansion is a search-head, pre-execution, app-context-aware operation.

35
MCQmedium

A security team maintains a search macro named `net_flow_analysis` in the `syslog` app. The macro is defined with `definition = index=network sourcetype=firewall | stats count by src_ip, dest_ip` and no arguments. An analyst runs a search in the Search & Reporting app: `| net_flow_analysis`. What is the result of this search?

A.The search returns only the event count because the `stats` command requires the `search` command before it.
B.The search returns an error because the macro definition contains a pipe and must be invoked with the `search` command.
C.The search returns the results of `index=network sourcetype=firewall | stats count by src_ip, dest_ip`.
D.The search returns an error because the macro is defined in the `syslog` app but invoked from the Search & Reporting app.
AnswerC

Invoking a macro with no arguments as the first command in a search causes Splunk to expand the macro definition in place. The definition `index=network sourcetype=firewall | stats count by src_ip, dest_ip` becomes the effective search, so the results are exactly those of that pipeline. The leading pipe before the macro name is the standard invocation syntax.

Why this answer

A search macro with no arguments expands directly into its definition when invoked as the first command after a pipe. The definition includes both a search clause and a stats pipeline, so the expanded search is valid and returns the stats results. Cross-app usage is allowed when the macro is shared appropriately, and the presence of a pipe inside the definition is normal.

Exam trap

The trap here is assuming that a macro definition containing a pipe cannot be invoked directly without an explicit search command.

36
Multi-Selectmedium

A team is building a workflow action that will appear when an analyst clicks a `dest_ip` field in search results. They want the action to open an internal ticketing system, pre-filling the ticket form with the destination IP and the event's timestamp. Which two configuration elements are required for this workflow action to function? (Choose two.)

Select 2 answers
A.A scheduled search that periodically refreshes the ticketing system's field list.
B.A search macro that validates the `dest_ip` and `timestamp` values before the action runs.
C.A Link URI that contains the field tokens `$dest_ip$` and `$timestamp$` where the values should be inserted.
D.A field name of `dest_ip` so the action is offered when the analyst clicks that field's value.
E.A `props.conf` stanza that maps `dest_ip` to the ticketing system's expected field name.
AnswersC, D

The Link URI is where field tokens are substituted to construct the target URL. Including `$dest_ip$` and `$timestamp$` ensures the ticketing form receives the clicked destination IP and the event time, so the analyst does not retype them. Without these tokens the pre-filled values would be absent.

Why this answer

A workflow action needs a Link URI containing the tokens to substitute and a field name that determines where the action is offered. Together these let the analyst click a destination IP and open a ticketing form pre-filled with that IP and the event timestamp. Macros, scheduled searches, and field mappings are not required for this behavior.

Exam trap

The trap here is adding unrelated Splunk configuration artifacts such as macros or scheduled searches to a workflow action that only needs a URI and a field name.

37
MCQhard

How can you debug a macro that is not expanding as expected in a search?

A.Restart the indexer
B.Check the debug log in splunkd.log
C.Use the 'Inspect Job' feature
D.Re-index the data
AnswerC

Inspect Job exposes the fully expanded search string after macro substitution, revealing exactly what each macro resolved to and where arguments were dropped or misapplied. This lets you compare the intended expansion against the actual output and correct the macro definition.

Why this answer

The 'Inspect Job' feature in Splunk shows the fully expanded search string, including how macros were resolved, which arguments were passed, and any errors encountered during expansion. This makes it the correct tool for diagnosing why a macro is not expanding as expected, since you can see the exact SPL that ran versus what you typed.

Exam trap

SPLK-1004 often tests whether candidates confuse search-time debugging tools (Inspect Job) with platform-level logs (splunkd.log) or infrastructure actions (restart, re-index), which do not reveal macro expansion details.

How to eliminate wrong answers

Option A is wrong because restarting the indexer has no effect on search-time macro expansion — macros are resolved by the search head, not the indexer. Option B is wrong because splunkd.log primarily captures platform-level events (process starts, config reloads, license warnings) and does not show the per-search macro expansion detail that Inspect Job provides. Option D is wrong because re-indexing data only re-ingests raw events and has nothing to do with how a macro is parsed or expanded at search time.

38
Multi-Selectmedium

Which THREE pieces of information are displayed in the 'Search Macros' listing page in Splunk Web?

Select 3 answers
A.Last run time
B.Arguments
C.Owner role
D.Definition
E.Macro Name
AnswersB, D, E

Arguments appear as a column in the Search Macros listing, showing the parameters each macro accepts, such as `(2)` for two arguments. This satisfies the stem's requirement for information displayed on that page, alongside the macro name and its definition or description.

Why this answer

In Splunk Web, the Settings > Advanced Search > Search Macros listing page presents a table of existing macros with columns that include the Macro Name (E), the Arguments (B) that the macro accepts, and the Definition (D) showing the macro's search string or SPL content. These three fields are exactly what the listing displays so users can identify, parameterize, and inspect macros without opening each one. The page does not show a Last run time (A), since Splunk does not track or display macro execution timestamps in this listing.

It also does not show an Owner role (C); ownership/permissions are managed separately and are not a column on the Search Macros listing page.

Exam trap

SPLK-1004 often tests the specific columns displayed in Splunk Web configuration pages, and candidates may confuse the Search Macros listing with other listings like saved searches or reports that include owner and last run time.

39
MCQhard

A Splunk power user creates a workflow action of type 'Search' that uses a field named `clientip` to launch a search for that IP address. The user wants the search to open in a new window and to pass the field value as a search term. Which configuration settings are required to achieve this?

A.Set 'Search String' to `index=main clientip` and enable 'Open in new window'.
B.Set 'Search String' to `index=main $clientip$` and enable 'Open in new window'.
C.Set 'Link URI' to `search?q=index=main $clientip$` and set 'Open in new window' to false.
D.Set 'Link URI' to `search?q=index=main $clientip$` and enable 'Open in new window'.
AnswerB

For a 'Search' type workflow action, the 'Search String' field defines the search to run. The field value is referenced with dollar signs, e.g., `$clientip$`. Enabling 'Open in new window' ensures the search launches in a new browser window. This configuration correctly passes the field value and opens the search as desired.

Why this answer

For a 'Search' type workflow action, the search query is defined in the 'Search String' field, and field values are substituted using dollar signs. Enabling 'Open in new window' ensures the search opens in a new browser window. The other options misuse the 'Link URI' field or fail to substitute the field value correctly.

Exam trap

The trap here is confusing 'Link URI' with 'Search String' for a 'Search' type workflow action, or forgetting the dollar signs around the field name.

40
MCQeasy

A SOC manager wants analysts to be able to right-click a `user` field value in search results and open that user's profile page in the organization's identity portal. The portal accepts a URL of the form `https://idp.example.com/user/<username>`. Which workflow action type and configuration should be used?

A.A GET workflow action with Link URI `https://idp.example.com/user/$user$` and the field name `user`.
B.A POST workflow action with Link URI `https://idp.example.com/user/$user$` and the field name `user`.
C.A search workflow action with a Search string that queries the identity portal index for the username.
D.A GET workflow action with Link URI `https://idp.example.com/user/` and the field name `user`, relying on Splunk to append the value automatically.
AnswerA

A GET workflow action builds a URL from the Link URI, substituting field tokens such as `$user$` with the clicked value. Applying it to the `user` field means right-clicking a username opens the constructed profile URL directly in the browser, which matches the identity portal's expected address format.

Why this answer

Opening an external profile page requires a GET workflow action whose Link URI embeds the field token, because the platform substitutes the clicked field value into that token when building the URL. A POST action or a search action would not produce the browser navigation the portal expects, and omitting the token would drop the username entirely.

Exam trap

The trap here is choosing POST for a simple navigation or assuming the platform appends the field value without an explicit token.

41
MCQeasy

A Splunk user wants to create a workflow action that appears when a user clicks on the `clientip` field in search results. The action should open an external website that displays geolocation information for that IP address. The URL for the website is `https://ipinfo.io/$clientip$`. Which type of workflow action should the user create?

A.Dashboard
B.Script
C.Link
D.Search
AnswerC

A 'Link' type workflow action is designed to open an external URL, optionally passing field values as tokens. The URL `https://ipinfo.io/$clientip$` contains the `$clientip$` token, which will be replaced with the clicked field's value. This exactly matches the requirement to open an external geolocation website for the IP address.

Why this answer

Workflow actions of type 'Link' are used to open external URLs, and they support tokens such as `$clientip$` that are replaced with the clicked field's value. The URL provided is a classic example of a link action. The other types, 'Search', 'Dashboard', and 'Script', are either not valid types or not appropriate for opening an external website.

Exam trap

The trap here is assuming that a workflow action to an external site should be of type 'Search' because it involves a search-like token.

Ready to test yourself?

Try a timed practice session using only Macros And Workflow Actions questions.