[2022年02月]更新の1Z0-900問題集で時間限定!無料アクセスせよ! [Q68-Q92]

Share

[2022年02月]更新の1Z0-900問題集で時間限定!無料アクセスせよ!

1Z0-900問題集で2022年最新のOracle 1Z0-900試験問題

質問 68
Given the code fragment:

How are transactions managed?

  • A. through a single transaction for the entire JMS Topic
  • B. through a single shared transaction across the connection factory
  • C. through a separate transaction per JMS Consumer
  • D. through a single shared transaction in the JMS Context

正解: D

 

質問 69
Given the code fragment from a Facelet page:

On Line 1, you ae asked to insert a search box that displays the text ''Search Here'' via a placeholder.
Assume searchMBis a valid Managed Bean.
Which two options enable you to create a search box with a placeholderattribute on Line 1? (Choose two.)
<h:inputText value=''#(searchMB.query)''>

  • A. <input jsf:id=''search'' placeholder=''Search here'' jsf:value=''#
  • B. <input id=''search'' jsf:placeholder=''Search Here'' value=''$(searchMB.query)''></
  • C. (searchMB.query)''></input>
    <h:inputText pt:placeholder=''Search Here'' value=''#(searchMB.query)''/>
  • D. input>
  • E. <f:param name=''placeholder'' value=''Search Here''/>
    </h:inputText>
    <h:inputText value=''#(searchMB.query)'' placeholder=''Search here''/>

正解: C,D

 

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

  • A. The system will pock the first available currency from the list of Values.
  • B. 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.
  • C. It is mandatory to provide functional currency, because ledger cannot be defined without functional currency. The system will throw an error upon processing.
  • D. The system will automatically pick ''USD'' as functional currency from the legal entity country.
  • E. 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.

正解: D

 

質問 71
You have been assigned to the Widget Editor portion of an application. It contains a Widget Editor Facelet page, the Widget class, and a simple WidgetEditor backing bean, which contains a reference to the current Widget instance.
Given the code fragment from the Widget class:

Given the code fragment from the Facelet page:

The page displays Conversion Error when a user fills out all the form fields and clicks the Save button.
Which step do you perform to fix this problem?

  • A. Insert <f:convertDateTime"/> at Line 1
  • B. Replace Line 1 with:<h: inputText
    id="createDate"value="#{widgetEditor.widget.createdDate}"converter="java.util.Date"/>
  • C. Replace Line 1 with:<h:inputText
    id="createDate"value="#{widgetEditor.widget.createdDate}"><f:convertDateTime pattern="dd-mm-yyyy"/></h:inputText>
  • D. Enclose the code fragment within the <f:view/> tag

正解: C

 

質問 72
Given the code fragments:

What code should you add to the body of the updateEmployeemethod in order to save pending changes to the database?
entityManager.merge(emp);

  • A. entityManager.merge(emp);
    entityManager.getTransaction().commit();
  • B. EntityManager.merge(emp);
    entityManager.getTransaction().begin();
  • C. UserTransaction utx = (UserTransaction)ctx.lookup(''java:comp/
    UserTransaction'');
    utx.begin();
    entityManager.merge(emp);
    utx.commit();
    entityManager.lock(emp);
  • D. Context. Ctx = new InitialContext();

正解: C

 

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

  • A. <% System.out.println(e.getMessage()) %>
  • B. <c:out value="${requestScope['javax.servlet.error.exception']}"/>
  • C. <% exception.getMessage(); %>
  • D. <%= exception.message %>

正解: A

 

質問 74
Which two elements CANNOT be injected by using an @Inject annotation? (Choose two.)

  • A. instance fields declared final
  • B. abstract methods
  • C. concrete methods
  • D. static fields

正解: A,B

 

質問 75
Your customer has a complex financial reporting structure.
Which three elements should you define first in order to form a basis for this reporting?

  • A. Legal, Autonomy, and Operational
  • B. Managerial, Operational, and Industry
  • C. Tax, Legal, and Industry
  • D. Legal, Managerial, and Functional

正解: D

 

質問 76
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. Set Consumption Advice Summary in Consignment Agreement to "All Organizations".
  • D. This cannot be achieved because only one common consumption advice is created regardless of other parameters.

