New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70special

Oracle 1z0-900 Java EE 7 Application Developer Exam Practice Test

Page: 1 / 14
Total 142 questions

Java EE 7 Application Developer Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$37.5  $124.99

PDF Study Guide

  • Product Type: PDF Study Guide
$33  $109.99
Question 1

Which statement is true about JAX-RS resource implementation?

Options:

A.

The REST resource implementation class must extend the javax.ws.rs.core.Application class

B.

The REST resource class can be implemented as a stateful Enterprise JavaBean (EJB).

C.

The REST resource class can be implemented as a Plain Old Java Object (POJO).

D.

The REST resource implementation class must not be final.

Question 2

Given the JPQL code fragment:

Select pub.title, pub.author, pub.pages FROM Publisher pub

Which two clauses do you add to this JPQL query to retrieve only those books with between 500 and 750 total pages? (Choose two.)

Options:

A.

WHERE MIN(pages) >= 500 AND MAX(pages) <= 750

B.

WHERE pub.pages <= 500 OR pub.pages >= 750

C.

WHERE pub.pages BETWEEN 500 AND 750

D.

WHERE pub.pages <= 500 AND pub.pages >=750

Question 3

In the Back-to-Back (B2B) Order to Cash flow, ordered items are purchased from a supplier. The Sourcing Rules have been defined for the item and the buy flow has been initiated. The sales order line is shown as Awaiting Shipping and the supply line status is in “Purchasing” with the supply order generated but the purchase requisition not generating.

What is the reason?

Options:

A.

The sourcing rule is incorrect.

B.

Supply order is generated with exceptions.

C.

Prepare is not valid.

D.

No Blanket Purchase Agreement (BPA) exists for this supplier-item combination.

E.

Buy requests originate from Order Management.

Question 4

Given the code fragment:

How long does this cookie persist?

Options:

A.

until server shutdown

B.

until garbage collection in the servlet instance

C.

this request

D.

until browser shutdown

Question 5

While performing the task “Create Chart of Accounts, Ledger, Legal Entities, and Business Units in Spreadsheet Task”, you mentioned that the legal entity country is the United States of America.

What will be the functional currency of the ledger you are defining?

Options:

A.

The system will ask the user to provide functional currency at the time of uploading the spreadsheet if it is not provided in the first place.

B.

The system will automatically pick “USD” as functional currency from the legal entity country.

C.

The system will pock the first available currency from the list of Values.

D.

It is mandatory to provide functional currency, because ledger cannot be defined without functional currency. The system will throw an error upon processing.

E.

It is mandatory to provide functional currency because ledger cannot be defined without functional currency. The system will throw an error upon upload of the spreadsheet because all required fields are not populated.

Question 6

NO: 64

A Persistence application locks entity x with a LockModeType.PESSIMISTIC_READ lock type. Which statement is true?

Options:

A.

LockModeType.PESSIMISTIC_READ is the synonym of LockModeType.READ

B.

This operation will force serialization among transactions attempting to read the entity data.

C.

This operation will result in a TransactionRolledbackException if the lock cannot be obtained.

D.

If the application updates the entity later, and the changes are flushed to the database, the lock will be converted to an exclusive look.

Question 7

You are working with JMS publish-subscribe operations.

What happens when a producer publishes a message to a topic for which a durable subscription exists but there are no subscribers available?

Options:

A.

The publisher waits for a subscriber, who then consumes it. However, the publisher will time out if no consumer arrives within the given timeout period.

B.

The publisher sends the message. However, it is never consumed because there wasn’t anything listening when it arrived, regardless of the message timeout length.

C.

The publisher successfully sends a message, which will be consumed later, once there is a subscriber, assuming the message hasn’t timed out.

D.

The message publisher is immediately notified about the lack of subscribers and can decide for itself if, and when, to resend.

Question 8

While creating the consignment agreement, you have set the consumption advice frequency to “monthly” and the billing cycle close date to “31st August, 2020”.

What will happen when you run the consumption advice process on 31st August, 2020?

Options:

A.

No consumption advice is created.

B.

Consumption advice is created and the next closing date is set to 30th October, 2020.

C.

Consumption advice is created and the next closing date is set to 7th September, 2020.

D.

