exam questions

Exam CS0-003 All Questions

View all questions & answers for the CS0-003 exam

Exam CS0-003 topic 1 question 183 discussion

Actual exam question from CompTIA's CS0-003
Question #: 183
Topic #: 1
[All CS0-003 Questions]

Several vulnerability scan reports have indicated runtime errors as the code is executing. The dashboard that lists the errors has a command-line interface for developers to check for vulnerabilities. Which of the following will enable a developer to correct this issue? (Choose two.)

  • A. Performing dynamic application security testing
  • B. Reviewing the code
  • C. Fuzzing the application
  • D. Debugging the code
  • E. Implementing a coding standard
  • F. Implementing IDS
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

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
Brick69
Highly Voted 1 year, 4 months ago
Selected Answer: BD
DAST tools typically do not assist in identifying and resolving runtime errors within the code. Instead, they focus on testing the application's behavior from the outside, by interacting with its interfaces and observing how it responds to various inputs.
upvoted 11 times
...
ybyttv
Most Recent 2 weeks, 6 days ago
Selected Answer: A
I could not understand the question at all.
upvoted 1 times
...
Only12go
1 month, 3 weeks ago
Selected Answer: BD
Its BD becuase DAST finds runtime errors, which have already occured, now you need to review the source code SAST and debug to fix it.
upvoted 1 times
...
cy_analyst
8 months, 3 weeks ago
Selected Answer: AD
A. Performing dynamic application security testing is about testing the application in its running state, which is directly related to runtime errors. Since the question hints at runtime issues, DAST is a strong contender because it involves simulating attacks while the application is live, potentially uncovering vulnerabilities that occur during execution. B. Reviewing the code is typically more about identifying potential issues at the static code level, which is less directly related to runtime errors. While code review is important, it might not immediately address issues that only manifest when the code is running. Given this, the focus on runtime errors and the mention of a command-line interface for vulnerability checks makes A more relevant in this specific case. So, prioritizing A over B in this scenario is a reasonable approach because the question seems to be steering towards a dynamic testing environment.
upvoted 2 times
...
gomet2000
10 months, 2 weeks ago
Selected Answer: BD
Dynamic Application Security Testing (DAST) tools typically do not assist in identifying and resolving runtime errors within the code at a granular level. Instead, they focus on testing the application externally by interacting with its interfaces (like HTTP requests and responses for web applications) to identify vulnerabilities that can be exploited from the outside. DAST tools are more about assessing the security posture of an application as it runs, rather than directly debugging or diagnosing internal runtime errors in the code. Therefore most appropriate actions for developers to correct runtime errors would be: D. Debugging the code (Most Voted): This is essential for directly addressing and fixing runtime errors. B. Reviewing the code (Most Voted): Code reviews can help identify logical errors and potential vulnerabilities that might cause runtime issues.
upvoted 2 times
...
maggie22
1 year ago
Selected Answer: BD
The issue is to correct the "runtime errors" in order to enable the developers to correct the issue they have to Review and Debug the code.
upvoted 4 times
...
499f1a0
1 year ago
Selected Answer: AD
If dynamic testing is not done how can we see errors and fox the code? that is why we need to chose A. We also chose D because we need to debug the code to study the code.
upvoted 1 times
TurboMor
10 months ago
You can see the errors by debugging the code.
upvoted 1 times
...
...
Ree1234
1 year, 1 month ago
Selected Answer: BD
i go with BD.. dynamic application security testing is a valnerability test method to identify valnerabilities..Dynamic application security testing (DAST) is the process of using simulated attacks on a web application to identify vulnerabilities. By attacking an application the same way a malicious user would, this strategy assesses the program through an approach sometimes referred to as “outside in.” After executing the attacks, a DAST scanner studies the results to look for undesired outcomes. This data is then used to identify security flaws. In the question the code errors are seen already...
upvoted 3 times
...
captaintoadyo
1 year, 1 month ago
Selected Answer: BD
The answer is clearly B and D, based on the question "runtime errors"
upvoted 4 times
...
section8santa
1 year, 2 months ago
Selected Answer: AD
A. Performing dynamic application security testing (DAST) - This approach involves testing an application while it is running to find vulnerabilities that an attacker could exploit. It's specifically designed to find conditions that are indicative of a security issue, such as runtime errors, which could potentially be leveraged for malicious purposes. D. Debugging the code - Debugging involves running the code in a controlled environment, often with the use of a debugger tool that allows the developer to step through the code execution, inspect variables, and understand the state of the application at each point. This can help identify and correct the causes of runtime errors.
upvoted 2 times
...
jspecht
1 year, 3 months ago
Selected Answer: AD
The errors are occurring as the code in running, therefore the best techniques to fix them involve looking at the code as its running. Debugging and dynamic analysis tools are the way to do that.
upvoted 2 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 ...