AWS Cloud Developer: Fullstack - Development Flashcards

1
Q

What is a server?

A

A computer connected to a network

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

What is a cloud server?

A

A computer connected to a network, managed by someone else

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

What is an endpoint?

A

The place that APIs send requests and where the resource lives, is called an endpoint.

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

Best practices for designing endpoints

A
  1. Only use nouns and not verbs
  2. API’s should be versioned - {{host}}/api/v0/cars/5
  3. Lists should be paginated to limit the amount of data sent - {{host}}/api/v0/cars/?offset=40&limit=10
  4. All responses should attempt to use status codes
  5. All responses should include data format eg.) application/json
  6. Error payloads should include information about what went wrong
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Two main kinds of API’s

A

REST and GraphQL

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

Consumable API

A

APIs that are accessible to those outside of the organization, for example, a consumable API allows programmers to search Tweets or Yelp reviews.

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

What are the three Main git branches for development

A

Master (production)
Stage (Testing Server)
Dev (Development)

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

Which git branch do developers work on?

A

Developers fork commits from the Dev branch to work on individual features and make pull requests to have their changes merged with the dev branch.

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

RAM

A

RAM (Random Access Memory): Data can be accessed quickly, but is erased once the server restarts. It may be okay to use RAM when prototyping, and later replace it with a database.

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

Relational Database

A

Relational Database: can store at scale, improve search runtime, and maintain relationships between data fields. We recommend using a database for storing data.

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

Race Condition

A

Race Condition: When an application’s behavior is dependent on other uncontrollable events. This is an issue with storing data on disks or RAM of multiple servers.

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

Hard Drive Disk

A

Hard Drive Disk: Data remains after server restarts, but is specific to that server (not shared across servers).

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

Why not save data in a file?

A
Does not scale well.
Race conditions (inconsistency), write speed, read speed, search speed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why not save data in a file?

A
Does not scale well.
Race conditions (inconsistency), write speed, read speed, search speed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly