CAS-001 · Question #325
CAS-001 Question #325: Real Exam Question with Answer & Explanation
The correct answer is B: C#. Buffer overflows and format string vulnerabilities are characteristic of unmanaged languages where the developer is responsible for memory allocation and bounds checking. Managed code languages delegate memory management to a runtime environment that automatically enforces bounds
Question
Options
- AC
- BC#
- CC++
- DPerl
- EJava
Explanation
Buffer overflows and format string vulnerabilities are characteristic of unmanaged languages where the developer is responsible for memory allocation and bounds checking. Managed code languages delegate memory management to a runtime environment that automatically enforces bounds, preventing these vulnerability classes. C# runs on the .NET Common Language Runtime (CLR), which manages memory automatically. Java runs on the Java Virtual Machine (JVM), which similarly handles memory management and array bounds checking at runtime. C and C++ are unmanaged languages - the developer controls memory directly, making them highly susceptible to the exact vulnerabilities described. Perl, while interpreted, does not provide the same level of memory safety guarantees as true managed code platforms.
Community Discussion
No community discussion yet for this question.