显示标签为“SUN”的博文。显示所有博文
显示标签为“SUN”的博文。显示所有博文

2014年1月2日星期四

SUN 310-045 exam pdf dumps

ITCertKing can provide you a pertinence training and high quality exercises, which is your best preparation for your first time to attend SUN certification 310-045 exam. ITCertKing's exercises are very similar with the real exam, which can ensure you a successful passing the SUN certification 310-045 exam. If you fail the exam, we will give you a full refund.

After the advent of the ITCertKing's latest SUN certification 310-045 exam practice questions and answers, passing SUN certification 310-045 exam is no longer a dream of the IT staff. All of ITCertKing's practice questions and answers about SUN certification 310-045 exam have high quality and 95% similarity with the real exam questions. ITCertKing is worthful to choose. If you choose ITCertKing's products, you will be well prepared for SUN certification 310-045 exam and then successfully pass the exam.

There is no site can compare with ITCertKing site's training materials. This is unprecedented true and accurate test materials. To help each candidate to pass the exam, our IT elite team explore the real exam constantly. I can say without hesitation that this is definitely a targeted training material. The ITCertKing's website is not only true, but the price of materials are very reasonable. When you choose our products, we also provide one year of free updates. This allow you to have more ample time to prepare for the exam. So that you can eliminate your psychological tension of exam, and reach a satisfactory way.

Would you like to attend SUN 310-045 certification exam? Certainly a lot of people around you attend this exam. SUN 310-045 test is an important certification exam. If you obtain 310-045 certificate, you can get a lot of benefits. Then you pick other people's brain how to put through the test. There are several possibilities to get ready for 310-045 test, but using good tools is the most effective method. Well, what is the good tool? Of course, ITCertKing SUN 310-045 exam dumps are the best tool.

Exam Code: 310-045
Exam Name: SUN (NetBeans Integrated Development Environment 6.1 Programmer Certified Expert Exam)
One year free update, No help, Full refund!
Total Q&A: 122 Questions and Answers
Last Update: 2014-01-02

If you are still troubled for the SUN 310-045 certification exam, then select the ITCertKing's training materials please. ITCertKing's SUN 310-045 exam training materials is the best training materials, this is not doubt. Select it will be your best choice. It can guarantee you 100% pass the exam. Come on, you will be the next best IT experts.

310-045 Free Demo Download: http://www.itcertking.com/310-045_exam.html

ITCertKing offer the latest 100-101 exam material and high-quality 70-486 pdf questions & answers. Our 050-SEPROGRC-01 VCE testing engine and VCAP5-DCD study guide can help you pass the real exam. High-quality 000-318 dumps training materials can 100% guarantee you pass the exam faster and easier. Pass the exam to obtain certification is so simple.

Article Link: http://www.itcertking.com/310-045_exam.html

2013年11月28日星期四

SUN certification 310-090 the latest examination questions and answers come out

From the view of specialized examination point, it is necessary to teach you tips about the exam. You need to outsmart, and do not give your future the chance of failure. ITCertKing is a great resource site. It includes SUN 310-090 Exam Materials, study materials and technical materials, as well as exam training and detailed explanation and answers. The website which provide exam information are surged in recent years. This may cause you clueless when you prepare the SUN 310-090 exam. ITCertKing's SUN 310-090 exam training materials are effective training materials that proven by professionals and the candidates who passed the exam. It can help you to pass the exam certification easily.

Now there are many IT professionals in the world and the competition of IT industry is very fierce. So many IT professionals will choose to participate in the IT certification exam to improve their position in the IT industry. 310-090 exam is a very important SUN's certification exam. But if you want to get a SUN certification, you must pass the exam.

The quality of ITCertKing product is very good and also have the fastest update rate. If you purchase the training materials we provide, you can pass SUN certification 310-090 exam successfully.

On ITCertKing website you can free download part of the exam questions and answers about SUN certification 310-090 exam to quiz our reliability. ITCertKing's products can 100% put you onto a success away, then the pinnacle of IT is a step closer to you.

Only to find ways to success, do not make excuses for failure. To pass the SUN 310-090 exam, in fact, is not so difficult, the key is what method you use. ITCertKing's SUN 310-090 exam training materials is a good choice. It will help us to pass the exam successfully. This is the best shortcut to success. Everyone has the potential to succeed, the key is what kind of choice you have.

Do you want to pass the SUN 310-090 exam better and faster? Then please select the ITCertKing. It can help you achieve your dreams. ITCertKing is a website that provide accurate exam materials for people who want to participate in the IT certification. ITCertKing can help a lot of IT professionals to enhance their career blueprint. Our strength will make you incredible. You can try a part of the questions and answers about SUN 310-090 exam to test our reliability.

Exam Code: 310-090
Exam Name: SUN (Sun Certified Business Component Developer for J2EE 1.3)
One year free update, No help, Full refund!
Total Q&A: 409 Questions and Answers
Last Update: 2013-11-28

310-090 Free Demo Download: http://www.itcertking.com/310-090_exam.html

NO.1 What are two programming restrictions in the EJB 2.0 specification? (Choose two.)
A. An enterprise bean must not declare static fields as final .
B. An enterprise bean must not attempt to load a native library.
C. An enterprise bean must not attempt to create a new security manager.
D. An enterprise bean must not propagate a RuntimeException to the container.
E. An enterprise bean must not attempt to obtain a javax.naming.InitialContext .
Answer: B C

SUN certification   310-090   310-090 study guide

NO.2 Which accurately describes a characteristic of EJB 2.0?
A. EJB 2.0 is an example of a web-based component model.
B. EJB 2.0 components must be directly accessible via HTTP.
C. EJB 2.0 is an example of a component model for GUI applications.
D. EJB 2.0 applications can link to legacy systems using a J2EE connector.
Answer: D

SUN   310-090   310-090

NO.3 Which is a capability guaranteed by all EJB 2.0 containers?
A. JTA support
B. server failover
C. load balancing
D. servlet support
E. server clustering
Answer: A

SUN   310-090   310-090 original questions   310-090 demo

NO.4 Which two must be in an ejb-jar file, either by inclusion or reference? (Choose two.)
A. an enterprise archive (.ear) file
B. a deployment descriptor in the format defined by the EJB 2.0 specification
C. the class files for the classes that implement the home and remote interfaces
D. the class files for the interfaces and superinterfaces used by the bean, except J2SE or J2EE interfaces
E. the class files for the stub classes of the EJBHome andEJBObject interfaces, if remote interfaces are
deployed for the bean
Answer: B D

SUN   310-090   310-090 test answers   310-090 test questions

NO.5 Click the Exhibit button.
All beans involved use container-managed transactions and all methods are marked as Required. At
runtime, methodB is unable to communicate with its resource and calls the setRollbackOnly method.
What is the result?
A. JMS message redelivery semantics will apply.
B. The rollback will propagate to the sender of the message.
C. The bean's onMessage method will reattempt the sequence.
D. Transactions started by the onMessage method will always commit.
Answer: A

SUN   310-090 braindump   310-090 practice test   310-090 practice test

NO.6 Which two actions could adversely affect the portability of an EJB 2.0 bean? (Choose two.)
A. changing a thread's priority
B. directly reading or writing a file descriptor
C. using java.net.Socket to be a network client
D. demarcating a transaction in a stateless session bean
E. using bean-managed transactions in a message-driven bean
Answer: A B

SUN   310-090 questions   310-090 exam simulations

NO.7 Which is a feature of EJB 2.0?
A. It provides synchronous message handling through message driven beans.
B. It provides support for both local and remote client views for session beans.
C. It provides support for both local and remote client views for message driven beans.
D. It guarantees that all services represented by an object will have conversational state.
Answer: B

SUN questions   310-090   310-090

NO.8 Which statement about EJB QL is true?
A. An EJB QL query must contain the ORDER BY clause.
B. An EJB QL query is statically defined in the ejb-jar.xml deployment descriptor.
C. Duplicate values are always removed from EJB QL query results by the container.
D. It is legal to use an input parameter in the FROM clause or the SELECT clause of an EJB QL query.
Answer: B

SUN   310-090 answers real questions   310-090

NO.9 Which two are valid types for persistent fields in a CMP 2.0 entity bean? (Choose two.)
A. Java primitives
B. entity bean local interfaces
C. classes implementing java.io.Serializable
D. either java.util.Collection or java.util.Set
Answer: A C

SUN   310-090   310-090   310-090 certification   310-090 dumps

NO.10 Label the methods according to whether the container ensures that the identity of the associated
entity object is available or unavailable to the instance during the method.
Answer:

NO.11 Which two are guaranteed to a Bean Provider using an EJB 2.0 container? (Choose two.)
A. access to the JCE API
B. access to JavaMail API
C. access to the JXTA API
D. access to the JAXP API
Answer: B D

SUN   310-090   310-090   310-090 dumps

NO.12 Which exception can be thrown by the findByPrimaryKey method of a remotely called entity bean using
container-managed persistence?
A. javax.ejb.EJBException
B. javax.ejb.DuplicateKeyException
C. javax.ejb.NoSuchEntityException
D. javax.ejb.ObjectNotFoundException
Answer: D

SUN questions   310-090 exam   310-090   310-090

NO.13 Which two APIs are provided to the Bean Provider by an EJB 2.0 container? (Choose two.)
A. JTA
B. JMX
C. JSP
D. JDO
E. JAXP
Answer: A E

SUN   310-090   310-090   310-090 answers real questions

NO.14 Given:
Which two elements must be included in the <resource-ref> tag? (Choose two.)
A. <res-type>
B. <res-ref-name>
C. <resource-env-ref>
D. <environment-resource>
Answer: A B

SUN test   310-090 demo   310-090   310-090

NO.15 Which two statements about a client's reference to a session bean's remote home interface are true?
(Choose two.)
A. The reference can be passed as a method argument.
B. The reference provides the client with the IP address of the bean instance.
C. The reference provides the client with access to at least one create method.
D. A new home reference must be obtained for each new reference to a remote component interface.
Answer: A C

SUN pdf   310-090   310-090   310-090   310-090

