Question 120
The team needs defensible proof for this observation: A sanctioned lab script reads repeated hostnames from two approved CSV lists and overcounts distinct targets. Which evidence has the most diagnostic value?
Explanation
Correct Answer
Inspect normalized host values, case differences and the script's distinct-key logic. The authorized fictional case states: A sanctioned lab script reads repeated hostnames from two approved CSV lists and overcounts distinct targets. The underlying principle is that data normalization and sets can remove duplicates before bounded enumeration. This is the strongest diagnostic evidence for this specific scenario because it addresses the documented trust boundary and constraints, rather than merely another possible security consideration. That evidence distinguishes the hypothesis 'Duplicate strings should not be treated as separate authorized hosts.' from unrelated conditions. A suitable follow-up is: Use a Python set or equivalent unique collection after canonicalizing approved names.
Incorrect Answers
Boolean predicate logic determines enumeration scope and can accidentally expand testing. The reason this does not settle the present case is the actual condition: Duplicate strings should not be treated as separate authorized hosts.
Correct API inventory automation handles pagination and rate limits without unnecessary load. The records needed for this specific case concern: Inspect normalized host values, case differences and the script's distinct-key logic.
Shell quoting and array handling preserve data boundaries during script automation. The appropriate acceptance check is: A test fixture of ten repeated rows reports the correct unique target count.