CompTIA PenTest+ (PT0-003) — Question 80
Which of the following activities should be performed to prevent uploaded web shells from being exploited by others?
Answer options
- A. Remove the persistence mechanisms.
- B. Spin down the infrastructure.
- C. Preserve artifacts.
- D. Perform secure data destruction.
Correct answer: A
Explanation
The correct answer is A, as removing persistence mechanisms helps ensure that the web shells cannot maintain access after they are uploaded. Options B and D, while they may seem relevant, do not directly address the prevention of exploitation. Option C is not effective in preventing exploitation, as preserving artifacts does not mitigate the threat posed by web shells.