wayground logo

Lembar Kerja Gratis yang Dapat Dicetak

BARU

Ukuran huruf

S
M
L
XL
Lembar kerja

Software Architecture

Total soal: 20

Worksheet time: 12mins

Nama
Kelas
Tanggal
1.

Which of the following are characteristics of a microservice? ​

a)

Dependent and unique​

b)

Dependent and specialized​

c)

Autonomous and unique​

d)

Autonomous and specialized​

2.

How many architectural layers does a layered application usually have (amount of standard layers)?

a)

3

b)

4

c)

5

d)

6

3.
Which architectural layers can be combined into one layer in small applications?
a)
Presentation & Business layers
b)
Business & Persistence layers
c)
Persistence & Database layers
d)
Business & Database layers
e)
Presentation & Persistence layers
4.
What is NOT a correct statement about the layered architecture?
a)
Each layer forms an abstraction and thus does not know the details about other layers.
b)
It has separation of concerns among components.
c)
It is standard practice to combine multiple layers.
d)
It has well-defined component interfaces.
e)
Each component has a limited scope.
5.

What is a microservice?

a)

A design used primarily in functional programming and object-oriented programming

b)

A small program that represents discrete logic that executes within a well-defined boundary on dedicated hardware

c)

A style of design for enterprise systems based on a loosely coupled component architecture

d)

A very small piece of code that never gets any bigger than 10 lines

6.

When would developers use microservices?

a)

When they want to write cell phone applications that run quickly

b)

When they need to create large, enterprise-level applications that are subject to changes on a frequent basis

c)

When they work with ephemeral nano technology

d)

When they create applications specifically for scientific test equipment

7.

Which of the following responses is an advantage of microservices?

a)

Any microservice component can change independently from other components

b)

They don't require a lot of expertise to program

c)

They're so small that developers can typically write very powerful ones with a few lines of text

d)

They are easy to manage

8.

Which of the following responses is a disadvantage of microservices?

a)

Latency issues can occur during heavy use.

b)

All of the above

c)

Microservices are very difficult to manage at scale

d)

Microservices require a lot of monitoring to operate effectively

9.

What are some technologies commonly used to implement microservices?

a)

Docker

b)

Kubernetes

c)

None of the above

d)

All of the above

10.

How is distributed tracing used in microservices?

a)

As a mechanism to observe the behavior of distinct system calls between and within microservices

b)

As a mechanism to ensure that failed microservices are resurrected properly

c)

As a mechanism to transfer log management between a given host on demand

d)

As a mechanism to change the behavior of a microservice at runtime

11.

What does the term "bounded context" mean in relation to microservices?

a)

How a microservice uses memory

b)

The logical domain represented by the data consumed and emitted by a microservice according to the data's purpose, structure and meaning

c)

The cloud provider's region where the microservice operates

d)

The common characteristics within a collection of entities in one or many business domains

12.

Why is running microservices in an on-premises data center not an ideal scenario?

a)

Organizations will miss out on scalability provided by the cloud.

b)

It increases the cost associated with microservices.

c)

The microservices will be less secure.

d)

You cannot actually run microservices in an on-premises data center.

13.

Which of these is a way the addition of microservices may affect a large organization?

a)

It will enable more cross-team collaboration.

b)

It will create more coupling between application data from code and the underlying infrastructure.

c)

It will increase the need for single-server setups.

d)

None of the above

14.

Why does a decentralized governance model work best for a microservices architecture?

a)

All of the above

b)

Teams can use their preferred language and tools to build the services they own.

c)

Services are deployed and versioned faster due to a lack of red tape.

d)

Teams retain more ownership over the services they are responsible for.

15.

Your environment will be more agile if each microservice needs to access only one type of resource.

a)

True

b)

False

16.

In a microservices strategy, why is it important to identify the business functions of applications and map similar functions across all your applications?

a)

Because microservices should not be considered for these functions

b)

Because these functions will serve as the targets for microservices creation

c)

So that each of those functions can be outsourced to a third party

d)

It is not actually important to identify business functions of applications.

17.

True or false: Microservices are only meant for smaller businesses.

a)

False

b)

True

18.

When would a microservices architecture be favorable for a company?

a)

If a cloud architecture requires scalability.

b)

If an application would benefit from low coupling.

c)

Both of the above

d)

None of the above.

19.

Complexity of developing, testing & deploying distributed system, Handling partial failures account to disadvantages of:

a)

Microservices

b)

Monolithic

20.

Scaling the application can be challenging in _____________ due to conflicting needs of Memory, CPU, IO

a)

Monolithic

b)

Microservices