NO.16 What is true about using java.net.Socket and java.net.ServerSocket within session bean business
methods?
A. Both classes can be used.
B. Neither class can be used.
C. Of the two classes, only java.net.Socket can be used.
D. Of the two classes, only java.net.ServerSocket can be used.
Answer: C

SUN braindump   310-090   310-090   310-090

NO.17 Which two must a Bean Provider supply for each enterprise bean in the deployment descriptor?
(Choose two.)
A. security roles
B. the JNDI name of the enterprise bean
C. the enterprise bean type: session, entity, or message-driven
D. the value of the transaction attributes for the home and component interface methods
E. the fully-qualified name of the class that implements the enterprise bean's business methods
Answer: C E

SUN   310-090 questions   310-090 exam dumps   310-090 study guide

NO.18 Which statement is true about a session bean's lifecycle?
A. Session beans cannot receive re-entrant loopback calls.
B. A stateless session bean's home interface can have overloaded create methods.
C. Stateless session beans can implement javax.ejb.SessionSynchronization.
D. The EJB 2.0 container can make concurrent calls to any stateful session bean instance.
Answer: A

SUN   310-090   310-090   310-090 test answers

NO.19 Which two must a Bean Provider avoid in an enterprise bean to ensure that the bean is portable to
any compliant EJB 2.0 container? (Choose two.)
(Assume that all reference variables have been correctly and legally initialized.)
A. java.sql.Connection c = aDataSource.getConnection();
B. java.security.Principal p = context.getCallerPrincipal();
C. QueueSession q = aQueueConnection.createQueueSession(true, 0);
D. Object o = new Object();
Object o2 = o.getClass().getClassLoader();
E. java.io.FileInputStream fs = new java.io.FileInputStream("MyFile");
Answer: D E

SUN   310-090   310-090 certification training   310-090 answers real questions

NO.20 Who must ensure that a bean's environment entries are set to meaningful values?
A. Deployer
B. Bean Provider
C. EJB Server Provider
D. System Administrator
E. Application Assembler
F. EJB Container Provider
Answer: A

SUN test questions   310-090   310-090 study guide

NO.21 What two statements are true about EJB 2.0 container crashes? (Choose two.)
A. Entities will survive.
B. An entity bean's primary key will survive.
C. Message-driven bean instances will survive.
D. Stateful session bean instances will survive.
E. Crashes are guaranteed to be transparent to clients using entity beans.
Answer: A B

SUN   310-090   310-090 braindump   310-090   310-090   310-090

NO.22 Given:
Which EJB role is responsible for supplying this information?
A. Deployer
B. Bean Provider
C. Container Provider
D. System Administrator
E. Application Assembler
Answer: E

SUN   310-090   310-090 questions

NO.23 Which method can be found in BOTH the EJBHome and EJBLocalHome interface?
A. getHomeHandle()
B. getEJBMetaData()
C. remove(Handle handle)
D. remove(Object primaryKey)
Answer: D

SUN   310-090   310-090 test questions

NO.24 Place the expertise on its associated EJB role.
Answer:

NO.25 Which feature is mandatory for an EJB 2.0 compliant container?
A. JMX support
B. JVM co-resident JSPs
C. deferred database writes
D. lazy loading of entity bean data
E. client principal caller propagation
Answer: E

SUN   310-090 test   310-090 exam dumps   310-090

NO.26 Which two are required to properly implement a CMP entity bean class? (Choose two.)
A. Declare variables for all persistent fields.
B. Provide constructors to initialize the CMP fields.
C. Do not implement the ejbFind<METHOD> methods.
D. Provide implementation code for get and set methods to store and retrieve the persistent fields.
E. Implement ejbCreate<METHOD> methods for all home interface create<METHOD> methods.
Answer: C E

SUN   310-090 pdf   310-090 answers real questions

NO.27 Which method from javax.ejb.EJBContext returns an object that allows a Bean Provider to demarcate
transactions?
A. begin()
B. getAutoCommit()
C. getTransaction()
D. beginTransaction()
E. getUserTransaction()
Answer: E

SUN dumps   310-090   310-090 exam prep   310-090 test   310-090

NO.28 Which two statements are true? (Choose two.)
A. The EJB container must not allow the same enterprise bean to be deployed multiple times.
B. The EJB container must allow IIOP invocations on remote component and home interfaces.
C. The EJB container is not required to support publishing home references in a CORBA CosNaming
service.
D. The EJB container must implement the resource manager connection factory classes for resource
managers configured with the container.
E. The EJB container must allow enterprise beans deployed in the same enterprise archive to access one
another directly without having to go through home or remote interfaces.
Answer: B D

SUN test   310-090 original questions   310-090   310-090 exam dumps   310-090 exam   310-090

NO.29 Which transaction attribute may cause a javax.transaction.TransactionRequiredException to be
thrown?
A. Required
B. Supports
C. Mandatory
D. RequiresNew
Answer: C

SUN test answers   310-090   310-090

NO.30 Which is a Bean Provider's security-related responsibility?
A. assigns principals to roles in the application server
B. declares the role-link element in the deployment descriptor
C. declares the security-role element in the deployment descriptor
D. declares the security-role-ref element in the deployment descriptor
Answer: D

SUN certification training   310-090   310-090 study guide   310-090

ITCertKing offer the latest 700-104 exam material and high-quality 700-410 pdf questions & answers. Our 1Z0-478 VCE testing engine and 000-783 study guide can help you pass the real exam. High-quality HP5-K01D dumps training materials can 100% guarantee you pass the exam faster and easier. Pass the exam to obtain certification is so simple.

Article Link: http://www.itcertking.com/310-090_exam.html

SUN certification 310-083 exam best training materials

The certification of SUN 310-083 exam is what IT people want to get. Because it relates to their future fate. SUN 310-083 exam training materials are the learning materials that each candidate must have. With this materials, the candidates will have the confidence to take the exam. Training materials in the ITCertKing are the best training materials for the candidates. With ITCertKing's SUN 310-083 exam training materials, you will pass the exam easily.

There are different ways to achieve the same purpose, and it's determined by what way you choose. A lot of people want to pass SUN certification 310-083 exam to let their job and life improve, but people participated in the SUN certification 310-083 exam all knew that SUN certification 310-083 exam is not very simple. In order to pass SUN certification 310-083 exam some people spend a lot of valuable time and effort to prepare, but did not succeed.

310-083 exam is a new turning point in the IT industry. Get this examination certification, you will become the IT industry's professional high-end person. With the spread and progress of information technology, you will see hundreds of online resources which provide SUN 310-083 questions and answers. While ITCertKing ahead. The reason people choose ITCertKing SUN 310-083 exam training materials is that it can really bring benefits to them, and to help you come true your dreams as soon as possible!

ITCertKing's training product for SUN certification 310-083 exam includes simulation test and the current examination. On Internet you can also see a few websites to provide you the relevant training, but after compare them with us, you will find that ITCertKing's training about SUN certification 310-083 exam not only have more pertinence for the exam and higher quality, but also more comprehensive content.

ITCertKing's SUN 310-083 exam training material is the best training materials on the Internet. It is the leader in all training materials. It not only can help you to pass the exam , you can also improve your knowledge and skills. Help you in your career in your advantage successfully. As long as you have the SUN 310-083 certification, you will be treated equally by all countries.

Exam Code: 310-083
Exam Name: SUN (Sun Certified Web Component Developer for J2EE 5)
One year free update, No help, Full refund!
Total Q&A: 276 Questions and Answers
Last Update: 2013-11-28

310-083 Free Demo Download: http://www.itcertking.com/310-083_exam.html

NO.1 Given the JSP code:
<% request.setAttribute("foo", "bar"); %>
and the Classic tag handler code:
5. public int doStartTag() throws JspException {
6. // insert code here
7. // return int
8. }
Assume there are no other "foo" attributes in the web application.
Which invocation on the pageContext object, inserted at line 6, assigns "bar" to the variable x?
A. String x = (String) pageContext.getAttribute("foo");
B. String x = (String) pageContext.getRequestScope("foo");
C. It is NOT possible to access the pageContext object from within doStartTag.
D. String x = (String)
pageContext.getRequest().getAttribute("foo");
E. String x = (String) pageContext.getAttribute("foo",
PageContext.ANY_SCOPE);
Answer: D

SUN questions   310-083 certification   310-083

NO.2 </sl:shoppingList>
The tag handler for sl:shoppingList is ShoppingListTag and the tag handler for sl:item is ItemSimpleTag.
ShoppingListTag extends BodyTagSupport and ItemSimpleTag extends SimpleTagSupport.
Which is true?
A. ItemSimpleTag can find the enclosing instance of ShoppingListTag by calling getParent() and casting
the result to ShoppingListTag.
B. ShoppingListTag can find the child instances of ItemSimpleTag by calling super.getChildren() and
casting each to an ItemSimpleTag.
C. It is impossible for ItemSimpleTag and ShoppingListTag to find each other in a tag hierarchy because
one is a Simple tag and the other is a Classic tag.
D. ShoppingListTag can find the child instances of ItemSimpleTag by calling getChildren() on the
PageContext and casting each to an ItemSimpleTag.
E. ItemSimpleTag can find the enclosing instance of ShoppingListTag by calling findAncestorWithClass()
on the PageContext and casting the result to ShoppingListTag.
Answer: A

SUN test   310-083   310-083   310-083   310-083
11. Servlet A receives a request that it forwards to servlet B within another web application in the same
web container. Servlet A needs to share data with servlet B and that data must not be visible to other
servlets in A's web application. In which object can the data that A shares with B be stored?
A. HttpSession
B. ServletConfig
C. ServletContext
D. HttpServletRequest
E. HttpServletResponse
Answer: D

