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

2014年5月17日星期六

Le dernier examen SUN 310-400 212-065 310-015 gratuit Télécharger

Si vous faites toujours la lutte contre le test SUN 310-400, Pass4Test peut vous aider à résoudre ces difficultés avec ses Q&As de qualité, et atteindre le but que vous avez envie de devenir un membre de SUN 310-400. Si vous avez déjà décidé à s'améliorer via SUN 310-400, vous n'avez pas aucune raison à refuser Pass4Test. Pass4Test peut vous aider à passer le test à la première fois.

Beaucoup de travailleurs dans l'Industrie IT peut obenir un meilleur travail et améliorer son niveau de vie à travers le Certificat SUN 212-065. Mais la majorité des candidats dépensent beaucoup de temps et d'argent pour préparer le test, ça ne coûte pas dans cette société que le temps est tellement précieux. Pass4Test peut vous aider à économiser le temps et l'effort pendant le cours de la préparation du test SUN 212-065. Choisir le produit de Pass4Test particulier pour le test Certification SUN 212-065 vous permet à réussir 100% le test. Votre argent sera tout rendu si malheureusement vous ne passez pas le test.

Le Pass4Test est un site qui peut offrir les facilités aux candidats et aider les candidats à réaliser leurs rêve. Si vous êtes souci de votre test Certification, Pass4Test peut vous rendre heureux. La haute précision et la grande couverture de la Q&A de Pass4Test vous aidera pendant la préparation de test. Vous n'aurez aucune raison de regretter parce que Pass4Test réalisera votre rêve.

Il demande les connaissances professionnelles pour passer le test SUN 310-015. Si vous manquez encore ces connaissances, vous avez besoin de Pass4Test comme une resourece de ces connaissances essentielles pour le test. Pass4Test et ses experts peuvent vous aider à renfocer ces connaissances et vous offrir les Q&As. Pass4Test fais tous efforts à vous aider à se renforcer les connaissances professionnelles et à passer le test. Choisir le Pass4Test peut non seulement à obtenir le Certificat SUN 310-015, et aussi vous offrir le service de la mise à jour gratuite pendant un an. Si malheureusement, vous ratez le test, votre argent sera 100% rendu.

Code d'Examen: 310-400
Nom d'Examen: SUN (Sun Certified Integrator for Identity Manager 7.1)
Questions et réponses: 56 Q&As

Code d'Examen: 212-065
Nom d'Examen: SUN (Sun Certified Programmer for the Java 2 Platform, SE 6.0)
Questions et réponses: 287 Q&As

Code d'Examen: 310-015
Nom d'Examen: SUN (SUN Certified SYSTEM ADMINISTRATOR FOR SOLARIS 9 PART II)
Questions et réponses: 299 Q&As

On peut voir que beaucoup de candidats ratent le test SUN 310-400 quand même avec l'effort et beaucoup de temps dépensés. Cest une bonne preuve que le test SUN 310-400 est difficile à réussir. Pass4Test offre le guide d'étude bien fiable. Sauf le test SUN 310-400, Pass4Test peut offrir les Q&As des autres test Certification IT.

310-015 Démo gratuit à télécharger: http://www.pass4test.fr/310-015.html

NO.1 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

certification SUN   certification 310-015   certification 310-015   certification 310-015   310-015 examen

NO.2 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

certification SUN   certification 310-015   certification 310-015   certification 310-015   310-015 examen

NO.3 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 examen   certification 310-015   310-015 examen   certification 310-015

NO.4 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 examen   310-015 examen   certification 310-015

NO.5 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 examen   310-015   certification 310-015   certification 310-015

NO.6 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

certification SUN   310-015 examen   certification 310-015   310-015 examen   certification 310-015

NO.7 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 examen   310-015 examen   310-015 examen   310-015   310-015 examen

NO.8 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

certification SUN   310-015 examen   310-015 examen   310-015 examen   certification 310-015

2013年11月19日星期二

SUN 310-066 examen pratique questions et réponses

L'équipe de Pass4Test rehcerche la Q&A de test certification SUN 310-066 en visant le test SUN 310-066. Cet outil de formation peut vous aider à se préparer bien dans une courte terme. Vous vous renforcerez les connaissances de base et même prendrez tous essences de test Certification. Pass4Test vous assure à réussir le test SUN 310-066 sans aucune doute.

Vous allez choisir Pass4Test après essayer une partie de Q&A SUN 310-066 (gratuit à télécharger). Le guide d'étude produit par Pass4Test est une assurance 100% à vous aider à réussir le test Certification SUN 310-066.

