Skip to main content

1Z0-807 Real Exam Questions

Java EE 6 Enterprise Architect Certified Master

90 questions available · Page 1 of 9

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Multiple choice

Which two statements are true about the timer service of a business component container?

  1. A

    Timed notifications for all types of session beans can be scheduled by using this service.

  2. B

    When the server is shut down, the timer is persisted automatically and becomes active again when the

    server is restarted.

  3. C

    Each instance of message driven beans has unique timers.

  4. D

    When stateful session bean instance is removed, the container detaches the timers associated with the

    instance and allocates them to the new instance.

  5. E

    When a transaction is rolled hark, the timer creation within the transaction is also rolled back.

Show answer and explanation

Correct answers: B, E

Question 2 Multiple choice

Which two security threats are negated by encrypting network transactions with Transport Layer Security (TLS)?

  1. A

    SQL injection

  2. B

    Session hijacking

  3. C

    Man in the middle

  4. D

    Cross-site scripting

  5. E

    Denial of service

Show answer and explanation

Correct answers: B, C

Question 3 Multiple choice

Which two statements are true about java Cryptography Architecture (JCA)?

  1. A

    Any JCA provider must implement each supported category of algorithms.

  2. B

    Exactly one Implementation of each category of cryptographic algorithms must be provided.

  3. C

    Implementations of cryptographic algorithms can be plugged in to a JVM after it has been installed and

    at run time.

  4. D

    Categories of algorithms supported by JCA include message digests, signatures encryption,

    management, and random number generation.

Show answer and explanation

Correct answers: C, D

Question 4 Single choice

Your application uses web services extensively and frequently to distribute large XML objects over HTTP.
In addition, the application has been set particularly demanding performance and scalability service level agreements (SLAs).

Which java API is best suited for your application?

  1. A

    STAX

  2. B

    DOM

  3. C

    JAXB

  4. D

    JAXR

Show answer and explanation

Correct answer: A

Question 5 Single choice

You are the architect of a web application that uses javaServer Faces (JSF) as a presentation tier for business processes coded as stateless session beans. When you add new code to the stateless session

100% Real Q&As | 100% Real Pass

beans to address new accounting requirements, without changing the interface, you discover that the new business processes are being ignored by some of the JSF components.

What might be the cause of this problem?

  1. A

    The presentation tier is relying on validation logic in the business tier.

  2. B

    The browser is caching out-of-date versions of the JSF components.

  3. C

    The business processes are not rigorously encapsulated in the session beans.

  4. D

    The new session beans have been deployed incorrectly, and proper deployment will resolve the

    problem.

Show answer and explanation

Correct answer: C

Question 6 Single choice

Which statements are true about Java integration technologies?

  1. A

    Remote Method Invocation (RMI) helps to connect subsystems in a loosely coupled manner.

  2. B

    Java Message Service (JMS) helps in synchronous messaging between Java and non-Java systems.

  3. C

    JMS helps to broadcast messages to multiple Java-based receivers.

  4. D

    Java Connector Architecture (JCA) helps to integrate with heterogeneous legacy enterprise information

    systems.

Show answer and explanation

Correct answer: C

Question 7 Multiple choice

You need to restrict access to the administration screens in your website.

Which two techniques test a user's permissions before granting access to a particular screen?

  1. A

    Enterprise JavaBeans (EJB) entity

  2. B

    Servlet filter

  3. C

    Custom tag library

  4. D

    Deployment descriptor

  5. E

    Custom JavaScript in JSP

Show answer and explanation

Correct answers: B, D

Question 8 Multiple choice

Oasis Corporation has decided to develop a single Instance multi-tiered application with its existing EIS resources. You are the technical lead for the Integration team responsible for providing the following:

A common Interface that can easily access the heterogeneous EIS resources Generic transaction mechanism support for EIS resource managers
A connection pool to legacy EIS resources

Which two technologies would you use to meet these requirements?

  1. A

    JMS

  2. B

    JDBC

  3. C

    JCA

  4. D

    JAX-WS

  5. E

    JAX-RS

Show answer and explanation

Correct answers: B, C

Question 9 Single choice

Your company requires all its developers to use a well-specified set of exception classes to model several common error conditions, many of the which are specific to its business. These exception classes are centrally maintained and come packaged in a library (a JAR file). The application you are developing needs to report a number of error conditions covered by this library to remote clients.

Which paring of component type and remote access technology enables client applications to use the predefined exceptions as part of their natural programming model?

  1. A

    Servlet accessed using HTTP

  2. B

    Entity bean accessed using web services

  3. C

    Stateless session bean accessed using Remote Method Invocation (RMI)

  4. D

    Message-driven bean accessed using Java Message Service (JMS) queue

Show answer and explanation

Correct answer: C

Question 10 Single choice

A company is extending is successful social networking site to support the following channels: instant messaging (IM), email messaging and text messaging/SMS. At present, the site has scaled 400% in one year using a standard MVC Web framework the application experiences large surges or spikes in demand and also periods of inactivity. Notification delivery to the three channels does not need to be guaranteed.

Which solutions extends the current architecture and best meets the company's requirements?

  1. A

    Send the notification inline, that is, within the normal HTTP request-response cycle.

  2. B

    Place messaging on a Java messaging Service (JMS) queue and use message-driven beans (MDBs)

    to create and send notifications.

  3. C

    Insert the messages into a database and use plain old Java Objects (POJOs) to read the messaging

    using JDBC and send notifications.

  4. D

    Insert the messages into a database and use entity beans to read the messages using JDBC and send

    notifications.

Show answer and explanation

Correct answer: B