Operational Procedures

A technician finds a PowerShell script on a public forum that claims to clear temporary files. Which actions best reduce the risk that running it on customer PCs introduces malware? (Choose two.)

Choose 2 answers

Show the answer

Correct answersB. Run it first on an isolated test machine with no network accessD. Read the code for obfuscated strings and unexpected download commands

AWhy not this: A loop counter prevents hangs from runaway code, which is a resource issue and does not detect malicious content.

BWhy this is right: An isolated machine without network access contains a malicious payload and lets the technician observe it safely.

CWhy not this: A registry backup helps undo setting changes, but malware would still run and could do other damage.

DWhy this is right: Reading the code can reveal encoded payloads or downloads from unknown sources before anything runs.

EWhy not this: Elevated rights give any hidden malicious code more power, so this raises the risk instead of lowering it.

FWhy not this: Unrestricted execution removes the safeguard that blocks untrusted scripts, which makes malware more likely to run.

Reviewing the code exposes hidden payloads, and an isolated test machine contains any malicious behavior. Backing up the registry helps undo setting changes but does not stop malware from running.