CIW Web DevelopER(JCERT) (1D0-532) Free Practice Test
Question 1
A developer wants to make use of a pre-existing tag library located at:
http://www.mycorp/super
The tag that will be used in the JSP will appear as:
<super:doCount>
What directive must appear in the JSP in order to use the tag library?
http://www.mycorp/super
The tag that will be used in the JSP will appear as:
<super:doCount>
What directive must appear in the JSP in order to use the tag library?
Correct Answer: C
Question 2
In the JMS API for the publish-subscribe domain, how does a durable subscriber differ from a non-durable subscriber?
Correct Answer: C
Question 3
Which interface should an object implement in order to be notified that it is about to be added to or removed from the session?
Correct Answer: B
Question 4
Which of the following JNDI methods is used by a client to obtain a reference to an EJB home interface?
Correct Answer: D
Question 5
When the JMS API is used, which two subtypes of javax.jms.Message are most appropriate for sending a message to a consumer that is not a Java client?
Correct Answer: A,D
Question 6
A JSP contains a for loop that is an integral part of populating and outputting an HTML table with five rows. Which is a valid JSP scripting element that could be used for the looping construct?
Correct Answer: E
Question 7
Consider the following traditional JSP tag:
<%@ page import="java.sql.*" %>
Which of the following represent the complete and correct XML-based JSP tags to accomplish the same task as the traditional JSP tag above?
<%@ page import="java.sql.*" %>
Which of the following represent the complete and correct XML-based JSP tags to accomplish the same task as the traditional JSP tag above?
Correct Answer: C,D