Question 180
The testing team records this condition: A read-only lab API returns inventory in pages of 100, but a script stops after page one and retries aggressively when throttled. Which interpretation is technically most defensible?
Explanation
Correct Answer
First-page success does not establish a complete asset inventory. The authorized fictional case states: A read-only lab API returns inventory in pages of 100, but a script stops after page one and retries aggressively when throttled. The underlying principle is that correct API inventory automation handles pagination and rate limits without unnecessary load. This is the strongest principal security interpretation for this specific scenario because it addresses the documented trust boundary and constraints, rather than merely another possible security consideration. The decisive corroborating evidence is: Inspect next-page cursor, total record indicators and 429 retry guidance in captured responses. The proportionate next step is: Follow supported cursors and bounded backoff while preserving the approved API rate limit.
Incorrect Answers
Boolean predicate logic determines enumeration scope and can accidentally expand testing. The records needed for this specific case concern: Inspect next-page cursor, total record indicators and 429 retry guidance in captured responses.
Data normalization and sets can remove duplicates before bounded enumeration. The current corrective requirement is: Follow supported cursors and bounded backoff while preserving the approved API rate limit.
Shell quoting and array handling preserve data boundaries during script automation. The appropriate acceptance check is: The script retrieves all expected lab records without excessive requests or duplicates.