1Z0-807 | All About Pinpoint 1Z0-807 exam


Q31. 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?

A. STAX

B. DOM

C. JAXB

D. JAXR

Answer: A

Q32. Which three statements are true about inheritance?

A. Inheritance helps to reuse existing code implementations.

B. It should be possible to substitute the derived class for its base class.

C. Inheritance allows you to modify the behavior of objects.

D. Inheritance promotes encapsulation better than interfaces.

E. The derived class must override all methods of the base class.

Answer: ABC

Q33. Which two are primary concerns for a service-oriented architecture (SOA)?

A. Low cohesion

B. Loose coupling

C. Session handling

D. Well defined contracts

Answer: BD

Q34. 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?

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

B. Place messaging on a Java messaging Service (JMS) queue and use message-driven beans (MDBs) to create and send notifications.

C. Insert the messages into a database and use plain old Java Objects (POJOs) to read the messaging using JDBC and send notifications.

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

Answer: B

Q35. Which option describes the design relationship between session beans and entity beans?

A. Aggregation

B. Separation of concerns

C. Common reuse principle

D. Liskov substitution principle

E. Interface segregation principle

Answer: B

Q36. Which two actions limit the consequences of a network based attack?

A. Implementing the principle of least privilege

B. Installing a firewall at the outer boundary of your systems

C. Placing Internet-accessible servers in a demilitarized zone

D. Deploying a single sign-on system to provide system-wide authorization

E. Allowing application servers privileged access to all databases

Answer: AE

Q37. An online library wants to introduce a feature where an email notification is generated whenever a book becomes available for circulation. This notification must be sent to only those members who have expressed interest in that book.

Which design pattern would you use to implement this requirement?

A. Observer

B. Payload Extractor

C. Asynchronous Resource Integrator

D. Web Service Broker

E. Service Starter

Answer: A

Q38. You are the lead technical designer for a new B2C retail application. A key goal is to minimize design and build complexity in order to maximize speed to market.

Which three features of JPA make it the most appropriate technology to use in building the persistence layer of the application?

A. JPA ensures thread safe semantics

B. JPA ensures optimal database access logic

C. JPA does not require an FJB container

D. JPA provides vendor-neutral database access

E. JPA provides ACID semantics

F. JPA provides transparent scalability

Answer: CDE

Q39. ABC Travel offers a night reservation service, exposed as a web service. XYZ Stays offers a hotel reservation service, also exposed as a web service. ABC and XYZ will not change their web service. A startup company has contacted you for advice about designing a new service that combines flight and hotel reservations, which they will offer as a web service.

The startup company plans to provide their service by implementing a portable Java EE solution that aggregates the two services offered by ABC Travel and XYZ Stays, a combined reservation succeeded.

Only if both the flight reservation and the hotel reservation succeed Which is the most effective way to meet the business requirement?

A. The startup company should implement their new service as a web service that uses an XA transaction manager.

B. The startup company cannot implement their new service as a web service, but must use an enterprise JavaBean (EJB) component to gain transaction propagation.

C. The startup company should implement their new service as a web service by calling the two existing services, and implementing their own compensating transaction.

D. The startup company can implement their new service as a web service by calling the two existing services in a single transaction, relying on transaction propagation to support this business rule.

Answer: C

Q40. Which type of application would benefit from using the Singleton pattern?

A. An application that interacts with external systems in serial fashion.

B. An application that interacts with external systems in parallel fashion.

C. A clustered application that can support 200 concurrent users.

D. An application that requires remote monitoring capabilities

Answer: A