Le produit de Pass4Test peut assurer les candidats à réussir le test SUN 310-066 à la première fois, mais aussi offrir la mise à jour gratuite pendant un an, les clients peuvent recevoir les ressources plus nouvelles. Pass4Test n'est pas seulement un site, mais aussi un bon centre de service.

Code d'Examen: 310-066
Nom d'Examen: SUN (Upgrade EXAM for the Sun Certified for Java Programmer.SE6.0)
Questions et réponses: 96 Q&As

Vous pouvez télécharger le démo gratuit pour prendre un essai. Vous aurez plus confiance sur Pass4Test. N'hésitez plus à choisir la Q&A SUN 310-066 comme votre guide d'étude.

Pass4Test est un site web de vous offrir particulièrement les infos plus chaudes à propos de test Certification SUN 310-066. Pour vous assurer à nous choisir, vous pouvez télécharger les Q&As partielles gratuites. Pass4Test vous promet un succès 100% du test SUN 310-066.

Pass4Test est aussi un site d'offrir la ressource des connaissances pour le test Certification IT. Selon les Feedbacks venus de gens qui ont untilié les produits de Pass4Test, Pass4Test est un site fiable comme l'outil de se former. Les Q&As offertes par Pass4Test sont bien précises. Les experts de Pass4Test mettent à jour nos documentations de formation de temps de temps.

Vous serez impressionné par le service après vendre de Pass4Test, le service en ligne 24h et la mise à jour après vendre sont gratuit pour vous pendant un an, et aussi vous allez recevoir les informations plus nouvelles à propos de test Certification IT. Vous aurez un résultat imaginaire en coûtant un peu d'argent. D'ailleurs, vous pouvez économier beaucoup de temps et d'efforts avec l'aide de Pass4Test. C'est vraiment un bon marché de choisir le Pass4Test comme le guide de formation.

310-066 Démo gratuit à télécharger: http://www.pass4test.fr/310-066.html

