1. What is the primary risk of allowing unrestricted GraphQL queries in production?
- Schema mismatch
- Query complexity attacks
- Over-fetching data
- Cache eviction
Reveal sample answer and explanation
Answer: Query complexity attacks
Unrestricted queries can cause denial-of-service via complex queries.