Consumption advice is created and the next closing date is set to 30th September, 2020.

Question 9

: 27

Given:

Which client-side Java method will send the employee object to the WebSocket Server Endpoint?

Options:

A.

session.post(employee);

B.

container.send(employee);С. session.send(employee);

C.

remote.sendObject(employee);

Question 10

When handling a JSF request, your application code decided to redirect the call to another URL by using HTTP redirect. Which action should you take to correctly complete the handling of the JSF life cycle?

Options:

A.

Set the immediate=“true” attribute on the command button that was used to perform this call.

B.

Invoke the dispatch() method on the ExternalContext object.

C.

Invoke the setCurrentPhaseId(RENDER_RESPONSE) method on the FacesContext object.

D.

Invoke the responseComplete() method on the FacesContext object.

Question 11

What three Key Performance Indicators are available in the Warehouse Operations Dashboard?

Options:

A.

Shipment Value

B.

Hit or Miss Accuracy

C.

Cycle Count

D.

Inventory Value

E.

Distributed Value

F.

Exact Matches Rate

Question 12

Given the code fragment:

When the context root is requested how does the container resolve this mapping?

Options:

A.

thirdServlet handles the request.

B.

firstServlet handles the request.

C.

The container throws an error at startup.

D.

secondServlet handles the request.

Question 13

Which code snippet prints the exception error message as part of the page output?

Options:

A.

<%= exception.message %>

B.

C.

<% exception.getMessage(); %>

D.

<% System.out.println(e.getMessage()) %>

Question 14

On your JSF page, you have a form in which you have a command button:

A user submits the form by clicking the button, and no errors occur while processing the request. Which statement is true?

Options:

A.

The actNow() and ListenCarefully() methods are executed in parallel.

B.

The listenCarefully() method is executed followed by the actNow() method.

C.

The actNow() method controls the condition upon which the listenCarefully() method is allowed to be executed.

D.

The actNow method is executed followed by the listenCarefully() method.

Question 15

Your client wants certain inventory items of high importance to be counted periodically to improve the average level of inventory accuracy.

What type of counting would you recommend?

Options:

A.

Physical Count

B.

Manual Count

C.

Serialized Count

D.

Cycle Count

E.

Blind Count

F.

Zero Quantity Count

Question 16

Your client has just up their chart of accounts. They are now designing the organization hierarchy in the system.

Which three structures should the customer use the to do this?

Options:

A.

Warehouse, Subinventory, and Locators

B.

Cost Centers, Organizations, and Locations

C.

Cost type, Default Cost Structure, and Item Organization

D.

Divisions, Business Units, and Departments

Question 17

Your client is about to define their primary ledger.

Which set of three primary attributes do they need to know in order to complete this?

Options:

A.

Chart of Accounts, Description, and Accounting Method

B.

Chart of Accounts, Ledger Balance, and Accounting Method

C.

Chart of Accounts, Accounting Calendar, and Currency

D.

Currency, Description, and Accounting Method

Question 18

: 15

Given:

What code needs to be added to line 1 for MyMapper bean instances to be correctly passivated?

Options:

A.

@Stateless @PassivationCapable

B.

@Stateless

C.

@Stateful @PassivationCapable

D.

@Stateful

Question 19

Which three applications originate a buy request that is received by supply chain orchestration?

Options:

A.

Purchasing

B.

Inventory

C.

Order Management

D.

Planning

E.

Self Service Procurement

F.

Accounts Payable

Question 20

Your client has not been managing Supply Request Exceptions on a regular basis.

What issue does this cause?

Options:

A.

No issues would be caused; these are just warnings.

B.

After the errors reach a set threshold in profile options, no new supply requests can be created.

C.

If exceptions are nor resolved within a set threshold days, it alerts the manager and continues to escalate up the Supply Request Exception Chain.

D.

The request will be denied automatically if not resolved within two days.

Question 21

When should a JPA entity implement the Serializable interface?

Options:

A.

when JPA entities are used in the EJB Full container

B.

when JPA entities are used outside of the EJB Lite container

C.

always, because JPA entities are required to implement the Serializable interface

D.

when JPA entities are used as parameters or return values by the remote EJB operations

Page: 1 / 14
Total 142 questions