Software Architecture Quiz - Web Services & N-Tier Systems

Test your knowledge of software architecture principles including web services, n-tier applications, system extensibility, and architectural trade-offs.

13 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

JAX-WS provides handler facility. Which of the following is NOT a valid usage of these handlers?

  1. Logging protocol specific information
  2. Adding security information to the message
  3. Modifying protocol headers
  4. Logic to service the request
Question 2 Multiple Choice (Single Answer)

Which of the following is NOT a valid scenario for implementing Java EE WebServices?

  1. .NET application must be able to call your service.
  2. Your client could be built in any language and run on any platform.
  3. Guaranteed message delivery
  4. Provide reusable & interoperable service across the industry.
Question 3 Multiple Choice (Single Answer)

Your boss is raving about the new 3-Tier architecture on which your company's sales application will be deployed. He says that this architecture will solve all the existing problems. Does a 3-Tier architecture have the potential to introduce any new problems?

  1. Fat Clients
  2. Thin Clients
  3. Poor scalability
  4. Poor manageability
  5. Reduced performance
  6. Reduced separation of business logic
Question 4 Multiple Choice (Multiple Answers)

A prospective employer is describing the existing architecture of a solution that is currently in production. He says that it is a 3-tier system with 3 clustered web servers and a server for the Oracle database with the business logic implemented using PL/SQL scripts. What is true about this system?

  1. This solution has fat clients
  2. This solution has thin clients
  3. There is a good separation of business logic
  4. The solution has good Scalability
  5. There is a poor separation of business logic
  6. The solution has poor scalability
Question 5 Multiple Choice (Single Answer)

N-tier applications show better performance than 2-tier applications because they are modular in nature and can be scaled easily by tuning components and containers individually.

  1. true
  2. false
  3. not sure
  4. none of the above
Question 6 Multiple Choice (Single Answer)

Moon Microsystems has a web-based solution that was originally built using Servlets. However, in recent months, the IS manager has asked developers to use JSP technology with Java Scriptlets embedded in HTML code. Scott Khosla, the architect, however is insisting that the code be modularized and that EJBs be used instead of Servlets and JSP for business logic processing. Asking developers to modularize existing code, what software development technique is Scott asking the developers to follow?

  1. Code Break up
  2. Code engineering
  3. Code Tiering
  4. Code Factoring
Question 7 Multiple Choice (Multiple Answers)

Which of the following DO NOT aid a system's extensibility?

  1. Modularizing Code
  2. Using well defined software design patterns
  3. Using Servlets to manage distributed database access
  4. Using JSP Scriptlets to locate enterprise beans
  5. Using Data Access Objects when Session Beans or BMP Entity beans have to communicate to the database
Question 8 Multiple Choice (Single Answer)

You are providing technical support for a supply chain product that your company (Company X) has sold to another company (Company Y). Whilst working on Company Y's site you need to run a simulation on Company X's network. This will involve securely connecting part of Company X's network to part of Company Y's network. How should you do this?

  1. Create a DMZ between the two networks.
  2. Create a VPN between the two networks.
  3. Create a secure network connection between the two networks by using a combination of Java sockets and JSSE.
  4. This is not possible, as the corporate firewalls would block this.
Question 9 Multiple Choice (Single Answer)

Which of the following is a disadvantage of thick-client based solution?

  1. Provides very good client security, persons without a client cannot access system.
  2. Ability to access the client's PC utilities or Native API's.
  3. Maintainability of application code is good.
  4. UI changes are easily and immediately available to the clients.
Question 10 Multiple Choice (Single Answer)

You are designing a new web application. You need to display data in tables and dropdowns. Your team which has expert JavaScript developers suggest to build these controls using JavaScript rather than Servlets/JSP. What are the main disadvantages with this approach?

  1. Developing the code.
  2. Confidentiality of code
  3. It is very hard to deploy.
  4. Javascript should never be used for Java EE applications. Java EE specification does not mention about javascript.
Question 11 Multiple Choice (Multiple Answers)

Which of the following is a scenario to use Web Services?

  1. Implementing a solution with guaranteed message delivery.
  2. When there is a need to exchange data between different applications on different platforms.
  3. Application is a rich-GUI with minimal interactions with database
  4. Applications need to exchange data in an an interoperable way.
Question 12 Multiple Choice (Single Answer)

Which of the following is true with respect to JAX-WS and JAX-RPC?

  1. JAX-WS talks about Web Services where as JAX-RPC is not related to Web Services.
  2. Both use JAXB for data binding
  3. JAX-WS uses JAXB for data binding.
  4. JAX-RPC uses JAXB for data binding.
Question 13 Multiple Choice (Single Answer)

What is the difference between Maintainability and Manageability in Software Engineering?

  1. Manageability is the ability to correct flaws in the system whereas maintainability is the ability to ensure the continued health of the system.
  2. Maintainability is the ability to correct flaws in the system whereas manageability is the ability to ensure the continued health of the system.
  3. Maintainability deals with ensuring that the system is always reliable and accessible whereas manageability deals with the ability to add functionality to the system.
  4. They are both the same.