Courseiva

CCNA Cortex Xsoar And Automation Questions

45 questions · Cortex Xsoar And Automation topic · All types, answers revealed

1
MCQmedium

You are creating a custom integration. Which file is required to define the integration parameters, scripts, and commands?

A.script-NAME.py
B.integration-NAME.json
C.README.md
D.integration-NAME.yml
AnswerD

The integration-NAME.yml file is the definition manifest that declares the integration's parameters, scripts and commands, which the platform parses when loading the custom integration. Without this YAML definition, the integration has no declared configuration to execute.

Why this answer

In Cortex XSOAR, a custom integration is defined by a YAML file (conventionally `integration-NAME.yml`) that specifies the integration's metadata, parameters, commands, and points to the Python script implementing the logic. This YAML is the required definition file for the integration.

Exam trap

The trap is confusing the definition file (YAML) with the implementation file (Python) — candidates pick the `.py` file because it contains the actual logic, but the question asks for the file that defines parameters, scripts, and commands, which is the YAML.

How to eliminate wrong answers

Option A is wrong because `script-NAME.py` is the Python implementation file referenced by the YAML, not the definition file itself — it's required for execution but doesn't define parameters or commands. Option B is wrong because `integration-NAME.json` is not the standard XSOAR integration definition format; XSOAR uses YAML. Option C is wrong because `README.md` is documentation, not a functional definition file.

2
MCQhard

If an automation script is taking too long to run, how can you improve its performance?

A.Refactor the script to use batch processing instead of individual API calls
B.Add more logging to the script
C.Change the script language to Java
D.Increase the integration timeout limit
AnswerA

Batch processing collapses many individual API calls into fewer grouped requests, cutting per-call network round-trip and authentication overhead that dominates runtime. This directly addresses the stem's constraint of excessive execution time, since latency scales with call count rather than payload size.

Why this answer

The dominant performance cost in XSOAR automation scripts is usually the number of API calls made to the Cortex XSOAR server or external systems. Refactoring to batch operations — for example using demisto.executeCommand with multiple entries, or the batch endpoints of the underlying API — reduces round-trip overhead and dramatically speeds up execution. This addresses the root cause (I/O latency and per-call overhead) rather than masking it.

Exam trap

SecOps-Pro often tests the misconception that raising the timeout limit or switching languages fixes slow automations, when the real fix is reducing API call volume through batching.

How to eliminate wrong answers

Option B is wrong because adding more logging increases I/O and processing overhead, making the script slower, not faster; logging is for diagnostics, not performance. Option C is wrong because changing the language to Java does not inherently improve performance — the bottleneck is API round-trips, not interpreter speed, and rewriting introduces risk without addressing the cause. Option D is wrong because increasing the integration timeout only allows a slow script to run longer before failing; it does not make the script complete faster and can mask the underlying inefficiency.

3
Multi-Selecteasy

Which TWO settings are configurable within an Integration Instance?

Select 2 answers
A.Integration timeout
B.Incident retention policy
C.Proxy settings
D.Playbook triggering logic
E.Indicator expiration time
AnswersA, C

The integration timeout is a per-instance parameter controlling how long the integration waits for a response before aborting. Configuring it within the Integration Instance satisfies the stem by letting each instance's execution window be tuned independently of global platform defaults.

Why this answer

Within an Integration Instance, the Integration timeout (A) is configurable because each instance defines how long the integration command may run before it is aborted, allowing tuning per instance to match the target system's response characteristics. Proxy settings (C) are also configurable at the Integration Instance level, since an instance can be routed through a specific proxy (or no proxy) to reach an on-prem or external endpoint. Incident retention policy (B) is a system/instance-wide data management setting, not part of an integration instance's configuration.

Playbook triggering logic (D) belongs to playbook configuration (triggers, tasks, and conditions), not to the integration instance. Indicator expiration time (E) is governed by indicator type/reputation settings, not by an integration instance.

Exam trap

SecOps-Pro often tests the confusion between per-instance settings (timeout, proxy) and global/server-level settings (retention, indicator expiration), causing candidates to pick options that are not configurable within an integration instance.

4
MCQmedium

A Cortex XSOAR engineer is building a playbook that must run a specific enrichment task only when a prior task completes with a status of 'Failed'. Where in the playbook task configuration should the engineer define this conditional behavior?

A.In the task's 'Inputs' tab, map the prior task's status to a required input field of the current task.
B.In the task's 'Conditions' tab, add a condition that references the prior task's status and select 'Failed'.
C.In the playbook settings, enable 'Run only on task failure' and select the prior task.
D.In the task's 'Advanced' tab, set the 'Run Condition' to 'Failed' and reference the prior task by name.
AnswerB

The Conditions tab allows defining task-level conditions that evaluate prior task outputs or context. Here, referencing the prior task's status and matching 'Failed' ensures the task executes only under that condition, which is the intended design for conditional execution in Cortex XSOAR.

Why this answer

Cortex XSOAR uses task-level conditions to control execution flow. By adding a condition in the task's Conditions tab that checks the prior task's status against 'Failed', the engineer ensures the task runs only in that scenario. This is the standard method for conditional branching within playbooks.

Exam trap

The trap here is confusing data mapping with execution control, assuming that passing a status into inputs or using playbook settings can conditionally run a task.

5
MCQeasy

A security analyst is creating a new Cortex XSOAR playbook and wants to add a task that sends an email notification to the incident owner. Which task type should the analyst select to achieve this?

A.A 'Manual' task that prompts the analyst to send an email manually.
B.An 'Automated' task that uses the 'send-mail' command or a mail integration.
C.A 'Data Collection' task that gathers the owner's email address and then triggers a separate playbook.
D.A 'Conditional' task that checks if the owner exists, then uses a script to send the email.
AnswerB

An Automated task executes a command or script without human intervention. By selecting an Automated task and configuring it with the 'send-mail' command or a mail integration, the playbook can automatically send an email to the incident owner. This is the standard method for automated notifications.

Why this answer

To send an automated email notification, the analyst should use an Automated task configured with a mail-sending command or integration. Automated tasks execute commands directly, enabling actions like sending emails without manual intervention. This is the most efficient and correct task type for this requirement.

Exam trap

The trap here is assuming that a Manual or Data Collection task is needed because email involves a human recipient, but the sending action itself is automated.

6
MCQmedium

You want to share a playbooks across multiple tenants in a multi-tenant environment. Where should you place the playbook?

A.Private Content Folder
B.Child Tenant
C.Integration Settings
D.Main Account
AnswerD

Placing the playbook in the Main Account satisfies the cross-tenant sharing constraint, because Microsoft Sentinel's central workspace hosts playbooks that other tenants can invoke through linked tenant configurations. Playbooks stored there remain accessible to all onboarded tenants, unlike those scoped to a single tenant's resource group.

Why this answer

In a Cortex XSOAR multi-tenant deployment, playbooks intended for sharing across tenants must be placed in the Main Account, which acts as the parent tenant and distributes content to child tenants. Content in the Main Account is visible and usable by all child tenants, enabling centralized playbook management.

Exam trap

The trap is assuming any shared folder or the child tenant itself can host cross-tenant content — candidates must know that only the Main Account propagates playbooks to all tenants.

How to eliminate wrong answers

Option A is wrong because the Private Content Folder is scoped to a single tenant and is not shared across tenants. Option B is wrong because a Child Tenant is a downstream tenant — placing a playbook there limits it to that tenant and does not propagate upward or to siblings. Option C is wrong because Integration Settings configure connections to external systems (credentials, endpoints), not playbook distribution scope.

7
MCQeasy

Where can you view the 'Context Data' for a specific incident?

A.Playbook Editor
B.Integration Log
C.System Configuration
D.Context Data tab
AnswerD

The Context Data tab surfaces the enrichment artefacts — entity mappings, threat intelligence and related alerts — that Microsoft Sentinel attaches to an incident, letting analysts pivot from the incident blade to the underlying evidence without running separate queries.

Why this answer

The context data is visible in the 'Context Data' tab within the Incident view.

8
MCQmedium

An automation engineer is creating a playbook in Cortex XSOAR that must run a custom Python script to parse a raw email attachment. The script requires access to the incident's custom field 'attachment_hash' and must return a dictionary with keys 'verdict' and 'score'. Which task type should be used, and how are inputs and outputs configured for this task?

A.Use a 'Script' task; specify the script name in the task configuration, map the incident field to a script argument, and the script returns a dictionary that is accessible in later tasks via the task's context key.
B.Use a 'Manual' task; the analyst manually enters the required hash and the script's output must be manually copied into the incident context.
C.Use a 'Command' task; the script must be integrated as a command in an integration, and the output is automatically mapped to incident fields without additional configuration.
D.Use a 'Conditional' task; the script is embedded in the task's condition expression, and the output is stored in the incident's custom fields automatically.
AnswerA

A Script task is designed to execute a custom script within a playbook. Inputs are passed via the task's arguments, which can be mapped from the incident context, such as the custom field 'attachment_hash'. The script's return value (a dictionary) is stored under the task's context key, allowing subsequent tasks to reference keys like 'verdict' and 'score'.

Why this answer

The scenario requires executing a custom Python script that takes an incident field as input and returns structured data. A Script task is the correct choice because it allows running a custom script with mapped arguments and captures the returned dictionary under a context key for later use. Command tasks run integration commands, Manual tasks require human input, and Conditional tasks only evaluate logic.

Exam trap

The trap here is confusing a Command task with a Script task; Command tasks execute integration commands, while Script tasks run custom scripts.

9
MCQeasy

You are configuring a new integration instance for a third-party threat intelligence feed. Where should you verify the connection status and logs for this instance?

A.Cortex XSOAR Settings > Advanced > Server Configuration
B.Cortex XSOAR Settings > Integrations > Instances
C.Cortex XSOAR Settings > Playbooks > Automation
D.Cortex XSOAR Settings > Objects > Indicators
AnswerB

Cortex XSOAR's Instances page exposes each integration instance's connection status and fetch logs, letting you confirm the third-party feed is reachable and ingesting indicators. This directly satisfies the stem's requirement to verify connectivity and logs for the newly configured instance, rather than editing its parameters or reviewing playbook executions.

Why this answer

Integration instances are managed under Settings > Integrations > Instances, where each configured instance shows its connection status (e.g., 'Connected', 'Disconnected', 'Error') and provides access to instance-specific logs. This is the canonical location to verify that a third-party threat intel feed is reachable and authenticated.

Exam trap

The trap is assuming integration health lives under a generic 'Settings' or 'Server' area — candidates unfamiliar with XSOAR's UI hierarchy pick Server Configuration because it sounds like the place for connection diagnostics.

How to eliminate wrong answers

Option A is wrong because Server Configuration holds global server settings like engine tuning and authentication, not per-integration instance status. Option C is wrong because Playbooks > Automation is where playbook automations are managed, not integration instances. Option D is wrong because Objects > Indicators is the indicator repository, not the integration management area.

10
MCQeasy

When designing a layout, which widget is used to display the timeline of events that occurred within a case?

A.Incident List
B.Grid
C.Timeline
D.Markdown
AnswerC

The Timeline widget renders case events chronologically, giving analysts a sequential audit trail of alerts, actions and artefacts. It directly satisfies the layout requirement to visualise event order within a case, unlike overview or graph widgets that aggregate or relate data rather than sequence it.

Why this answer

The Timeline widget is specifically designed to show the chronological history of case events.

11
MCQmedium

A security team is using Cortex XSOAR to automate phishing investigations. An engineer needs to store the original sender's email address from the incident's custom fields into a playbook context key for later use in a conditional task. Which of the following is the correct way to reference and assign this value?

A.Use a script task to call the getIncident function and extract the sender field.
B.Use the ${incident.details} syntax to access the sender's email address from the incident details.
C.Use the ${incident.sender} syntax to directly access the sender's email address from the incident.
D.Use the ${incident.customFields.sender} syntax to read the value and assign it to a context key using a Set task.
AnswerD

This is correct because incident custom fields are accessed via the incident.customFields object in Cortex XSOAR. The Set task can then assign this value to a playbook context key, making it available for subsequent tasks. This approach ensures the data is properly extracted and stored for conditional logic.

Why this answer

In Cortex XSOAR, incident custom fields are stored under the incident.customFields object. To use a custom field value in a playbook, you reference it as ${incident.customFields.fieldName}. A Set task can then assign this to a context key.

