Question 6 of 10Pro Only

Explain the difference between queries, mutations, and subscriptions in GraphQL. How do resolvers work, and what is the N+1 problem?

Sample answer preview

## GraphQL Operations GraphQL has three operation types: queries, mutations, and subscriptions. ### Queries (Read Data) Queries fetch data without modifying it. They are similar to GET requests in REST.

GraphQLquerymutationsubscriptionresolverN+1 problem

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more Full-Stack Developer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime