1z0-900 Java EE 7 Application Developer Practice Questions
Prepare for 1z0-900 with more than an answer.
- Exam fee
- $245 USD
- Level
- Professional
- Valid for
- No expiration
Domains covered on the exam 14
- Understand Java EE Architecture8%
- Manage Persistence using JPA Entities and Bean Validation15%
- Implement Business Logic by Using EJBs12%
- Use Java Message Service API8%
- Implement SOAP Services by Using JAX-WS and JAXB APIs7%
- Create Java Web Applications using Servlets8%
- Create Java Web Applications using JSPs6%
- Implement REST Services using JAX-RS API10%
- Create Java Applications using WebSockets5%
- Develop Web Applications using JSFs10%
- Secure Java EE 7 Applications8%
- Use CDI Beans8%
- Use Concurrency API in Java EE 7 Applications4%
- Use Batch API in Java EE 7 Applications3%
- 1
Java EE’s support for WS-Security includes handling which two types of security credentials? (Choose two.)
Show answer details
Correct answer: A, B
A, B
A, B
- 2
You have orders that were due for shipping last week, but as for now they have not been shipped.
Which dashboard should you check at the end of the day to determine which orders have been shipped?
Show answer details
Correct answer: B
B
- 3
Your client wants the purchasers to be able to run the min-max for items under their control and then manage the POs created out of these.
Which parameters can they use to be able to do this?
Show answer details
Correct answer: C
C
- 4
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?
Show answer details
Correct answer: C
C
- 5
Which two approaches would result in the current date being added to the output of a JSP? (Choose two.)
Show answer details
Correct answer: A, C
A, C -- Reference: http://www.ntu.edu.sg/home/ehchua/orogramminq/java/javaserverpages.html
A, C -- Reference: http://www.ntu.edu.sg/home/ehchua/orogramminq/java/javaserverpages.html
- 6
Your organization is using min-max planning to replenish stock and the planning parameters are set at item organization level with a default subinventory.
Item: A, Min Qty: 25, Max Qty: 150 and Current Level: 20
The item above is purchased from a supplier. Although there is subinventory on hand, the subinventory is below the minimum required level. This should trigger a Min-Max report entry, but the requisition is not generated. Why?
Show answer details
Correct answer: E
E
- 7
A secured servlet uses a
ManagedExecutorServiceto execute a task asynchronously. The asynchronous task needs to perform an action that requires knowledge of the user's identity and roles (the security context) from the original servlet request. Which statement best describes how the Java EE Concurrency API handles this requirement?sequenceDiagram participant Client participant Servlet participant ManagedExecutorService as MES participant AsyncTask Client->>Servlet: HTTP Request (with security context) Servlet->>MES: submit(task) MES->>AsyncTask: execute() Note over AsyncTask: Needs original security context AsyncTask-->>MES: Result MES-->>Servlet: FutureShow answer details
Correct answer: B
A key feature of the Java EE Concurrency Utilities is context propagation. When a task is submitted to a
ManagedExecutorService, the container ensures that the component's context (including security, JNDI, and classloading contexts) from the submitting thread is made available to the thread that executes the task. This allows the asynchronous task to run with the same permissions and environment as the component that created it, without requiring manual context passing. - 8
Which class do you use to handle an incoming JSON Message as a stream?
Show answer details
Correct answer: A
- 9
Your client is about to define their primary ledger.
Which set of three primary attributes do they need to know in order to complete this?
Show answer details
Correct answer: C
C
- 10
Which is a valid description of REST?
Show answer details
Correct answer: D
