プラットフォーム アーキテクトは、クライアントに属するすべてのポリシーの表示など、さまざまなタスクを実行する従来のモノリシック SOAP ベースの Web サービスを継承します。このサービスは、生命保険管理システムと損害保険管理システムの 2 つのバックエンド システムに接続し、各システム内で保険ポリシー情報を照会して結果を集約し、ユーザー インターフェイス (UI) に SOAP ベースの応答を表示します。
アーキテクトは、API 主導の規則に従うためにモノリシック Web サービスを分割したいと考えています。
サービスのどの部分をプロセス層に配置する必要がありますか?
正解:A
In the API-led connectivity approach, each layer (System, Process, and Experience) has a distinct purpose:
* System APIs: These APIs connect directly to backend systems to expose and unlock data in a standardized way.
* Process APIs: These are responsible for orchestrating and processing data across different systems, combining information where needed.
* Experience APIs: These are designed for specific user interfaces or applications, often transforming data formats to fit the needs of each consumer application.
Why Option A is Correct:
* Process APIs are designed to combine data from multiple systems, which aligns with the function of aggregating policy information from both the life and general insurance systems. This aggregation logic would ideally reside in the Process layer, separating data retrieval from data orchestration.
* Moving this functionality to the Process layer enables reusability and modularity, as other Experience APIs or services could also leverage the combined policy data if needed.
Explanation of Incorrect Options:
* Option B (Presenting the SOAP-based response) would be managed by the Experience layer, as this layer adapts data formats for specific interfaces.
* Option C (Authenticating and maintaining backend connections) would typically be handled within the System layer, where backend integration and security handling occurs.
* Option D (Querying data) is the function of System APIs, which access the backend systems directly and expose the raw data without additional processing.
ReferencesFor further details on API-led architecture and the roles of each layer, refer to MuleSoft's documentation on API-led connectivity and API layers.