This is the standard and correct method for extracting and storing custom field data for later use.

Exam trap

The trap here is assuming that custom fields are directly accessible via incident.fieldName instead of incident.customFields.fieldName.

12
MCQmedium

A SecOps engineer is building a Cortex XSOAR playbook to process phishing incidents. They need a task that will execute a custom Python script to parse email headers and then pass the extracted sender domain to the next task. Which type of playbook task should they use to run the custom Python code?

A.A 'Conditional' task that evaluates the email headers against a set of rules.
B.A 'Manual' task that requires an analyst to input the sender domain.
C.A 'Data Collection' task that prompts for the sender domain via a form.
D.A 'Script' task that runs a custom automation script.
AnswerD

A Script task is designed to execute custom automation scripts written in Python or JavaScript within Cortex XSOAR. This task type allows the engineer to parse email headers, extract the sender domain, and store it in the context for subsequent tasks. It is the correct choice for running bespoke code as part of a playbook.

Why this answer

The Script task is specifically designed to execute custom automation scripts within a playbook. It allows the engineer to run Python code that can parse email headers, extract the sender domain, and save it to the context for use by later tasks. Manual, Conditional, and Data Collection tasks do not support running custom code and are intended for human interaction or branching logic.

Exam trap

The trap here is confusing a Conditional task with a Script task, thinking that conditions can execute code to extract data.

13
MCQeasy

A SOC analyst is building a playbook in Cortex XSOAR to automate the investigation of suspicious login alerts. The playbook needs to query an external threat intelligence platform for the reputation of the source IP address. Which type of task should the analyst use to perform this action?

A.A 'Command' task that executes an integration command to query the threat intelligence platform.
B.A 'Data Collection' task to prompt the analyst for the IP reputation.
C.A 'Conditional' task to evaluate the IP address against a list of known malicious IPs.
D.A 'Manual' task to instruct the analyst to look up the IP reputation manually.
AnswerA

A Command task allows you to run a specific integration command, such as ip or domain, to query external systems. This is the standard way to enrich indicators in Cortex XSOAR. The task will execute the command and store the results in the context for further use.

Why this answer

To query an external threat intelligence platform, the playbook should use a Command task that runs the appropriate integration command. This task type executes the command and automatically stores the results in the playbook context, enabling subsequent tasks to use the reputation data.

Exam trap

The trap here is confusing Command tasks with Conditional or Data Collection tasks, which serve different purposes.

14
Multi-Selecteasy

Which THREE of the following are valid components of a standard Content Pack?

Select 3 answers
A.Scripts
B.Dashboards
C.System Logs
D.Playbooks
E.Integration instances
AnswersA, B, D

Scripts are a valid Content Pack component, satisfying the stem's requirement to identify standard building blocks. Content Packs bundle reusable SecOps artefacts — playbooks, parsers, dashboards, and scripts — for deployment across tenants. Scripts extend automation logic beyond built-in actions, so they qualify alongside the other valid components.

Why this answer

A standard Content Pack is a bundled, versioned collection of reusable configuration and automation assets that can be installed into a platform (such as Cortex XSOAR or a similar SOAR/security platform). Option A (Scripts) is correct because automation scripts are a core content-pack component, packaged so they can be executed by playbooks or commands. Option B (Dashboards) is correct because dashboards and widgets are commonly shipped inside content packs to provide prebuilt visualizations and reporting.

Option D (Playbooks) is correct because playbooks are the primary automation artifacts distributed in content packs, defining the orchestrated response workflows. Option C (System Logs) is not a component of a content pack; logs are runtime output generated by the platform, not packaged content. Option E (Integration instances) is not a component either; instances are environment-specific configurations created when an integration is enabled, whereas the content pack contains the integration definition itself, not the configured instance.

15
MCQmedium

While designing a playbook, an automation engineer needs a task to execute only when the incident severity is exactly 'High'. Which of the following conditions should be used in the task's 'Run if' field?

A.severity equals 'High'
B.severity = 'High'
C.severity == 'High'
D.severity is 'High'
AnswerC

This condition uses the equality operator to compare the incident's severity field to the string 'High'. In Cortex XSOAR playbook conditional expressions, this syntax correctly evaluates to true only when the severity matches exactly, ensuring the task runs exclusively for high-severity incidents.

Why this answer

In Cortex XSOAR playbook tasks, the 'Run if' field uses Python-like expressions to evaluate conditions. To check if the incident severity equals 'High', the equality operator '==' is required. This ensures the task runs only when the condition is true.

Exam trap

The trap here is confusing assignment (=) with comparison (==), or using non-standard operators like 'equals' or 'is' which are not valid in playbook conditions.

16
MCQeasy

Which tab in the Incident view provides a real-time, user-friendly summary of the investigation status?

A.Indicators
B.Work Plan
C.Summary
D.Evidence
AnswerC

The Summary tab presents a concise, real-time overview of the investigation, consolidating status, key entities and findings in a user-friendly layout. It satisfies the requirement for an at-a-glance summary, unlike the detailed evidence or timeline tabs, which hold granular data.

Why this answer

The Summary tab in the Incident view is designed to provide a real-time, user-friendly overview of the investigation status. It aggregates key details such as incident severity, status, assignee, and a timeline of events, giving analysts an at-a-glance understanding without navigating multiple tabs. This aligns with the goal of a quick, high-level summary for efficient incident management.

Exam trap

SecOps-Pro often tests the distinction between tabs that provide overview versus detailed data, and candidates may confuse the Summary tab with the Work Plan or Evidence tabs, which serve different functions.

How to eliminate wrong answers

Option A is wrong because the Indicators tab lists observables (e.g., IPs, hashes) associated with the incident, not a summary of the investigation status. Option B is wrong because the Work Plan tab outlines the tasks and steps to be performed during the investigation, not a real-time summary. Option D is wrong because the Evidence tab stores collected artifacts and data, not a user-friendly summary of the investigation status.

17
MCQeasy

You are creating a new playbook and need to add a task that will send an email to the security team with the details of the incident. Which task type should you use to accomplish this?

A.Email task
B.Conditional task
C.Integration task
D.Manual task
AnswerA

The Email task is a built-in task type specifically designed to send emails from within a playbook. It allows you to specify recipients, subject, and body, and can include incident details using context variables. This task type streamlines the process and does not require a separate integration command to be configured manually.