SUN   310-083   310-083   310-083
12. Your web site has many user-customizable features, for example font and color preferences on web
pages. Your IT department has already built a subsystem for user preferences using the Java SE
platform's lang.util.prefs package APIs, and you have been ordered to reuse this subsystem in your web
application. You need to create an event listener that constructs the preferences factory and stores it in
the application scope for later use. Furthermore, this factory requires that the URL to a database must
be declared in the deployment descriptor like this:
42. <context-param>
43. <param-name>prefsDbURL</param-name>
44. <param-value>
45. jdbc:pointbase:server://dbhost:4747/prefsDB
46. </param-value>
47. </context-param>
Which partial listener class will accomplish this goal?
A. public class PrefsFactoryInitializer implements ContextListener {
public void contextInitialized(ServletContextEvent e) {
ServletContext ctx = e.getContext();
String prefsURL = ctx.getParameter("prefsDbURL");
PreferencesFactory myFactory = makeFactory(prefsURL);
ctx.putAttribute("myPrefsFactory", myFactory);
}
// more code here
}
B. public class PrefsFactoryInitializer implements ServletContextListener {
public void contextCreated(ServletContext ctx) {
String prefsURL = ctx.getInitParameter("prefsDbURL");
PreferencesFactory myFactory = makeFactory(prefsURL);
ctx.setAttribute("myPrefsFactory", myFactory);
}
// more code here
}
C. public class PrefsFactoryInitializer implements ServletContextListener {
public void contextInitialized(ServletContextEvent e) {
ServletContext ctx = e.getServletContext();
String prefsURL = ctx.getInitParameter("prefsDbURL");
PreferencesFactory myFactory = makeFactory(prefsURL);
ctx.setAttribute("myPrefsFactory", myFactory);
}
// more code here
}
D. public class PrefsFactoryInitializer implements ContextListener {
public void contextCreated(ServletContext ctx) {
String prefsURL = ctx.getParameter("prefsDbURL");
PreferencesFactory myFactory = makeFactory(prefsURL);
ctx.putAttribute("myPrefsFactory", myFactory);
}
// more code here
}
Answer: C

SUN   310-083 certification   310-083 certification training   310-083 study guide
13. A developer wants a web application to be notified when the application is about to be shut down.
Which two actions are necessary to accomplish this goal? (Choose two.)
A. include a listener directive in a JSP page
B. configure a listener in the TLD file using the <listener> element
C. include a <servlet-destroy> element in the web application deployment descriptor
D. configure a listener in the application deployment descriptor, using the <listener> element
E. include a class implementing ServletContextListener as part of the web application deployment
F. include a class implementing ContextDestroyedListener as part of the web application deployment
G. include a class implementing HttpSessionAttributeListener as part of the web application deployment
Answer: DE

SUN   310-083 test answers   310-083 original questions   310-083   310-083
14. You want to create a filter for your web application and your filter will implement javax.servlet.Filter.
Which two statements are true? (Choose two.)
A. Your filter class must implement an init method and a destroy method.
B. Your filter class must also implement javax.servlet.FilterChain.
C. When your filter chains to the next filter, it should pass the same arguments it received in its doFilter
method.
D. The method that your filter invokes on the object it received that implements javax.servlet.FilterChain
can invoke either another filter or a servlet.
E. Your filter class must implement a doFilter method that takes, among other things, an
HTTPServletRequest object and an HTTPServletResponse object.
Answer: AD

SUN   310-083 practice test   310-083 test   310-083
15. Which three are true about the HttpServletRequestWrapper class? (Choose three.)
A. The HttpServletRequestWrapper is an example of the Decorator pattern.
B. The HttpServletRequestWrapper can be used to extend the functionality of a servlet request.
C. A subclass of HttpServletRequestWrapper CANNOT modify the behavior of the getReader method.
D. An HttpServletRequestWrapper may be used only by a class implementing the javax.servlet.Filter
interface.
E. An HttpServletRequestWrapper CANNOT be used on the request passed to the
RequestDispatcher.include method.
F. An HttpServletRequestWrapper may modify the header of a request within an object implementing the
javax.servlet.Filter interface.
Answer: ABF

SUN exam prep   310-083 practice test   310-083   310-083

NO.3 You have built a collection of custom tags for your web application. The TLD file is located in the file:
/WEB-INF/myTags.xml. You refer to these tags in your JSPs using the symbolic name: myTags. Which
deployment descriptor element must you use to make this link between the symbolic name and the TLD
file name?
A. <taglib>
<name>myTags</name>
<location>/WEB-INF/myTags.xml</location>
</taglib>
B. <tags>
<name>myTags</name>
<location>/WEB-INF/myTags.xml</location>
</tags>
C. <tags>
<tags-uri>myTags</taglib-uri>
<tags-location>/WEB-INF/myTags.xml</tags-location>
</tags>
D. <taglib>
<taglib-uri>myTags</taglib-uri>
<taglib-location>/WEB-INF/myTags.xml</taglib-location>
</taglib>
Answer: D

SUN test questions   310-083   310-083

NO.4 Assume that a news tag library contains the tags lookup and item:
lookup Retrieves the latest news headlines and executes the tag body once for each
headline. Exposes a NESTED page-scoped attribute called headline of type com.example.Headline
containing details for that headline.
item Outputs the HTML for a single news headline. Accepts an attribute info of type
com.example.Headline containing details for the headline to be rendered.Which snippet of JSP code
returns the latest news headlines in an HTML table, one per row?
A. <table>
<tr>
<td>
<news:lookup />
<news:item info="${headline}" />
</td>
</tr>
</table>
B. <news:lookup />
<table>
<tr>
<td><news:item info="${headline}" /></td>
</tr>
</table>
C. <table>
<news:lookup>
<tr>
<td><news:item info="${headline}" /></td>
</tr>
</news:lookup>
</table>
D. <table>
<tr>
<news:lookup>
<td><news:item info="${headline}" /></td>
</news:lookup>
</tr>
</table>
Answer: C

SUN   310-083 practice test   310-083   310-083 answers real questions

NO.5 Click the Exhibit button.
The resource requested by the RequestDispatcher is available and implemented by the
DestinationServlet.
What is the result?
A. An exception is thrown at runtime by SourceServlet.
B. An exception is thrown at runtime by DestinationServlet.
C. Only "hello from dest" appears in the response output stream.
D. Both "hello from source" and "hello from dest" appear in the response output stream.
Answer: A

SUN   310-083 braindump   310-083 braindump

NO.6 You are creating a JSP page to display a collection of data. This data can be displayed in several
different ways so the architect on your project decided to create a generic servlet that generates a
comma-delimited string so that various pages can render the data in different ways. This servlet takes on
request parameter: objectID. Assume that this servlet is mapped to the URL pattern: /WEB-INF/data.
In the JSP you are creating, you need to split this string into its elements separated by commas and
generate an HTML <ul> list from the data.
Which JSTL code snippet will accomplish this goal?
A. <c:import varReader='dataString' url='/WEB-INF/data'>
<c:param name='objectID' value='${currentOID}' />
</c:import>
<ul>
<c:forTokens items'${dataString.split(",")}' var='item'>
<li>${item}</li>
</c:forTokens>
</ul>
B. <c:import varReader='dataString' url='/WEB-INF/data'>
<c:param name='objectID' value='${currentOID}' />
</c:import>
<ul>
<c:forTokens items'${dataString}' delims=',' var='item'>
<li>${item}</li>
</c:forTokens>
</ul>
C. <c:import var='dataString' url='/WEB-INF/data'>
<c:param name='objectID' value='${currentOID}' />
</c:import>
<ul>
<c:forTokens items'${dataString.split(",")}' var='item'>
<li>${item}</li>
</c:forTokens>
</ul>
D. <c:import var='dataString' url='/WEB-INF/data'>
<c:param name='objectID' value='${currentOID}' />
</c:import>
<ul>
<c:forTokens items'${dataString}' delims=',' var='item'>
<li>${item}</li>
</c:forTokens>
</ul>
Answer: D

SUN   310-083   310-083 test

