Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam CISSP All Questions

View all questions & answers for the CISSP exam

Exam CISSP topic 1 question 93 discussion

Actual exam question from ISC's CISSP
Question #: 93
Topic #: 1
[All CISSP Questions]

An application developer receives a report back from the security team showing their automated tools were able to successfully enter unexpected data into the organization's customer service portal, causing the site to crash. This is an example of which type of testing?

  • A. Performance
  • B. Positive
  • C. Non-functional
  • D. Negative
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
dev46
Highly Voted 2 years, 2 months ago
Positive testing determines that your application works as expected. If an error is encountered during positive testing, the test fails. Negative testing ensures that your application can gracefully handle invalid input or unexpected user behavior. For example, if a user tries to type a letter in a numeric field, the correct behavior in this case would be to display the “Incorrect data type, please enter a number” message. The purpose of negative testing is to detect such situations and prevent applications from crashing. Also, negative testing helps you improve the quality of your application and find its weak points. The core difference between positive testing and negative testing is that throwing an exception is not an unexpected event in the latter. When you perform negative testing, exceptions are expected – they indicate that the application handles improper user behavior correctly.
upvoted 8 times
dev46
2 years, 2 months ago
SOURCE - https://smartbear.com/learn/automated-testing/negative-testing/
upvoted 1 times
dev46
2 years, 2 months ago
D seems right as we expect website to crash if someone enters unexpected input
upvoted 1 times
dev46
2 years, 2 months ago
However, the below is contradicting to the definition of negative testing "The purpose of negative testing is to detect such situations and prevent applications from crashing."
upvoted 1 times
franbarpro
2 years, 1 month ago
Which is WHY I think the answer should be "B"
upvoted 1 times
...
...
...
...
niti
2 years, 1 month ago
" automated tools were able to successfully enter unexpected data" this is not positive testing - why are we going to test the " invalid data " in positive testing?
upvoted 1 times
...
jackdryan
1 year, 6 months ago
D is correct
upvoted 1 times
...
...
YesPlease
Most Recent 11 months, 3 weeks ago
Selected Answer: D
Answer is D) Negative Testing Reason: Negative testing ensures that your application can gracefully handle invalid input or unexpected user behavior. In this case, it fails the negative testing. For example, if a user tries to type a letter in a numeric field, the correct behavior in this case would be to display the “Incorrect data type, please enter a number” message. The purpose of negative testing is to detect such situations and prevent applications from crashing. This has nothing to do with Non-functioning testing because Non-functional testing is a type of software testing that verifies non functional aspects of the product, such as performance, stability, and usability....so in essence, both Answer "A" and "C" are the same.
upvoted 1 times
...
Bach1968
1 year, 4 months ago
Selected Answer: D
The example provided, where unexpected data causes the customer service portal to crash, is an example of negative testing. Negative testing is a testing approach that focuses on validating the system's behavior when exposed to unexpected or invalid inputs or conditions. It aims to identify potential vulnerabilities, weaknesses, and failures by intentionally providing inputs that the system is not designed to handle properly. The objective of negative testing is to uncover potential security vulnerabilities, error handling issues, and system crashes. In this case, the security team's automated tools were able to enter unexpected data into the customer service portal, causing it to crash. By intentionally providing unexpected data, the security team was able to identify a vulnerability or weakness in the system's ability to handle such inputs.
upvoted 1 times
...
Delab202
1 year, 11 months ago
Negative Testing is a software testing type used to check the software application for unexpected input data and conditions. Unexpected data or conditions can be anything from wrong data type to strong hacking attack.
upvoted 1 times
...
Jamati
2 years ago
Selected Answer: D
Answer is D. Negative Testing is when a user enters invalid input to see how the system reacts. Does it crash or it simply pops up a notification informing you that you entered invalid input.
upvoted 1 times
...
Toyeeb
2 years, 1 month ago
it is D according to the link below https://www.guru99.com/positive-and-negative-testing.html
upvoted 3 times
...
Nickname53796
2 years, 1 month ago
Selected Answer: D
Negative test – how the system behaves with unexpected data (should reject the data). The testing app successfully got the testee to accept data it should not have.
upvoted 2 times
...
franbarpro
2 years, 1 month ago
Selected Answer: B
Am I the only one going with "B" on this one. I don't understand why it would be "D" sense the site was able to crash.
upvoted 1 times
...
JAckThePip
2 years, 1 month ago
Anwer id D "Negative Testing is a software testing type used to check the software application for unexpected input data and conditions. Unexpected data or conditions can be anything from wrong data type to strong hacking attack. The purpose of negative testing is to prevent the software application from crashing due to negative inputs and improve the quality and stability." https://www.guru99.com/negative-testing.html
upvoted 3 times
franbarpro
2 years, 1 month ago
I meas if the "purpose of negative testing is to prevent the software application from crashing" - then the answer here should be "B" positive testing bcs the test that was conducted caused the site to crash.
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 ...