Service A sends a message to Service B (1). After Service B writes the message contents to Database A (2), it issues a response message back to Service A (3). Service A then sends a message to Service C (4). Upon receiving this message, Service C sends a message to Service D (5), which then writes the message contents to Database B (6) and issues a response message back to Service C (7).
Service A and Service D are located in Service Inventory
Suggested Answer: C
This solution addresses the two main challenges in the service composition architecture: the different XML schema used by services in Service Inventory A and Service Inventory B, and the incompatible data formats of the two databases.
By applying the Data Model Transformation pattern, data model transformation logic can be inserted to map the invoice-related data between the different XML schemas used by the services in Service Inventory A and Service Inventory B. This can be done at the appropriate points in the message flow: between Service A and Service B, between Service A and Service C, between Service C and Service D, and between the Service D logic and Database B.
By applying the Data Format Transformation pattern, data format transformation logic can be inserted to convert the XML-formatted data used by the services to the CSV format required by Database A, and to convert the proprietary XML schema used by Database B to the XML schema used by the services. This can be done between the Service B logic and Database A.
The Protocol Bridging pattern is not necessary in this case because all services are already communicating using the same protocol (presumably HTTP or a similar protocol).
Not sure if the Data Model Transformation will cover all bases.
KA
Katheryn12 months ago
I think the Protocol Bridging pattern is a solid choice here.
LE
Lenna12 months ago
Wait, Database A can't handle XML? That's surprising!
VE
Veronika1 year ago
Totally agree, the data format needs to be transformed!
MA
Maynard1 year ago
Service A and Service D are in Service Inventory.
JO
Joye1 year ago
I recall that Database A only accepts CSV, so we definitely need a transformation step there. I just can't remember if it's between Service B and Database A or somewhere else.
WI
Willow1 year ago
I'm a bit confused about where to place the Protocol Bridging pattern. I thought it was only for communication issues, but it seems relevant here too.
KE
Keshia1 year ago
I think we practiced a similar question where we had to identify the right transformation patterns. I feel like the Data Format Transformation is definitely needed for the CSV and XML issues.
HU
Hubert1 year ago
I remember studying the Data Model Transformation pattern, but I'm not sure if it applies to all the services in this scenario.
IS
Isadora1 year ago
I think option A makes the most sense since it mentions both data model and data format transformations, but I’m not 100% confident about the specific placements.
BL
Blondell1 year ago
I’m a bit confused about where to apply the Protocol Bridging pattern. I thought it was only for communication issues, not for data format problems.
AR
Arleen1 year ago
This question feels similar to one we practiced where we had to identify the right transformation patterns. I think the Data Format Transformation is definitely needed for the CSV and XML issues.
DO
Dorothy1 year ago
I remember studying the Data Model Transformation pattern, but I'm not entirely sure how it applies to all these services exchanging data.
DE
Denae1 year ago
True, for sure. Video conferencing is designed to provide that interactive, real-time experience. The question is pretty straightforward, so I'm confident I can nail this one.
EM
Emogene1 year ago
My strategy is to eliminate the options that don't make sense first, then focus in on the most likely answer. B seems the most plausible to me.
AR
Ardella1 year ago
I'm a bit confused on this one. Are options A and B the only correct answers, or are there other ways to make an optional field mandatory? I'll need to think this through carefully.
Log in to Pass4Success
Sign in:
Report Comment
Is the comment made by USERNAME spam or abusive?
Commenting
In order to participate in the comments you need to be logged-in.
You can sign-up or
login