Tag: architecture

Questions Related to architecture

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


Correct Option: D

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


Correct Option: B,E,F

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


Correct Option: C,D

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.


Correct Option: B

AI Explanation

To securely connect part of Company X's network to part of Company Y's network, the recommended approach is to create a VPN (Virtual Private Network) between the two networks.

Option A) Creating a DMZ (Demilitarized Zone) between the two networks is not the best approach for securely connecting the networks. A DMZ is typically used to create a separate network segment that acts as a buffer zone between the internal network and the external network, usually for hosting public-facing services.

Option C) Creating a secure network connection between the two networks using a combination of Java sockets and JSSE (Java Secure Socket Extension) is not the most appropriate solution. While Java sockets and JSSE can provide secure communication, setting up a VPN is a more common and efficient method for securely connecting networks.

Option D) It is not accurate to say that it is not possible due to corporate firewalls blocking the connection. VPN technology is specifically designed to establish secure connections across networks, even if there are firewalls in place. Proper configuration of the firewalls can allow VPN traffic to pass through.

Therefore, the correct answer is B) Create a VPN between the two networks. This option provides a secure and encrypted connection between Company X's and Company Y's networks, allowing for the simulation to be run securely.

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.


Correct Option: D
  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.


Correct Option: B

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.


Correct Option: B,D
  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.


Correct Option: C