NO.7 Given the definition of MyServlet:
11. public class MyServlet extends HttpServlet {
12. public void service(HttpServletRequest request,
13. HttpServletResponse response)
14. throws ServletException, IOException {
15. HttpSession session = request.getSession();
16 session.setAttribute("myAttribute","myAttributeValue");
17. session.invalidate();
18. response.getWriter().println("value=" +

NO.8 Which three are true about TLD files? (Choose three.)
A. The web container recognizes TLD files placed in any subdirectory of WEB-INF.
B. When deployed inside a JAR file, TLD files must be in the META-INF directory, or a subdirectory of it.
C. A tag handler's attribute must be included in the TLD file only if the attribute can accept request-time
expressions.
D. The web container can generate an implicit TLD file for a tag library comprised of both simple tag
handlers and tag files.
E. The web container can automatically extend the tag library map described in a web.xml file by including
entries extracted from the web application's TLD files.
Answer: ABE

SUN exam simulations   310-083   310-083 answers real questions   310-083   310-083 exam dumps   310-083 dumps

NO.9 }

NO.10 The sl:shoppingList and sl:item tags output a shopping list to the response and are used as follows:

NO.11 You are building a web application that will be used throughout the European Union; therefore, it has
significant internationalization requirements. You have been tasked to create a custom tag that generates
a message using the java.text.MessageFormat class. The tag will take the resourceKey attribute and a
variable number of argument attributes with the format, arg<N>. Here is an example use of this tag and its
output:
<t:message resourceKey='diskFileMsg' arg0='MyDisk' arg1='1247' />
generates:
The disk "MyDisk" contains 1247 file(s).
Which Simple tag class definition accomplishes this goal of handling a variable number of tag attributes?
A. public class MessageTag extends SimpleTagSupport
implements VariableAttributes {
private Map attributes = new HashMap();
public void setVariableAttribute(String uri,
String name, Object value) {
this.attributes.put(name, value);
}
// more tag handler methods
}
B. The Simple tag model does NOT support a variable number of attributes.
C. public class MessageTag extends SimpleTagSupport
implements DynamicAttributes {
private Map attributes = new HashMap();
public void putAttribute(String name, Object value) {
this.attributes.put(name, value);
}
// more tag handler methods
}
D. public class MessageTag extends SimpleTagSupport
implements VariableAttributes {
private Map attributes = new HashMap();
public void putAttribute(String name, Object value) {
this.attributes.put(name, value);
}
// more tag handler methods
}
E. public class MessageTag extends SimpleTagSupport
implements DynamicAttributes {
private Map attributes = new HashMap();
public void setDynamicAttribute(String uri, String name,
Object value) {
this.attributes.put(name, value);
}
// more tag handler methods
}
Answer: E

SUN   310-083   310-083   310-083 certification training   310-083 braindump

NO.12 As a convenience feature, your web pages include an Ajax request every five minutes to a special
servlet that monitors the age of the user's session. The client-side JavaScript that handles the Ajax
callback displays a message on the screen as the session ages. The Ajax call does NOT pass any
cookies, but it passes the session ID in a request parameter called sessionID. In addition, assume that
your webapp keeps a hashmap of session objects by the ID. Here is a partial implementation of this
servlet:
10. public class SessionAgeServlet extends HttpServlet {
11. public void service(HttpServletRequest request, HttpServletResponse) throws IOException {
12. String sessionID = request.getParameter("sessionID");
13. HttpSession session = getSession(sessionID);
14. long age = // your code here
15. response.getWriter().print(age);
16. } ... // more code here
47. }
Which code snippet on line 14, will determine the age of the session?
A. session.getMaxInactiveInterval();
B. session.getLastAccessed().getTime() - session.getCreationTime().getTime();
C. session.getLastAccessedTime().getTime() - session.getCreationTime().getTime();
D. session.getLastAccessed() - session.getCreationTime();
E. session.getMaxInactiveInterval() - session.getCreationTime();
F. session.getLastAccessedTime() - session.getCreationTime();
Answer: F

SUN exam   310-083   310-083 practice test

NO.13 session.getAttribute("myAttribute"));

NO.14 Which JSTL code snippet can be used to perform URL rewriting?
A. <a href='<c:url url="foo.jsp"/>' />
B. <a href='<c:link url="foo.jsp"/>' />
C. <a href='<c:url value="foo.jsp"/>' />
D. <a href='<c:link value="foo.jsp"/>' />
Answer: C

SUN exam prep   310-083   310-083 pdf   310-083

NO.15 One of the use cases in your web application uses many session-scoped attributes. At the end of the
use case, you want to clear out this set of attributes from the session object. Assume that this static
variable holds this set of attribute names:
201. private static final Set<String> USE_CASE_ATTRS;
202. static {
203. USE_CASE_ATTRS.add("customerOID");
204. USE_CASE_ATTRS.add("custMgrBean");
205. USE_CASE_ATTRS.add("orderOID");
206. USE_CASE_ATTRS.add("orderMgrBean");
207. }
Which code snippet deletes these attributes from the session object?
A. session.removeAll(USE_CASE_ATTRS);
B. for ( String attr : USE_CASE_ATTRS ) {
session.remove(attr);
}
C. for ( String attr : USE_CASE_ATTRS ) {
session.removeAttribute(attr);
}
D. for ( String attr : USE_CASE_ATTRS ) {
session.deleteAttribute(attr);
}
E. session.deleteAllAttributes(USE_CASE_ATTRS);
Answer: C

SUN   310-083   310-083   310-083

NO.16 }
What is the result when a request is sent to MyServlet?
A. An IllegalStateException is thrown at runtime.
B. An InvalidSessionException is thrown at runtime.
C. The string "value=null" appears in the response stream.
D. The string "value=myAttributeValue" appears in the response stream.
Answer: A

SUN   310-083 exam prep   310-083 braindump   310-083 demo   310-083 exam
19. You need to store a Java long primitive attribute, called customerOID, into the session scope. Which
two code snippets allow you to insert this value into the session? (Choose two.)
A. long customerOID = 47L;
session.setAttribute("customerOID", new Long(customerOID));
B. long customerOID = 47L;
session.setLongAttribute("customerOID", new Long(customerOID));
C. long customerOID = 47L;
session.setAttribute("customerOID", customerOID);
D. long customerOID = 47L;
session.setNumericAttribute("customerOID", new Long(customerOID));
E. long customerOID = 47L;
session.setLongAttribute("customerOID", customerOID);
F. long customerOID = 47L;
session.setNumericAttribute("customerOID", customerOID);
Answer: AC

SUN   310-083 original questions   310-083   310-083 certification
20. A developer for the company web site has been told that users may turn off cookie support in their
browsers. What must the developer do to ensure that these customers can still use the web application?
A. The developer must ensure that every URL is properly encoded using the appropriate URL rewriting
APIs.
B. The developer must provide an alternate mechanism for managing sessions and abandon the
HttpSession mechanism entirely.
C. The developer can ignore this issue. Web containers are required to support automatic URL rewriting
when cookies are not supported.
D. The developer must add the string id=<sessionid> to the end of every URL to ensure that the
conversation with the browser can continue.
Answer: A

SUN answers real questions   310-083 exam dumps   310-083   310-083   310-083
21. Your web application requires the adding and deleting of many session attributes during a complex
use case. A bug report has come in that indicates that an important session attribute is being deleted too
soon and a NullPointerException is being thrown several interactions after the fact. You have decided to
create a session event listener that will log when attributes are being deleted so you can track down when
the attribute is erroneously being deleted.
Which listener class will accomplish this debugging goal?
A. Create an HttpSessionAttributeListener class and implement the attributeDeleted method and log the
attribute name using the getName method on the event object.
B. Create an HttpSessionAttributeListener class and implement the attributeRemoved method and log the
attribute name using the getName method on the event object.
C. Create an SessionAttributeListener class and implement the attributeRemoved method and log the
attribute name using the getAttributeName method on the event object.
D. Create an SessionAttributeListener class and implement the attributeDeleted method and log the
attribute name using the getAttributeName method on the event object.
Answer: B

SUN pdf   310-083 pdf   310-083 pdf   310-083   310-083

NO.17 To take advantage of the capabilities of modern browsers that use web standards, such as XHTML and
CSS, your web application is being converted from simple JSP pages to JSP Document format. However,
one of your JSPs, /scripts/screenFunctions.jsp, generates a JavaScript file. This file is included in several
web forms to create screen-specific validation functions and are included in these pages with the
following statement:
10. <head>
11. <script src='/scripts/screenFunctions.jsp'
12. language='javascript'
13. type='application/javascript'> </script>
14. </head>
15. <!-- body of the web form -->
Which JSP code snippet declares that this JSP Document is a JavaScript file?
A. <%@ page contentType='application/javascript' %>
B. <jsp:page contentType='application/javascript' />
C. <jsp:document contentType='application/javascript' />
D. <jsp:directive.page contentType='application/javascript' />
E. No declaration is needed because the web form XHTML page already declares the MIME type of the
/scripts/screenFunctions.jsp file in the <script> tag.
Answer: D

SUN   310-083   310-083 pdf   310-083

NO.18 <sl:shoppingList>

NO.19 Given the JSP code:
10. <html>
11. <body>
12. <jsp:useBean id='customer' class='com.example.Customer' />
13. Hello, ${customer.title} ${customer.lastName}, welcome
14. to Squeaky Beans, Inc.
15. </body>
16. </html>
Which three types of JSP code are used? (Choose three.)
A. Java code
B. template text
C. scripting code
D. standard action
E. expression language
Answer: BDE

SUN   310-083 original questions   310-083   310-083

NO.20 Assume the scoped attribute priority does NOT yet exist. Which two create and set a new
request-scoped attribute priority to the value "medium"? (Choose two.)
A. ${priority = 'medium'}
B. ${requestScope['priority'] = 'medium'}
C. <c:set var="priority" value="medium" />
D. <c:set var="priority" scope="request">medium</c:set>
E. <c:set var="priority" value="medium" scope="request" />
F. <c:set property="priority" scope="request">medium</c:set>
G. <c:set property="priority" value="medium" scope="request" />
Answer: DE

SUN   310-083   310-083 certification training   310-083 braindump   310-083   310-083 demo

NO.21 Click the Exhibit button.
The attribute "name" has a value of "Foo,"
What is the result if this tag handler's tag is invoked?
A. Foo
B. done
C. Foodone
D. An exception is thrown at runtime.
E. No output is produced from this code.
F. Compilation fails because of an error in this code.
Answer: A

SUN pdf   310-083 answers real questions   310-083 exam dumps   310-083 exam prep

NO.22 Which two statements about tag files are true? (Choose two.)
A. Classic tag handlers and tag files CANNOT reside in the same tag library.
B. A file named foo.tag, located in /WEB-INF/tags/bar, is recognized as a tag file by the container.
C. A file named foo.tag, bundled in a JAR file but NOT defined in a TLD, triggers a container translation
error.
D. A file named foo.tag, located in a web application's root directory, is recognized as a tag file by the
container.
E. If files foo1.tag and foo2.tag both reside in /WEB-INF/tags/bar, the container will consider them part of
the same tag library.
Answer: BE

SUN   310-083 practice test   310-083

NO.23 <sl:item name="Milk" />

NO.24 <sl:item name="Bread" />

NO.25 Your management has required that all JSPs be created to generate XHTML-compliant content and to
facilitate that decision, you are required to create all JSPs using the JSP Document format. In the
reviewOrder.jspx page, you need to use several core JSTL tags to process the collection of order items in
the customer's shopping cart. Which JSP code snippets must you use in the reviewOrder.jspx page?
A. <html xmlns:jsp="http://java.sun.com/JSP/Page"
version="2.0">
<jsp:directive.taglib prefix="c"
uri="http://java.sun.com/jsp/jstl/core" />
<!-- page content -->
</html>
B. <html xmlns:jsp="http://java.sun.com/JSP/Page"
version="2.0"
xmlns:c="http://java.sun.com/jsp/jstl/core">
<!-- page content -->
</html>
C. <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
version="2.0">
<jsp:directive.taglib prefix="c"
uri="http://java.sun.com/jsp/jstl/core" />
<!-- page content -->
</jsp:root>
D. <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
version="2.0"
xmlns:c="http://java.sun.com/jsp/jstl/core">
<!-- page content -->
</jsp:root>
Answer: D

