Question 140
An AL extension team encounters the following situation: A partner adds a second key to a large tracking table to accelerate lookups by supplier and date. Which technical principle best explains the relevant risk or failure?
Explanation
Correct Answer
This is the controlling principle in the reported case. Key choices trade read performance against storage and write maintenance costs. The intended remedy is define a supported secondary key aligned to the query pattern, then evaluate indexing overhead and selectivity.
Incorrect Answers
The related but distinct situation is “An employee imports thousands of records into a custom list page and finds the page triggers too slow for bulk updates”. UI triggers alone are not a reliable boundary for batch or API-driven writes. For the stated problem, “Key choices trade read performance against storage and write maintenance costs” addresses the central condition.
This option serves the scenario “A customer wants one role-specific start page that highlights pending approvals and purchasing work”. The underlying mechanism is that role Centers organize tasks for a business role rather than presenting ordinary record details. The present scenario is distinguished by “Key choices trade read performance against storage and write maintenance costs”.
This alternative addresses the separate case “A purchasing app needs to prevent modification of a locked cost field when a record changes”. Hiding a page field does not protect records written through APIs or background processes. The deciding requirement here is “Key choices trade read performance against storage and write maintenance costs”.