W3
Teacher
Explore
Browse by field
Artificial Intelligence
Accounting & Finance
Information Technology
Show all fields
Interview Q&A
All Interview Questions
Beginner
Intermediate
Advanced
Practice
MCQs
Quizzes
Mock Interviews
About
Light
Dark
Auto
Sign in
Get Started
Search interview questions
Search
30 questions for “GraphQL”
Found in 1 field. Select a question to see its full answer.
Matching topics
Node.js
GraphQL
15
Flutter
GraphQL
in Flutter
7
Node.js
GraphQL
with Node.js
5
Information Technology
30 questions in 3 technologies
#
Question
Technology
Topic
Level
1
What is
GraphQL
, and how does it differ from a traditional REST API in terms of how clients request data?
Node.js › GraphQL
Node.js
GraphQL
Beginner
2
What is the difference between a
GraphQL
query variable and hardcoding a value directly inside the query string?
Node.js › GraphQL
Node.js
GraphQL
Beginner
3
How would you set up a basic
GraphQL
server in Node.js using Apollo Server, defining a schema and resolvers?
Node.js › GraphQL
Node.js
GraphQL
Intermediate
4
What is the difference between a
GraphQL
Query, Mutation, and Subscription operation type?
Node.js › GraphQL
Node.js
GraphQL
Intermediate
5
What is
GraphQL
introspection, and why might you want to disable it in a production environment?
Node.js › GraphQL
Node.js
GraphQL
Intermediate
6
What is the purpose of
GraphQL
fragments, and how do they help avoid duplicating field selections across multiple queries?
Node.js › GraphQL
Node.js
GraphQL
Intermediate
7
How would you handle file uploads in a
GraphQL
API, given
GraphQL
's standard JSON-based transport doesn't naturally support binary file data?
Node.js › GraphQL
Node.js
GraphQL
Intermediate
8
What is the purpose of
GraphQL
's non-null (!) type modifier, and what happens if a resolver for a non-null field returns null unexpectedly?
Node.js › GraphQL
Node.js
GraphQL
Intermediate
9
What is the difference between a
GraphQL
scalar type and an object type, and how would you define a custom scalar (like DateTime) in a Node.js
GraphQL
server?
Node.js › GraphQL
Node.js
GraphQL
Intermediate
10
What is the N+1 query problem in
GraphQL
specifically, and how does DataLoader solve it?
Node.js › GraphQL
Node.js
GraphQL
Advanced
Show all 30 questions in Information Technology