SUN exam dumps   310-083   310-083   310-083 practice test   310-083 demo   310-083 test

NO.26 You have created a JSP that includes instance variables and a great deal of scriptlet code.
Unfortunately, after extensive load testing, you have discovered several race conditions in your JSP
scriptlet code. To fix these problems would require significant recoding, but you are already behind
schedule. Which JSP code snippet can you use to resolve these concurrency problems?
A. <%@ page isThreadSafe='false' %>
B. <%@ implements SingleThreadModel %>
C. <%! implements SingleThreadModel %>
D. <%@ page useSingleThreadModel='true' %>
E. <%@ page implements='SingleThreadModel' %>
Answer: A

SUN dumps   310-083 certification training   310-083 questions

NO.27 Which implicit object is used in a JSP page to retrieve values associated with <context-param> entries
in the deployment descriptor?
A. config
B. request
C. session
D. application
Answer: D

SUN   310-083 answers real questions   310-083 practice test   310-083   310-083

NO.28 <sl:item name="Eggs" />

NO.29 A developer wants to make a name attribute available to all servlets associated with a particular user,
across multiple requests from that user, from the same browser instance.
Which two provide this capability from within a tag handler? (Choose two.)
A. pageContext.setAttribute("name", theValue);
B. pageContext.setAttribute("name", getSession());
C. pageContext.getRequest().setAttribute("name", theValue);
D. pageContext.getSession().setAttribute("name", theValue);
E. pageContext.setAttribute("name", theValue,
PageContext.PAGE_SCOPE);
F. pageContext.setAttribute("name", theValue,
PageContext.SESSION_SCOPE);
Answer: DF

SUN certification training   310-083 questions   310-083 test questions   310-083 test questions   310-083   310-083 exam dumps

NO.30 Which statement is true about web container session management?
A. Access to session-scoped attributes is guaranteed to be thread-safe by the web container.
B. To activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting method.
C. If the web application uses HTTPS, then the web container may use the data on the HTTPS request
stream to identify the client.
D. The JSESSIONID cookie is stored permanently on the client so that a user may return to the web
application and the web container will rejoin that session.
Answer: C

SUN pdf   310-083   310-083 certification   310-083 exam simulations   310-083 answers real questions

ITCertKing offer the latest VCP-510 exam material and high-quality 74-344 pdf questions & answers. Our 3103 VCE testing engine and 000-N32 study guide can help you pass the real exam. High-quality E20-555 dumps training materials can 100% guarantee you pass the exam faster and easier. Pass the exam to obtain certification is so simple.

Article Link: http://www.itcertking.com/310-083_exam.html

2013年11月23日星期六

SUN 310-015 training and testing

SUN certification 310-015 exam is the first step for the IT employees to set foot on the road to improve their job. Passing SUN certification 310-015 exam is the stepping stone towards your career peak. ITCertKing can help you pass SUN certification 310-015 exam successfully.

ITCertKing SUN 310-015 Training Kit is designed and ready by ITCertKing IT experts. Its design is closely linked to today's rapidly changing IT market. . ITCertKing training to help you take advantage of the continuous development of technology to improve the ability to solve problems, and improve your job satisfaction. The coverage ITCertKing SUN 310-015 questions can reach 100% , as long as you use our questions and answers, we guarantee you pass the exam the first time!

ITCertKing is website that can help a lot of IT people realize their dreams. If you have a IT dream, then quickly click the click of ITCertKing. It has the best training materials, which is ITCertKing;s SUN 310-015 exam training materials. This training materials is what IT people are very wanted. Because it will make you pass the exam easily, since then rise higher and higher on your career path.

ITCertKing have a huge senior IT expert team. They use their professional IT knowledge and rich experience to develop a wide range of different training plans which can help you pass SUN certification 310-015 exam successfully. In ITCertKing you can always find out the most suitable training way for you to pass the exam easily. No matter you choose which kind of the training method, ITCertKing will provide you a free one-year update service. ITCertKing's information resources are very wide and also very accurate. When selecting ITCertKing, passing SUN certification 310-015 exam is much more simple for you.

Exam Code: 310-015
Exam Name: SUN (SUN Certified SYSTEM ADMINISTRATOR FOR SOLARIS 9 PART II)
One year free update, No help, Full refund!
Total Q&A: 299 Questions and Answers
Last Update: 2013-11-23

310-015 Free Demo Download: http://www.itcertking.com/310-015_exam.html

NO.1 You have a system used for application development. The process app-rev23 owned by user
epiphylla terminates abnormally. Which two effects can the root user configure? (Choose two.)
A. The process app-rev23 produces no core file at all.
B. The process app-rev23 produces a core file without the string "core" appearing anywhere within the file
name.
C. The process app-rev23 produces a global core file readable by any user in a global /var/corefiles
directory.
D. The process app-rev23 produces a total of three core files, one in the current directory of the process,
one in epiphylla's home directory, and one in a global /var/corefiles directory.
Answer: AB

SUN   310-015 certification   310-015 questions   310-015 pdf

NO.2 You have two 50-MByte UFS file systems, one located on a single disk, and the other located on a
RAID 1 mirror. Both file systems are full. The RAID 1 mirror uses a round-robin read policy. Statistically,
which is true of the RAID 1 mirror when reading data?
A. The mirror is faster.
B. The mirror is slower.
C. Round-robin read policies are not allowed.
D. The mirror and single disk exhibit the same performance.
Answer: A

SUN braindump   310-015 practice test   310-015 exam prep   310-015 certification training   310-015 practice test

NO.3 Interlace size is a tunable parameter associated with which three levels of RAID? (Choose three.)
A. RAID 0
B. RAID 1
C. RAID 5
D. RAID 0+1
Answer: ACD

SUN   310-015   310-015   310-015 original questions

NO.4 The auto_home automount map is an example of which type of map?
A. xfn
B. direct
C. master
D. generic
E. indirect
Answer: E

SUN exam prep   310-015 answers real questions   310-015   310-015 certification   310-015 study guide

NO.5 Under which two conditions will the automounter automatically mount resources listed in an AutoFS
direct map? (Choose two.)
A. only if the mount point has first been created
B. only if the resources are to be mounted read-only
C. only if the reference used in the direct map uses relative path names
D. only if an entry for the direct map has been added to the master map
E. only if the reference used in the direct map uses absolute path names
Answer: DE

SUN questions   310-015   310-015 certification training   310-015 demo   310-015

NO.6 You want to automatically mount an NFS resource. You also want to mount the NFS resource so that
if the server becomes unavailable, and the client reboots, system initialization will continue without waiting
for the resource to mount.Which mount option can be added to the client's /etc/vfstab file to achieve this?
A. fg
B. ro
C. bg
D. intr
E. soft
F. hard
Answer: C

SUN   310-015 study guide   310-015

NO.7 The default run level is 3 and the host is configured as an NFS server with valid entries in
/etc/dfs/dfstab. Which two command strings restart NFS services? (Choose two.)
A. init 6
B. pkill -HUP inetd
C. /etc/init.d/nfs.server restart
D. /etc/init.d/nfs.server stop;/etc/init.d/nfs.server start
Answer: AD

SUN   310-015 exam   310-015   310-015 exam

NO.8 After creating and adding additional swap space, what should you do to ensure that the swap space is
available following subsequent reboots?
A. You add it as a line entry to the /etc/vfstab file.
B. You modify the startup scripts to include a swap add command.
C. The additional swap space cannot be made available following subsequent reboots.
D. No additional steps are required because the necessary changes are made to the startup file when the
swap space is added.
Answer: A

SUN test questions   310-015   310-015   310-015 dumps

NO.9 While configuring NIS on a system, you execute the command string:# domainname
testlab.Region.Org.COM Which two statements about this command are true? (Choose two.)
A. The server's name is testlab, and it resides in the region.org.com domain.
B. Executing this command populates the /etc/defaultdomain file with the domain name.
C. The domain name is case sensitive, and must be configured exactly as specified on this
command-line.
D. The domain name is the entire character string testlab.Region.Org.COM, and no DNS domain is
specified.
Answer: CD

SUN   310-015 questions   310-015   310-015 exam prep   310-015 exam dumps
This document was created with Win2PDF available at http://www.win2pdf.com.
The unregistered version of Win2PDF is for evaluation or non-commercial use only.
This page will not be added after purchasing Win2PDF.

NO.10 You have Solaris Volume Manager installed on your system and want to create your first metadevice.
What initial action must you take?
A. run a command to create the first state database
B. run a utility to add a license to enable SVM for Solaris 9
C. run a command to initialize the configuration metadevice
D. run the vxinstall utility to initialize the volume manager software for use
E. create a soft partition using the -s initialize option with the appropriate command
Answer: A

SUN   310-015   310-015 exam simulations   310-015 braindump

NO.11 You are working on a system connected to the network. You are attempting to access a currently
mounted NFS directory. Your system displays the message: nfs mount: host1: : NFS: Service not
responding nfs mount: retrying: /usr/share/man What can you do to solve this problem?
A. ensure that nfsd is running on the NFS server
B. ensure that mountd is running on the NFS server
C. send a HUP signal to inetd process on the NFS server
D. send a HUP signal to the rpcbind process on the NFS server
Answer: A

SUN   310-015 test questions   310-015 pdf

NO.12 An inexperienced administrator reports to you that they would like to see if a system is a functioning
native LDAPclient. You suggest that they run a command to verify that the system is configured as a
native LDAP client. Whichcommand should you suggest?
A. ldaplist
B. ldapclient -v
C. ldapadd client
D. ldapsearch client
Answer: A

SUN exam dumps   310-015 practice test   310-015 exam   310-015   310-015 exam

NO.13 In which situation will Solaris Volume Manager volumes continue to function normally in the event of
the corruption of one copy of its state database?
A. Solaris Volume Manager volumes will function normally if the master copy of the state database is not
corrupted.
B. Solaris Volume Manager volumes will function normally if the copy of the state database on the boot
disk is available.
C. Solaris Volume Manager volumes will function normally if no more than a single copy of the state
database is corrupted.
D. Solaris Volume Manager volumes will function normally if more than half of the copies of the state
database are available.
Answer: D

SUN   310-015   310-015   310-015   310-015 exam dumps

NO.14 The /etc/dfs/dfstab file on your Solaris system contains the entries: share -o log=global /export/home
share -o ro /opt/NSCPcom What is the purpose of the entry global?
A. It specifies that all NFS transactions are logged in the /var/adm/global file.
B. It specifies the tag to send to the syslogd daemon when logging the NFS share.
C. It specifies the logging configuration to use from the NFS logging configuration file.
D. It specifies the file in the /export/home directory in which to record NFS mount requests.
Answer: C

SUN dumps   310-015 test   310-015   310-015

NO.15 Which command should be used to create a file system on a virtual volume (d0) under Solaris Volume
Manager control?
A. newfs /dev/rdsk/d0
B. newfs /dev/rdsk/md/d0 C. newfs /dev/md/rdsk/d0
D. newfs -F sds /dev/rdsk/d0
Answer: C

SUN demo   310-015   310-015   310-015 test questions

NO.16 You are working on a system connected to the network. You attempt to access a directory which you
know is providedto your system using NFS, and which you have not accessed for some time. Your
system displays the message: stale NFS file handle What is a possible cause of this problem?
A. The lockd daemon on the local system is no longer running.
B. The mountd daemon on the local system has out of date configuration information.
C. The automountd daemon has not been informed of changes to the automount maps.
D. The file or directory has been removed on the NFS server without the client's knowledge.
Answer: D

SUN test   310-015 certification training   310-015   310-015 exam dumps   310-015 practice test

NO.17 Solaris Volume Manager offers advantages over storing data in traditional disk slices. What are two of
these advantages? (Choose two.)
A. It facilitates the rotational interleaving of data.
B. It enables the definition of disk usage patterns.
C. It offers the possibility of significant performance improvement.
D. It manages the data to ensure that disk failure does not automatically lead to data loss.
Answer: CD

SUN braindump   310-015 questions   310-015 exam prep   310-015 test   310-015 dumps

NO.18 Which two are functions of an NFS client? (Choose two.)
A. runs the nfsd daemon
B. makes resources available over the network
C. mounts remote resources across the network
D. is configured using the /etc/dfs/dfstab file
E. mounts a remote resource and uses it as though it were local
Answer: CE

SUN braindump   310-015   310-015 study guide

NO.19 You are receiving error messages that the /lard file system is full. You check and see that it has a
large file called swapfile. Your system has more than enough swap space. You suspect that the file is in
use as swap space. Which sequence of commands confirms that the file was in use as swap space, and
helps correct the file system problem?
A. swap -r /lard/swapfile ; rm /lard/swapfile
B. swap -l ; swap -d /lard/swapfile ; rm /lard/swapfile
C. swap -l ; rm /lard/swapfile ; swap -d /lard/swapfile
D. swap -l ; swap -r /lard/swapfile ; rm /lard/swapfile
Answer: B

SUN certification training   310-015 test questions   310-015 exam simulations   310-015   310-015

NO.20 What can be added to the /etc/vfstab file to automatically mount the /var directory from the NFS server
saturn onto the mount point /test during boot?
A. /var - /test nfs - yes -
B. saturn:/var - /test - yes -
C. saturn:/var - /test nfs - yes
D. saturn:/var /test nfs yes
E. saturn:/var - /test nfs - yes -
Answer: E

SUN test   310-015   310-015   310-015

ITCertKing offer the latest M70-301 exam material and high-quality 156-215.13 pdf questions & answers. Our 98-372 VCE testing engine and ICGB study guide can help you pass the real exam. High-quality VCAD510 dumps training materials can 100% guarantee you pass the exam faster and easier. Pass the exam to obtain certification is so simple.

Article Link: http://www.itcertking.com/310-015_exam.html

SUN certification 310-301 best exam questions and answers

ITCertKing is a professional website to specially provide training tools for IT certification exams and a good choice to help you pass 310-301 exam,too. ITCertKing provide exam materials about 310-301 certification exam for you to consolidate learning opportunities. ITCertKing will provide all the latest and accurate exam practice questions and answers for the staff to participate in 310-301 certification exam.

ITCertKing is a specialized IT certification exam training website which provide you the targeted exercises and current exams. We focus on the popular SUN certification 310-301 exam and has studied out the latest training programs about SUN certification 310-301 exam, which can meet the needs of many people. SUN 310-301 certification is a reference of many well-known IT companies to hire IT employee. So this certification exam is very popular now. ITCertKing is also recognized and relied by many people. ITCertKing can help a lot of people achieve their dream. If you choose ITCertKing, but you do not successfully pass the examination, ITCertKing will give you a full refund.

ITCertKing's SUN 310-301 exam training materials not only can save your energy and money, but also can save a lot of time for you. Because the things what our materials have done, you might need a few months to achieve. So what you have to do is use the ITCertKing SUN 310-301 exam training materials. And obtain this certificate for yourself. ITCertKing will help you to get the knowledge and experience that you need and will provide you with a detailed SUN 310-301 exam objective. So with it, you will pass the exam.

ITCertKing's products can not only help customers 100% pass their first time to attend SUN certification 310-301 exam, but also provide a one-year of free online update service for them, which will delivery the latest exam materials to customers at the first time to let them know the latest certification exam information. So ITCertKing is a very good website which not only provide good quality products, but also a good after-sales service.

ITCertKing's training product for SUN certification 310-301 exam includes simulation test and the current examination. On Internet you can also see a few websites to provide you the relevant training, but after compare them with us, you will find that ITCertKing's training about SUN certification 310-301 exam not only have more pertinence for the exam and higher quality, but also more comprehensive content.

Exam Code: 310-301
Exam Name: SUN (Sun Certified Security Administrator)
One year free update, No help, Full refund!
Total Q&A: 240 Questions and Answers
Last Update: 2013-11-23

ITCertKing SUN 310-301 exam training materials have the best price value. Compared to many others training materials, ITCertKing's SUN 310-301 exam training materials are the best. If you need IT exam training materials, if you do not choose ITCertKing's SUN 310-301 exam training materials, you will regret forever. Select ITCertKing's SUN 310-301 exam training materials, you will benefit from it last a lifetime.

SUN 310-301 exam materials of ITCertKing is devoloped in accordance with the latest syllabus. At the same time, we also constantly upgrade our training materials. So our exam training materials is simulated with the practical exam. So that the pass rate of ITCertKing is very high. It is an undeniable fact. Through this we can know that ITCertKing SUN 310-301 exam training materials can brought help to the candidates. And our price is absolutely reasonable and suitable for each of the candidates who participating in the IT certification exams.

310-301 Free Demo Download: http://www.itcertking.com/310-301_exam.html

NO.1 Which two regular user PATH assignments expose the user to a Trojan horse attack? (Choose
two.)
A.PATH=/usr/bin:/bin
B.PATH=/usr/bin:/sbin:/usr/sbin
C.PATH=/usr/bin:/sbin:/usr/sbin:
D.PATH=.:/usr/bin:/sbin:/usr/sbin
Correct:C D

SUN exam prep   310-301 test questions   310-301 study guide

NO.2 Click the Exhibit button. Which connection demonstrates that telnet has been denied using TCP
Wrappers?
A.Connection 1
B.Connection 2
C.Connection 3
D.Connection 4
Correct:A

SUN exam prep   310-301 test questions   310-301 study guide

NO.3 The system administrator finds a Trojaned login command using md5 and the Solaris
Fingerprint Database. What is true about the system administrator's incident response tasks?
A.The server must be rebuilt.
B.BSM will identify the attacker.
C.All other replaced system files can be identified using md5 and the Solaris Fingerprint Database.
D.All other replaced system files can be identified using md5 and the Solaris Fingerprint Database and
replaced with trusted versions.
Correct:A

SUN exam prep   310-301 test questions   310-301 study guide

NO.4 Which cryptographic assurances are provided by SSL?
A.confidentiality, integrity, availability
B.authorization, confidentiality, message integrity
C.confidentiality, client authentication, server authentication
D.authentication, confidentiality, access control, non-repudiation
Correct:C

SUN exam prep   310-301 test questions   310-301 study guide

NO.5 User fred runs a program that consumes all of the system's memory while continuously
spawning a new program. You decide to terminate all of fred's programs to put a stop to this. What
command should you use?
A.kill -u fred
B.pkill -U fred
C.passwd -l fred
D.kill `ps -U fred -o pid`
Correct:B

SUN exam prep   310-301 test questions   310-301 study guide

NO.6 How do you distinguish between denial of service attacks and programming errors?
A.You cannot make this distinction.
B.You examine the audit events for the process.
C.You verify that the process user ID is that of a valid user.
D.You check the binary against the Solaris Fingerprint Database.
Correct:A

SUN exam prep   310-301 test questions   310-301 study guide

NO.7 Which is uncharacteristic of a Trojan horse program used to escalate privileges?
A.It is installed in /usr/bin.
B.It is owned by a normal user.
C.It has the same name as a common program.
D.It contains additional functionality which the user does not expect.
Correct:A

SUN exam prep   310-301 test questions   310-301 study guide

NO.8 Which evasion technique can NOT be detected by system integrity checks?
A.installing a rootkit
B.adding user accounts
C.abusing an existing user account
D.installing a loadable kernel module
Correct:C

SUN exam prep   310-301 test questions   310-301 study guide

NO.9 /var/adm/messages contains this output: Jan 28 21:23:18 mailhost in.telnetd[20911]: [ID 808958
daemon.warning] refused connect from ns.foo.com (access denied) Why was this line generated?
A.A user connecting from ns.foo.com failed to authenticate.
B.The user daemon is not allowed to log in from ns.foo.com.
C.A portscan was run against mailhost from ns.foo.com.
D.The TCP Wrapper configuration does not allow telnet connections from ns.foo.com.
Correct:D

SUN exam prep   310-301 test questions   310-301 study guide

NO.10 Which setting in the /etc/system file limits the maximum number of user processes to 100 to
prevent a user from executing a fork bomb on a system?
A.set maxuprc = 100
B.set maxusers = 100
C.set user_procs = 100
D.set max_nprocs = 100
Correct:A

SUN exam prep   310-301 test questions   310-301 study guide

NO.11 Which two types of host keys are supported by Solaris Secure Shell? (Choose two.)
A.AES
B.RSA
C.DSA
D.DES
E.3DES
Correct:B C

SUN exam prep   310-301 test questions   310-301 study guide

NO.12 What cryptographic assurance is provided by public key cryptography that is NOT provided by
secret key cryptography?
A.integrity
B.confidentiality
C.authentication
D.non-repudiation
Correct:D

SUN exam prep   310-301 test questions   310-301 study guide

NO.13 What command loads a DSA identity into a Solaris Secure Shell authentication agent?
A.ssh-add
B.ssh-agent
C.ssh-keyadd
D.ssh-keyload
E.ssh-load-identity
Correct:A

SUN exam prep   310-301 test questions   310-301 study guide

NO.14 Which statement about denial of service attack is FALSE?
A.Denial of service is always preventable.
B.Multiple machines may be used as the source of the attack.
C.Service is denied on the victim host when a key resource is consumed.
D.A denial of service attack is an explicit attempt by an attacker to prevent legitimate users of a service
from using that service.
Correct:A

SUN exam prep   310-301 test questions   310-301 study guide

NO.15 Which command generates client key pairs and adds them to the $HOME/.ssh directory?
A.ssh-add
B.ssh-agent
C.ssh-keygen
D.ssh-keyadd
Correct:C

SUN exam prep   310-301 test questions   310-301 study guide

NO.16 Which two services support TCP Wrappers by default in the Solaris 9 OE? (Choose two.)
A.inetd
B.rpcbind
C.sendmail
D.automountd
E.Solaris Secure Shell
Correct:A E

SUN exam prep   310-301 test questions   310-301 study guide

NO.17 Which threat can be mitigated by setting the Open Boot PROM security mode to full?
A.system panics
B.booting into single user mode
C.remotely accessing the console
D.logging in as root at the console
Correct:B

SUN exam prep   310-301 test questions   310-301 study guide

NO.18 Which syslog facility level specification can be used to record unsuccessful attempts to su(1M)?
A.su.warning
B.cron.debug
C.kernel.alert
D.auth.warning
Correct:D

SUN exam prep   310-301 test questions   310-301 study guide

NO.19 Which command can customize the size for system log file rotation?
A.dmesg
B.logger
C.logadm
D.syslog
E.syslogd
Correct:C

SUN exam prep   310-301 test questions   310-301 study guide

NO.20 Which is a public key encryption algorithm?
A.AH
B.AES
C.RSA
D.PGP
E.IDEA
Correct:C

SUN exam prep   310-301 test questions   310-301 study guide

ITCertKing offer the latest 1z0-465 exam material and high-quality 000-129 pdf questions & answers. Our NS0-156 VCE testing engine and MB7-701 study guide can help you pass the real exam. High-quality 70-465 dumps training materials can 100% guarantee you pass the exam faster and easier. Pass the exam to obtain certification is so simple.

Article Link: http://www.itcertking.com/310-301_exam.html

Best SUN 212-065 test training guide

Perhaps you have also seen the related training tools about SUN certification 212-065 exam on other websites, but our ITCertKing has a pivotal position in the field of IT certification exam. ITCertKing research materials can 100% guarantee you to pass the exam. With ITCertKing your career will change and you can promote yourself successfully in the IT area. When you select ITCertKing you'll really know that you are ready to pass SUN certification 212-065 exam. We not only can help you pass the exam successfully, but also will provide you with a year of free service.

How to get to heaven? Shortcart is only one. Which is using ITCertKing's SUN 212-065 exam training materials. This is the advice to every IT candidate, and hope you can reach your dream of paradise.

More and more people choose SUN 212-065 exam. Because of its popularity, you can use the ITCertKing SUN 212-065 exam questions and answers to pass the exam. This will bring you great convenience and comfort. This is a practice test website. It is available on the Internet with the exam questions and answers, as we all know, ITCertKing is the professional website which provide SUN 212-065 exam questions and answers.

Now passing SUN certification 212-065 exam is not easy, so choosing a good training tool is a guarantee of success. ITCertKing will be the first time to provide you with exam information and exam practice questions and answers to let you be fully prepared to ensure 100% to pass SUN certification 212-065 exam. ITCertKing can not only allow you for the first time to participate in the SUN certification 212-065 exam to pass it successfully, but also help you save a lot of valuable time.

Exam Code: 212-065
Exam Name: SUN (Sun Certified Programmer for the Java 2 Platform, SE 6.0)
One year free update, No help, Full refund!
Total Q&A: 287 Questions and Answers
Last Update: 2013-11-23

212-065 Free Demo Download: http://www.itcertking.com/212-065_exam.html

NO.1 Thread t = new Thread(new Threads2());

NO.2 }

NO.3 }
Which two can be results? (Choose two.)
A. java.lang.RuntimeException: Problem
B. run.
java.lang.RuntimeException: Problem
C. End of method.
java.lang.RuntimeException: Problem
D. End of method.
run.
java.lang.RuntimeException: Problem
E. run.
java.lang.RuntimeException: Problem
End of method.
Answer: D, E

SUN exam   212-065   212-065 demo   212-065 test   212-065 questions   212-065 questions
2. Which two statements are true? (Choose two.)
A. It is possible for more than two threads to deadlock at once.
B. The JVM implementation guarantees that multiple threads cannot enter into a
deadlocked state.
C. Deadlocked threads release once their sleep() method's sleep duration has expired.
D. Deadlocking can occur only when the wait(), notify(), and notifyAll() methods are
used incorrectly.
E. It is possible for a single-threaded application to deadlock if synchronized blocks are
used incorrectly.
F. If a piece of code is capable of deadlocking, you cannot eliminate the possibility of
deadlocking by inserting
invocations of Thread.yield().
Answer: A, F

SUN   212-065   212-065   212-065 original questions
3. Given:
7. void waitForSignal() {
8. Object obj = new Object();
9. synchronized (Thread.currentThread()) {
10. obj.wait();
11. obj.notify();
12. }

NO.4 t.start();

NO.5 Given:
1. public class Threads2 implements Runnable {

NO.6 System.out.println("End of method.");

NO.7 throw new RuntimeException("Problem");

NO.8 public void run() {

NO.9 }

NO.10 public static void main(String[] args) {

NO.11 System.out.println("run.");

NO.12

NO.13 }
Which statement is true?
A. This code can throw an InterruptedException.
B. This code can throw an IllegalMonitorStateException.
C. This code can throw a TimeoutException after ten minutes.
D. Reversing the order of obj.wait() and obj.notify() might cause this method to complete
normally.
E. A call to notify() or notifyAll() from another thread might cause this method to
complete normally.
F. This code does NOT compile unless "obj.wait()" is replaced with "((Thread)
obj).wait()".
Answer: B

SUN study guide   212-065   212-065   212-065 demo   212-065

ITCertKing offer the latest 70-463 exam material and high-quality 70-482 pdf questions & answers. Our MB6-870 VCE testing engine and 70-417 study guide can help you pass the real exam. High-quality 000-273 dumps training materials can 100% guarantee you pass the exam faster and easier. Pass the exam to obtain certification is so simple.

Article Link: http://www.itcertking.com/212-065_exam.html

2013年10月13日星期日

The Best SUN 310-081 Exam Training materials

SUN 310-081 exam materials of ITCertKing is devoloped in accordance with the latest syllabus. At the same time, we also constantly upgrade our training materials. So our exam training materials is simulated with the practical exam. So that the pass rate of ITCertKing is very high. It is an undeniable fact. Through this we can know that ITCertKing SUN 310-081 exam training materials can brought help to the candidates. And our price is absolutely reasonable and suitable for each of the candidates who participating in the IT certification exams.

As we all know, ITCertKing's SUN 310-081 exam training materials has very high profile, and it is also well-known in the worldwide. Why it produces such a big chain reaction? This is because ITCertKing's SUN 310-081 exam training materials is is really good. And it really can help us to achieve excellent results.

If you do not know how to pass the exam more effectively, I'll give you a suggestion is to choose a good training site. This can play a multiplier effect. ITCertKing site has always been committed to provide candidates with a real SUN 310-081 certification exam training materials. The ITCertKing SUN 310-081 Certification Exam software are authorized products by vendors, it is wide coverage, and can save you a lot of time and effort.

Our ITCertKing have a lot of IT professionals and the exam practice questions and answers we provide have been certified by many IT elites. Besides, the exam practice questions and answers have wide coverage of the content of the examination and the correct rate is up to 100%. Although there are many similar websites, perhaps they can provide you study guide and online services, our ITCertKing is leading these many websites. The reason of making the ITCertKing stand out in so many peers is that we have a lot of timely updated practice questions and answers which accurately and correctly hit the exam. So we can well improve the exam pass rate and make the people ready to participate in SUN certification 310-081 exam safely use practice questions and answers provided by ITCertKing to pass the exam. ITCertKing 100% guarantee you to pass SUN certification 310-081 exam.

Exam Code: 310-081
Exam Name: SUN (Sun Certified Web Component Developer for J2EE 1.4)
One year free update, No help, Full refund!
Total Q&A: 140 Questions and Answers
Last Update: 2013-10-13

310-081 Free Demo Download: http://www.itcertking.com/310-081_exam.html

NO.1 Which two are characteristics of the Intercepting Filter pattern? (Choose two.)
A.It provides centralized request handling for incoming requests.
B.It forces resource authentication to be distributed across web components.
C.It reduces coupling between presentation-tier clients and underlying business services.
D.It can be added and removed unobtrusively, without requiring changes to existing code.
E.It allows preprocessing and postprocessing on the incoming requests and outgoing responses.
Answer: DE

SUN certification   310-081   310-081 original questions   310-081

NO.2 Given a servlet OrderServlet mapped to processorder, and a form declaration in HTML:
What OrderServlet method is invoked as a result of this form submission?
A.doGet
B.doPut
C.doPost
D.doTrace
E.doSubmit
Answer: A

SUN   310-081   310-081   310-081

NO.3 Which HTTP method represents a request for information about the supported methods on an HTTP
server?
A.GET
B.INFO
C.HEAD
D.TRACE
E.OPTIONS
Answer: E

SUN exam   310-081 practice test   310-081 questions

NO.4 Given a servlet mapped to /control, place the correct URI segment returned as a String on the
corresponding HttpServletRequest method call for the URI: /myapp/control/processorder.

NO.5 Which two prevent a servlet from handling requests? (Choose two.)
A.The servlet's init method returns a non-zero status.
B.The servlet's init method throws a ServletException.
C.The servlet's init method sets the ServletResponse's content length to 0.
D.The servlet's init method sets the ServletResponse's content type to null.
E.The servlet's init method does NOT return within a time period defined by the servlet container.
Answer: BE

SUN   310-081   310-081

NO.6 For an HttpServletResponse response, which two create a custom header? (Choose two.)
A.response.setHeader("X-MyHeader", "34");
B.response.addHeader("X-MyHeader", "34");
C.response.setHeader(new HttpHeader("X-MyHeader", "34"));
D.response.addHeader(new HttpHeader("X-MyHeader", "34"));
E.response.addHeader(new ServletHeader("X-MyHeader", "34"));
F.response.setHeader(new ServletHeader("X-MyHeader", "34"));
Answer: AB

SUN exam dumps   310-081   310-081   310-081

NO.7 Given an HttpServletRequest request, which retrieves an object of type Account with an ID of
"account"?
A.Account account = request.getResource("account");
B.Account account = request.getAttribute("account");
C.Account account = request.getParameter("account");
D.Account account = (Account)request.getResource("account");
E.Account account = (Account)request.getAttribute("account");
F.Account account = (Account)request.getParameter("account");
Answer: E

SUN exam dumps   310-081   310-081   310-081   310-081

NO.8 Under what two circumstances is the setJspBody method NOT called in a tag class that implements the
SimpleTag interface? (Choose two.)
A.The tag is invoked without a body.
B.The doTag method throws an exception.
C.The element has the value empty.
D.The tag is called with the attribute skip-body=true.
Answer: AC

SUN   310-081   310-081   310-081 demo   310-081

NO.9 A web resource called foo.jsp requires two request parameters (P1 and P2). Construct the JSP code
to forward to the foo.jsp resource.
Answer:

NO.10 For a given ServletResponse response, which two retrieve an object for writing text data? (Choose
two.)
A.response.getWriter()
B.response.getOutputStream()
C.response.getOutputWriter()
D.response.getWriter().getOutputStream()
E.response.getWriter(Writer.OUTPUT_TEXT)
lled with the attribute skip-body=true.
Answer: AB

SUN   310-081   310-081   310-081

NO.11 Which two HTTP methods are used to process form data in a servlet? (Choose two.)
A.doGet
B.doPut
C.doPost
D.doTrace
E.doSubmit
F.doProcess
Answer: AC

SUN study guide   310-081   310-081   310-081   310-081 exam   310-081

NO.12 Given a request from mybox.example.com, with an IP address of 10.0.1.11 on port 33086, place the
appropriate ServletRequest methods onto their corresponding return values.

NO.13 Given:
Which two are true? (Choose two.)
A.The foo initialization parameter CANNOT be set programmatically.
B.Compilation fails because getInitParameter returns type Object.
C.The foo initialization parameter is NOT a servlet initialization parameter.
D.Compilation fails because ServletContext does NOT have a getInitParameter method.
E.The foo parameter must be defined within the <servlet> element of the deployment descriptor.
F.The foo initialization parameter can also be retrieved using getServletConfig().getInitParameter("foo").
Answer: AC

SUN exam prep   310-081 exam dumps   310-081 test answers   310-081   310-081 demo

NO.14 Place the events in the order they occur.
Answer:

NO.15 A collection of products is stored in the ServletContext in an attribute called catalog.
Which JSTL code structure iterates over each product in the collection and prints out the names of the
products in an un-ordered list?
A.<ul>
<c:for var='product' items='${catalog}'>
<li><%= product.getName() %></li>
</c:for>
</ul>
B.<ul>
<c:for id='product' collection='${catalog}'>
<li><%= product.getName() %></li>
</c:for>
</ul>
C.<ul>
<c:forEach var='product' items='${catalog}'>
<li><%= product.getName() %></li>
</c:forEach>
</ul>
D.<ul>
<c:forEach id='product' collection='${catalog}'>
<li><%= product.getName() %></li>
</c:forEach>
</ul>
Answer: C

SUN   310-081 exam simulations   310-081 answers real questions   310-081   310-081 demo

NO.16 Given a header in an HTTP request:
X-Retries: 4
Which two retrieve the value of the header from a given ServletRequest request? (Choose two.)
A.request.getHeader("X-Retries")
B.request.getIntHeader("X-Retries")
C.request.getRequestHeader("X-Retries")
D.request.getHeaders("X-Retries").get(0)
E.request.getRequestHeaders("X-Retries").get(0)
Answer: AB

SUN test answers   310-081   310-081 exam dumps

NO.17 Which two are valid values for the <transport-guarantee> element inside a <security-constraint>
element of a web application deployment descriptor? (Choose two.)
A.NULL
B.SECURE
C.INTEGRAL
D.ENCRYPTED
E.CONFIDENTIAL
Answer: CE

SUN   310-081 test answers   310-081   310-081 exam dumps

NO.18 A developer wants to use EL to invoke a function using ${my:bloof("foof")}.
Which is always true?
A.The method invoked by this function must be static.
B.The function class must implement the Function interface.
C.The expression is NOT a valid EL expression for invoking a function.
D.The function must be declared in a web.xml file using the <function> element.
E.The function class must have a method with the signature:
Answer: A

SUN   310-081   310-081   310-081 exam simulations

NO.19 Given an HttpServletRequest request and HttpServletResponse response, which sets a cookie
"username" with the value "joe" in a servlet?
A.request.addCookie("username", "joe")
B.request.setCookie("username", "joe")
C.response.addCookie("username", "joe")
D.request.addHeader(new Cookie("username", "joe"))
E.request.addCookie(new Cookie("username", "joe"))
F.response.addCookie(new Cookie("username", "joe"))
G.response.addHeader(new Cookie("username", "joe"))
Answer: F

SUN certification   310-081 pdf   310-081   310-081 exam

NO.20 Which three are valid URL mappings to a servlet in a web deployment descriptor? (Choose three.)
A.*/*
B./*.do
C.MyServlet
D./MyServlet
E./MyServlet/*
F.MyServlet/*.jsp
Answer: BDE

SUN   310-081   310-081   310-081 test questions

NO.21 Given the definition of MyObject and that an instance of MyObject is bound as a session attribute:
Which is true?
A.Only a single instance of MyObject may exist within a session.
B.The unbound method of the MyObject instance is called when the session to which it is bound times
out.
C.The com.example.MyObject must be declared as a servlet event listener in the web application
deployment descriptor.
D.The valueUnbound method of the MyObject instance is called when the session to which it is bound
times out.
Answer: D

SUN   310-081 practice test   310-081 certification training   310-081   310-081 exam

NO.22 Place the code snippets in the proper order to construct the JSP code to include dynamic content into
a JSP page at request-time.
Answer:

NO.23 Given:
Which code snippet inserted at line 12 causes the client to redirect to http://www.example.com?
A.response.sendRedirect("http://www.example.com");
B.response.sendRedirect(new URL("http://www.example.com"));
C.RequestDispatcher rd =
getServletContext().getRequestDispatcher(
"http://www.example.com");
rd.forward(request, response);
D.RequestDispatcher rd =
Answer: A

SUN test   310-081 braindump   310-081   310-081 exam prep   310-081 test answers

NO.24 Given:
Which retrieves the binary input stream on line 13?
A.request.getWriter();
B.request.getReader();
C.request.getInputStream();
D.request.getResourceAsStream();
E.request.getResourceAsStream(ServletRequest.REQUEST);
Answer: C

SUN practice test   310-081   310-081   310-081   310-081

NO.25 Which HTTP method has the characteristic that multiple identical requests may produce side effects
beyond those of a single request?
A.PUT
B.GET
C.INFO
D.POST
E.HEAD
F.TRACE
Answer: D

SUN   310-081   310-081 dumps   310-081 dumps

NO.26 Which retrieves all cookies sent in a given HttpServletRequest request?
A.request.getCookies()
B.request.getAttributes()
C.request.getSession().getCookies()
D.request.getSession().getAttributes()
Answer: A

SUN   310-081   310-081   310-081

NO.27 Click the Exhibit button.
Which statement, inserted at line 11, retrieves the text from the second text field?
A.second = request.getParameter("foo");
B.second = request.getParameter("foo", 1);
C.second = request.getParameter("foo", 2);
D.second = request.getParameters("foo")[1];
E.second = request.getParameterValues("foo")[1];
Answer: E

SUN exam simulations   310-081 original questions   310-081   310-081   310-081

NO.28 Place the XML elements in the web application deployment descriptor solution to configure a servlet
context event listener named com.example.MyListener.
Answer:

NO.29 Place the code snippets onto the first line to form a directive to use a custom tag library in a JSP page.
Answer:

NO.30 For a given ServletResponse response, which retrieves an object for writing binary data?
A.response.getWriter()
B.response.getOutputStream()
C.response.getOutputWriter()
D.response.getWriter().getOutputStream()
E.response.getWriter(Writer.OUTPUT_BINARY)
Answer: B

SUN exam simulations   310-081   310-081 dumps

ITCertKing offer the latest HP2-H28 exam material and high-quality 000-656 pdf questions & answers. Our 100-500 VCE testing engine and C_TADM51_70 study guide can help you pass the real exam. High-quality 74-343 dumps training materials can 100% guarantee you pass the exam faster and easier. Pass the exam to obtain certification is so simple.

Article Link: http://www.itcertking.com/310-081_exam.html