Why this answer

The Email task is the built-in playbook task designed for sending emails. It provides fields for recipients, subject, and body, and supports context variables to include incident details. This automates notification without requiring manual intervention or complex integration configuration.

Other task types serve different purposes: integration tasks run specific commands, manual tasks pause for human action, and conditional tasks control flow.

Exam trap

The trap here is overlooking the dedicated Email task and instead selecting an integration task, which would require additional configuration and may not be as straightforward.

18
MCQhard

A security engineer is creating a custom integration that requires a secure API key to be stored and used across multiple playbooks. Where should the API key be configured to ensure it is securely stored and easily accessible?

A.In the incident context under a custom field
B.As a global variable in the playbook settings
C.In the script code as a hardcoded string
D.In the integration instance configuration as a credential parameter
AnswerD

Credential parameters in integration instances are encrypted and stored securely in the Cortex XSOAR database. They can be referenced in playbooks and scripts without exposing the secret, and are ideal for sensitive data like API keys that need to be shared across multiple playbooks.

Why this answer

Integration instance credentials are the secure, centralized way to store sensitive information like API keys in Cortex XSOAR. They are encrypted, can be reused across playbooks, and are managed through the integration configuration, ensuring both security and accessibility.

Exam trap

The trap here is assuming that any variable or field is secure enough for credentials, when only encrypted credential parameters provide the necessary protection.

19
MCQhard

An organization requires that sensitive PII data in incident notes is redacted before being sent to an external ticketing system. What is the most efficient way to perform this transformation in XSOAR?

A.Manually editing the incident notes
B.Transformation script on the integration task output
C.Creating a custom Incident Type
D.Global incident field settings
AnswerB

A transformation script applied to the integration task output redacts PII fields in the payload before the task forwards data to the external ticketing system, satisfying the requirement at the point of egress without altering stored incident notes.

Why this answer

The most efficient way to redact sensitive PII from incident notes before sending to an external ticketing system is to apply a transformation script on the integration task output. In XSOAR, transformation scripts can be attached to integration commands or tasks to automatically modify data before it is sent out. This ensures that redaction happens programmatically and consistently, without manual intervention, and is applied exactly where the data leaves the system.

This approach is scalable and reduces the risk of human error.

Exam trap

SecOps-Pro often tests the misconception that incident type or field settings can enforce data redaction, when in fact only transformation scripts or pre-processing rules can modify data content before external transmission.

How to eliminate wrong answers

Option A is wrong because manually editing incident notes is not efficient, is error-prone, and does not scale; it also relies on human diligence to catch all PII. Option C is wrong because creating a custom Incident Type only changes the layout and fields of an incident, not the data transformation logic; it does not perform redaction. Option D is wrong because global incident field settings control field properties (like whether they are mandatory or hidden) but do not transform or redact data content.

20
Multi-Selecthard

Which TWO of the following are true regarding the use of the 'Context' in Cortex XSOAR?

Select 2 answers
A.Context data is automatically cleared every 24 hours
B.Context is the primary way to pass data between playbook tasks
C.Context data persists for the lifetime of the incident
D.Context only supports string data types
E.Context data is shared between different incidents
AnswersB, C

Context stores task outputs as structured key-value data that subsequent playbook tasks read as inputs, so it is the mechanism carrying results forward through the workflow. This satisfies the stem's requirement for the primary data-passing method between tasks, rather than relying on external storage or manual re-entry.

Why this answer

The context is incident-specific and persistent throughout the investigation, and it acts as the primary data exchange mechanism.

21
MCQhard

When designing a custom layout, how do you make a field read-only for specific roles?

A.Write a script to hide the field
B.Use the incident lifecycle stage
C.Use the Field Permissions setting in the Layout editor
D.Disable the field in System Settings
AnswerC

Field Permissions in the Layout editor defines per-role read and edit access at field level, so the field renders read-only for the specified roles while remaining editable for others. This directly satisfies the role-specific read-only constraint without duplicating layouts.

Why this answer

In the Layout editor, you can set permissions on individual fields to control which roles have read-only or read-write access.

22
MCQhard

A Cortex XSOAR administrator needs to ensure that a specific playbook only runs when an incident is created with a severity of 'High' and the incident type is 'Phishing'. Which configuration should they use to enforce this condition?

A.Set the playbook's trigger to filter incidents by severity and type.
B.Create a custom incident field and use it in a playbook task condition.
C.Add a Conditional task at the beginning of the playbook to check severity and type.
D.Modify the incident type's layout to only show the playbook for high severity incidents.
AnswerA

In Cortex XSOAR, playbook triggers can be configured with conditions based on incident fields such as severity and type. By setting the trigger to only fire when severity is 'High' and type is 'Phishing', the playbook will run only for matching incidents. This is the correct method to enforce the condition automatically.

Why this answer

Playbook triggers in Cortex XSOAR are designed to automatically start playbooks based on incident attributes. By configuring the trigger to filter on severity and incident type, the administrator ensures the playbook only runs for incidents that match both criteria. Other options either do not prevent the playbook from starting or are unrelated to execution control.

Exam trap

The trap here is assuming that a Conditional task at the start of a playbook is equivalent to a trigger, but it still allows the playbook to start and consume resources.

23
Multi-Selectmedium

A Cortex XSOAR engineer is designing a playbook that requires user interaction to approve a remediation action. The engineer needs to configure a task that pauses the playbook until an analyst responds. Which two task types can be used to achieve this? (Choose two.)

Select 2 answers
A.Data Collection task
B.Timer task
C.Conditional task
D.Automated task
E.Manual task
AnswersA, E

A Data Collection task presents a form to the analyst and waits for input. It can be used to collect approval decisions or additional information. Once the analyst submits the form, the playbook resumes, so it effectively pauses execution until a response is received.

Why this answer

Manual tasks and Data Collection tasks are both designed to involve human interaction. A Manual task pauses the playbook until an analyst performs a specified action, while a Data Collection task presents a form and waits for submission. Both can be used to obtain approval before proceeding with remediation.

Exam trap

The trap here is assuming that any task that can pause or branch, like a Conditional or Timer task, can also wait for user input, but only Manual and Data Collection tasks are built for that purpose.

