Oracle 1Z0-900 Certification Sample Questions and Answers

1Z0-900 PDF, 1Z0-900 Dumps PDF Free Download, 1Z0-900 Latest Dumps Free PDF, Java EE Application Developer PDF DumpsThe Oracle Java EE Application Developer (1Z0-900) Sample Question Set is designed to help you prepare for the Oracle Certified Professional, Java EE 7 Application Developer certification exam. To become familiar with the actual Oracle Certification exam environment, we suggest you try our Sample Oracle 1Z0-900 Certification Practice Exam.

This Oracle Java EE 7 Application Developer certification sample practice test and sample question set are designed for evaluation purposes only. If you want to test your Oracle 1Z0-900 knowledge to identify your areas of improvement and get familiar with the actual exam format, we suggest you prepare with the Premium Oracle Certified Professional, Java EE 7 Application Developer Certification Practice Exam. Our team of Oracle Java experts has designed Questions-Answers for this premium practice exam by collecting inputs from recently certified candidates. Our premium Oracle 1Z0-900 certification practice exam will boost your confidence as well as your actual Oracle Java EE Application Developer exam result.

Oracle 1Z0-900 Sample Questions:

01. A resource method must respond to GET /books/{isbn} and read the ISBN from the URI path.
Which combination is correct?
a) @GET @Path("{isbn}") with a @QueryParam("isbn") parameter
b) @POST @Path("{isbn}") with a @PathParam("isbn") parameter
c) @GET @Path("{isbn}") with a @PathParam("isbn") parameter
d) @GET @Path("/isbn") with a @FormParam("isbn") parameter
 
02. Which JSP implicit object represents the per-application shared scope, backed by the ServletContext?
a) application, backed by the ServletContext
b) request, backed by the current request
c) page, backed by the current page instance
d) session, backed by the HttpSession
 
03. Your endpoint must accept a custom Java object as a text message, converting it from the incoming string automatically.
Which JSR 356 construct performs this conversion?
a) An Encoder registered on the endpoint
b) A JAXB Unmarshaller injected into @OnMessage
c) A MessageBodyReader registered on the endpoint
d) A Decoder registered on the endpoint
 
04. An entity was loaded in a transaction, then its persistence context closed at transaction end. The application still holds the reference and changes a field.
In which state is the entity, and what happens to that change?
a) Managed, so the change is flushed at the next commit
b) Detached, so the change is not tracked until a merge
c) Removed, so the entity is deleted at the next flush
d) Transient, so it needs a fresh persist to be saved
 
05. A CDI bean must be reachable from a JSF Facelets page through an expression such as #{cart.total}.
Which annotation exposes the bean to EL under the name cart?
a) @ManagedBean(name="cart") from javax.faces.bean
b) @Produces("cart") declared on the bean class
c) @Named("cart") placed on the bean class
d) @ELResource("cart") placed on the bean class
 
06. You must require the ADMIN role for every request under /admin/*.
Which deployment-descriptor element expresses this?
a) A <servlet-mapping> with a <role-ref> to ADMIN
b) A <login-config> that lists the ADMIN role
c) An @RolesAllowed("ADMIN") entry in the descriptor
d) A <security-constraint> mapping the URL to ADMIN
 
07. In a JSR 356 annotated endpoint, which method receives the Session when the connection is first established?
a) A method annotated @OnMessage
b) A method annotated @OnOpen
c) A method annotated @OnClose
d) A method annotated @PostConstruct
 
08. Which two containers are the standard server-side runtime environments described by the Java EE 7 architecture?
a) The applet container and the browser container
b) The database container and the file container
c) The web container and the EJB container
d) The JVM container and the operating-system container
 
09. A POST resource method creates a new order and must return HTTP 201 with a Location header pointing at the new resource.
Which return best expresses this?
a) Response.created(uri).build() with the new resource URI
b) Response.ok(order).build() carrying the new order
c) Response.status(201).entity(order).build() with no header
d) Response.accepted().build() for the created order
 
10. In JSR 352 chunk-oriented processing, which three artifacts make up a chunk step’s read-process-write cycle?
a) ChunkReader, ChunkMapper, and ChunkWriter 
b) JobReader, JobProcessor, and JobWriter
c) ItemReader, Batchlet, and ItemWriter
d) ItemReader, ItemProcessor, and ItemWriter

Answers:

Question: 01

Answer: c

Question: 02

Answer: a

Question: 03

Answer: d

Question: 04

Answer: b

Question: 05

Answer: c

Question: 06

Answer: d

Question: 07

Answer: b

Question: 08

Answer: c

Question: 09

Answer: a

Question: 10

Answer: d

 

Rating: 4.8 / 5 (96 votes)