CompTIA CASP+ (CAS-004) — Question 546
A software company decides to study and implement some new security features in the software it develops in C++ language. Developers are trying to find a way to avoid a malicious process that can access another process's execution area. Which of the following techniques can the developers do?
Answer options
- A. Enable NX.
- B. Move to Java.
- C. Execute SAST.
- D. Implement memory encryption.
Correct answer: A
Explanation
Enabling NX (No eXecute) is a technique that helps prevent execution of code in certain areas of memory, thus protecting against malicious processes. Moving to Java does not directly address security concerns related to C++ processes. Executing SAST (Static Application Security Testing) is a method for identifying vulnerabilities but does not prevent access to execution areas. Implementing memory encryption can enhance security but does not specifically prevent one process from accessing another's execution space.