Updated PDF (New 2021) Actual Oracle 1Z0-900 Exam Questions
Verified 1Z0-900 Exam Dumps PDF [2021] Access using Actual4dump
Oracle 1Z0-900 Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
| Topic 7 |
|
| Topic 8 |
|
| Topic 9 |
|
NEW QUESTION 23
Your customer has two warehouses (Inventory organizations) located in two different regions. They have a consigned agreement in place with the supplier. Your customer requests that whenever consumption advice is created, it should be created separately for each inventory organization.
What setup is required to achieve this requirement?
- A. Set Consumption Advice Summary in Consignment Agreement to "All Organizations with items".
- B. Set Consumption Advice Summary in Consignment Agreement to "Organization'.
- C. This cannot be achieved because only one common consumption advice is created regardless of other parameters.
- D. Set Consumption Advice Summary in Consignment Agreement to "All Organizations".
Answer: B
NEW QUESTION 24
Which two options constitute the rights and responsibilities of a legal Entity?
- A. Account for themselves to regulations, taxation authorities, and owners according to rules specified in the relevant legislation
- B. Facilitate resource allocation
- C. Manage warehouses
- D. Own property
- E. Create opportunities for new business
Answer: A,D
NEW QUESTION 25
A Java EE application that uses an EJB container must communicate with a legacy system developed using non-Java technologies.
Which two Java EE technologies can be used in the integration tier of the application? (Choose two.)
- A. JMS
- B. JPA
- C. JCA
- D. JSF
Answer: A,D
NEW QUESTION 26
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?
- A. The actNowmethod is executed followed by the listenCarefully()method.
- B. The listenCarefully()method is executed followed by the actNow()method.
- C. The actNow()and ListenCarefully()methods are executed in parallel.
- D. The actNow()method controls the condition upon which the listenCarefully()method is allowed to be executed.
Answer: B
NEW QUESTION 27
Which interface should you implement if you want to be alerted to the lifecycle events surrounding your task being executed by a ManagedExecutorService?
- A. the RunnableInterface
- B. the ManagedExecutorTaskinterface
- C. the TaskEventListenerinterface
- D. the ManagedTaskListenerinterface
Answer: D
Explanation:
Explanation/Reference:
Reference: https://github.com/javaee/concurrency-ee-spec/blob/master/api/src/main/java/javax/enterprise/ concurrent/ManagedExecutorService.java
NEW QUESTION 28
A Persistence application locks entity x with a LockModeType.PESSIMISTIC_READ lock type. Which statement is true?
- 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. If the application updates the entity later, and the changes are flushed to the database, the lock will be converted to an exclusive look.
- D. This operation will result in a TransactionRolledbackException if the lock cannot be obtained.
Answer: B
NEW QUESTION 29
Given the set of navigation rules:
Which two define a valid flow of view IDs through the application? (Choose two.)
- A. home > goodbye > list-widgets
- B. dashboard > home > add-widget > list-widgets
- C. home > list-widgets > add-widget > goodbye
- D. list-widgets > add-widget > home > dashboard > home
Answer: C,D
NEW QUESTION 30
Given:
Which client-side Java method will send the employee object to the WebSocket Server Endpoint?
- A. remote.sendObject(employee);
- B. container.send(employee);
- C. session.send(employee);
- D. session.post(employee);
Answer: D
NEW QUESTION 31
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?
- A. The message publisher is immediately notified about the lack of subscribers and can decide for itself if, and when, to resend.
- 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 waits for a subscriber, who then consumes it. However, the publisher will time out if no consumer arrives within the given timeout period.
- D. The publisher successfully sends a message, which will be consumed later, once there is a subscriber, assuming the message hasn't timed out.
Answer: D
Explanation:
Explanation
Reference
https://www.ibm.com/support/knowledgecenter/en/SSAW57_8.5.5/com.ibm.websphere.nd.multiplatform.doc/ae
NEW QUESTION 32
Which statement is true about the WS-Security standard?
- A. It is a Java EE standard for protecting SOAP services.
- B. It provides message-level security.
- C. It defines protocol-specific ways of protecting SOAP messages.
- D. It relies on HTTP security mechanism to protect SOAP messages in transmit.
Answer: B
NEW QUESTION 33
You need to develop a chat application, which allows the display of emoticons and images together with text messages.
How should you configure a WebSocket endpoints to receive both text and binary messages?
- A. Create two @onMessagemethods, each with appropriate decoder attribute in the same endpoint.
- B. You can achieve this only by creating separate WebSocket endpoints for each message type.
- C. Define the @onMessagemethods in your endpoint with Objectas parameter and check the actual type in your code.
- D. Create two @onMessagemethods in the same endpoint with appropriate parameter types.
Answer: A
Explanation:
Explanation/Reference:
Reference: https://abhirockzz.gitbooks.io/java-websocket-api-handbook/content/Receiving%
20Messages.html
NEW QUESTION 34
Given the code fragment:
How can you get all property names of a JMS message in the JMS consumer onMessage operation?
- A. List<String> props = msg.getProperties();
- B. Enumeration props = msg.getPropertyNames();. Iterator props = msg.getPropertyNames();
- C. String [] props = msg.getPropertyNames();
Answer: C
NEW QUESTION 35
Given the code fragment:
And
Which two steps, when performed independently, enable the index.xhtml page to print the following text: The Id is 12345? (Choose two.)
- A. Replace line 3 with: @Inject public Account getAcc()
- B. Replace line 2 with: public void setAcc(@Inject Account acc)
- C. Replace line 2 with: @Inject public void setAcc(Account acc)
- D. Replace line 1 with: @Inject private Account acc;
- E. Replace line 3 with: public @Inject Account getAcc()
- F. Replace line 1 with: private @Inject Account acc;
Answer: B,E
NEW QUESTION 36
Given:
What will be the response to a HEAD request?
- A. No method will be invoked and a 404 error will be returned.
- B. No method will be invoked and no error will be returned.
- C. The findAll() method will be called and the employee list will be returned.
- D. The findAll() method will be called and no employees will be returned.
Answer: B
NEW QUESTION 37
Given:
What code needs to be added to line 1 for MyMapper bean instances to be correctly passivated?
- A. @Stateful @PassivationCapable
- B. @Stateless
- C. @Stateless @PassivationCapable
- D. @Stateful
Answer: D
Explanation:
Explanation
Reference https://docs.oracle.com/javaee/6/tutorial/doc/giplj.html#gipln
NEW QUESTION 38
Given a JSL document describing a batch job:
How do you initiate a batch job?
- A. Get the JobExecution object from BatchRuntime and call its start() method.
- B. Call BatchRunTime.initialize("ProductLoadJob");
- C. Get the JobExecution object from BatchRuntime and set its status to JobStatus.INITIATED.
- D. Get the JobOperator object from BatchRuntime and call its start() method.
Answer: A
NEW QUESTION 39
You created two filters for your web application by using the @WebFilterannotation, 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?
- A. specifying the filter precedence order by using the @Priorityannotation
- B. placing the filter mapping elements in the required order in the web.xmldeployment descriptor
- C. setting the priorityattribute of the @WebFilterannotation for each of the filters
- D. placing @WebFilterMappingannotations in the required order
Answer: C
NEW QUESTION 40
Given the code fragment:
Which code can be added to register both of these methods to receive BankEvent notifications only if an instance of BankActivityService is already instantiated in the current context?
- A. @Observes(during=IN_PROGRESS) on line 1
- B. @Observes(notifyObserver=IF_EXISTS) on line 3 and line 6
- C. @Observes(notifyObserver=IF_EXISTS) on line 4 and line 7 before method parameter declaration
- D. @Observes(during=AFTER_COMPLETION) on line 1
Answer: B
NEW QUESTION 41
Which statement is false about generating an Internal Material Transfer for expense destination Transfer Order?
- A. If the receipt is not required Cost Accounting will pick up both the issue and receipt activity from the single inventory transaction "Transfer Order Issue"
- B. If the receipt is required, the accounting of the receipt delivery transaction will happen only on Receipt Accounting because there will not be a delivery transaction in inventory.
- C. Expense destination transfers are expensed upon delivery hitting an expense account instead of an inventory asset account as would be the case for inventory destination transfers.
- D. Costs for Lot and serial numbers are tracked at put away time when the items are recorded in a destination inventory location.
- E. Cost Management will pick up the delivery transaction directly from Receiving and process the expense accounting from that transaction.
Answer: D
NEW QUESTION 42
Which code snippet indicates that the page you are designing is capable of handling errors?
A:
B: <%= requestScope['javax.servlet.error'] !=null %>
C: <%@page isErrorPage="true"%>
D: <c:set var="errorHandler" value="true"/>
- A. Option D
- B. Option B
- C. Option A
- D. Option C
Answer: D
NEW QUESTION 43
You need to exchange large binary messages using chunks in a WebSocket application. Identify two ways in which you can receive partial messages. (Choose two.)
- A. Define an @OnMessagemethod with byte [] as the first parameter and a booleanas the second parameter.
- B. Use a MessageHandler.Partial<ByteBuffer>interface implementation.
- C. Define an @OnMessagemethod with a single MimePart parameter.
- D. Use a ChunkListenerinterface implementation.
Answer: A,B
Explanation:
Explanation/Reference:
Reference: https://abhirockzz.gitbooks.io/java-websocket-api-handbook/content/Receiving%
20Messages.html
NEW QUESTION 44
Given the code fragments:
Which action completes this composite primary key implementation?
- A. Add @Embeddable annotation at line 1 and replace both @Id annotations with @EmbeddedId annotations.
- B. Add @Embeddable annotation at line 1 and @EmbeddedId(ContactId.class) at line 2.
- C. Add @IdClass(ContactId.class) annotation at line 2.
- D. Add @IdClass annotation at line 1.
Answer: B
NEW QUESTION 45
Which interface should you implement if you want to be alerted to the lifecycle events surrounding your task being executed by a ManagedExecutorService?
- A. the RunnableInterface
- B. the ManagedExecutorTaskinterface
- C. the TaskEventListenerinterface
- D. the ManagedTaskListenerinterface
Answer: D
Explanation:
Explanation/Reference: https://github.com/javaee/concurrency-ee-spec/blob/master/api/src/main/java/javax/enterprise/ concurrent/ManagedExecutorService.java
NEW QUESTION 46
Which statement is true about the WS-Security standard?
- A. It is a Java EE standard for protecting SOAP services.
- B. It provides message-level security.
- C. It defines protocol-specific ways of protecting SOAP messages.
- D. It relies on HTTP security mechanism to protect SOAP messages in transmit.
Answer: B
Explanation:
Explanation
Reference https://docs.oracle.com/cd/E19226-01/820-7627/gjiou/index.html
NEW QUESTION 47
......
Try Best 1Z0-900 Exam Questions from Training Expert Actual4dump: https://www.actual4dump.com/Oracle/1Z0-900-actualtests-dumps.html