exam questions

Exam SY0-601 All Questions

View all questions & answers for the SY0-601 exam

Exam SY0-601 topic 1 question 87 discussion

Actual exam question from CompTIA's SY0-601
Question #: 87
Topic #: 1
[All SY0-601 Questions]

A systems administrator reports degraded performance on a virtual server. The administrator increases the virtual memory allocation, which improves conditions, but performance degrades again after a few days. The administrator runs an analysis tool and sees the following output:
==3214== timeAttend.exe analyzed
==3214== ERROR SUMMARY:
==3214== malloc/free: in use at exit: 4608 bytes in 18 blocks.
==3214== checked 82116 bytes
==3214== definitely lost: 4608 bytes in 18 blocks.
The administrator terminates the timeAttend.exe, observes system performance over the next few days, and notices that the system performance does not degrade. Which of the following issues is MOST likely occurring?

  • A. DLL injection
  • B. API attack
  • C. Buffer overflow
  • D. Memory leak
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
stoneface
Highly Voted 2 years, 10 months ago
Selected Answer: D
Definitely memory leak ' key sentence' -> The administrator increases the virtual memory allocation, which improves conditions, but performance degrades again after a few days. Memory leak occurs when programmers create a memory in heap and forget to delete it. The consequences of memory leak is that it reduces the performance of the computer by reducing the amount of available memory. Eventually, in the worst case, too much of the available memory may become allocated and all or part of the system or device stops working correctly, the application fails, or the system slows down vastly .
upvoted 116 times
TheRoot9
2 years, 1 month ago
If the checked bytes were greater than 4608*18, would it be buffer overflow ?
upvoted 2 times
sujon_london
1 year, 10 months ago
Brilliant sighting! Good calculation @theroot9
upvoted 2 times
...
...
Old_Boy_
1 year, 7 months ago
You're legend Stoneface lol
upvoted 7 times
...
Gino_Slim
2 years, 8 months ago
Stoneface will help you pass this everyone (lol)
upvoted 30 times
gladtam
2 years, 3 months ago
I’m gonna have to treat stoneface when I pass this exam!
upvoted 4 times
...
...
...
shady23
Most Recent 1 year, 1 month ago
Selected Answer: D
Memory leak
upvoted 1 times
...
LordJaraxxus
1 year, 4 months ago
Selected Answer: D
A memory leak is a bug in a computer application that causes the application to consume more and more memory the longer it runs. In extreme cases, the application can consume so much memory that the operating system crashes. Memory leaks are typically caused by an application that reserves memory for short-term use but never releases it. For example, imagine a web application that collects user profile data to personalize users’ browsing experiences. However, it collects this data every time a user accesses a webpage, and it never releases the memory used to store the data. An initial indicator of a memory leak is a system running slower and slower until it is rebooted. It’s possible to detect memory leaks by looking at the memory usage per application in operating system tools, such as the Windows Task Manager.
upvoted 3 times
...
cyberPunk28
1 year, 6 months ago
Selected Answer: D
D. Memory leak
upvoted 1 times
...
Kraken84
1 year, 10 months ago
Selected Answer: D
I love these questions, answer is right in the question :) I bet we get at least 15 of those on the test, yeah? A+, AZ-900, SC-900, all of em seem to follow the same scheming.
upvoted 1 times
...
Protract8593
1 year, 11 months ago
Selected Answer: D
The output from the analysis tool indicates that there is a memory issue, specifically a memory leak. A memory leak occurs when a program fails to release memory that is no longer needed, leading to the gradual consumption of memory over time. In this case, the timeAttend.exe process is causing the memory leak, and terminating the process has resolved the performance degradation issue.
upvoted 2 times
...
ApplebeesWaiter1122
1 year, 12 months ago
Selected Answer: D
A memory leak occurs when a program or process does not release memory resources properly after it is no longer needed. As a result, memory consumption continues to increase over time, leading to degraded performance and potential system instability. In this case, the system administrator observed degraded performance on the virtual server, which improved temporarily after increasing the virtual memory allocation. However, the performance degraded again after a few days. The output of the analysis tool indicates that there are 4608 bytes in 18 blocks of memory that are "definitely lost" at the time of exit. By terminating the "timeAttend.exe" process and observing that the system performance does not degrade afterward, it suggests that the memory leak issue was related to the "timeAttend.exe" process. Terminating the process would release the allocated memory, resolving the memory leak and improving system performance.
upvoted 3 times
...
ronniehaang
2 years, 5 months ago
Selected Answer: D
The issue that is most likely occurring is a memory leak. A memory leak occurs when a program allocates memory dynamically, but does not free it properly. Over time, this results in a gradual increase in memory usage, leading to degraded system performance and eventually to a crash. The output from the analysis tool shows that timeAttend.exe is the cause of the memory leak, as it has 4608 bytes in 18 blocks of memory that are definitely lost. Terminating the timeAttend.exe process and observing improved system performance confirms this diagnosis.
upvoted 2 times
...
jjhidalgo21
2 years, 6 months ago
WHO IS STONEFACE?
upvoted 4 times
bitezadusto
2 years, 3 months ago
the GOAT
upvoted 4 times
...
...
MusaKeita
2 years, 8 months ago
memory leak
upvoted 1 times
...
MarciaL
2 years, 8 months ago
I think B. API attack
upvoted 1 times
...
Wanafresh
2 years, 8 months ago
Memory leaks are usually caused by failure to deallocate memory that has been allocated.
upvoted 2 times
...
cozzmo
2 years, 9 months ago
Thank you Stoneface!
upvoted 3 times
...
comeragh
2 years, 10 months ago
Well spotted stoneface. Agree with you on D for this one.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...