Java Architect Certification Free Mock Exam

Question 1 of 20 [Application Design Concepts and Principles]
When you integrate EIS with your Java EE application you can design either synchronous or asynchronous integration. You are confused about which one to choose.
Which of the following is best suited for asynchronous integration?
Choice 1Transaction
Choice 2Application throughput
Choice 3Reliable delivery
Question 2 of 20 [Application Design Concepts and Principles]
You have completed development activities of Java EE insurance application and ready for production. During production deployment you noticed that your web server residing at DMZ, serves only static contents and other components are running in the application server.
Which of the following statements are TRUE about moving static content into a web server?
Choice 1The inner firewall will allow only web server requests, so application server is hacker safe from internet zone.
Choice 2Moving static content outside application server is not recommended since there will be a network traffic between web server and application server.
Choice 3This will decrease the performance.
Choice 4This will increase the security.
Question 3 of 20 [Common Architectures]
What is TRUE about JAX-WS dynamic service?
Choice 1No WSDL or XML Schema document or any other knowledge of the message layout is required to build a client.
Choice 2WSDL or XML Schema document or any other knowledge of the message layout is required to build a client.
Choice 3No WSDL and XML Schema document and any other knowledge of the message layout is required to build a client.
Question 4 of 20 [Common Architectures]
Which of the following statements are TRUE about JAX-WS?
Choice 1Invoke the remotely deployed service endpoints operation dynamically or statically by asynchronous or synchronous communication.
Choice 2Invoke the remotely deployed service endpoints operation statically by synchronous communication only.
Choice 3Invoke the remotely deployed service endpoints operation dynamically by synchronous communication only.
Question 5 of 20 [Integration and Messaging]
MediKo Inc. is the leading reseller of medical drugs in the United States. They have more than 200 branches countrywide. They have a web based data tracking system for daily sales and that will be updated by the executives from all the branches. To avoid manual entry, MediKo decided to automate the data entry process from all the branches to a common database. MediKo has an online medical shop that is running on the same data tracking system. Therefore, when the online medical shop is busy, the data entry system has to wait and process later whenever the server is not busy (instant response is not required for data entry system).
What best describes the application components of MediKo′s data entry system?
Choice 1It will be implemented as JMS
Choice 2It will be implemented as stateless session bean
Choice 3It will be implemented as RMI
Choice 4It will be implemented as JNI
Choice 5It will be implemented as CORBA
Question 6 of 20 [Integration and Messaging]
Select the messaging model suitable when the network is not needed and messages can be queued.
Choice 1Synchronous
Choice 2Asynchronous
Question 7 of 20 [Business Tier Technologies]
You are appointed as an Java EE architect for a banking application development. You want to explain the benefits of using session bean to your team.
When would you choose session beans for business tier?
Choice 1At all time regardless of the requirements
Choice 2To service business per client′s basis
Choice 3To represent business entity and mapped with database table
Choice 4To maintain state of a shopping cart web application
Question 8 of 20 [Business Tier Technologies]
Joe working as a maintenance engineer for a financial application running on Jboss and MySQL combination. Whenever there is an additional table is added, Joe needs to recreate the EJB for deployment. Joe′s customer suggests that this should be avoided and deployment time needs to be improved whenever there occurs changes in the tables. So you decided to move SQL logics from session beans to POJO objects.
What is the technique followed by Joe in the above scenario?
Choice 1Used a pattern named Data Access Object (DAO) to decouple the SQL logic from business logic.
Choice 2Used a pattern named Data Object (DO) to decouple the SQL logic from business logic.
Choice 3Used a pattern named Data Abstract Object (DAO) to decouple the SQL logic from business logic.
Choice 4Used a pattern named Database Object (DO) to decouple the SQL logic from business logic.
Choice 5No pattern will be used here.
Question 9 of 20 [Business Tier Technologies]
Scenario : Signet provides web based project management application for their customers. The application uses JSP/Servlet - PL/SQL combination running on Tomcat Server and Oracle database. The system is an ASP model maintained by Signet for the past 4 years.Due to increase in number of customers, Signet wants to host the project management application in one of the reseller's server in New York for USA customers alone. One of the legal statement from Signet resellers privacy policy states that all software licenses should be purchased by the reseller to avail the reseller scheme. The issue here is, New York reseller does not have oracle license, so Signet decided to use MySQL database at New York hosting.The business team states that the application will be deployed on most of the reseller's server to increase the performance of the application. Signet is not interested any more to add any infrastructure software apart from web server and database.
What is the best solution you would recommend for Signet architecture by considering business forecast?
Choice 1Use Signet hosting for all customers and do not use reseller's server.
Choice 2Move all the business logics into Java layer and avoid PL/SQL, so that the application can support database portability.
Choice 3Implement PL/SQL for MySQL database and deploy it in New York′s reseller server.
Choice 4Use EJB components for business logic and remove PL/SQL from database.
Question 10 of 20 [Business Tier Technologies]
One of your client wants to implement a web based Room Reservation system for a hotel. There are 22 static screens that explain about hotel history and directions and 25 dynamic screens for reservation/reports for ticket reservation. Customer details should be permanently maintained on the system for future tracking.
Select the best Java EE component for maintaining Customer details?
Choice 1Customer is represented as Servlet
Choice 2Customer is represented as an JPA Entity
Choice 3Customer is represented as Stateful Session Bean
Choice 4Customer is represented as JSP
Question 11 of 20 [Web Tier Technologies]
You are implementing a new rich client GUI for your legacy system. The application requires to display read only data based on the search parameters.
Which of the following technologies will be used here?
Choice 1JSF
Choice 2DAO
Choice 3JPA
Choice 4Swing
Choice 5AWT
Choice 6SWT
Question 12 of 20 [Web Tier Technologies]
You are developing a Java EE application that uses JSF for UI framework.
Which of the following statements are TRUE about JSF?
Choice 1JSF will not support Java Bean
Choice 2JSF backing beans can be unit tested outside the container
Choice 3JSF backing beans should be tested inside container with Junit
Choice 4JSF is not a web application framework
Question 13 of 20 [Applicability of Java EE Technology]
You are appointed as maintenance engineer for a banking sector that run 8 different web based applications.One of your online application is undergoing downtime due to Denial of Service attacks.
What will you do for the above problem?
Choice 1Introduce DMZ and install firewall
Choice 2Perform a rigorous security audit
Choice 3Move web server into DMZ
Choice 4Use container managed security
Question 14 of 20 [Patterns]
You have developed a data cache mechanism for your financial application and you need to serve the cached with a single instance. The class you have designed is called CacheService.
Which pattern you would choose for implementing CacheService so that single instance will be maintained within the system?
Choice 1Factory
Choice 2Command
Choice 3Singleton
Choice 4AbstractFactory
Question 15 of 20 [Patterns]
During the screen analysis, one of your colleague states that instead of having static header table and footer table in all the pages, JSP include can be used to promote future upgradation.
What best pattern describes the above scenario?
Choice 1No pattern suitable here
Choice 2Composite View
Choice 3MVC Pattern
Choice 4Front Controller
Question 16 of 20 [Patterns]
Select the pattern used to handle multiple client requests with fewer objects.
Choice 1Façade
Choice 2Flyweight
Choice 3Builder
Choice 4Bridge
Question 17 of 20 [Patterns]
You want to use a common lookup service for your EJB application.
Which pattern you would use here?
Choice 1JNDI
Choice 2Service Activator
Choice 3Service Locator
Choice 4Façade
Question 18 of 20 [Security]
Which of the following statements are TRUE with respect to Java Applet?
Choice 1Read but not modify some system properties
Choice 2Read and modify some system properties
Question 19 of 20 [Security]
You are trying to connect your laptop from your home to the office network but unable to connect due to some error. Your colleagues Joe and Pop are able to connect successfully who are residing nearby each other.
What might be the possible reason in the above scenario?
Choice 1Your company′s firewall is filtered based on port numbers
Choice 2Your company′s firewall is filtered based on IP
Choice 3Your company′s firewall is filtered based on user names
Choice 4Your company′s firewall is filtered based on port numbers
Question 20 of 20 [Security]
Scenario : Arnold and Steven are working as Java SE Developers in EPractize Labs Product development activities. All the JAR files of the EPractize Labs Products are signed by a third party vendor certificate.Arnold wants to add new classes in the existing JAR file that was already signed by a 3rd party vendor certificate.
Select the correct choices for adding new files in a JAR file that was already signed by a 3rd party vendor certificate.
Choice 1 No way to add new files
Choice 2We can add new files without invalidating the signature
Choice 3The internal files that have been added would not be signed
Choice 4Adding the new files will throw Security Exception
Choice 5None of the above