24
MCQmedium

You are designing a playbook and need to ensure that a task only executes if the previous task returned a specific status. Which feature allows you to define these branching conditions?

A.Data Pipeline
B.Conditional Task
C.Task Locking
D.Task Transformation scripts
AnswerB

Conditional tasks evaluate a preceding task's output against defined criteria, then branch execution accordingly — satisfying the requirement that a task runs only when the previous task returned a specific status. This native control-flow construct in Microsoft Sentinel playbooks (Logic Apps) gates downstream actions without custom code.

Why this answer

Conditional Task allows you to define branching conditions so that a task only executes if the previous task returned a specific status. This is a core feature in playbook design for controlling flow based on task outcomes. It enables conditional logic without writing custom scripts.

Exam trap

SecOps-Pro often tests the confusion between conditional execution and task locking, tricking candidates into choosing Task Locking when asked about branching conditions.

How to eliminate wrong answers

Option A is wrong because Data Pipeline is used for data ingestion and transformation, not for task branching. Option C is wrong because Task Locking prevents concurrent execution of tasks but does not control conditional execution. Option D is wrong because Task Transformation scripts are used to modify data within a task, not to define branching conditions.

25
Multi-Selecthard

Which THREE factors influence the performance of playbook execution?

Select 3 answers
A.Script complexity
B.Incident display layout
C.Number of active workers
D.Number of concurrent tasks
E.User password length
AnswersA, C, D

Script complexity directly affects playbook execution time because intricate logic, nested conditions and lengthy loops increase the compute cycles Microsoft Sentinel's automation engine must process per run. This satisfies the performance constraint in the stem, as heavier scripts consume more execution resources and extend overall playbook completion.

Why this answer

Script complexity (A) is correct because the amount and intricacy of the automation logic — number of tasks, conditional branches, loops, and API calls — directly determines how long a playbook takes to execute. The number of active workers (C) is correct because workers are the execution engines that run playbook tasks; more available workers allow tasks to be processed in parallel rather than queued, improving throughput. The number of concurrent tasks (D) is correct because running many tasks simultaneously increases resource contention (CPU, memory, API rate limits), which can either speed up or degrade overall playbook performance depending on capacity.

Incident display layout (B) is incorrect because it is purely a UI presentation concern and has no effect on backend playbook execution. User password length (E) is incorrect because it only affects authentication strength and has no bearing on how fast or efficiently a playbook runs.

26
MCQeasy

During playbook development, an engineer needs to store a list of suspicious IP addresses extracted from an incident into a context key that can be accessed by multiple tasks. Which context key should they use to ensure the data is available throughout the playbook?

A.Integration context
B.Playbook context
C.Global context
D.Incident context
AnswerB

Playbook context is designed to store data that is accessible throughout the playbook execution. By storing the list of suspicious IP addresses in a playbook context key, any task in the playbook can read and modify that data. This ensures the list is available to all subsequent tasks without needing to pass it explicitly.

Why this answer

Playbook context is the appropriate place to store data that needs to be shared across tasks within a playbook. It provides a temporary storage area that is scoped to the playbook run. Incident context is for incident-level data, global context persists across incidents, and integration context is for integration-specific data.

Exam trap

The trap here is confusing playbook context with incident context, thinking they are interchangeable, but playbook context is specifically for intra-playbook data sharing.

27
Multi-Selectmedium

A Cortex XSOAR engineer is designing a playbook to automate the response to a phishing incident. They need to ensure that the playbook can handle cases where the email contains attachments. Which two tasks should they include to extract and analyze attachments? (Choose two.)

Select 2 answers
A.A 'Data Collection' task to collect attachment details from the analyst.
B.A 'Conditional' task to check if the email has attachments.
C.A 'File Enrichment' task to analyze the extracted files.
D.A 'Manual' task to review the attachments manually.
E.A 'File Extraction' task to extract attachments from the email.
AnswersC, E

The 'File Enrichment' task runs reputation and analysis commands on files, such as hash lookups or sandbox detonation. It is used to determine if the attachments are malicious. This task should be included after extraction to analyze the files.

Why this answer

To handle email attachments in a phishing playbook, the engineer should first extract the attachments using a File Extraction task, and then analyze them using a File Enrichment task. These two tasks automate the process of obtaining and assessing the attachments. Conditional, Manual, and Data Collection tasks do not perform the necessary extraction or analysis.

Exam trap

The trap here is selecting a Conditional task to check for attachments, but the question specifically asks for tasks to extract and analyze, not to check.

28
MCQhard

A Cortex XSOAR administrator needs to ensure that a custom integration script can access an API key stored securely without hardcoding it in the script. Which method should be used to store and retrieve the API key?

A.Store the API key in an environment variable on the Cortex XSOAR server.
B.Store the API key in the playbook context and pass it to the script as an argument.
C.Store the API key in a text file on the Cortex XSOAR server and read it from the script.
D.Store the API key in the integration instance configuration as a credential parameter.
AnswerD

Integration instance configurations support credential parameters, which are encrypted and stored securely. The script can access these parameters via the demisto.params() method. This is the recommended way to handle sensitive information like API keys, as it avoids hardcoding and allows for easy rotation.

Why this answer

The secure and recommended method is to define a credential parameter in the integration instance configuration. This parameter is encrypted at rest and accessible in the integration script via demisto.params(). This approach centralizes secret management and allows administrators to update the key without modifying the script.

Exam trap

The trap here is assuming that playbook context or environment variables are secure enough for API keys, when they are not encrypted.

29
MCQmedium

You are building a playbook that must handle incidents differently based on the severity of the alert. The severity is stored in the incident field 'severity' as an integer (0-4). You want to conditionally execute a task only when severity is 3 or higher. Which built-in playbook task type should you use to evaluate this condition and route the workflow accordingly?

A.Conditional task
B.Data collection task
C.Decision task
D.Manual task
AnswerC

A Decision task allows you to define conditions using the incident context and built-in functions, such as severity >= 3. It evaluates the expression and routes the playbook along the appropriate branch. This is the standard way to implement conditional logic based on incident fields in Cortex XSOAR playbooks.

Why this answer

The correct answer is the task type that evaluates expressions and routes the playbook accordingly. In Cortex XSOAR, the Decision task is designed for conditional branching using incident fields and functions. It supports complex conditions like severity >= 3, enabling dynamic workflow paths.

Other task types serve different purposes: manual tasks require human input, data collection tasks gather information, and conditional tasks branch on task outcomes, not field values.

Exam trap

The trap here is confusing the Conditional task, which branches based on the success or failure of a previous task, with the Decision task, which evaluates custom expressions on incident fields.

30
MCQhard

A playbook task that runs a reputation command on an IP address is taking a long time to complete. The analyst wants to limit the task's execution time to 5 minutes and automatically mark it as failed if it exceeds that limit. Which configuration should be applied to the task?

A.Add a 'Delay' task before the reputation command with a duration of 5 minutes; this will ensure the command does not run longer than 5 minutes.
B.Configure the integration instance's 'timeout' parameter to 300 seconds; this will cause the command to fail after 5 minutes.
C.Set the 'execution timeout' in the playbook settings to 5 minutes; this applies to all tasks in the playbook.
D.Enable 'task timeout' and set it to 5 minutes; this will cause the task to fail if not completed within the time limit.
AnswerD

Cortex XSOAR allows setting a timeout on a task. When enabled, if the task does not complete within the specified duration, it is automatically marked as failed, and the playbook can handle the failure. This is the correct way to limit execution time and enforce a timeout.

Why this answer

To limit a single task's execution time and automatically fail it upon timeout, the task's own timeout setting must be used. Enabling the task timeout and setting it to 5 minutes ensures that if the reputation command does not complete in that window, the task fails, allowing error handling. Other options either affect the entire playbook, rely on integration settings, or do not enforce a timeout.

Exam trap

The trap here is confusing playbook-level timeout with task-level timeout; only the task timeout can fail an individual task.

31
Multi-Selecteasy

Which THREE of the following represent core components of a Cortex XSOAR incident?

Select 3 answers
A.Indicators
B.War Room
C.Network Topology Map
D.Incident Fields
E.System Update History
AnswersA, B, D

Indicators are a core component of a Cortex XSOAR incident, holding the observables extracted during investigation, such as IP addresses, file hashes and domains. They satisfy the stem's requirement by representing the threat data attached to an incident, distinct from its tasks, evidence and war room entries.

Why this answer

In Cortex XSOAR, an incident is a container that holds the data and context needed to investigate and respond to a security event, and three of its core components are Indicators, the War Room, and Incident Fields. Option A (Indicators) is correct because indicators such as IP addresses, domains, file hashes, and URLs are attached to an incident and drive enrichment, reputation lookups, and indicator-based playbook logic. Option B (War Room) is correct because it is the collaborative investigation workspace where analysts, playbook tasks, commands, entries, and automated actions are logged and discussed for that specific incident.

Option D (Incident Fields) is correct because fields (both system and custom, e.g., severity, type, and custom fields) store the structured metadata and context that define and drive the incident's lifecycle and playbooks. Option C (Network Topology Map) is not a core incident component; topology visualization is a separate capability and not part of the incident object itself. Option E (System Update History) is not part of an incident either, as it relates to platform/server maintenance and versioning rather than incident data.

Exam trap

The trap is including plausible-sounding but non-core items like 'Network Topology Map' or 'System Update History' — candidates who haven't worked in the XSOAR UI may assume any monitoring/visualization feature is part of the incident model.

32
MCQhard

You need to access an array of indicator values stored in a playbook variable called 'indicatorsList'. Which syntax is correct for extracting the first item in the list within a task input?

A.${indicatorsList[0]}
B.$indicatorsList(0)
C.${indicatorsList.[0]}
D.indicatorsList{0}
AnswerA

Zero-based indexing with square brackets retrieves the first element of an array, satisfying the requirement to extract the initial indicator from 'indicatorsList'. The `${...}` wrapper is the required expression syntax for referencing dynamic content in Microsoft Sentinel playbook task inputs, so `${indicatorsList[0]}` resolves correctly at runtime.

Why this answer

In Google SecOps (Chronicle) playbooks, variables are referenced using the `${variableName}` syntax, and array elements are accessed with zero-based indexing using square brackets. Therefore, `${indicatorsList[0]}` correctly extracts the first item from the array. This is consistent with many programming languages and the specific syntax used in playbook task inputs.

Exam trap

SecOps-Pro often tests the exact syntax for variable and array access; candidates may confuse parentheses, curly braces, or dots, or forget the `${}` wrapper, leading to invalid references.

How to eliminate wrong answers

Option B is wrong because `$indicatorsList(0)` uses parentheses instead of square brackets and lacks the curly braces, which is not valid syntax for array indexing in this context. Option C is wrong because `${indicatorsList.[0]}` includes an extra dot before the bracket, which is invalid syntax. Option D is wrong because `indicatorsList{0}` uses curly braces instead of square brackets and lacks the `${}` wrapper, so it would not be interpreted as a variable reference.

33
MCQeasy

Which tool in Cortex XSOAR helps you debug a playbook in real-time by stepping through tasks?

A.System Health Monitor
B.Audit Logs
C.Integration Debugger
D.Playbook Debugger
AnswerD

The Playbook Debugger lets you pause execution and step through each task individually, inspecting inputs and outputs as they flow between commands. This directly satisfies the real-time stepping constraint in the stem, unlike the War Room or incident timeline, which only display results after tasks have already run.

Why this answer

The Playbook Debugger allows you to run a playbook in a controlled environment, inspecting data at each step.

34
MCQeasy

A security analyst needs to ensure that a playbook only proceeds to the containment phase if the severity of the incident is 'High' or 'Critical'. The severity is stored in the incident field 'severity'. Which task type should be used to implement this branching logic?

A.Manual task
B.Data Collection task
C.Script task
D.Conditional task
AnswerD

A Conditional task evaluates a specified condition and routes the playbook based on the outcome. It can check the incident's 'severity' field and branch to different paths, such as proceeding to containment only for 'High' or 'Critical'. This is the standard way to implement decision logic in Cortex XSOAR playbooks.

Why this answer

The need is to automatically branch the playbook based on the incident's severity. A Conditional task is designed for this purpose: it evaluates a condition (e.g., severity equals 'High' or 'Critical') and directs the playbook flow accordingly. Other task types either require manual input or do not provide branching.

Exam trap

