exam questions

Exam 312-49v10 All Questions

View all questions & answers for the 312-49v10 exam

Exam 312-49v10 topic 1 question 190 discussion

Actual exam question from ECCouncil's 312-49v10
Question #: 190
Topic #: 1
[All 312-49v10 Questions]

Kyle is performing the final testing of an application he developed for the accounting department.
His last round of testing is to ensure that the program is as secure as possible. Kyle runs the following command. What is he testing at this point?
#include #include int main(int argc, char
*argv[]) { char buffer[10]; if (argc < 2) { fprintf (stderr, "USAGE: %s string\n", argv[0]); return 1; } strcpy(buffer, argv[1]); return 0; }

  • A. Buffer overflow
  • B. SQL injection
  • C. Format string bug
  • D. Kernal injection
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
044f354
1 month, 1 week ago
Selected Answer: A
Answer: A Explanation: Kyle is testing for buffer overflow vulnerability. (A) ✅ strcpy() copies without size checking, potentially overflowing buffer. (B) ❌ No SQL operations present in the code. (C) ❌ No format string vulnerabilities evident in given code. (D) ❌ Code doesn't interact with kernel, ruling out kernel injection. ----- If you agree, please UPVOTE. When you upvote someone with a yellow "SELECTED ANSWER: " banner (like me) your vote is added to the Community Vote Distribution, which helps the community crowdsource correct answers.
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago