Designing services
22 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

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

  • Software that listens to requests and/or sends back responses (correct)
  • Software that interacts directly with the user
  • Software that is installed on a device
  • Software that performs automated tasks

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

  • Neither server-side nor client-side
  • Client-side
  • Server-side (correct)
  • Both server-side and client-side

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

  • Billing service
  • Music application (correct)
  • Song service
  • Playlist service

What is a sign of tightly coupled services?

<p>Updating one service requires changing the logic in another service (D)</p> Signup and view all the answers

What is the concept of high cohesion?

<p>The logic, methods, and classes of a single service should be functionally related and support a single purpose (C)</p> Signup and view all the answers

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

<p>Structural diagrams (A)</p> Signup and view all the answers

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

<p>Entity-Relationship diagrams (A)</p> Signup and view all the answers

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

<p>Reduced complexity of system design (A)</p> Signup and view all the answers

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

<p>Determining the functionality of each service (A)</p> Signup and view all the answers

Which of the following is a disadvantage of using microservices?

<p>Increased complexity (D)</p> Signup and view all the answers

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

<p>Microservices have better scalability (C)</p> Signup and view all the answers

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

<p>Microservices allow for greater reusability but have higher initial development costs (B)</p> Signup and view all the answers

What is the concept of loose coupling in microservices?

<p>Services have minimal dependency on each other (A)</p> Signup and view all the answers

Which of the following best describes a monolithic design?

<p>A monolithic design refers to software that is built and deployed as a single unit. (C)</p> Signup and view all the answers

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

<p>Easy development and fast deployment (D)</p> Signup and view all the answers

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

<p>Low agility (B)</p> Signup and view all the answers

Which of the following best describes microservices?

<p>Microservices are a software design style that emphasizes modular component-based services. (A)</p> Signup and view all the answers

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

<p>Because it is not related to the cart functionality (D)</p> Signup and view all the answers

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

<p>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 (A)</p> Signup and view all the answers

Which of the following is true about service interfaces?

<p>A service interface is the published interface used to invoke the service methods (B)</p> Signup and view all the answers

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

<p>To describe the request and response messages that a service uses to communicate over a network (B)</p> Signup and view all the answers

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

<p>To create a list of values within the message (C)</p> Signup and view all the answers

More Like This

Architecture Orientée Services
45 questions
Architecture SOA - Chapitre 1
45 questions
Examen Final - SOA et WS
13 questions

Examen Final - SOA et WS

ConciliatoryBarbizonSchool5408 avatar
ConciliatoryBarbizonSchool5408
Use Quizgecko on...
Browser
Browser