SOA Design & Architecture Lab - S90.09 Exam Practice Test

Service Consumer A sends a message to Service A.
Before the message arrives with Service A, it is intercepted by Service Agent A (1). which checks the message for
compliance to Policy A that is required by Service A.
If the message fails compliance, Service Agent A will not allow it to proceed and will instead write the message contents to a
log. If the message does comply to the policy, it continues to be transmitted toward Service
A, but before it arrives it is intercepted by Service Agent B (2), which validates the security
credentials in the message header. If the security credential validation fails, the message is
rejected and a runtime exception is raised. If the security credentials are validated, the
message is sent to Service A.
Upon receiving the message, Service A retrieves a data value from a database and
populates the message header with this data value (3) prior to forwarding the message to
Service B.
Before the message arrives at Service B.
it is intercepted by Service Agent C (4) which checks the message for compliance with two policies: Policy B and Policy C.
Policy
B is identical to Policy A that was checked by Service Agent A.
To check for compliance to Policy C.
Service Agent C uses the data value added by Service A.
If the message complies with both of the policies, it is forwarded to Service B (5), which stores the message contents in its own database.

You are told that Policy B and Policy C have changed. Also, in order to carry out the
compliance check of Policy C, Service Agent C will now require a new data value from the
Service B database. How can this service composition architecture be changed to fulfill
these new requirements?
Correct Answer: B
Service A is a utility service that provides generic data access logic to a database that
contains data that is periodically replicated from a shared database (1). Because the
Standardized Service Contract principle was applied to the design of Service A, its service
contract has been fully standardized.
The service architecture of Service A is being accessed by three service consumers.
Service Consumer A accesses a component that is part of the Service A implementation by
invoking it directly (2). Service Consumer B invokes Service A by accessing its service
contract (3). Service Consumer C directly accesses the replicated database that is part of
the Service A implementation (4).
You've been told that the shared database will soon be replaced with a new database
product that will have new data models and new replication technology. How can the
Service A architecture be changed to avoid negative impacts that may result from the
replacement of the database and to establish a service architecture in which negative
forms of coupling can be avoided in the future?
Correct Answer: B
Service Consumer A sends a message to Service A.
There are currently three duplicate implementations of Service A (Implementation 1, Implementation 2, Implementation 3).
The message sent by Service Consumer A is intercepted by Service Agent A (1), which
determines at runtime which implementation of Service A to forward the message to.
All three implementations of Service A reside on the same physical server.

You are told that despite the fact that duplicate implementations of Service A exist,
performance is still poor at times. Also, you are informed that a new service capability will
soon need to be added to Service A that will introduce functionality that will require access
to a shared database that is used by many other clients and applications in the IT
enterprise. This is expected to add further performance demands on Service A . How can
this service architecture be changed to improve performance in preparation for the addition
of the new service capability?
Correct Answer: D
The Client and Vendor services are agnostic services that are both currently part of
multiple service compositions. As a result, these services are sometimes subjected to
concurrent access by multiple service consumers.
The Client service is an entity service that primarily provides data access logic to a client
database but also provides some calculation logic associated with determining a client's
credit rating. The Vendor service is also an entity service that provides some data access
logic but can also generate various dynamic reports.
After reviewing historical statistics about the runtime activity of the two services, it was
discovered that the majority of concurrent runtime access is related to the processing of
business rules. With the Client service, it is the calculation logic that is frequently required
and with the Vendor service it is the dynamic reporting logic that needs to be accessed
separately from the actual report generation.

Currently, due to the increasing amount of concurrent access by service consumers, the
runtime performance of both the Client and Vendor services has worsened and has
therefore reduced their effectiveness as service composition members. What steps can be
taken to solve this problem without introducing new services?
Correct Answer: B
0
0
0
0