Schema & Types interview questions

27 Schema & Types questions from the GraphQL bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is Schema?

Junior
  1. A.the typed contract defining every queryable type, field and operation an API exposes to clients
  2. B.an abstract type listing fields that multiple object types must each implement, enabling shared polymorphic selections
  3. C.a named type made up of fields, each returning a scalar or another type, that models an entity in the graph
  4. D.a serialized-as-String scalar intended to be a unique, often opaque, identifier for an object and not human-readable

Answer + AI explanation with Pro

2. Which term means: "the typed contract defining every queryable type, field and operation an API exposes to clients"?

Junior
  1. A.Enum
  2. B.Schema
  3. C.Input type
  4. D.Custom scalar

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.Schema — a special object-like type used only to pass structured argument data into operations, never returned in results
  2. B.Schema — a named type made up of fields, each returning a scalar or another type, that models an entity in the graph
  3. C.Schema — an abstract type listing fields that multiple object types must each implement, enabling shared polymorphic selections
  4. D.Schema — the typed contract defining every queryable type, field and operation an API exposes to clients

Answer + AI explanation with Pro

4. What is Object type?

Junior
  1. A.an abstract type whose value is exactly one of several listed object types that need share no common fields
  2. B.a special object-like type used only to pass structured argument data into operations, never returned in results
  3. C.a named type made up of fields, each returning a scalar or another type, that models an entity in the graph
  4. D.a serialized-as-String scalar intended to be a unique, often opaque, identifier for an object and not human-readable

Answer + AI explanation with Pro

5. Which term means: "a named type made up of fields, each returning a scalar or another type, that models an entity in the graph"?

Junior
  1. A.Object type
  2. B.Input type
  3. C.Schema
  4. D.Enum

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.Object type — a special object-like type used only to pass structured argument data into operations, never returned in results
  2. B.Object type — a serialized-as-String scalar intended to be a unique, often opaque, identifier for an object and not human-readable
  3. C.Object type — a named type made up of fields, each returning a scalar or another type, that models an entity in the graph
  4. D.Object type — a type restricting a field to a fixed, predefined set of named string values

Answer + AI explanation with Pro

7. What is Scalar?

Junior
  1. A.the typed contract defining every queryable type, field and operation an API exposes to clients
  2. B.an abstract type whose value is exactly one of several listed object types that need share no common fields
  3. C.a user-defined leaf type, like DateTime, with its own serialization and validation logic beyond the built-in primitives
  4. D.a leaf value type such as Int, Float, String, Boolean or ID that resolves to a concrete primitive

Answer + AI explanation with Pro

8. Which term means: "a leaf value type such as Int, Float, String, Boolean or ID that resolves to a concrete primitive"?

Junior
  1. A.Enum
  2. B.Schema
  3. C.Union
  4. D.Scalar

Answer + AI explanation with Pro

9. Which statement is correct?

Junior
  1. A.Scalar — an abstract type whose value is exactly one of several listed object types that need share no common fields
  2. B.Scalar — a leaf value type such as Int, Float, String, Boolean or ID that resolves to a concrete primitive
  3. C.Scalar — a named type made up of fields, each returning a scalar or another type, that models an entity in the graph
  4. D.Scalar — the typed contract defining every queryable type, field and operation an API exposes to clients

Answer + AI explanation with Pro

10. What is ID type?

Junior
  1. A.a serialized-as-String scalar intended to be a unique, often opaque, identifier for an object and not human-readable
  2. B.the typed contract defining every queryable type, field and operation an API exposes to clients
  3. C.a user-defined leaf type, like DateTime, with its own serialization and validation logic beyond the built-in primitives
  4. D.an abstract type whose value is exactly one of several listed object types that need share no common fields

Answer + AI explanation with Pro

11. Which term means: "a serialized-as-String scalar intended to be a unique, often opaque, identifier for an object and not human-readable"?

Junior
  1. A.Enum
  2. B.ID type
  3. C.Object type
  4. D.Union

Answer + AI explanation with Pro

12. Which statement is correct?

Junior
  1. A.ID type — a named type made up of fields, each returning a scalar or another type, that models an entity in the graph
  2. B.ID type — a serialized-as-String scalar intended to be a unique, often opaque, identifier for an object and not human-readable
  3. C.ID type — a special object-like type used only to pass structured argument data into operations, never returned in results
  4. D.ID type — a leaf value type such as Int, Float, String, Boolean or ID that resolves to a concrete primitive

Answer + AI explanation with Pro

13. What is Input type?

Mid
  1. A.the typed contract defining every queryable type, field and operation an API exposes to clients
  2. B.a leaf value type such as Int, Float, String, Boolean or ID that resolves to a concrete primitive
  3. C.an abstract type whose value is exactly one of several listed object types that need share no common fields
  4. D.a special object-like type used only to pass structured argument data into operations, never returned in results

Answer + AI explanation with Pro

14. Which term means: "a special object-like type used only to pass structured argument data into operations, never returned in results"?

Mid
  1. A.Custom scalar
  2. B.Input type
  3. C.Schema
  4. D.ID type

Answer + AI explanation with Pro

15. Which statement is correct?

Mid
  1. A.Input type — a user-defined leaf type, like DateTime, with its own serialization and validation logic beyond the built-in primitives
  2. B.Input type — an abstract type listing fields that multiple object types must each implement, enabling shared polymorphic selections
  3. C.Input type — a special object-like type used only to pass structured argument data into operations, never returned in results
  4. D.Input type — an abstract type whose value is exactly one of several listed object types that need share no common fields

Answer + AI explanation with Pro

16. What is Enum?

Junior
  1. A.a leaf value type such as Int, Float, String, Boolean or ID that resolves to a concrete primitive
  2. B.a user-defined leaf type, like DateTime, with its own serialization and validation logic beyond the built-in primitives
  3. C.an abstract type listing fields that multiple object types must each implement, enabling shared polymorphic selections
  4. D.a type restricting a field to a fixed, predefined set of named string values

Answer + AI explanation with Pro

17. Which term means: "a type restricting a field to a fixed, predefined set of named string values"?

Junior
  1. A.Enum
  2. B.Custom scalar
  3. C.Object type
  4. D.ID type

Answer + AI explanation with Pro

18. Which statement is correct?

Junior
  1. A.Enum — a leaf value type such as Int, Float, String, Boolean or ID that resolves to a concrete primitive
  2. B.Enum — an abstract type listing fields that multiple object types must each implement, enabling shared polymorphic selections
  3. C.Enum — a named type made up of fields, each returning a scalar or another type, that models an entity in the graph
  4. D.Enum — a type restricting a field to a fixed, predefined set of named string values

Answer + AI explanation with Pro

19. What is Interface?

Mid
  1. A.a special object-like type used only to pass structured argument data into operations, never returned in results
  2. B.the typed contract defining every queryable type, field and operation an API exposes to clients
  3. C.an abstract type whose value is exactly one of several listed object types that need share no common fields
  4. D.an abstract type listing fields that multiple object types must each implement, enabling shared polymorphic selections

Answer + AI explanation with Pro

20. Which term means: "an abstract type listing fields that multiple object types must each implement, enabling shared polymorphic selections"?

Mid
  1. A.ID type
  2. B.Scalar
  3. C.Interface
  4. D.Input type

Answer + AI explanation with Pro

21. Which statement is correct?

Mid
  1. A.Interface — an abstract type listing fields that multiple object types must each implement, enabling shared polymorphic selections
  2. B.Interface — a leaf value type such as Int, Float, String, Boolean or ID that resolves to a concrete primitive
  3. C.Interface — a user-defined leaf type, like DateTime, with its own serialization and validation logic beyond the built-in primitives
  4. D.Interface — the typed contract defining every queryable type, field and operation an API exposes to clients

Answer + AI explanation with Pro

22. What is Union?

Mid
  1. A.a serialized-as-String scalar intended to be a unique, often opaque, identifier for an object and not human-readable
  2. B.a named type made up of fields, each returning a scalar or another type, that models an entity in the graph
  3. C.the typed contract defining every queryable type, field and operation an API exposes to clients
  4. D.an abstract type whose value is exactly one of several listed object types that need share no common fields

Answer + AI explanation with Pro

23. Which term means: "an abstract type whose value is exactly one of several listed object types that need share no common fields"?

Mid
  1. A.Input type
  2. B.Union
  3. C.Schema
  4. D.Object type

Answer + AI explanation with Pro

24. Which statement is correct?

Mid
  1. A.Union — a special object-like type used only to pass structured argument data into operations, never returned in results
  2. B.Union — the typed contract defining every queryable type, field and operation an API exposes to clients
  3. C.Union — an abstract type whose value is exactly one of several listed object types that need share no common fields
  4. D.Union — a type restricting a field to a fixed, predefined set of named string values

Answer + AI explanation with Pro

25. What is Custom scalar?

Senior
  1. A.a leaf value type such as Int, Float, String, Boolean or ID that resolves to a concrete primitive
  2. B.the typed contract defining every queryable type, field and operation an API exposes to clients
  3. C.a user-defined leaf type, like DateTime, with its own serialization and validation logic beyond the built-in primitives
  4. D.a type restricting a field to a fixed, predefined set of named string values

Answer + AI explanation with Pro

26. Which term means: "a user-defined leaf type, like DateTime, with its own serialization and validation logic beyond the built-in primitives"?

Senior
  1. A.Union
  2. B.Schema
  3. C.Custom scalar
  4. D.Object type

Answer + AI explanation with Pro

27. Which statement is correct?

Senior
  1. A.Custom scalar — an abstract type whose value is exactly one of several listed object types that need share no common fields
  2. B.Custom scalar — a type restricting a field to a fixed, predefined set of named string values
  3. C.Custom scalar — a user-defined leaf type, like DateTime, with its own serialization and validation logic beyond the built-in primitives
  4. D.Custom scalar — a special object-like type used only to pass structured argument data into operations, never returned in results

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Schema & Types question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers