Question 440
A GraphQL endpoint permits nested queries that return customer records from unauthorized tenants. Which technical reason BEST explains the proposed correction?
Explanation
Correct Answer
GraphQL relationship traversal can increase data exposure if access is too broad. This explains why the corrective action is to enforce tenant-aware authorization, bounded query complexity and back-end SQL row security. Confirm the diagnosis when cross-tenant nested queries return no unauthorized records in negative tests.
Incorrect Answers
API generation does not automatically imply that exposed data is appropriately authorized. The actual technical constraint is that graphQL relationship traversal can increase data exposure if access is too broad.
Dynamic SQL may execute under a permission context different from static ownership chains. The actual technical constraint is that graphQL relationship traversal can increase data exposure if access is too broad.
Dynamic masking is evaluated at query output rather than permanently altering storage. The actual technical constraint is that graphQL relationship traversal can increase data exposure if access is too broad.