Term
A volume is a form of persistent storage for Docker containers that:
Is completely managed by Docker
Mounts a file or directory from the Host VM
Stores data in memory on the Host VM
Encrypts the data by default for data privacy
Give this one a try later!
Each Service Manages Its Own
Synchronous Communication
Database
Is completely managed by LeaderNotAvailable
Docker SocketDisconnectedError
Don't know?
, 2 of 122
Term
Load balancing refers to efficiently distributing incoming network
traffic across a group of backend servers (i.e., the server farm or
server pool). In our system, the backend servers would correspond
to instances of our services.
Give this one a try later!
False docker run
Can validate requests and
True
responses against a schema
Don't know?
3 of 122
Term
For the externalized configuration pattern, a service must run in
multiple environments - dev, test, qa, staging, production - without
modification and/or recompilation.
The containerized services in our sample application can run in
multiple environments without rebuilding the images.
Give this one a try later!
, Polyglot False
array True
Don't know?
4 of 122
Term
Identify two reasons for the Database Per Service architectural
pattern for Microservices
Different services have different data storage requirements
Services must be tightly coupled to maintain the consistency of data
in all cases
Services must be loosely coupled so that they can be developed,
deployed and scaled independently
Services use the same database technology to ensure the
transferability of data across data transactions
Give this one a try later!
Consumed primarily by developers
Logs "low level" information
Can be noisy
Logs "high level" information (e.g. failed installation of a program)
Must not be too "noisy" (containing many duplicate events or information is not
helpful to its intended audience)
Consumed primarily by system administrators
, Dashboard UI Audit Events data and indices are inconsistent
Kafka is not persisting messages on the events topic when the kafka container is
stopped and removed
Storage Service does not always consume messages when the entire system is
started with docker-compose up -d
Processing Service processes either too many or too few events
- Different services have different data storage requirements
- Services must be loosely coupled so that they can be developed,
deployed and scaled independently
Don't know?
5 of 122
Definition
You would use a microservices architecture when you have a large
team all working on the same project, as well with different coding
languages. By decomposing the system, it makes it easier to merge
code without conflicts since all the services are split up by business
capabilites. Another feature would be independent deployment
since a team would not need to tear down an entire system just to
make changes to one service. For example, Netflix has a
microservices architecture, hence they are able to split their
streaming and data collection. If they need to add movies this can
be done seperately from their data collection service.
Give this one a try later!
2. When you would not use a microservices architecture?
A Monolith cannot use Polyglot Persistence