An XML document that is valid:
A. complies with XML syntax rules and the constraints described in a DTD or Schema.
B. complies with XML syntax rules but not the constraints described in a DTD or Schema.
C. does not necessarily comply with XML syntax rules but only the constraints described in a DTD or Schema.
D. does not necessarily comply with XML syntax rules or the constraints described in a DTD or Schema, but can be parsed with an HTML browser.
正解:A
質問 2:
Consider the following Java code:
DataSource ds;
try {
ctx = new InitialContext(env);
ds = (DataSource) ctx.lookup("EmployeeDatabase");
}
catch (NamingException ne)
{
System.out.println("NamingException thrown!");
}
Connection con = ds.getConnection();
Which of the following actions are performed by the code above?
A. The code establishes a connection with a database.
B. The code releases a connection to a database.
C. The code utilizes a JDBC URL to locate a database.
D. The code utilizes JNDI.
正解:A,D
質問 3:
Each of the following represents a valid and well-formed WML code segment EXCEPT:
A. <do type="options" label="Options"/>
B. <do type="accept" label="View Inventory">
<spawn href="/inventory" onexit="/checkout">
</do>
C. <do type="help" label="Get Help">
<go href="#help"/>
</do>
D. <do type="prev" label="Last Page">
<prev/>
</do>
正解:B
質問 4:
Which of the following is NOT a recommended use for servlet filters?
A. XSL/T filters
B. Authentication filters
C. Image conversion filters
D. Applet communication filters
E. Encryption filters
正解:D
質問 5:
In which two of the following scenarios is the JMS publish-subscribe domain more appropriate than the JMS point-to-point domain?
A. The animal control department of city hall hosts a Web site through which members of the public can submit applications for dog licenses.
B. Companies post highlights of their quarterly financial statement returns for stockholders.
C. A police officer inputs a vehicle license number and receives the owner's name and driving record.
D. An online forum lets members read and add messages to a number of discussion threads.
正解:B,D
質問 6:
Which three of the following may be contained in a WAR file?
A. Enterprise JavaBeans
B. Servlets
C. Applets
D. JavaServer Pages
E. Client-side Java applications
正解:B,C,D
Iikubo -
本当に良い問題集です。ほぼ全問が出題され、合格できました。
ありがとうございます!!