Question 130
The signed engagement covers this scenario: A read-only lab API returns inventory in pages of 100, but a script stops after page one and retries aggressively when throttled. What is the most appropriate next step within the permitted scope?
Explanation
Correct Answer
Follow supported cursors and bounded backoff while preserving the approved API rate limit. 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 authorized corrective step or controlled test for this specific scenario because it addresses the documented trust boundary and constraints, rather than merely another possible security consideration. The recommended step follows from: First-page success does not establish a complete asset inventory. Its success can be checked by this concrete outcome: The script retrieves all expected lab records without excessive requests or duplicates.
Incorrect Answers
Data normalization and sets can remove duplicates before bounded enumeration. The reason this does not settle the present case is the actual condition: First-page success does not establish a complete asset inventory.
Shell quoting and array handling preserve data boundaries during script automation. The records needed for this specific case concern: Inspect next-page cursor, total record indicators and 429 retry guidance in captured responses.
Boolean predicate logic determines enumeration scope and can accidentally expand testing. The source-specific action is: follow supported cursors and bounded backoff while preserving.