Question 690
A maintenance script is configured to remap all network drives but its logon context lacks permission to the destination shares. What response is most defensible?
Explanation
Correct Answer
Automation inherits the permissions of its execution context; a script cannot legitimately bypass missing authorization.
Incorrect Answers
Use an approved .sh script with the minimum privileges and scheduled execution controls: use an approved .sh script with the minimum privileges and scheduled execution controls: a shell script can automate routine tasks without inheriting unnecessary root rights.
Use an approved signed PowerShell .ps1 script with least privilege and test it on a pilot device: powerShell is suited to Windows administration, but automation requires trust and careful scoping; Validate the script's executing identity and required share permissions before changing its commands.
Inspect and test the batch script in a controlled environment before any production execution: inspect and test the batch script in a controlled environment before any production execution: scripts can perform destructive actions quickly, so their source and side effects must be checked first.






CompTIA A+ Certification Exam: Core 2 (220-1202) Practice Tests