BARU
Ukuran huruf
Lembar kerjaSoftware Architecture
Total soal: 20
Worksheet time: 12mins
Which of the following are characteristics of a microservice?
Dependent and unique
Dependent and specialized
Autonomous and unique
Autonomous and specialized
How many architectural layers does a layered application usually have (amount of standard layers)?
3
4
5
6
What is a microservice?
A design used primarily in functional programming and object-oriented programming
A small program that represents discrete logic that executes within a well-defined boundary on dedicated hardware
A style of design for enterprise systems based on a loosely coupled component architecture
A very small piece of code that never gets any bigger than 10 lines
When would developers use microservices?
When they want to write cell phone applications that run quickly
When they need to create large, enterprise-level applications that are subject to changes on a frequent basis
When they work with ephemeral nano technology
When they create applications specifically for scientific test equipment
Which of the following responses is an advantage of microservices?
Any microservice component can change independently from other components
They don't require a lot of expertise to program
They're so small that developers can typically write very powerful ones with a few lines of text
They are easy to manage
Which of the following responses is a disadvantage of microservices?
Latency issues can occur during heavy use.
All of the above
Microservices are very difficult to manage at scale
Microservices require a lot of monitoring to operate effectively
What are some technologies commonly used to implement microservices?
Docker
Kubernetes
None of the above
All of the above
How is distributed tracing used in microservices?
As a mechanism to observe the behavior of distinct system calls between and within microservices
As a mechanism to ensure that failed microservices are resurrected properly
As a mechanism to transfer log management between a given host on demand
As a mechanism to change the behavior of a microservice at runtime
What does the term "bounded context" mean in relation to microservices?
How a microservice uses memory
The logical domain represented by the data consumed and emitted by a microservice according to the data's purpose, structure and meaning
The cloud provider's region where the microservice operates
The common characteristics within a collection of entities in one or many business domains
Why is running microservices in an on-premises data center not an ideal scenario?
Organizations will miss out on scalability provided by the cloud.
It increases the cost associated with microservices.
The microservices will be less secure.
You cannot actually run microservices in an on-premises data center.
Which of these is a way the addition of microservices may affect a large organization?
It will enable more cross-team collaboration.
It will create more coupling between application data from code and the underlying infrastructure.
It will increase the need for single-server setups.
None of the above
Why does a decentralized governance model work best for a microservices architecture?
All of the above
Teams can use their preferred language and tools to build the services they own.
Services are deployed and versioned faster due to a lack of red tape.
Teams retain more ownership over the services they are responsible for.
Your environment will be more agile if each microservice needs to access only one type of resource.
True
False
In a microservices strategy, why is it important to identify the business functions of applications and map similar functions across all your applications?
Because microservices should not be considered for these functions
Because these functions will serve as the targets for microservices creation
So that each of those functions can be outsourced to a third party
It is not actually important to identify business functions of applications.
True or false: Microservices are only meant for smaller businesses.
False
True
When would a microservices architecture be favorable for a company?
If a cloud architecture requires scalability.
If an application would benefit from low coupling.
Both of the above
None of the above.
Complexity of developing, testing & deploying distributed system, Handling partial failures account to disadvantages of:
Microservices
Monolithic
Scaling the application can be challenging in _____________ due to conflicting needs of Memory, CPU, IO
Monolithic
Microservices
