Test your Apollo knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.
Question 1/12Score 0
What does "polling" (via Apollo Client's `pollInterval` option on `useQuery`) provide as an alternative to GraphQL subscriptions for keeping data relatively fresh?
In this round
What does "polling" (via Apollo Client's `pollInterval` option on `useQuery`) provide as an alternative to GraphQL subscriptions for keeping data relatively fresh?
What is the "N+1 query problem" in GraphQL server implementations (including those built with Apollo Server), and how does a tool like DataLoader typically address it?
What is "cache normalization" combined with a mutation's ability to automatically update the cache — what does Apollo Client's `update` function (or automatic cache updates based on returned mutation data) accomplish?
What is the purpose of the `refetchQueries` option on an Apollo Client mutation?
What is Apollo Client's "local state management" capability (via `@client` directive fields or reactive variables), and what problem does it solve alongside remote GraphQL data?
What does the `useQuery` hook provide in Apollo Client (React integration)?
What is Apollo Client's `InMemoryCache`, and what configuration might be needed for it to correctly normalize a custom type that doesn't use a standard `id` field?
What is a reasonable general criterion for deciding whether GraphQL/Apollo is a better fit for a project than a traditional REST API, versus situations where REST might remain the simpler, more appropriate choice?
What is Apollo Server, and what role does it play in a GraphQL-based backend?
What is a "resolver" in the context of Apollo Server (and GraphQL generally)?
What is a general reason a team might choose GraphQL (via Apollo or another implementation) over a traditional REST API for a frontend application with complex, varied data needs?
What is the purpose of GraphQL "variables" in a query, e.g. `query GetUser($id: ID!) { user(id: $id) { name } }`, and how does Apollo Client typically supply them?
Gaps to close?
Read the curated Apollo notes — core concepts, patterns, interview prep.