Question 150
The report includes this case: A test inventory should select systems that are both in the approved lab OU and enabled, but the script accidentally uses OR and includes disabled accounts. Which qualification must remain even after the recommended measure is applied?
Explanation
Correct Answer
Changing a logical operator requires checking null values and grouping of nested expressions. The authorized fictional case states: A test inventory should select systems that are both in the approved lab OU and enabled, but the script accidentally uses OR and includes disabled accounts. The underlying principle is that boolean predicate logic determines enumeration scope and can accidentally expand testing. This is the strongest residual limitation for this specific scenario because it addresses the documented trust boundary and constraints, rather than merely another possible security consideration. It is important not to overclaim from the planned change 'Change the filter to require both authorized OU membership and enabled state.'. The intended acceptance check remains: Unit tests include only users meeting both conditions and exclude the others.
Incorrect Answers
Correct API inventory automation handles pagination and rate limits without unnecessary load. The reason this does not settle the present case is the actual condition: An OR condition broadens this filter beyond the intended intersection.
Data normalization and sets can remove duplicates before bounded enumeration. The records needed for this specific case concern: Review predicate truth cases using representative enabled and disabled accounts.
Shell quoting and array handling preserve data boundaries during script automation. The current corrective requirement is: Change the filter to require both authorized OU membership and enabled state.