Exam Details

  • Exam Code
    :1Z0-900
  • Exam Name
    :Java EE 7 Application Developer
  • Certification
    :Oracle Database
  • Vendor
    :Oracle
  • Total Questions
    :142 Q&As
  • Last Updated
    :May 13, 2024

Oracle Oracle Database 1Z0-900 Questions & Answers

  • Question 131:

    Java EE's support for WS-Security includes handling which two types of security credentials? (Choose two.)

    A. X.509 certificates

    B. SAML tokens

    C. OAuth Bearer tokens

    D. Two-factor authentication tokens

  • Question 132:

    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 searchMB is a valid Managed Bean.

    Which two options enable you to create a search box with a placeholder attribute on Line 1? (Choose two.)

    A.

    B.

    C.

    D.

    E.

  • Question 133:

    Given the code fragment:

    Which method should be used on line 3 to enable default validation mechanism?

    A. u.setProperty(String, Object)

    B. u.setProperty(Schema)

    C. u.setEventHandler(ValidationEventHandler)

    D. u.setAdapter(XmlAdapter)

  • Question 134:

    How do you specify a default error page in your web.xml file?

    A. /general-error.html

    B. * /general-error.html

    C. * /general-error.html

    D. /general-error.html

  • Question 135:

    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 2 with: @Inject public void setAcc(Account acc)

    B. Replace line 3 with: @Inject public Account getAcc()

    C. Replace line 1 with: @Inject private Account acc;

    D. Replace line 3 with: public @Inject Account getAcc()

    E. Replace line 1 with: private @Inject Account acc;

    F. Replace line 2 with: public void setAcc(@Inject Account acc)

  • Question 136:

    Given:

    How often does the submitted task run?

    A. need more details to determine

    B. once

    C. as many times as you like

    D. based on a schedule

  • Question 137:

    Given:

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

    A. @Stateless @PassivationCapable

    B. @Stateless

    C. @Stateful @PassivationCapable

    D. @Stateful

  • Question 138:

    Which URL represents an invalid approach to pass a parameter to a REST resource?

    A. /Employees?value=1

    B. /Employeesandvalue=1

    C. /Employees/1

    D. /Employees;value=1

  • Question 139:

    Given:

    If an exception is thrown inside the if block, what effect will it have on the transaction?

    A. The transaction will be committed.

    B. The transaction will be suspended.

    C. The transaction will be rolled back.

  • Question 140:

    Given the code fragments: What code should you add to the body of the updateEmployee method in order to save pending changes to the database?

    A. entityManager.merge(emp);

    B. Context. Ctx = new InitialContext(); UserTransaction utx = (UserTransaction)ctx.lookup("java:comp/UserTransaction"); utx.begin(); entityManager.merge(emp); utx.commit();

    C. entityManager.lock(emp); EntityManager.merge(emp);

    D. entityManager.getTransaction().begin(); entityManager.merge(emp); entityManager.getTransaction().commit();

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-900 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.