Designing services

ChivalrousSmokyQuartz avatar
ChivalrousSmokyQuartz
·
·
Download

Start Quiz

Study Flashcards

22 Questions

Which of the following best describes a service in the context of software?

Software that listens to requests and/or sends back responses

Where does a service live when it listens to requests from applications on the client-side or from other services on the server-side?

Server-side

Which of the following is an example of a client application?

Music application

What is a sign of tightly coupled services?

Updating one service requires changing the logic in another service

What is the concept of high cohesion?

The logic, methods, and classes of a single service should be functionally related and support a single purpose

Which diagram type is used to illustrate the static parts of a system, such as classes, interfaces, and relationships?

Structural diagrams

What is the artifact commonly produced during database modeling to show the relationship behavior of data entities in a database?

Entity-Relationship diagrams

Which one of the following is not a benefit of writing service interfaces in a self-documenting style?

Reduced complexity of system design

What is one of the challenges of system design when thinking about how services communicate, cooperate, and scale together?

Determining the functionality of each service

Which of the following is a disadvantage of using microservices?

Increased complexity

What is the advantage of using microservices over monoliths in terms of scalability?

Microservices have better scalability

What is the tradeoff between reusability and development cost when using microservices?

Microservices allow for greater reusability but have higher initial development costs

What is the concept of loose coupling in microservices?

Services have minimal dependency on each other

Which of the following best describes a monolithic design?

A monolithic design refers to software that is built and deployed as a single unit.

Which of the following is an advantage of a monolithic design?

Easy development and fast deployment

Which of the following is a disadvantage of a monolithic design?

Low agility

Which of the following best describes microservices?

Microservices are a software design style that emphasizes modular component-based services.

According to the text, why is the proposed updateShippingAddress method an example of low cohesion?

Because it is not related to the cart functionality

Which of the following best describes the request-response model?

A model that describes how a client interacts with a server, where the client sends a request and the server responds with a corresponding response

Which of the following is true about service interfaces?

A service interface is the published interface used to invoke the service methods

What is a message data structure used for in a service interface?

To describe the request and response messages that a service uses to communicate over a network

What is the purpose of the 'repeated' keyword in a message data structure?

To create a list of values within the message

Test your knowledge about software services, client applications, service coupling, high cohesion, and system diagrams. Questions cover the concepts of services, where they are located, examples of client applications, tightly coupled services, and high cohesion. Identify the diagram type used to represent classes, interfaces, and relationships in a system.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Use Quizgecko on...
Browser
Browser