XSOAR-Engineer Playbook Development Practice Question
An engineer is writing a playbook expression to filter a list of endpoints from context. They want to return only the endpoints where the 'OS' field equals 'Windows'. Which built-in transformer syntax is correct?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Using the 'Val' transformer with a conditional expression like 'val.OS == \'Windows\''
The grep transformer or filter syntax using jq-like syntax or XSOAR built-in transformers is used. Specifically, the 'Access' or 'Filter' transformer with condition syntax is applied.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Using the 'Val' transformer with a conditional expression like 'val.OS == \'Windows\''
Why this is correct
XSOAR transformers allow filtering lists using expressions where 'val' represents the iterated object.
- ✗
${Endpoints.OS(val == 'Windows')}
Why it's wrong here
This syntax is invalid for filtering lists in XSOAR context.
- ✗
${Endpoints | filter(OS == 'Windows')}
Why it's wrong here
The 'filter' keyword is not a direct pipe operator in XSOAR context expressions.
- ✗
${Endpoints.[?(OS == 'Windows')] }
Why it's wrong here
This is not the standard transformer syntax in XSOAR.
About these practice questions
One of 219 original XSOAR-Engineer practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Palo Alto Networks exam blueprint
This XSOAR-Engineer practice question is part of Courseiva's free Palo Alto Networks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the XSOAR-Engineer exam.