Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

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

Demo: 21 questions
Total 142 questions

Java EE 7 Application Developer Questions and Answers

Question 1

Which three values are applicable for the profile option - “Transaction Processing Mode” for subinventory transfer and interorganization transfer?

Options:

A.

Background Processing

B.

Sequential Processing

C.

Concurrent Processing

D.

Online Processing

E.

Offline Processing

F.

Blind Processing

Question 2

How can you inject a target web service into an EJB?

Options:

A.

Define service as an injectable resource by using the declaration.

B.

Use a HandlerChain.

C.

Use a java.xml.ws.WebServiceRef annotation.

D.

Use a java.xml.ws.WebServiceContext annotation.

Question 3

You created two filters for your web application by using the @WebFilter annotation, one for authorization and the other for narrowing results by the provided search criteria. The authorization filter must be invoked first.

How can you specify this?

Options:

A.

setting the priority attribute of the @WebFilter annotation for each of the filters

B.

placing the filter mapping elements in the required order in the web.xml deployment descriptor

C.

placing @WebFilterMapping annotations in the required order

D.

specifying the filter precedence order by using the @Priority annotation

Question 4

What is true about Message-Driven Beans (MDBs)?

Options:

A.

MDBs can participate in transactions.

B.

MDBs are invoked synchronously.

C.

Each MDBs can process messages only from a single client.

D.

MDBs retain data caches between client calls.

Question 5

Given the code fragment:

How can you get all property names of a JMS message in the JMS consumer onMessage operation?

Options:

A.

String [] props = msg.getPropertyNames();

B.

Enumeration props = msg.getPropertyNames();С. Iterator props = msg.getPropertyNames();

C.

List props = msg.getProperties();

Question 6

On the Supply Lines Overview page, the deviations in supply type chart show a supply line status of exception.

What action must you take?

Options:

A.

This indicates that supply line quantities are available but the quality is not up to the mark, so the quality issue must be resolved.

B.

The indicates that supply line has an exception in manufacturing goods, so the supply line must be changed.

C.

This indicates that supply line quantities are less than required, so additional quantities must be procured to meet the requirement.

D.

This indicates that supply line quantities are not available, so inventory must be procured.

Question 7

Your organization is planning for a periodic counting of individual items automatically throughout the course of the year. As part of this activity, the user has loaded items to the cycle count but some of the items are not being considered when count schedules and count sequences are not generated.

Identify two reasons that explain why the items are not being considered.

Options:

A.

The ABC assignment group is not defined.

B.

The Include in Schedule option is not selected to include the item for auto-scheduling.

C.

The Cycle Count Enabled flag is not selected for the inventory organization.

D.

The Cycle Count Enabled flag is not selected for the item.

E.

The approval controls are not set up.

Question 8

Your company is an automobile spares manufacturing organization, which follows a discrete process. It has its own manufacturing and distribution centers located globally.

It has these business units:

US - USA business unit

CAN - Canadian business unit

UK - UK business unit

MX - Mexican business unit

IND - India business unit

SPA - Spain business unit

FRA - France business unit

NL - Netherlands business unit

GER - Germany business unit

These are the inventory organizations that exist in each business unit:

Which two statements are true?

Options:

A.

All inventory organizations do not need to be in the same business unit to assign items.

B.

Item organizations are also supported to serve as inventory organizations.

C.

Items cannot be assigned to inventory organizations across business units.

D.

Items defined in the GM organization can be assigned to US1, US2, NL1, and MX1 inventory organizations.

E.

Operational Attributes can be controlled only at the Master Level.

F.

You can define an item in the IN1 inventory organization and assign it to the DE1 inventory organization.

Question 9

How can a servlet indicate to the browser that cookie data should be sent over a secure connection?

Options:

A.

Call the getSecure(true) method on the cookie object.

B.

Encrypt the cookie data. The browser automatically sends encrypted data over a secure connection.

C.

Set the ENCRYPT header in the response.

D.

Configure SessionTrackingMode.SSL on the ServletContext object.

Question 10

Give the code fragment:

And the code fragment:

The sendConfirmation() and reserve() methods should be executed in the same transactional context.

Which transaction attributes do you ensure this?

Options:

A.

Add annotations:@TransactionAttribute (TransactionAttributeType.REQUIRES_NEW) at line 2,@Transactional at line 9 and@TransactionAttribute ((TransactionAttributeType.MANDATORY) at line 12

B.

No additional annotations are required.

C.

Add annotations:@TransactionAttribute (TransactionAttributeType.REQUIRED) at line 2,@Transactional at line 9 and@TransactionAttribute ((TransactionAttributeType.REQUIRES_NEW) at line 12

D.

Add annotations:@TransactionAttribute (TransactionAttributeType.MANDATORY) at line 2,@Transactional at line 9 and@TransactionAttribute ((TransactionAttributeType.REQUIRES_NEW) at line 12

Question 11

Your customer is setting up serial control. The requirement is that if item A has serial 123, then they don’t want item B to also have serial 123 within the same inventory organization.

Which serial control setting must be used to meet this requirement?

Options:

A.

Unique across Enterprise

B.

Unique within items

C.

Unique within organization

D.

Unique across organizations

E.

Unique within Item and organization

Question 12

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 13

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 14

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 15

A supply request has been received in supply chain orchestration. Both organizations belong to the same legal entity and they do not have a buy-sell relationship between them.

Which type of execution document can fulfill the supply request?

Options:

A.

Transfer Order

B.

Purchase Requisitions

C.

Purchase Order

D.

Sales Order

Question 16

What are the four steps for the move request process flow?

Options:

A.

Create shipment

B.

Create Movement Request

C.

Confirm pick slips

D.

Run the Movement Request Pick Slip Report

E.

Physically move the material

F.

Run pick slip allocation

Question 17

Your supplier sent you stock against a consigned agreement. You transferred at the stock to owned and generated a consumption advice. An invoice was raised by the supplier and the payment made. A few days after using some of the quantities of the stock, you realized that some of the stock sent by the supplier is not of suitable quality and you need to send the stock back.

What is the process of returning the material?

Options:

A.

You have to cancel the invoice and send the material back without changing the ownership.

B.

Return the material and create a debit memo for the supplier.

C.

You cannot return consigned items that are invoiced and paid. Treat the material as scrap.

D.

You have to transfer the ownership of item and perform the return transaction.

Question 18

Which of these can be a JPA entity?

Options:

A.

Enum type

B.

Abstract class

C.

Interface type

D.

Final class

Question 19

Your customer has defined three business units: two of the them require the same set of receivables payment terms whereas the third needs a separate set of receivables payment terms.

How will you receive this requirement?

Options:

A.

Define one data set with common payment terms and exclude the payment terms feature from the third business unit.

B.

Define one reference data set and modify the business unit security.

C.

Define two reference data sets, assign the first set to the two business units which will share the same payment terms and second set to the business unit which need separate payment terms.

D.

Define three reference data sets and assign each data set to each business unit.

Question 20

Which type allows you to share servlet attributes across your entire web application?

Options:

A.

ServletContext

B.

HttpSession

C.

ServletRequest

D.

ServletConfig

Question 21

You set up an item organization and an inventory organization as part of your customer’s requirement.

Your customer has, by mistake, performed a receipt transaction in the item organization instead of the inventory organization. How will you rectify this error?

Options:

A.

Perform a correct receipt transaction and receive the item in the correct organization.

B.

Perform a return of item and receive the item again in the correct organization.

C.

It is not possible to receive item in the item organization.

D.

Perform a new receipt in the correct organization and retain the stock in item organization because it does not affect any other operation.

Demo: 21 questions
Total 142 questions