An application team is running tests to ensure that user entry fields will not accept invalid input of any length. What type of negative testing is this an example of?
Although both "Allowed number of characters" and "Reasonable data" are important concepts in input validation testing, they are not the same thing.
"Allowed number of characters" testing focuses specifically on ensuring that user input does not exceed the maximum allowed length of a field. This is important because input that exceeds the maximum allowed length can potentially cause buffer overflow vulnerabilities or other security issues.
On the other hand, "Reasonable data" testing focuses on ensuring that the input data is reasonable and meets the expected criteria. This can include testing for data types, formats, and content. For example, if a field is expecting a numeric value, "Reasonable data" testing would ensure that only numeric values are accepted.
In the case of the scenario described, the application team is specifically testing the maximum length of input fields, which falls under "Allowed number of characters" testing. Therefore, it is more accurate to describe this testing as "Allowed number of characters" rather than "Reasonable data".
The answer is C. The key phrase here is "will not accept invalid input of ANY length." The question specifically says that length doesn't matter. This is not a test of max number of characters. Its a test of reasonable data.
It says "will not accept invalid input of any length' meaning regardless of length. This nullifies Length being the main test,. The main test here is reasonable data, regardless of its length.
**Reasonable data** is the most accurate answer. This type of negative testing involves inputting data that is technically correct but logically incorrect or out of range. By testing with invalid input lengths, the application team is ensuring that the system can handle unexpected data and prevent potential vulnerabilities like buffer overflows.
The answer is not Reasonable Data because reasonable data means not allowing users to put their birth year as 1664, or something unreasonable. A reasonable birthyear would be within the last 100 years. This question is specifically asking about input length, therefore the answer is A. Allowed number of characters.
The answer is C: Reasonable data – https://smartbear.com/learn/automated-testing/negative-testing/ "Some applications and web pages include fields that have a reasonable limit, for example, entering 200 or a negative number as the value for the “Your age:” field is not allowed. To check the application's behavior, create a negative test that enters invalid data into the specified field."
Answer C) Reasonable Data
https://smartbear.com/learn/automated-testing/negative-testing/#:~:text=Reasonable%20data%20%E2%80%93%20Some%20applications%20and,data%20into%20the%20specified%20field.
A. Allowed number of characters
This type of negative testing is an example of testing for the allowed number of characters. This test is to ensure that user entry fields will not accept invalid input of any length. This test is used to check the validation of the input fields and to ensure that the application is not vulnerable to buffer overflow attacks.
Reasonable data – Some applications and web pages include fields that have a reasonable limit, for example, entering 200 or a negative number as the value for the “Your age:” field is not allowed. To check the application's behavior, create a negative test that enters invalid data into the specified field.
https://smartbear.com/learn/automated-testing/negative-testing/
The question states that developers are testing the application against "invalid inputs of any length". This means that the application must only accept "valid inputs" = "reasonable data" and reject all invalid inputs irrespective of their length. This excludes testing the population of required fields, and the maximum number of characters for each field.
https://smartbear.com/learn/automated-testing/negative-testing/
This resource best addresses this and in the most direct way.
Based on this and the question, the answer should be C, reasonable data
This section is not available anymore. Please use the main Exam Page.CISSP Exam Questions
Log in to ExamTopics
Sign in:
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.
74gjd_37
Highly Voted 1 year, 8 months agobassfunk
Most Recent 1 week, 2 days agoshiiitboi
1 month, 2 weeks agoBigITGuy
2 months, 2 weeks agodeeden
10 months, 1 week agoSeikolipa
5 months agoklarak
1 year, 1 month agogjimenezf
1 year, 5 months agoYesPlease
1 year, 6 months agocyber_master
1 year, 8 months agoMShaaban
1 year, 10 months agoDee83
2 years, 4 months agobabaseun
2 years, 1 month agojackdryan
2 years, 1 month ago827
2 years, 4 months agosomkiatr
2 years, 5 months agozelda923
2 years, 5 months agorajkamal0
2 years, 5 months agoCccccccc123
2 years, 6 months agoNickolos
2 years, 6 months ago