The trap here is assuming a Script task can replace a Conditional task; scripts can compute values but cannot branch the playbook on their own.

35
Multi-Selectmedium

Which THREE types of tasks can be added to a playbook workflow?

Select 3 answers
A.Condition task
B.Database cleanup task
C.Manual task
D.Automated task
E.Encryption task
AnswersA, C, D

A Condition task evaluates a logical expression and branches the workflow along true or false paths, enabling decision logic within the playbook. It is one of the three permitted task types, satisfying the stem's requirement for valid workflow task categories.

Why this answer

In a playbook workflow, the three supported task types are Condition, Manual, and Automated tasks. A Condition task (A) is correct because it evaluates a logical expression or check and branches the workflow based on whether the result is true or false, enabling decision logic. A Manual task (C) is correct because it pauses the workflow and requires a human user to perform an action or provide input before the playbook can continue.

An Automated task (D) is correct because it executes a predefined script, command, or integration action without human intervention. The remaining options do not belong: a Database cleanup task (B) is not a distinct playbook task type but rather a specific action that could be implemented inside an Automated task, and an Encryption task (E) is likewise not a separate task category but a function that would be performed by an Automated task or script.

36
MCQeasy

Which feature allows you to bundle playbooks, scripts, and integrations together for easy deployment across environments?

A.Content Packs
B.Export to PDF
C.Backup and Restore
D.Archive
E.Git Integration
AnswerA

Content Packs bundle playbooks, scripts, and integrations into a single deployable unit, satisfying the requirement to move them between environments without manual reconfiguration. This packaging is the mechanism that enables consistent, repeatable deployment across tenants.

Why this answer

Content Packs are the Cortex XSOAR mechanism for packaging playbooks, scripts, integrations, incident types, layouts, and classifiers into a single installable unit. They are versioned and can be installed across tenants or environments, which is exactly the 'bundle and deploy' behavior the question describes. This makes them the canonical answer for cross-environment deployment of content.

Exam trap

SecOps-Pro often tests the confusion between Backup and Restore (whole-tenant DR) and Content Packs (selective, portable content bundles), so candidates who equate 'deployment across environments' with backup pick the wrong option.

How to eliminate wrong answers

Option B is wrong because Export to PDF only produces a human-readable document of a playbook or report and carries no executable content. Option C is wrong because Backup and Restore copies the entire tenant configuration for disaster recovery, not a curated, portable bundle of selected content. Option D is wrong because Archive simply removes or hides content from active use; it does not package it for deployment.

Option E is wrong because Git Integration syncs content to a repository for version control but does not itself produce a deployable bundle across environments.

37
MCQeasy

An analyst needs to provide a summary of incident trends over the last 30 days to management. Which feature should be used to create an automated, recurring report?

A.Incident Feed
B.Case Summary Widget
C.Report Builder
D.Playbook documentation
AnswerC

Report Builder produces scheduled, recurring reports automatically, letting the analyst deliver 30-day incident trend summaries to management without manual regeneration. It directly satisfies the requirement for an automated, recurring reporting feature rather than ad hoc dashboards or manual exports.

Why this answer

Report Builder in Cortex XSIAM allows analysts to create customized reports with data from incidents, cases, and other sources. It supports scheduling recurring reports, making it ideal for providing regular trend summaries to management. This feature automates the generation and distribution of reports, saving time and ensuring consistency.

Exam trap

SecOps-Pro often tests the difference between real-time monitoring tools (Incident Feed) and historical reporting tools (Report Builder); candidates may choose Incident Feed for trend analysis.

How to eliminate wrong answers

Option A is wrong because Incident Feed is a real-time list of incidents, not a reporting tool for historical trends. Option B is wrong because Case Summary Widget is a dashboard component that displays summary information for a specific case, not a recurring report generator. Option D is wrong because Playbook documentation describes automation workflows, not reporting capabilities.

38
MCQhard

A playbook task is configured to run on a 'Worker' group. If you see the task stuck in 'Pending' state, what is the most likely cause?

A.The playbook is too large
B.The task is not marked as 'Automated'
C.The database is locked
D.No workers are assigned to the specified group
AnswerD

A playbook task routed to a Worker group stays Pending when that group contains no registered worker, since no agent can claim and execute the job. Assigning at least one active worker to the group resolves the queueing condition.

Why this answer

In SOAR platforms like Palo Alto Cortex XSOAR, a playbook task assigned to a specific Worker group (e.g., 'Worker') will remain in 'Pending' state if no active worker is registered to that group. Workers poll the task queue for their assigned group; without a worker, the task cannot be picked up and executed. The 'Pending' state specifically indicates the task is waiting for an available worker in the designated group, not that the task itself is malformed or the system is overloaded.

Exam trap

SecOps-Pro often tests the misconception that 'Pending' indicates a resource issue like database locks or playbook size, when it actually points to worker group misconfiguration or unavailability.

How to eliminate wrong answers

Option A is wrong because playbook size does not affect task scheduling; large playbooks may run slower but tasks still execute if a worker is available. Option B is wrong because the 'Automated' flag determines whether a task runs automatically or requires manual input, but an unautomated task would typically show a different state (e.g., 'Waiting' for manual action), not 'Pending'. Option C is wrong because a locked database would cause system-wide failures, not a single task stuck in 'Pending'; database locks are rare and usually manifest as errors, not pending tasks.

39
MCQhard

A user reports that a playbook is stuck at a manual task that requires input. What is the most likely cause if the 'Owner' field is populated but the task is not appearing in the user's Inbox?

A.The task is assigned to a role that the user does not belong to
B.The system clock is out of sync
C.The task has no inputs
D.The playbook is set to 'Silent' mode
AnswerA

Playbook task assignment resolves through role membership, not just the Owner field. If the Owner belongs to a different role than the one the task targets, the item never routes to their Inbox, so the task stalls despite appearing assigned.

Why this answer

In Cortex XSOAR, a manual task appears in a user's Inbox only if the user matches the task's assignment criteria. If the Owner field is populated but the task isn't in the user's Inbox, the most likely cause is that the task is assigned to a role the user doesn't belong to, so the assignment doesn't resolve to that user.

Exam trap

The trap is assuming that a populated Owner field guarantees Inbox visibility — candidates overlook that role-based assignment requires the user to actually belong to that role, which is a common misconfiguration in new XSOAR deployments.

