ExamGecko
Question list
Search
Search

Question 4 - PCDRA discussion

Report
Export

Which statement regarding scripts in Cortex XDR is true?

A.
Any version of Python script can be run.
Answers
A.
Any version of Python script can be run.
B.
The level of risk is assigned to the script upon import.
Answers
B.
The level of risk is assigned to the script upon import.
C.
Any script can be imported including Visual Basic (VB) scripts.
Answers
C.
Any script can be imported including Visual Basic (VB) scripts.
D.
The script is run on the machine uploading the script to ensure that it is operational.
Answers
D.
The script is run on the machine uploading the script to ensure that it is operational.
Suggested answer: B

Explanation:

The correct answer is B, the level of risk is assigned to the script upon import. When you import a script to the Agent Script Library in Cortex XDR, you need to specify the level of risk associated with the script. The level of risk determines the permissions and restrictions for running the script on endpoints. The levels of risk are:

Low: The script can be run on any endpoint without requiring approval from the Cortex XDR administrator. The script can also be used in remediation suggestions or automation actions.

Medium: The script can be run on any endpoint, but requires approval from the Cortex XDR administrator. The script can also be used in remediation suggestions or automation actions.

High: The script can only be run on isolated endpoints, and requires approval from the Cortex XDR administrator. The script cannot be used in remediation suggestions or automation actions.

The other options are incorrect for the following reasons:

A is incorrect because not any version of Python script can be run in Cortex XDR. The scripts must be written in Python 2.7, and must follow the guidelines and limitations described in the Cortex XDR documentation. For example, the scripts must not exceed 64 KB in size, must not use external libraries or modules, and must not contain malicious or harmful code.

C is incorrect because not any script can be imported to Cortex XDR, including Visual Basic (VB) scripts. The scripts must be written in Python 2.7, and must follow the guidelines and limitations described in the Cortex XDR documentation. VB scripts are not supported by Cortex XDR, and will not run on the endpoints.

D is incorrect because the script is not run on the machine uploading the script to ensure that it is operational. The script is only validated for syntax errors and size limitations when it is imported to the Agent Script Library. The script is not executed or tested on the machine uploading the script, and the script may still fail or cause errors when it is run on the endpoints.

Agent Script Library

Import a Script

Run Scripts on an Endpoint

asked 23/09/2024
Vageesh Shanmukha
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first