Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam XSIAM-Engineer Topic 2 Question 143 Discussion

Actual exam question for Palo Alto Networks's XSIAM-Engineer exam
Question #: 143
Topic #: 2
A company is automating Cortex XSIAM agent deployment using Ansible. The challenge is to install the agent and ensure it's registered with the correct agent group dynamically, without hardcoding group names into the playbook, as new groups are frequently created. The XSIAM API documentation provides endpoints for retrieving agent group information. Which of the following Ansible playbook snippets best demonstrates the concept of dynamic agent group assignment using the XSIAM API during installation?

Suggested Answer: B Vote an answer

Option B correctly demonstrates the concept of dynamic agent group assignment using the XSIAM API. It first uses the 'uri' module to make an API call to , authenticating with a bearer token. This API call retrieves all existing agent groups from the XSIAM console. The subsequent installation step then uses Jinja2 templating Cxsiam_groups.json.reply.agent_groups I selectattr('name', 'equalto', 'Linux_Servers') I map(attribute='name') I first') to dynamically select the name of the 'Linux_Servers' group from the API response and pass it to the agent installer. This is a robust method for ensuring agents are assigned to correct groups, even if group IDs or exact names change, as long as a lookup logic (like matching by a known name 'Linux_Servers') is maintained. Option A uses a regex for group naming, which is not dynamic in relation to XSIAM console groups. Option C hardcodes the group. Option D is a post-installation change, not during initial deployment, and doesn't dynamically fetch groups. Option E uses conditional logic but still relies on hardcoded group names within the playbook, not fetching them dynamically from the XSIAM API.

by Kent at Apr 25, 2026, 01:46 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.