编程技能

GraphQL test for hiring

See how candidates read GraphQL code and reason about API behavior.

  • 10 分钟
  • 15 道题
  • 中级
  • 选择题
  • 英语题目
  • 手机和电脑

简短回答

The GraphQL test is an intermediate hiring assessment for backend, frontend and full-stack developers, API designers, and software engineers who build, maintain, or call GraphQL APIs. Candidates read small schemas, operations, and resolver snippets, then judge what they define, whether they are valid, and what a server returns.

测量内容

Designing GraphQL schemas, writing valid operations, and predicting how a server validates, executes and describes them.

Schemas and the type system

Candidates interpret small schemas and assess how GraphQL types define an API.

Queries, mutations and validation

Candidates review queries and mutations, decide whether operations are valid, and consider how a server checks them.

Execution, resolvers and introspection

Candidates reason from resolver snippets about execution and what a GraphQL API can describe through introspection.

题型

选择题

候选人: 阅读简短情境、表格或陈述,并选出正确答案或所有正确答案。

您将看到: 候选人是否充分掌握相关知识并能实际运用,而不只是认得这些内容。

10 分钟内完成 15 道题,每次呈现一道。

适用职位

Backend, frontend and full-stack developers, API designers and software engineers who build, maintain or call GraphQL APIs.

Evidence from practical GraphQL work

  1. See API design and API use

    The questions cover both sides of a GraphQL API: designing schemas and writing requests against them. That gives you evidence beyond a resume's list of technologies.

  2. Check code-based reasoning

    Candidates read small schemas, operations, and plain JavaScript resolver snippets, then predict validity or server results. Review how they reason from code, not just how they describe past work.

  3. Keep the scope vendor-neutral

    Questions follow the published GraphQL specification rather than a particular server library. The test does not assume candidates have used one vendor's tools.

每位候选人可获得的内容

报告示例(虚构数据)GraphQL
68%第 40 百分位。基准:HireValid 候选人,n = 1,575
Schemas and the type system68%
Queries, mutations and validation55%
Execution, resolvers and introspection82%
Integrity Score高置信度
  • 整个测试过程中始终停留在测试标签页
  • 未粘贴答案
  • 以稳定的节奏作答

分数、个人资料和诚信信号可供你结合面试情况进行审核,但绝不会作为自动决策的依据。

免费使用此测试

Test integrity signals for employer review

Each candidate receives a different question set from large pools, in a different order, with answer options shuffled. One question appears at a time, and answer keys stay on HireValid’s servers. This 10-minute, 15-question test does not allow backtracking. Reloading returns the same question with only the time left. Question text cannot be copied or selected, and a blocked copy attempt is recorded. HireValid records signals such as time away from the test tab, pastes into answers, and answers faster than a question can be read. The employer reviews an Integrity Score with its evidence timeline; it does not decide on its own. With candidate consent, random webcam photos can be added. See how we build our tests for more about test design.

Use the score as one piece of evidence

Review the score alongside a GraphQL work sample and a structured interview. A work sample can let candidates work through a schema or operation similar to the code snippets in this test. Ask each candidate the same job-relevant questions and compare their reasoning with the needs of the role. Treat the score as evidence for your review, not as a decision on its own. See the pre-employment testing guide and related React and Node.js tests.

结构化面试问题

  1. How would you shape a GraphQL schema for a feature your team is building?

    Listen for how the candidate connects the schema to the API's intended use and explains their design choices.

  2. Tell me how you would investigate a GraphQL operation that returns unexpected data.

    Listen for a clear account of how they would review the operation, validation, execution, and relevant resolver behavior.

  3. How would you decide what information an API should expose through introspection?

    Listen for reasoning tied to the API and its consumers, rather than a memorized description of introspection.

公平性与合理便利安排

Questions follow the published GraphQL specification rather than any one server library, so no particular vendor's tools are assumed. Code examples use everyday domains such as libraries, orders and events, with names from many backgrounds, and short resolver snippets are written in plain JavaScript. Wording is kept plain so the test measures GraphQL knowledge rather than reading speed in English.

您可以为任何候选人提供额外时间作为便利安排。结果仅供人工审查,绝不会用于自动决策。

Provisional: reliability is reported once 200 candidates have completed it.

阅读我们的公平性原则

测试详情

A short, timed test of practical GraphQL knowledge for people who build or consume GraphQL APIs. Candidates read small schemas, operations and resolver snippets and decide what they define, whether they are valid, and what a server returns when they run. It covers both sides of an API: designing the schema and writing the requests against it.

  • 题目为英文。
  • 无需辅助工具。
  • 每道题只能按顺序作答一次,不能返回修改。
  • 计时测试前的练习题:4 道,限时 4 分钟。

GraphQL, JavaScript 是其各自所有者的商标。HireValid 与这些所有者无关联,也未获得其认可。

常见问题

Who is the GraphQL test designed for?+

It is an intermediate test for backend, frontend, and full-stack developers, API designers, and software engineers who build, maintain, or call GraphQL APIs. Consider whether GraphQL work is part of the role before including it in your hiring process.

What question format does the GraphQL test use?+

The 15 questions are multiple choice. Candidates read small schemas, operations, and resolver snippets, then decide what they define, whether they are valid, or what a server returns. The test takes 10 minutes, and candidates cannot go back to earlier questions.

How does the GraphQL test handle vendor-specific knowledge?+

Questions follow the published GraphQL specification, not any one server library, so they do not assume a particular vendor's tools. Code examples use everyday domains such as libraries, orders, and events, and resolver snippets use plain JavaScript. Wording is kept plain to focus on GraphQL knowledge rather than English reading speed.

Can candidates use aids or try the GraphQL test first?+

No aids are allowed during the test. Candidates can use a separate practice set of four questions with a four-minute time limit to see the question style before taking the 15-question assessment.

相关测试

下次招聘时使用 GraphQL 测试

所有套餐,包括 Free,都包含完整的测试库。

免费使用此测试Free 方案。无需信用卡。
Free 方案。无需信用卡。免费使用此测试

关于编辑团队

由 HireValid 编辑团队撰写并核实事实。 已核查的来源 . 阅读编辑政策。