Arquitectura Flashcards

1
Q

La diferencia entre Tier y Layer es

A

Tier es la separación física de las layers, y las layers son funcionalidades comunes.

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

Una Tier es

A

La separación física de las capas

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

Una layer es

A

Un componente que se encarga de una categoría de funcionalidad

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

En SOA, el punto de integración es el…

A

Enterprise Services Bus (ESB)

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

En SOA, el ESB constitute un _____ ____ __ ____.

A

Single Point of Failure (SPoF)

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

La capa de datos difiere entre SOA y microservicios porque…

A

SOA usualmente tiene una capa de datos centralizada y monolítica, en microservicios cada microservicio tiene su propia capa de datos.

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

En SOA, la comunicación ocurre mediante el…

A

ESB

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

En microservicios, la comunicación se da de forma…

A

descentralizada, usualmente mediante protocolos ligeros como HTTP/REST

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

La arquitectura en niveles mas común es…

A

3-tier architecture (cliente - servidor (aplicacion -> BBDD).

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

En una one-tier architecture basada en el cliente, esperamos que el cliente se encargue de…

A

Todo: presentación, aplicación y datos

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

Un ejemplo de one-tier architecture es…

A

Una app de escritorio que funcione sin internet

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

Un ejemplo de una two-tier architecture es…

A

Una app de escritorio que hace queries directamente a una base de datos en otro lugar

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

2 desventajas de los microservicios

A
  • Los sistemas distribuidos son difíciles (consistencia, disponibilidad)
  • Es más complejo de entender y monitorear
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

4 ventajas de los microservicios

A
  • Resiliencia (producto de la descentralización)
  • Escalabilidad
  • Desarrollo Independiente
  • Flexibilidad tecnológica
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Los 4 requisitos no-funcionales de las arquitecturas

A
  • Maintainability
  • Scalability
  • Reliability
  • Efficiency
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

C4 stands for

A

Context, Containers, Components and Code

17
Q

The different levels in C4 correspond to levels of _______.

A

abstraction

18
Q

C4 is an ______-____ approach.

A

abstraction-first

19
Q

The level 1 of C4 is called…

A

System Context Diagram

20
Q

The level 2 of C4 is called..

A

Container diagram

21
Q

The level 3 of C4 is called…

A

Component Diagram

22
Q

The level 4 of C4 is…

A

Code

23
Q

In C4, a container is…

A

Essentially, a container is a separately runnable/deployable unit (e.g. a separate process space) that executes code or stores data.

24
Q

A component is…

A

A component is a grouping of related functionality encapsulated behind a well-defined interface

25
Q

In C4, level 1 focuses on the relationship between….

A

People and software systems

26
Q

Key abstractions in C4 (excluding code)

A
  • Person
  • Software System
  • Container
  • Component
27
Q

The intended audience of the level 1 is…

A

Everybody: Technical and non-technical people

28
Q

The intended audience of the level 2 is…

A

Technical people inside and outside the dev team

29
Q

Relationships between containers should have…

A

Their communication protocol specified

(ie. JSON/HTTPS or SMTP)

30
Q

In the level one of C4 , where is your system located?

A

The centre of the diagram

31
Q

What kind of components go into the C4 level 1?

A

Trick question: None. Only software systems and people belong in the level 1 diagram.

32
Q

In C4:

Level 1 focuses on: ______

Level 2 focuses on: ______

Level 3 focuses on: ______

Level 4 focuses on: ______

A

Context

Containers

Components

Code