GraphQL Flashcards

1
Q

You simply send a single query to the ______ server that includes the concrete data requirements

A

GraphQL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The GraphQL server responds to a request with a ________ where these requirements are fulfilled

A

JSON object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

One of the most common problems with _______ is that of over- and underfetching. This happens because the only way for a client to download data is by hitting endpoints that return fixed data structures. It’s very difficult to design the API in a way that it’s able to provide clients with their exact data needs

A

REST

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

GraphQL uses this strong type system to define the capabilities of an API

A

GraphQL Schema Definition Language (SDL)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

This schema serves as the contract between the client and the server to define how a client can access the data.

A

GraphQL Schema Definition Language (SDL)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The ____________ allows client applications to access data stored in a linked MongoDB Atlas cluster using any standard GraphQL client

A

Atlas GraphQL API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

___________ automatically creates GraphQL types for every linked collection that has a defined schema and evaluates role-based permissions for all GraphQL requests

A

App Services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A declarative, strongly-typed query language for client applications. Clients define the exact data shape and contents that they need in a single request which eliminates over-fetching problems and circumvents the need for multiple costly round trips to the server.

A

GraphQL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

You generate the GraphQL schema and resolvers from __________ for MongoDB collections.

A

JSON schemas

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A GraphQL _______ is a read operation that requests specific fields from one or more types. App Services automatically generates query types for documents in each collection that has a defined schema.

A

query

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Getting data to and from the backend. It is a more modern API that connects apps to backends

A

GraphQL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

_______ means GraphQL is the right query language for heterogeneous backends, meaning backends with different kinds of data sources besides just databases.

A

Nesting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

uniform backends vs. diverse backends

A

SQL VS Graph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

tables vs. hierarchical data

A

SQL VS Graph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly