PrepAway - Latest Free Exam Questions & Answers

What conclusion can you draw?

You work as the Enterprise application developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. The design of applications forms part of your responsibilities at Domain.com. Domain.com operates as a cosmetics company.
You are currently busy developing an enterprise application for Domain.com. This application must be able to support the ability to access chemical data. This chemical data are stored in five relational databases. The chemical makeup of each product is represented as a business entity. The business logic determines how the chemical makeup can be used in combinations to create new products. You need to evaluate the design in terms of the best performance that is can offer. Following are the physical design aspects that you should take into account in you evaluation:
1. One assembly for all business entities.
2. One assembly to contain business logic.
3. An assembly per type of database.

What conclusion can you draw?

PrepAway - Latest Free Exam Questions & Answers

A.
This design will result in the best performance.

B.
This design will not yield the best performance.
You should create one assembly for each type of business entity.

C.
This design will not yield the best performance.
You should create an assembly for each type of chemical makeup combination.

D.
This design will not yield the best performance.
You should create one assembly for all databases.

Explanation:
The fewer the assemblies the better the performance when it comes to a Microsoft ASP.NET Web application. When the common language runtime (CLR) loads an assembly, it performs certain functions. These functions are necessary and will definitely affect performance when a large number of assemblies are loaded. In this design, only one assembly is used to contain the business entities and only one assembly is used to contain the business logic. Due to a data access component having to correspond to a single data store, an assembly exists for each type of database; however, only one data access assembly will be loaded to access a particular database.
Incorrect answers:
B: You should not create an assembly for each type of chemical makeup combination. This will require the application to load multiple assemblies when different entities are combines. The loading of multiple assemblies degrades performance. It is mentioned in the question that the chemical makeup of each product is represented as an entity.
C: You should not create an assembly for each type of chemical makeup combination. This will require the application to load multiple assemblies when different entities are combines. The loading of multiple assemblies degrades performance. It is mentioned in the question that the chemical makeup of each product is represented as an entity.
D: You should not create one assembly for all the databases. a data access component should correspond to only one single data store. In this case the data store is a database and because only one assembly will be loaded to access a particular database, multiple data access assemblies will not cause performance to degrade.


Leave a Reply