Recall & Review
beginner
What is GraphQL federation?
GraphQL federation is a way to combine multiple GraphQL services into one unified graph, allowing them to work together as a single API.
Click to reveal answer
beginner
How does federation help scale GraphQL APIs?
Federation helps scale GraphQL by letting teams build and maintain separate services independently, which then combine into one graph, making it easier to grow and manage large APIs.
Click to reveal answer
intermediate
Why is dividing a GraphQL API into smaller services beneficial?
Dividing a GraphQL API into smaller services allows teams to work on different parts without conflicts, speeds up development, and improves reliability by isolating issues.
Click to reveal answer
intermediate
What role does the gateway play in GraphQL federation?
The gateway acts like a traffic controller that receives client requests and routes them to the right service, then combines the results into one response.
Click to reveal answer
beginner
How does federation improve team collaboration?
Federation allows different teams to own and update their parts of the API independently, reducing coordination overhead and speeding up changes.
Click to reveal answer
What does GraphQL federation primarily enable?
✗ Incorrect
Federation allows multiple GraphQL services to work together as a single API.
In federation, what is the main purpose of the gateway?
✗ Incorrect
The gateway routes client requests to the right services and merges their responses.
How does federation help when multiple teams work on a GraphQL API?
✗ Incorrect
Federation lets teams manage their own services, improving collaboration and reducing conflicts.
Which of these is NOT a benefit of GraphQL federation?
✗ Incorrect
Federation does not handle database backups; it focuses on API composition and scaling.
What happens if one federated service fails?
✗ Incorrect
Failure in one service affects only its part, improving overall API reliability.
Explain in your own words why federation helps GraphQL scale better.
Think about how dividing work and combining results helps big projects.
You got /4 concepts.
Describe the role of the gateway in a federated GraphQL architecture.
Imagine the gateway as a traffic controller for API requests.
You got /4 concepts.