正解: B

 

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

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

正解: C,D

 

質問 78
You have an organization that runs both its domestic and international business from the same offices.
However, the organization does not want the domestic side of the business to be able to transact on the international side, even though they are selling the same material.
How do you configure your enterprise to meet this requirement?

  • A. Set up the domestic and international businesses as separate business units.
  • B. Set up the domestic and international businesses as separate projects.
  • C. Use data access security to separate what each customer can control.
  • D. Set up the domestic and international businesses as separate cost centers.
  • E. Set up the domestic and international businesses as separate operating units.

正解: A

 

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

  • A. MDBs are invoked synchronously.
  • B. MDBs retain data caches between client calls.
  • C. MDBs can participate in transactions.
  • D. Each MDBs can process messages only from a single client.

正解: C

 

質問 80
You need to load on-hand balances for go live. Which template should be used for this?

  • A. InventoryTransactionImportTemplate.xlsm
  • B. InventoryReservationImportTemplate.xlsm
  • C. InventoryBalanceImportTemplate.xlsm
  • D. InventoryOnHandBalanceTemplate.xlsm
  • E. InventoryMiscellaneousTrxTemplate.xlsm

正解: A

 

質問 81
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() %>

正解: C,D

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

 

質問 82
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. JSF
  • B. JPA
  • C. JMS
  • D. JCA

正解: A,C

 

質問 83
Your organization performs a restock via a transfer order between inventory organizations, using the following parameters for processing:
Transfer Type: In-transit transfer type
Receipt Routing: Standard
Transfer Order Required: Yes
During the process, the receiving organization wants to make a change to the transfer order line.
After which fulfillment stage will they no longer be able to change the transfer order?

  • A. Closed
  • B. Awaiting Fulfillment
  • C. Awaiting Receiving
  • D. Awaiting Billing
  • E. Ship Confirm

正解: A

 

質問 84
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 publisher sends the message. However, it is never consumed because there wasn't anything listening when it arrived, regardless of the message timeout length.
  • B. 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.
  • 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.

正解: C

解説:
Explanation/Reference: https://www.ibm.com/support/knowledgecenter/en/SSAW57_8.5.5/ com.ibm.websphere.nd.multiplatform.doc/ae/tjn0012_.html

 

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

正解: A

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

 

質問 86
Which class do you use to handle an incoming JSON Message as a stream?

  • A. JsonParser
  • B. JsonReader
  • C. JsonObject
  • D. JsonObjectBuilder

正解: B

 

質問 87
Given the code fragment:

Assuming this bean is used only in the code fragment above, how long will the injected Beaninstance be available?

  • A. for the lifetime of the request
  • B. for the lifetime of the enterprise application
  • C. for the lifetime of the session
  • D. for the lifetime of the Serviceobject

正解: D

 

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

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

正解: B,C

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

 

質問 89
Which two statements are true in regard to using the Enterprise Structures Configuration? (Choose two.)

  • A. The guided interview-based process helps you set up the enterprise with best practices.
  • B. It creates the chart of accounts.
  • C. It recommends job and position structures.
  • D. It allows you to create your Enterprise, Business Units, and Warehouses in a single step.
  • E. You cannot modify the recommendation from the tool. You must do it after you perform the initial configuration.

正解: A,D

 

質問 90
When should a JPA entity implement the Serializableinterface?

  • A. when JPA entities are used outside of the EJB Lite container
  • B. when JPA entities are used as parameters or return values by the remote EJB operations
  • C. always, because JPA entities are required to implement the Serializableinterface
  • D. when JPA entities are used in the EJB Full container

正解: B

解説:
Explanation/Reference:
Reference: https://stackoverflow.com/questions/2020904/when-and-why-jpa-entities-should-implement- serializable-interface

 

質問 91
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.

正解: B

 

質問 92
......

Oracle 1Z0-900試験実践テスト問題:https://www.goshiken.com/Oracle/1Z0-900-mondaishu.html

最新の無料1Z0-900別格問題集をダウンロード:https://drive.google.com/open?id=1eaouDxKmB_Ol8u9BvOsVEVyXQ8_aW7sB