Question 50
An external data source returns more fields than the current caller is entitled to see. What is the best next design or configuration action?
Explanation
Correct Answer
Enforce field-level authorization in the source API before returning tool data. The model cannot be relied upon to hide unauthorized fields after broad retrieval.
Incorrect Answers
Separation of duties prevents the initiating identity from becoming the sole authorizer. That matters for “their own expense claim, violating segregation of duties” rather than the condition “than the current caller is entitled to see”.
Exposing credentials to client-side sessions would make the backend callable by unauthorized parties. This solves “sensitive data API using a browser-generated client secret”; the stated issue is “than the current caller is entitled to see”.
The principle of least privilege should be applied to both maker and runtime connections. The deciding difference is “corporate drive but serves only one legal team” versus “than the current caller is entitled to see”.