有効な1Z0-900テスト解答Oracle 1Z0-900試験PDF問題を試そう [Q38-Q55]

Share

有効な1Z0-900テスト解答Oracle 1Z0-900試験PDF問題を試そう

Oracle 1Z0-900認定リアル2022年最新の模擬試験合格させます


Oracle 1Z0-900 認定試験の出題範囲:

トピック出題範囲
トピック 1
  • 同期および非同期のビジネスメソッドを含むsessionEJBコンポーネントを作成します
  • Beanコンポーネント間の関係を理解し​​ていることを示します
トピック 2
  • JAX-RSAPIを使用してRESTサービスとクライアントを作成する
  • JAX-RSAPIを使用してRESTサービスとクライアントを作成する
トピック 3
  • 変換、検証、およびキー生成を使用してエンティティデータを処理します
  • Java EE 7標準、コンテナ、API、およびサービスについて説明します
トピック 4
  • Entity Managerを使用して、データベース操作、トランザクション、およびJPAエンティティとのロックを実行します
  • JPQLステートメントを作成して実行します

 

質問 38
Identify two valid WebSocket message types for which you can register handlers. (Choose two.)

  • A. Ping Message
  • B. Pong Message
  • C. Error Message
  • D. Binary Message

正解: B,D

解説:
Explanation/Reference:
Reference: https://docs.oracle.com/javaee/7/api/javax/websocket/Session.html

 

質問 39
Given:

How often does the submitted task run?

  • A. need more details to determine
  • B. as many times as you like
  • C. once
  • D. based on a schedule

正解: A

 

質問 40
Which two capabilities are provided by the Java Authentication and Authorization Services (JAAS) API?
(Choose two.)

  • A. verifying that a user is allowed to perform an action
  • B. protecting data from unauthorized viewing by using encryption
  • C. verifying identity claims from users
  • D. ensuring that data is not modified in transit

正解: A,D

解説:
Explanation
Reference https://docs.oracle.com/javase/8/docs/technotes/guides/security/jaas/JAASRefGuide.html

 

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

  • 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.

正解: A

解説:
Explanation
Reference https://docs.oracle.com/javaee/7/tutorial/ejb-intro003.htm

 

質問 42
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?

  • A. Return the material and create a debit memo for the supplier.
  • B. You have to cancel the invoice and send the material back without changing the ownership.
  • 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.

正解: A

 

質問 43
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?

  • A. Prepare is not valid.
  • B. No Blanket Purchase Agreement (BPA) exists for this supplier-item combination.
  • C. Buy requests originate from Order Management.
  • D. The sourcing rule is incorrect.
  • E. Supply order is generated with exceptions.

正解: D

 

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

  • A. ServletConfig
  • B. ServletContext
  • C. HttpSession
  • D. ServletRequest

正解: B

解説:
Explanation
Reference
https://stackoverflow.com/questions/123657/how-can-i-share-a-variable-or-object-between-two-or-more-servlets

 

質問 45
Given:

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

  • A. @Stateless @PassivationCapable
  • B. @Stateful
  • C. @Stateful @PassivationCapable
  • D. @Stateless

正解: B

解説:
Explanation
Reference https://docs.oracle.com/javaee/6/tutorial/doc/giplj.html#gipln

 

質問 46
Given the following class definition with numbered lines:

How do you specify to use this mock CDI bean implementation instead of the regular implementation class?

  • A. Start up the server with the optional -alternative command-line option, specifying any alternative class names in a comma-separated list.
  • B. Delete the regular implementation class from the WAR.
  • C. Reorder the implementation names in the beans.xml file such that the desired alternative is listed earlier.
  • D. Use the alternatives element in the beans.xml file and specify the class name in the class element within it.

正解: A

 

質問 47
Given the code fragment:

How can you apply DateConverter to the birthday field?

  • A. by adding @Convert((DateConverter.class)) at line 2
  • B. by adding @Converter(autoApply=true) at line 1
  • C. by adding @Convert(to=Date.class) at line 3
  • D. by invoking the setConverter(DateConverter.class) method on the EntityManager object

正解: C

 

質問 48
Your web application requires logic to remember items that a user placed into a shopping cart.
Which two mechanisms should you use to associate that information with the user? (Choose two.)

  • A. HttpServletResponse objects
  • B. HttpSession objects
  • C. a database
  • D. ServletContext objects

正解: B,D

 

質問 49
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?

  • A. Invoke the dispatch()method on the ExternalContextobject.
  • B. Set the immediate="true" attribute on the command button that was used to perform this call.
  • C. Invoke the setCurrentPhaseId(RENDER_RESPONSE)method on the FacesContextobject.
  • D. Invoke the responseComplete()method on the FacesContextobject.

正解: C

 

質問 50
Which statement is true about Java methods that are exposed as Web Service operations by using JAX-WS API?

  • A. The @WebMethod annotation must exist.
  • B. Method parameters and return types must be JAXB compatible.
  • C. The @WebResult annotation must exist.
  • D. Method parameters must be declared by using @WebParam.

正解: A

 

質問 51
Given:

How often does the submitted task run?

  • A. need more details to determine
  • B. as many times as you like
  • C. once
  • D. based on a schedule

正解: A

 

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

  • A. ServletConfig
  • B. ServletContext
  • C. HttpSession
  • D. ServletRequest

正解: B

解説:
Explanation/Reference: https://stackoverflow.com/questions/123657/how-can-i-share-a-variable-or-object-between-two-or- more-servlets

 

質問 53
Which two approaches would result in the current date being added to the output of a JSP? (Choose two.)

  • A. <%= out.printIn(new java.util.Date()) %>
  • B. <% System.out.printIn(new java.util.Date()); %>
  • C. <% out.printIn(new java.util.Date()); %>
  • D. <%= new java.util.Date() %>

正解: A,D

解説:
Explanation/Reference: http://www.ntu.edu.sg/home/ehchua/programming/java/javaserverpages.html

 

質問 54
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. Define the @onMessagemethods in your endpoint with Objectas parameter and check the actual type in your code.
  • B. You can achieve this only by creating separate WebSocket endpoints for each message type.
  • C. Create two @onMessagemethods in the same endpoint with appropriate parameter types.
  • D. Create two @onMessagemethods, each with appropriate decoder attribute in the same endpoint.

正解: D

解説:
Explanation/Reference:
Reference: https://abhirockzz.gitbooks.io/java-websocket-api-handbook/content/Receiving%
20Messages.html

 

質問 55
......

1Z0-900試験問題と有効な1Z0-900問題集PDF:https://www.passtest.jp/Oracle/1Z0-900-shiken.html

1Z0-900ブレーン問題集学習ガイドにはヒントとコツで試験合格を目指そう:https://drive.google.com/open?id=1sPQTvJcnudqf4s-leayNoD9X0_3qh8Qb