How to eliminate wrong answers

Option B is wrong because system clock skew would affect timestamps and scheduling, not Inbox task visibility. Option C is wrong because a task with no inputs can still appear in the Inbox — inputs are optional for manual tasks. Option D is wrong because there is no 'Silent' mode for playbooks that suppresses Inbox tasks; playbooks run normally and manual tasks still surface.

40
MCQmedium

What is the function of a 'Transformer' in a mapper?

A.To modify or format data between source and target fields
B.To run a secondary playbook
C.To change the incident type
D.To assign the incident to an analyst
AnswerA

A Transformer applies formatting, concatenation, or value mapping to data as it moves from source to target field, resolving schema and representation mismatches. This fulfils the stem's requirement of modifying or formatting data during the mapping operation.

Why this answer

Transformers allow you to manipulate or format data during the mapping process from the source to the target incident field.

41
Multi-Selectmedium

Which TWO methods can be used to pass data from a parent playbook to a sub-playbook?

Select 2 answers
A.Hard-coding the context path
B.Database injection
C.Incident Context
D.Playbook Inputs
E.Global variables
AnswersC, D

Incident context automatically flows from parent to child playbooks within Microsoft Sentinel, carrying entities, alerts and incident metadata without explicit configuration. This satisfies the stem's requirement for a native data-passing method, since the sub-playbook inherits the parent's incident scope directly when triggered.

Why this answer

Data is passed to sub-playbooks via defined input mappings or by reading directly from the incident context.

42
MCQhard

A security analyst is using Cortex XSOAR to investigate a malware incident. They need to extract all IP addresses from the incident's indicators and then run a command to check their reputation. Which built-in playbook task should they use to perform the reputation check on multiple IPs simultaneously?

A.Use a 'Run Command' task to execute the 'ip' command on each IP individually.
B.Use the 'Enrich Indicators' task with the indicator type set to 'IP'.
C.Use a 'Conditional' task to check each IP's reputation and then run a command.
D.Use a 'Data Collection' task to manually input the IPs and then run a command.
AnswerB

The 'Enrich Indicators' task is designed to perform enrichment on multiple indicators of a specified type. By setting it to 'IP', it will automatically run the configured reputation commands for all IP indicators in the incident, saving time and ensuring consistency. This is the correct approach for bulk reputation checks.

Why this answer

The 'Enrich Indicators' task in Cortex XSOAR is built to handle enrichment of multiple indicators of a given type. It automatically invokes the configured reputation commands for each indicator, aggregating the results. This is the most efficient and standardized way to perform reputation checks on a list of IPs.

Exam trap

The trap here is thinking that a Conditional task can perform actions, but it only evaluates conditions and does not execute commands.

43
MCQhard

You are designing a playbook that must extract indicators from an incident's attachments. The attachments can be of various file types, including PDF and text. You want to use a built-in script to extract indicators such as IPs, URLs, and hashes from these files. Which Cortex XSOAR script should you use for this purpose?

A.ExtractIndicatorsFromAttachments
B.FileEnrichment
C.ParseAttachment
D.ExtractIndicators
AnswerA

ExtractIndicatorsFromAttachments is a built-in script designed to extract indicators from file attachments of various types, including PDF, text, and others. It uses the indicator extraction engine to identify IPs, URLs, hashes, and more. This script is ideal for automating indicator extraction from incident attachments within a playbook.

Why this answer

The correct script is ExtractIndicatorsFromAttachments, which is a built-in automation that processes file attachments and extracts indicators using the indicator extraction engine. It supports multiple file types and is designed for playbook use. Other options either are not suitable for attachments, do not exist, or serve different purposes.

This script enables automated enrichment and response based on indicators found in files.

Exam trap

The trap here is confusing the transformer ExtractIndicators, which works on text strings, with the playbook script ExtractIndicatorsFromAttachments, which handles file attachments.

44
Multi-Selecteasy

Which THREE actions can be performed from the Incident 'Work Plan' tab?

Select 3 answers
A.Skip a task
B.Change the server OS
C.Re-run a failed task
D.Add a new incident type
E.View task execution logs
AnswersA, C, E

The Work Plan tab lists response tasks for an incident, and analysts can skip a task to mark it as not applicable or unnecessary, removing it from the active plan without deleting the incident itself.

Why this answer

The Incident 'Work Plan' tab is designed to manage the individual tasks that make up an incident's remediation workflow, so option A (Skip a task) is correct because operators can bypass a pending task that is no longer needed or applicable. Option C (Re-run a failed task) is correct because the Work Plan allows retrying a task that did not complete successfully, which is a core remediation action. Option E (View task execution logs) is correct because each task exposes its execution output and logs directly from the Work Plan for troubleshooting.

Options B (Change the server OS) and D (Add a new incident type) are not Work Plan actions: changing an OS is an infrastructure/provisioning operation, and adding an incident type is a configuration/administration function, neither of which is performed from the incident's task list.

45
MCQmedium

What happens if a playbook task is configured to 'Continue on error' and the task fails?

A.The incident is closed
B.The playbook proceeds to the next task
C.The playbook stops immediately
D.The task is automatically retried
AnswerB

'Continue on error' overrides the default halt-on-failure behaviour, so the failed task is logged but execution advances to the subsequent task. This matches the stem's scenario precisely: the playbook proceeds rather than terminating or rolling back.

Why this answer

When a playbook task is configured with 'Continue on error', a failure of that task does not halt the playbook; execution proceeds to the next task in the flow. This is used for non-critical steps where a failure should be logged but not block the overall response. The error is typically recorded in the task output or war room for later review.

Exam trap

The trap is conflating 'Continue on error' with retry logic — candidates assume a failed task is retried, when in fact the playbook simply advances to the next task.

How to eliminate wrong answers

Option A is wrong because a task failure with 'Continue on error' does not close the incident — incident closure is a separate action or playbook outcome. Option C is wrong because stopping immediately is the default behavior when 'Continue on error' is NOT enabled; enabling it explicitly prevents the halt. Option D is wrong because automatic retry is a separate configuration (retry count/interval) and is not implied by 'Continue on error' — the task simply moves on rather than retrying.

Ready to test yourself?

Try a timed practice session using only Cortex Xsoar And Automation questions.