Free Chinacertify Samples and Demo Questions Download
Microsoft exams Microsoft
Cisco exams Cisco
CompTIA exams CompTIA
HP exams HP
IBM exams IBM
Oracle exams Oracle
Adobe exams Adobe
Apple exams Apple
Avaya exams Avaya
BlackBerry exams BlackBerry
Brocade exams Brocade
CA Technologies exams CA Technologies
CheckPoint exams Check Point
Citrix exams Citrix
CIW exams CIW
Cloudera exams Cloudera
EC-Council exams EC-Council
EMC exams EMC
Exin exams Exin
FileMaker exams FileMaker
Fortinet exams Fortinet
ISC2 exams ISC2
iSQI exams iSQI
Juniper exams Juniper
LPI exams LPI
McAfee exams McAfee
Network Appliance exams NetApp
Pegasystems exams Pegasystems
PMI exams PMI
Riverbed exams Riverbed
SNIA exams SAP
SAS exams SAS
SOA exams SOA
Symantec exams Symantec
Tibco exams Tibco
VMware exams VMware
All certification exams

Oracle 1Z0-899 Exam -

Free 1Z0-899 Sample Questions:

Q: 1
Given the element from the web application deployment descriptor:
<jsp – property – group>
<url – pattern>/main/page1.jsp</url – pattern>
<scripting – invalid>true</scripting – invalid>
And given that /main/page1.jsp contains:
<% int i = 12; %>
<b> <%= i %> </b>
What is the result?
A. <b> <b>
B. <b> l2 </b>
C. The JSP fails to execute.
D. <% int i = 12 %>
<b> <%= i % > < b>
Answer: C

Q: 2
A web application allows the HTML title banner to be set using a context initialization parameter called titlestr.
Which two properly set the title in the scenario? (Choose two)
A. <title> $ {titlestr} </title>
B. <title> $ {initparam.titlestr}</title>
C. <title> $ {param [0]. titlestr} </title>
D. <title> $ {paramValues.titleStr} </title>
E. <title> $ {initParam [‘titleStr’] } </title>
F. <title> $ {servletParams.titleStr} </title>
G. <title> $ {request.get (“titleStr”) } </title>
Answer: B,E

Q: 3
11. <%
12. request.setAttribute (“vals”, new String[] {“1”, “2”, “3”, “4”});
13. request.setAttribute (“index”, “2”);
14. %>
15. <% - - insert code here - - %>
Which three EL expressions, inserted at line 15, are valid and evaluate to “3”? (Choose three)
A. ${vals.2}
B. ${vals [“2”] }
C. ${vals.index}
D. ${vals[index] }
E. ${vals} [index]
F. ${vals. (vals.index) }
G. ${vals [vals[index-1]] }
Answer: B,D,G

Q: 4
1. <% int[] nums = {42,420,4200};
2. request.setAttribute("foo", nums); %>
3. ${5 + 3 It 6}
4. S(requestScope['foo'][0] ne 10 div0>
5. ${10 div 0}
What is the result?
A. true true
B. false true
C. false true 0
D. true true Infinity
E. false true Infinity
F. An exception is thrown
G. Compilation or translation fails
Answer: E

Q: 5
You are building a dating service web site. Part of the form to submit a client's profile is a group of radio buttons for the person's hobbies:
20. <input type = ‘radio’ name = ‘hobbyEnum’ value = ‘HIKING’> Hiking <br>
21. <input type = ‘radio’ name = ‘hobbyEnum’ value = ‘SKING’> Sking <br>
22. <input type = ‘radio’ name = ‘hobbyEnum’ value = ‘SCUBA’> SCUBA <br>
23. <! - - and more options - - >>
After the user submits this form, a confirmation screen is displayed with these hobbies listed.
Assume that an application-scoped hobbies, holds a map between the hobby enumerated type and the display name.
Which EL code snippet will display Nth element of the user's selected hobbles?
A. ${hobbies [hobbyEnum[N]}
B. ${hobbies [paramValues.hobbyEnum[N]]}
C. ${hobbies [paramValues @ ‘hobbyEnum’ @N]
D. ${hobbies.get(paramValues.hobbyEnum[N]) }
E. ${hobbies [paramValues.hobbyEnum.get(N)] }
Answer: B