Enterprise Application Architecture

Test your knowledge of software architecture concepts including N-tier models, scalability patterns, web services, and J2EE design patterns

18 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

I simplify client access to enterprise business services

  1. Fast Lane Reader
  2. Business delegate
  3. Service Locator
  4. Session Facade
Question 2 Multiple Choice (Single Answer)

I improve read performance of tabular data

  1. Model View Controller
  2. Composite Entity
  3. Fast Lane Reader
  4. View Helper
Question 3 Multiple Choice (Multiple Answers)

Which of the following are NOT true about 2-tier architecture models?

  1. Clients may be validation intensive,consequently requiring powerful hardware
  2. Any change to one tier typically affects both tiers
  3. Represents a single point of failure
  4. Each client makes a direct connection with the server
  5. They are not very maintainable
  6. They are quite manageable
Question 4 Multiple Choice (Multiple Answers)

MegaSoft Inc. has added 5 extra web servers to their existing sales solution. This will have increased ______

  1. Availability
  2. Extensibility
  3. Maintainability
  4. Manageability
  5. Performance
  6. Reliability
Question 5 Multiple Choice (Single Answer)

What are the primary advantages a three-tier system has over a two-tier system?

  1. A three-tier system has thin clients whereas a two-tier system will always have fat clients.
  2. A three-tier system will out perform a two-tier system.
  3. A three-tier system is easier to manage than a two-tier system.
  4. A three-tier system is easier to secure.
  5. A three-tier system can be both vertically and horizontally scaled whereas a two-tier system can only be horizontally scaled.
  6. A three-tier system is more extensible than a two-tier system.
Question 6 Multiple Choice (Single Answer)

Which of the following is the most important item that should be considered when designing an application?

  1. Scalability
  2. Maintainability
  3. Reliability
  4. Meeting the needs of the customer
  5. Performance
  6. Ensuring the application is produced on time and within budget
Question 7 Multiple Choice (Multiple Answers)

You have been contracted by a company to help them improve the performance of their sales application. You have suggested that the hardware on which the application is currently deployed (two web servers and a database server) be migrated to 3 web servers, an application server and a database server (all on different machines.) You assure them that all the software re-writes needed will be well worth it in the end.What are the characteristics of your suggested architecture?

  1. Fat Clients
  2. Thin Clients
  3. Good separation of business logic
  4. Good Scalability
  5. Poor separation of business logic
  6. Poor scalability
Question 8 Multiple Choice (Multiple Answers)

Users of your new application are complaining that the new web front end does not perform the same as the thick client version they were using before. You are going to re-design the application to use JavaScript and AJAX to enhance the user experience. All the functionality and business logic in thick client will be coded into Java Script. What are two drawbacks of this implementation?

  1. Portability to all browsers needs to be addressed.
  2. Your code may be exposed.
  3. Reduction of page refreshes to enhance user experience.
  4. Simulating client state on the browser and reducing the number of views.
Question 9 Multiple Choice (Single Answer)

Your new application requirements include dynamic front ends, personalized pages, personalized colors, and personalized fonts. Users should be able to access system and bring up their customized experience without having to save their preferences locally. This system will be used by all hotels in the chain and there is no interest to have to support each hotel individually. The front end solution should be easy to debug. What is the solution for this new architecture?

  1. A thin user interface that is browser based and utilizes JSP's and CSS with user preferences saved locally in a cookie.
  2. A thick client user interface utilizing AWT and user preferences saved locally in a cookie.
  3. A thick client user interface utilizing Swing and user preferences saved locally in a cookie.
  4. A thin browser based client utilizing JSF and CSS with user preferences persisted to database.
Question 10 Multiple Choice (Single Answer)

You are using Dispatch API for invoking a JAX-WS dynamic service. Which of the following information must be supplied to client, before invoking the service?Choose one answer.

  1. XML Schema document and details of Message Body is required to build a client.
  2. WSDL document and Message headers must be supplied.
  3. There is no need to supply WSDL or XML Schema document to the client.
  4. Both WSDL document and XML Schema document must be supplied to the client.
Question 11 Multiple Choice (Multiple Answers)

In which of the following ways can client invoke WebServices through JAX-WS API's?

  1. Static and Dynamic only
  2. static only
  3. Synchronous and Asynchronous
  4. synchronous only.
Question 12 Multiple Choice (Single Answer)

Consider application security measures such as encryption, SSL, authentication and authorization. What is the relation between Performance and Security in an application?

  1. They are not related to each other in any way
  2. High Security generally results in high performance
  3. High performance is a pre-requisite for secure systems
  4. Security and Performance are inversely proportional
  5. Low performance systems cannot be secure
Question 13 Multiple Choice (Single Answer)

Happy Joe Banking Corporation is building a Banking application to provide online access to their account holders. They have chosen two SUN 450s for their web server cluster and one SUN E10000 for their application server. The business requirements indicate that to become a customer, a person must have at least a primary checking account with the bank. Further, since the customer will be using the Internet to view confidential information, security is considered paramount. What do you understand about the requirements of the system?

  1. The need for Security is a classic example of a functional service level requirement and the checking account rule, an example of non-functional QoS requirement.
  2. The discussion about Security and the mandatory checking account both illustrate functional service level requirements.
  3. Neither Security nor the mandatory Checking Account is an example of any kind of requirements, theoretically speaking.
  4. Security is an Architectural non-functional requirement and the Mandatory Checking Account a functional design requirement.
  5. They are both examples of Business Use Cases.
Question 14 Multiple Choice (Multiple Answers)

Which of the following are true about Active Replication?

  1. It is a fault-tolerance mechanism.
  2. It is achieved by taking cold back ups.
  3. Each replica attempts to process each request but extra calls may be intercepted via an interceptor.
  4. State changes are logged and periodically flushed to the replicas.
  5. State is synchronized only when the primary service fails.
  6. Each replica is identical to the main service.
Question 15 Multiple Choice (Multiple Answers)

Which of the following are true about Vertical Scalability?

  1. Achieved by adding servers to the system
  2. Achieved by adding capacity (memory, CPU and so on)
  3. It is generally more expensive than Horizontal scaling
  4. Decreases manageability
  5. Requires few or no changes to the system architecture
  6. Has little or no impact on the reliability and availability of the
Question 16 Multiple Choice (Single Answer)

In N-tier models, which of the following tier is best suited for implementing the view and controller components of an MVC application?

  1. Client Tier
  2. Web Tier
  3. MVC Tier
  4. Business Tier
  5. EIS Integration Tier
Question 17 Multiple Choice (Single Answer)

Which of the following is an advantage of Ajax-based solutions?

  1. reduces browser-compatibility issues
  2. reduces page-refreshes, enhancing user experience
  3. increases security of browser-based applications
  4. Works even when Java Script is disabled.
Question 18 Multiple Choice (Single Answer)

Which of the following is an advantage of browser-based solutions?

  1. Minimal installation conflicts and environment issues.
  2. No issues with cross-browser compatibility and support.
  3. Provides very good client security.
  4. Readily available standard development kits.