All quizzes
Free quiz · 20 questions in the bank

Absinthe quiz

Test your Absinthe knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

Why might a team choose GraphQL (via Absinthe) over a traditional REST API for a Phoenix backend serving a complex frontend?

In this round
  1. Why might a team choose GraphQL (via Absinthe) over a traditional REST API for a Phoenix backend serving a complex frontend?
  2. Why does Absinthe integrate particularly well with the Phoenix web framework?
  3. What does it mean that GraphQL (and Absinthe) queries are typically served over a single endpoint, unlike REST's many resource-specific endpoints?
  4. What does defining a custom GraphQL scalar type in Absinthe (e.g. for a Date) allow?
  5. How does Absinthe typically represent a validation or business-logic error returned from a mutation resolver?
  6. What is the purpose of GraphQL "mutations" in an Absinthe schema, as distinct from "queries"?
  7. Why might overly deep or complex GraphQL queries pose a performance/security concern for an Absinthe-backed API, and what is one way to mitigate it?
  8. When an Absinthe schema evolves over time (e.g. adding a new field), why does GraphQL's design make backward-compatible evolution easier than many REST versioning schemes?
  9. What does the "N+1 query problem" refer to in the context of GraphQL resolvers, and how does Absinthe commonly address it?
  10. What is Absinthe?
  11. What does an Absinthe "interface" type allow a schema to express?
  12. Why would a team enable GraphiQL or GraphQL Playground alongside an Absinthe schema during development?
Gaps to close?
Read the curated Absinthe notes — core concepts, patterns, interview prep.
Absinthe notes

More quizzes

.NET.NET MAUIAccessibilityActixActix WebAgile