NO.1 A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where
the old one is installed. Bob is currently able to run a Java chess program starting from his home directory
/home/bob using the command:
java -classpath /test:/home/bob/downloads/*.jar games.Chess
Bob's CLASSPATH is set (at login time) to:/usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jarWhat is
a possible location for the Chess.class file?
A./test/Chess.class
B./home/bob/Chess.class
C./test/games/Chess.class
D./usr/lib/games/Chess.class
E./home/bob/games/Chess.class
F.inside jarfile /opt/java/lib/Games.jar (with a correct manifest)
G.inside jarfile /home/bob/downloads/Games.jar (with a correct manifest)
Answer:C

certification SUN   310-066   310-066   310-066

NO.2 Given:
21. class Money {
22. private String country = "Canada";
23. public String getC() { return country; }
24. }
25. class Yen extends Money {
26. public String getC() { return super.country; }
27. }
28. public class Euro extends Money {
29. public String getC(int x) { return super.getC(); }
30. public static void main(String[] args) {
31. System.out.print(new Yen().getC()+ " " + new Euro().getC());
32. }
33. }
What is the result?
A.Canada
B.null Canada
C.Canada null
D.Canada Canada
E.Compilation fails due to an error on line 26.
F.Compilation fails due to an error on line 29.
Answer:E

SUN   310-066   310-066 examen   certification 310-066   310-066   certification 310-066

NO.3 }
Which two code fragments, inserted independently at line 5, will compile without warnings? (Choose two.)
A.public void addStrings(List list) {B.public void addStrings(List list) {C.public void addStrings(List list)
{D.public void addStrings(List list) {
Answer: BC

certification SUN   certification 310-066   310-066   310-066 examen   310-066 examen

NO.4 Given:
11. public class Test {
12. public enum Dogs {collie, harrier, shepherd};
13. public static void main(String [] args) {
14. Dogs myDog = Dogs.shepherd;
15. switch (myDog) {
16. case collie:
17. System.out.print("collie ");
18. case default:
19. System.out.print("retriever ");
20. case harrier:
21. System.out.print("harrier ");
22. }
23. }
24. }
What is the result?
A.harrier
B.shepherd
C.retriever
D.Compilation fails.
E.retriever harrier
F.An exception is thrown at runtime.
Answer:D

SUN examen   310-066   310-066 examen   certification 310-066

NO.5 Given:
10. interface Foo {}
11. class Alpha implements Foo {}
12. class Beta extends Alpha {}
13. class Delta extends Beta {
14. public static void main( String[] args ) {
15. Beta x = new Beta();
16. // insert code here
17. }
18. }
Which code, inserted at line 16, will cause a java.lang.ClassCastException?
A.Alpha a = x;
B.Foo f = (Delta)x;
C.Foo f = (Alpha)x;
D.Beta b = (Beta)(Alpha)x;
Answer:B

SUN   certification 310-066   310-066 examen

NO.6 }

NO.7 list.add("foo");

NO.8 Given:
3. import java.util.*;
4. public class Hancock {
5. // insert code here

Avec l'aide du Pass4Test, vous allez passer le test de Certification SUN 310-066 plus facilement. Tout d'abord, vous pouvez choisir un outil de traîner de SUN 310-066, et télécharger les Q&A. Bien que il y en a beaucoup de Q&A pour les tests de Certification IT, les nôtres peuvent vous donner non seulement plus de chances à s'exercer avant le test réel, mais encore vous feront plus confiant à réussir le test. La haute précision des réponses, la grande couverture des documentations, la mise à jour constamment vous assurent à réussir votre test. Vous dépensez moins de temps à préparer le test, mais vous allez obtenir votre certificat plus tôt.

Dernières SUN 310-600 examen pratique questions et réponses

La solution offerte par Pass4Test comprenant un test simulation bien proche de test réel SUN 310-600 peut vous assurer à réussir 100% le test SUN 310-600. D'ailleur, le service de la mise à jour gratuite est aussi pour vous. Maintenant, vous pouvez télécharger le démo gratuit pour prendre un essai.

Pass4Test a de formations plus nouvelles pour le test SUN 310-600. Les experts dans l'industrie IT de Pass4Test profitant leurs expériences et connaissances professionnelles à lancer les Q&As plus chaudes pour faciliter la préparation du test SUN 310-600 à tous les candidats qui nous choisissent. L'importance de Certification SUN 310-600 est de plus en plus claire, c'est aussi pourquoi il y a de plus en plus de gens qui ont envie de participer ce test. Parmi tous ces candidats, pas mal de gens ont réussi grâce à Pass4Test. Ces feedbacks peuvent bien prouver nos produits essentiels pour votre réussite de test Certification.

Code d'Examen: 310-600
Nom d'Examen: SUN (SUN SIGMA BLACK BELT CERTIFICATION)
Questions et réponses: 100 Q&As

Différentes façons peuvent atteindre le même but, ça dépend laquelle que vous prenez. Beaucoup de gens choisissent le test SUN 310-600 pour améliorer la vie et la carrière. Mais tous les gens ont déjà participé le test SUN 310-600, ils savent qu'il est difficile à réussir le test. Il y a quelques dépensent le temps et l'argent, mais ratent finalement.

On doit faire un bon choix pour passer le test SUN 310-600. C'est une bonne affaire à choisir la Q&A de Pass4Test comme le guide d'étude, parce que vous allez obtenir la Certification SUN 310-600 en dépensant d'un petit invertissement. D'ailleur, la mise à jour gratuite pendant un an est aussi gratuite pour vous. C'est vraiment un bon choix.

310-600 Démo gratuit à télécharger: http://www.pass4test.fr/310-600.html

NO.1 Which is the best tool to show a quantitative comparison of the frequency of occurrence for
different failure modes?
A.QFD
B.Individuals chart
C.Pareto chart
D.Scatter diagram
Correct:C

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.2 What is the purpose of a pilot?
A.To analyze a process and determine the source of defects
B.To test a solution on a small or limited scale
C.To implement a compromised solution when true consensus cannot be reached
D.To collect baseline data from an existing process
Correct:B

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.3 Which one of the following statements about internal and external customers is true?
A.Process output that is not paid for only goes to internal customers
B.External customers should not be privy to project details when working on joint projects
C.Requirements of internal customers will drive more improvement than requirements of external
customers
D.Internal customers are fellow associates who need the process output to carry out their work
Correct:D

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.4 Which tool is used to evaluate process variation over time?
A.Pie chart
B.Scatter plot
C.Individuals chart
D.Pareto Chart
Correct:C

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.5 Calculation of DPO requires knowledge of:
A.The total number of defects and the total number of units
B.Only the total number of defects
C.The total number of defects, the total number of units, the number of opportunities per unit and the
length of the time period studied
D.The total number of defects, the total number of units and the number of opportunities per unit
Correct:D

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.6 What should be included in a good problem/opportunity statement?
A.A description of the causes of the problem
B.A statement of the project improvement goal
C.An assignment of responsibility for the problem
D.The severity of the problem
Correct:D

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.7 In two months, there are 200 defects in 40 units processed. If each unit has 25 opportunities,
what is the process DPMO?
A.200,000
B.400,000
C.800,000
D.1,000,000
Correct:A

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.8 What is a good use for hypothesis testing during the Analyze phase?
A.To determine the current process capability
B.To determine optimum process capability parameters
C.To confirm the validity of a suspected important factor
D.To provide a comparison of CTQs to root causes
Correct:C

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.9 Which of the following is a continuous measure?
A.Total time required to close a deal
B.Count of the number of closed deals from new customers
C.Day of the week a deal is closed
D.Type of deal closed
Correct:A

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.10 Which tool is best for illustrating possible causes for an effect?
A.QFD
B.Fishbone diagram
C.Process flowchart
D.Histogram
Correct:B

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.11 CAP and DMAIC are useful together since:
A.The focus of DMAIC is collecting data and the focus of CAP is to make solutions more sustainable
B.The focus of CAP is collecting data and the focus DMAIC is influencing people to build acceptance
C.The focus of CAP is to find the best solution for a problem and the focus of DMAIC is to make solutions
sustainable
D.The focus of DMAIC is to find the best solution for a problem and the focus of CAP is to make solutions
sustainable
Correct:D

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.12 Which of the following are NOT common pitfalls to the Sun Shot process?
A.Multiple champions
B.Too little time allotted
C.Poor action item accountability
D.Weak sponsorship
Correct:A

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.13 A project charter should be:
A.Treated by the team as a fixed contract to be changed only by approval of 51% of the team
B.Treated as a living document which will evolve as new information is discovered
C.Written in precise technical language
D.A brief document 2-3 pages in length
Correct:B

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.14 What is the best use for the ANOVA test?
A.To complete a least squares regression fit for more than one data set
B.To determine if several samples belong to the same population relative to their mean
C.To determine the variance of a non-normal data set
D.To compare data set normality
Correct:B

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.15 Which statement guarantees no defects?
A.Z = 6 sigma
B.The part has been modified so that it physically cannot be put together incorrectly
C.All sampled data points are within the upper and lower specification
D.The data histogram is "centered"
Correct:B

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.16 Which of the following is NOT a benefit associated with control charts?
A.They demonstrate process performance relative to customer specifications
B.They demonstrate stability and predictability of a process over time
C.They show parameter performance, mean, and control limits
D.They offer early warning of possible problems
Correct:A

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.17 Which statement is a good guideline for brainstorming?
A.Keep the list of ideas manageable by allowing each participant a set number of contributions
B.Establish the objective prior to the brainstorming session
C.Focus on idea quality, rather than quantity
D.Provide a familiar venue for the process
Correct:B

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.18 A factorial 2-level DOE does NOT:
A.Confirm possible critical Xs
B.Confirm design parameter impacts on Ys
C.Confirm causes identified by hypothesis tests
D.Confirm best robust design
Correct:D

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

NO.19 Which is NOT a key objective of "Mobilizing Commitment"?
A.Critical mass must be won over
B.Employees know exactly how their jobs will change
C.Key stakeholders support the change
D.Potential sources of resistance are identified
Correct:B

SUN examen   310-600 examen   certification 310-600   310-600 examen   310-600

Le guide d'étude sorti de Pass4Test comprend les expériences résumées par nos experts, les matériaux et les Q&As à propos de test Certification SUN 310-600. Notre bonne réputation dans l'industrie IT sera une assurance 100% à réussir le test SUN 310-600. Afin de vous permettre de choisir Pass4Test, vous pouvez télécharger gratuitement le démo de Q&A tout d'abord.

SUN 310-083 examen pratique questions et réponses

Selon les feedbacks les professionnels bien réputés dans l'Industrie IT, Pass4Test est un bon catalyseur de leurs succès. L'outil de formation offert par Pass4Test leur aide d'économiser le temps et l'argent, le plus important est qu'ils aient passé le test SUN 310-083 avec succès. Pass4Test est un fournissur fiable. Vous allez réaliser votre rêve avec l'aide de Pass4Test.

Si vous vous inscriez le test SUN 310-083, vous devez choisir une bonne Q&A. Le test SUN 310-083 est un test Certification très important dans l'Industrie IT. C'est essentielle d'une bonne préparation avant le test.

Nous assurons seulement le succès de test certification, mais encore la mise à jour est gratuite pour vous. Si vous ne pouvez pas passer le test, votre argent sera 100% rendu. Toutefois, cette possibilité n'est presque pas de se produire. Vous pouvez tout d'abord télécharger le démo gratuit pour prendre un essai.

Il y a beaucoup de gans ambitieux dansn l'Industrie IT. Pour monter à une autre hauteur dans la carrière, et être plus proche du pic de l'Industrie IT. On peut choisir le test SUN 310-083 à se preuver. Mais le taux du succès et bien bas. Participer le test SUN 310-083 est un choix intelligent. Dans l'Industrie IT de plus en plus intense, on doit trouver une façon à s'améliorer. Vous pouvez chercher plusieurs façons à vous aider pour réussir le test.

Vous serez impressionné par le service après vendre de Pass4Test, le service en ligne 24h et la mise à jour après vendre sont gratuit pour vous pendant un an, et aussi vous allez recevoir les informations plus nouvelles à propos de test Certification IT. Vous aurez un résultat imaginaire en coûtant un peu d'argent. D'ailleurs, vous pouvez économier beaucoup de temps et d'efforts avec l'aide de Pass4Test. C'est vraiment un bon marché de choisir le Pass4Test comme le guide de formation.

Code d'Examen: 310-083
Nom d'Examen: SUN (Sun Certified Web Component Developer for J2EE 5)
Questions et réponses: 276 Q&As

310-083 Démo gratuit à télécharger: http://www.pass4test.fr/310-083.html

NO.1 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 examen   310-083 examen   310-083 examen   310-083   310-083 examen

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

NO.3 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 examen   310-083   310-083

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

NO.5 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 examen   310-083   certification 310-083   certification 310-083

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

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 examen   310-083   certification 310-083   certification 310-083

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

NO.10 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   310-083   certification 310-083   310-083

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 examen   310-083 examen

NO.12 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   certification 310-083   310-083 examen

NO.13 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 examen   certification 310-083   certification 310-083

NO.14 </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 examen   certification 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 examen   certification 310-083   certification 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

certification SUN   certification 310-083   310-083 examen
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   310-083   certification 310-083   certification 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   310-083 examen
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   310-083 examen   certification 310-083   310-083 examen

NO.15 }

NO.16 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 examen   310-083   310-083 examen   310-083 examen

NO.17 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

certification SUN   310-083 examen   310-083 examen

NO.18 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   310-083   310-083 examen

NO.19 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

certification SUN   310-083   310-083 examen   310-083   310-083

NO.20 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

certification SUN   310-083 examen   certification 310-083   310-083

NO.21 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

certification SUN   certification 310-083   310-083 examen   certification 310-083

NO.22 <sl:shoppingList>

NO.23 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 examen   310-083   certification 310-083

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

NO.25 }
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 examen   certification 310-083   310-083 examen   310-083 examen
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   certification 310-083   310-083
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   310-083 examen   certification 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 examen   310-083   certification 310-083   310-083   certification 310-083

NO.26 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 examen   310-083   certification 310-083   310-083

NO.27 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 examen   310-083 examen   310-083 examen

NO.28 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   310-083 examen

NO.29 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   certification 310-083   310-083   310-083

NO.30 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   310-083   310-083

Les spécialistes d'expérience de Pass4Test ont fait une formation ciblée au test SUN 310-083. Cet outil de formation est convenable pour les candidats de test SUN 310-083. Pass4Test n'offre que les produits de qualité. Vous aurez une meilleure préparation à passer le test avec l'aide de Pass4Test.

Le dernier examen SUN 310-813 gratuit Télécharger

Pass4Test est aussi un site d'offrir la ressource des connaissances pour le test Certification IT. Selon les Feedbacks venus de gens qui ont untilié les produits de Pass4Test, Pass4Test est un site fiable comme l'outil de se former. Les Q&As offertes par Pass4Test sont bien précises. Les experts de Pass4Test mettent à jour nos documentations de formation de temps de temps.

Dans cette société de l'information technologies, c'est bien populaire que l'on prenne la formation en Internet, Pass4Test est l'un des sites d'offrir la formation particulère pour le test SUN 310-813. Pass4Test a une expérience riche pour répondre les demandes des candidats.

Avec la version plus nouvelle de Q&A SUN 310-813, réussir le test SUN 310-813 n'est plus un rêve très loin pour vous. Pass4Test peut vous aider à réaliser ce rêve. Le test simualtion de Pass4Test est bien proche du test réel. Vous aurez l'assurance à réussir le test avec le guide de Pass4Test. Voilà, le succès est juste près de vous.

Code d'Examen: 310-813
Nom d'Examen: SUN (MySQL 5.0 Developer Certified Professional Exam, Part II )
Questions et réponses: 70 Q&As

Les produits de Pass4Test sont préparés pour le test Certification SUN 310-813, y compris les formations et les informations ciblées au test SUN 310-813. D'ailleurs, la Q&A de Pass4Test qui est impressionnée par la grande couverture des questions et la haute précision des réponses vous permet à réussir le test avec une haute note.

Le test SUN 310-813 est le premier pas pour promouvoir dans l'Industrie IT, mais aussi la seule rue ramenée au pic de succès. Le test SUN 310-813 joue un rôle très important dans cette industrie. Et aussi, Pass4Test est un chaînon inevitable pour réussir le test sans aucune doute.

Le Certificat de SUN 310-813 signifie aussi un nouveau jalon de la carrière, le travail aura une space plus grande à augmenter, et tout le monde dans l'industrie IT sont désireux de l'obtenir. En face d'une grande passion pour le test Certification SUN 310-813, le contrariété est le taux très faible à réussir. Bien sûr que l'on ne passe pas le test 310-813 sans aucun éffort, en même temps, le test de SUN 310-813 demande les connaissances bien professionnelles. Le guide d'étude dans le site Pass4Test peut vous fournir un raccourci à réussir le test SUN 310-813 et à obtenir le Certificat de ce test. Choisissez le guide d'étude de Pass4Test, vous verrez moins de temps dépensés, moins d'efforts contribués, mais plus de chances à réussir le test. Ça c'est une solution bien rentable pour vous.

Pass4Test a capacité d'économiser vos temps et de vous faire plus confiant à réussir le test. Vous pouvez télécharger le démo SUN 310-813 gratuit à connaître mieux la bonne fiabilité de Pass4Test. Nous nous font toujours confiant sur nos produits, et vous aussi dans un temps proche. La réussite de test SUN 310-813 n'est pas loin de vous une fois que vous choisissez le produit de Pass4Test. C'est un choix élégant pour vous faciliter à réussir le test SUN 310-813.

310-813 Démo gratuit à télécharger: http://www.pass4test.fr/310-813.html

NO.1 Which of the following is a valid method to restrict the amount of records returned from SHOW
WARNINGS.?
A. SHOW WARNINGS LIMIT
B. SHOW WARNINGS LIMIT
C. limit can not be used with show warnings
Answer: A,B

SUN   310-813   certification 310-813   310-813   310-813   certification 310-813

NO.2 When executing multi-row operations, what should be the first thing you look for to see if anything
unexpected happened?
A. Warning/Error Count.
B. Warning/Error Codes.
C. Warning/Error messages.
Answer: A

SUN examen   310-813   310-813   310-813

NO.3 Which of the following describe situations when MySQL generates warnings?
A. When it is not able to completely fulfill a request.
B. When a system-level error occurs.
C. When an action has possible unintended side-effects.
Answer: A,C

SUN   310-813   310-813   310-813   310-813 examen   310-813

NO.4 Consider the following statement: show COUNT (*) warnings what would be the result of executing this
statement?
A. An error would be returned, as this is not valid syntax.
B. The number of current warnings would be returned.
C. The total number of warnings server-wide would be returned
Answer: B

SUN examen   certification 310-813   310-813 examen   310-813   310-813   310-813

NO.5 Which of the following statements are true?
A. The MylSAM storage engine should be preferred when you expect many reads and few
updates to occur
B. The MylSAM storage engine should be preferred when you expect a mix of many reads and many
updates to occur
C. The InnoDB storage engine should be preferred when you expect many reads and few updates to
occur
D. The InnoDB storage engine should be preferred when you expect a mix of many reads and many
updates to occur
Answer: A,D

SUN examen   310-813 examen   310-813 examen   certification 310-813   certification 310-813

Le test Certification SUN 310-813 est une chance précieuse à augmenter vos connaissances de technologie informatique dans l'industrie IT. Il attire beaucoup de professionls à participer ce test. Pass4Test peut vous offrir les outils de formation particuliers à propos de test SUN 310-813. Vous réaliserez plus tôt votre rêve avec la Q&A écrite par l'équipe professionnelle de Pass4Test. Pass4Test se contribue à vous donner un coup de main pour réussir le test SUN 310-813.

2013年10月29日星期二

Certification SUN de téléchargement gratuit pratique d'examen 310-081, questions et réponses

Dans n'importe quelle industrie, tout le monde espère une meilleure occasion de se promouvoir, surtout dans l'industrie de IT. Les professionnelles dans l'industrie IT ont envie d'une plus grande space de se développer. Le Certificat SUN 310-081 peut réaliser ce rêve. Et Pass4Test peut vous aider à réussir le test SUN 310-081.

Les experts de Pass4Test ont fait sortir un nouveau guide d'étude de Certification SUN 310-081, avec ce guide d'étude, réussir ce test a devenu une chose pas difficile. Pass4Test vous permet à réussir 100% le test SUN 310-081 à la première fois. Les questions et réponses vont apparaître dans le test réel. Pass4Test peut vous donner une Q&A plus complète une fois que vous choisissez nous. D'ailleurs, la mise à jour gratuite pendant un an est aussi disponible pour vous.

Il y a nombreux façons à vous aider à réussir le test SUN 310-081. Le bon choix est l'assurance du succès. Pass4Test peut vous offrir le bon outil de formation, lequel est une documentation de qualité. La Q&A de test SUN 310-081 est recherchée par les experts selon le résumé du test réel. Donc l'outil de formation est de qualité et aussi autorisé, votre succès du test SUN 310-081 peut bien assuré. Nous allons mettre le jour successivement juste pour répondre les demandes de tous candidats.

Le test SUN 310-081 est test certification très répandu dans l'industrie IT. Vous pourriez à améliorer votre niveau de vie, l'état dans l'industrie IT, etc. C'est aussi un test très rentable, mais très difficile à réussir.

Choisir le produit fait avec tous efforts des experts de Pass4Test vous permet à réussir 100% le test Certification IT. Le produit de Pass4Test est bien certifié par les spécialistes dans l'Industrie IT. La haute qualité du produit Pass4Test ne vous demande que 20 heures pour préparer, et vous allez réussir le test SUN 310-081 à la première fois. Vous ne refuserez jamais pour le choix de Pass4Test, parce qu'il symbole le succès.

Dans cette Industrie IT intense, le succès de test SUN 310-081 peut augmenter le salaire. Les gens d'obtenir le Certificat SUN 310-081 peuvent gagner beaucoup plus que les gens sans Certificat SUN 310-081. Le problème est comment on peut réussir le test plus facile?

Code d'Examen: 310-081
Nom d'Examen: SUN (Sun Certified Web Component Developer for J2EE 1.4)
Questions et réponses: 140 Q&As

310-081 Démo gratuit à télécharger: http://www.pass4test.fr/310-081.html

NO.1 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   certification 310-081   310-081

NO.2 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

certification SUN   310-081 examen   310-081   310-081

NO.3 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   certification 310-081   310-081

NO.4 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   certification 310-081   310-081 examen

NO.5 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 examen   310-081   310-081   310-081

NO.6 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 examen   certification 310-081   310-081 examen   310-081 examen

NO.7 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   certification 310-081   310-081   certification 310-081

NO.8 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

certification SUN   certification 310-081   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 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.11 Place the XML elements in the web application deployment descriptor solution to configure a servlet
context event listener named com.example.MyListener.
Answer:

NO.12 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 examen   310-081   310-081

NO.13 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 examen   310-081   310-081   310-081

NO.14 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

certification SUN   310-081   310-081   310-081   certification 310-081

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

NO.16 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 examen   310-081

NO.17 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   certification 310-081   310-081   310-081

NO.18 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   310-081 examen   certification 310-081   310-081

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

NO.20 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   310-081

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 examen   310-081   310-081 examen   310-081 examen

NO.22 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   certification 310-081

NO.23 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

certification SUN   310-081   certification 310-081   310-081   310-081   310-081

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

certification SUN   310-081   310-081

NO.25 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   310-081   310-081   310-081   310-081

NO.26 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

certification SUN   310-081   310-081   310-081 examen

NO.27 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.28 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

certification SUN   310-081   310-081   310-081   310-081 examen

NO.29 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   310-081   310-081   certification 310-081

NO.30 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.

Est-ce que vous vous souciez encore de réussir le test SUN 310-081? Est-ce que vous attendez plus le guide de formation plus nouveaux? Le guide de formation vient de lancer par Pass4Test peut vous donner la solution. Vous pouvez télécharger la partie de guide gratuite pour prendre un essai, et vous allez découvrir que le test n'est pas aussi dur que l'imaginer. Pass4Test vous permet à réussir 100% le test. Votre argent sera tout rendu si vous échouez le test.

Le matériel de formation de l'examen de meilleur SUN 310-083

Au 21er siècle, il manque encore grand nombreux de gens qualifié de IT. Le test Certificat IT est une bonne façon à examiner les hommes de talent. Ce n'est pas un test facile à réussir. Un bon choix de formation est une assurance pour le succès de test. Le test simulation est bien proche que test réel. Vous pouvez réussir 100%, bien que ce soit la première à participer le test.

Si vous voulez ne se soucier plus à passer le test SUN 310-083, donc vous devez prendre la Q&A de Pass4Test comme le guide d'étude pendant la préparation de test SUN 310-083. C'est une bonne affaire parce que un petit invertissement peut vous rendre beaucoup. Utiliser la Q&A SUN 310-083 offerte par Pass4Test peut vous assurer à réussir le test 100%. Pass4Test a toujours une bonne réputation dans l'Industrie IT.

Code d'Examen: 310-083
Nom d'Examen: SUN (Sun Certified Web Component Developer for J2EE 5)
Questions et réponses: 276 Q&As

Pass4Test est un site à offrir particulièrement la Q&A SUN 310-083, vous pouvez non seulement aprrendre plus de connaissances professionnelles, et encore obtenir le Passport de Certification SUN 310-083, et trouver un meilleur travail plus tard. Les documentations offertes par Pass4Test sont tout étudiés par les experts de Pass4Test en profitant leurs connaissances et expériences, ces Q&As sont impresionnées par une bonne qualité. Il ne faut que choisir Pass4Test, vous pouvez non seulement passer le test SUN 310-083 et même se renforcer vos connaissances professionnelles IT.

Pass4Test est un bon site qui provide la façon efficace à se former à court terme pour réussir le test SUN 310-083, c'est un certificat qui peut améliorer le niveau de vie. Les gens avec le Certificat gagent beaucoup plus que les gens sans Certificat SUN 310-083. Vous aurez une space plus grande à se développer.

Dans l'Industrie IT, le certificat IT peut vous permet d'une space plus grande de se promouvoir. Généralement, la promotion de l'entreprise repose sur ce que vous avec la certification. Le Certificat SUN 310-083 est bien autorisé. Avec le certificat SUN 310-083, vous aurez une meilleure carrière dans le future. Vous pouvez télécharger tout d'abord la partie gratuite de Q&A SUN 310-083.

On doit faire un bon choix pour passer le test SUN 310-083. C'est une bonne affaire à choisir la Q&A de Pass4Test comme le guide d'étude, parce que vous allez obtenir la Certification SUN 310-083 en dépensant d'un petit invertissement. D'ailleur, la mise à jour gratuite pendant un an est aussi gratuite pour vous. C'est vraiment un bon choix.

Le produit de Pass4Test que vous choisissez vous met le pied sur la première marche du pic de l'Industrie IT, et vous serez plus proche de votre rêve. Les matériaux offerts par Pass4Test peut non seulement vous aider à réussir le test SUN 310-083, mais encore vous aider à se renforcer les connaissances professionnelles. Le service de la mise à jour pendant un an est aussi gratuit pour vous.

310-083 Démo gratuit à télécharger: http://www.pass4test.fr/310-083.html

NO.1 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 examen   310-083   certification 310-083   310-083 examen   certification 310-083

NO.2 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   certification 310-083   310-083   310-083

NO.3 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 examen   310-083 examen   310-083   certification 310-083   310-083 examen   310-083 examen

NO.4 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   certification 310-083   310-083   310-083   310-083   310-083

NO.5 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 310-083   310-083   310-083

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

NO.7 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

NO.8 }

NO.9 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 examen   310-083   certification 310-083   310-083

NO.10 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   certification 310-083   310-083 examen   certification 310-083

NO.11 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   310-083   310-083   310-083   310-083

NO.12 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.13 </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   310-083   310-083   310-083 examen   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   certification 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   310-083 examen   310-083
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 examen   certification 310-083   certification 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 examen   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

certification SUN   310-083 examen   310-083 examen   certification 310-083   310-083   310-083

NO.14 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   310-083   310-083 examen

NO.15 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 examen   310-083 examen   certification 310-083

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

NO.17 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   310-083   310-083 examen   310-083   certification 310-083   310-083

NO.18 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   certification 310-083   310-083 examen   certification 310-083

NO.19 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 examen   310-083 examen   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

NO.21 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 examen   310-083   certification 310-083   certification 310-083   310-083 examen

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

NO.23 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 examen   310-083 examen   310-083 examen   310-083 examen

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

NO.25 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 examen   certification 310-083   310-083

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

NO.27 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 examen   310-083 examen   310-083 examen

NO.28 }
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 examen   310-083 examen   310-083 examen
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 examen   310-083   310-083   310-083 examen
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

certification SUN   310-083   310-083   310-083 examen   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   310-083   310-083   310-083   310-083

NO.29 <sl:shoppingList>

NO.30 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   310-083   310-083   310-083

Beaucoup de travailleurs dans l'Industrie IT peut obenir un meilleur travail et améliorer son niveau de vie à travers le Certificat SUN 310-083. Mais la majorité des candidats dépensent beaucoup de temps et d'argent pour préparer le test, ça ne coûte pas dans cette société que le temps est tellement précieux. Pass4Test peut vous aider à économiser le temps et l'effort pendant le cours de la préparation du test SUN 310-083. Choisir le produit de Pass4Test particulier pour le test Certification SUN 310-083 vous permet à réussir 100% le test. Votre argent sera tout rendu si malheureusement vous ne passez pas le test.