XSIAM-ENGINEER practice question 8 of 15
A sub-playbook is configured to loop with a For Each Input. The following inputs are given to the sub- playbook: Input x: W,X,Y,Z Input y: a,b,c,d Input z: 9 Which inputs will be used for the second iteration of the loop?
Full set: 59 questionsWhen a sub-playbook is configured to loop with the "For Each Input" option, it iterates through array inputs in parallel. For each iteration, it takes the element at the corresponding index from each input array. If an input is a single value instead of an array, that same single value is used for every iteration of the loop. In this scenario, for the second iteration, the sub-playbook will take the second element from Input x (which is 'X'), the second element from Input y (which is 'b'), and the single value provided for Input z (which is '9').
A. a,b,c,d: This is the entire array for Input y. The loop processes one element per iteration, not the whole array at once.
C. X,b: This option is incomplete as it omits the value for Input z, which is a required input and is used in every iteration.
D. X,b,c: This option incorrectly combines the second elements from Input x and Input y with the third element from Input y.
1. Palo Alto Networks, Cortex XSOAR 8 Administrator's Guide: In the section on "Sub-playbook Loops," the documentation states, "If you have multiple array inputs, the sub-playbook runs for each item in the array... In the second run, it uses the second IP and second domain, and so on." It also clarifies, "If you have an array input and a single value input, the sub-playbook runs for each item in the array, and uses the single value in each run." This directly supports the logic that the second iteration uses X, b, and 9. (Reference: docs.paloaltonetworks.com/cortex/cortex-xsoar/8/cortex-xsoar-administrators-guide/playbooks/playbook-tasks/sub-playbook-loops)
Keep practicing
Take the free XSIAM-ENGINEER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other XSIAM-ENGINEER practice questions
- Question 1Which two requirements must be met for a Cortex XDR agent to successfully use the Broker …
- Question 2What is the purpose of using rolling tokens to manage Cortex XDR agents?
- Question 3Which action will prevent the automatic extraction of indicators such as IP addresses and…
- Question 4While using the remote repository on a Development XSIAM tenant, which two objects can be…
- Question 5Which common issue can result in sudden data ingestion loss for a data source that was pr…
- Question 6A Cortex XDR agent is installed on an endpoint, but the agent is unable to download conte…
