Microservices Basics Flashcards

1
Q

What’s driving the hype during the last decade?

A

Demands for ‘always on applications’ are creating the hype

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

How has application development changed during the recent years?

A

Everything has gotten smaller and faster

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

Why have so many people adopted microservices?

A

To free up the application development for devs.

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

Why is infrastructure incorporated into managing the microservices?

A

You need automation to do it effectively.

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

What does ‘microservices architecture’ mean?

A

It means that microservices is just an architectural approach to designing applications in a way that modular, easy to deploy and scale independently.

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

What are the key characteristics of microservices design pattern?

A
  • Applies to any application
  • Rapid deployments
  • Continuous delivery
  • Push limits of automation tools
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are twelve-factor apps?

A

These are the best practices for building deployable software-as-a-service apps.

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

What three criteria do the twelve-factor apps fit in?

A
  • Portability
  • Deployability
  • Scalability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does JWT stand for?

A

JSON Web Tokens

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

What are the uses of JWTs?

A
  • Information Exchange

* Authentication

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

What are the steps in which a JWT work?

A
  1. GET/login with username and password
  2. The server creates a JWT token
  3. The server returns JWT to client
  4. The client sends a copy of the JWT when making a request
  5. Server checks JWT signature
  6. The server sends a response to the client
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the benefit of applications which are in the form of smaller binaries?

A

The smaller binaries have led to on-demand updates that can happen anytime.

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