What should you do?

You are developing an n-tier application. An architect has provided a layer diagram as shown in the exhibit image. (Click the Exhibit button.)


Your code is built as part of an automated team build. A class in the data access layer is changed to utilize a utility class that resides in the business logic layer.
You need to ensure that the code and layer diagram are valid in a manner that follows good architectural and object oriented practices.
What should you do?
A. Create a new cross-cutting layer and refactor the utility class into the new layer, allowing the new layer to reference both the data access layer and the business logic layer.
B. Leave the layers the same and duplicate the utility class in both the data access layer and the business logic layer.
C. Create a new cross-cutting layer and refactor the utility class into the new layer, allowing the data access layer and business logic layer to have oneway dependencies to the new layer.
D. Change the dependency between the data access layer and the business logic layer to be bi- directional.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.