ExamGecko
Question list
Search
Search

Related questions











Question 142 - CTFL-2018 discussion

Report
Export

A live defect has been found where a code component fails to release memory after it has finished using it.

Which of the following tools would have been the MOST effective at detecting this defect prior to live implementation?

A.
Dynamic analysis tool
Answers
A.
Dynamic analysis tool
B.
Monitoring tool
Answers
B.
Monitoring tool
C.
Configuration management tool
Answers
C.
Configuration management tool
D.
Coverage measurement tool
Answers
D.
Coverage measurement tool
Suggested answer: A

Explanation:

A dynamic analysis tool is the most effective tool for detecting memory leaks, which are defects where a code component fails to release memory after it has finished using it.A dynamic analysis tool monitors the behaviour of the software under test during execution and can measure memory usage, identify memory allocation errors, and report memory leaks13. The other options are not relevant tools for detecting memory leaks.A monitoring tool can measure the performance and resource consumption of the software under test, but it cannot identify memory leaks specifically13.A configuration management tool is used to manage the versions and changes of the software under test and its related artefacts, but it has nothing to do with memory leaks1.A coverage measurement tool is used to measure how much of the code or functionality of the software under test has been exercised by the test cases, but it cannot detect memory leaks1.

asked 18/09/2024
j j
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first