000285V366.docx
《000285V366.docx》由会员分享,可在线阅读,更多相关《000285V366.docx(25页珍藏版)》请在冰豆网上搜索。
000285V366
Exam:
IBM000-285
Title:
Test285,developingwithibmwebspherestudio,v5.0
Version:
V3.66
1.WhileadeveloperiscreatinganEnterpriseApplicationProjectusingthewizard,whichotherJ2EEcomponentcanbecreatedsimultaneously?
A.DataSourceProject
B.WebProject
C.JavaProject
D.ServerProject
Answer:
B
2.WhichofthefollowingviewsarepartofthedefaultJavaperspective?
A.PackageExplorer
B.Navigator
C.Outline
D.Hierarchy
E.Properties
Answer:
ACD
3.AdeveloperwantstopopulateaWebprojectfromaWebsitewhichresidesonaremoteserverandcontainsservlets.TheBESTwaytoimportthesiteistouse:
A.TheHTTPimportutility
B.TheFilesystemimportutility
C.TheJARimportutility
D.TheFTPimportutility
Answer:
D
4.AdeveloperhasperformedaSearchintheHelpperspective.Thedeveloperwantstoseewhereatopicreturnedbythesearchfitsintothetableofcontents.WhatistheBESTwaytodothis?
A.SelecttheForwardiconintheHelptoolbartogotothenextcorrespondingiteminthetableofcontents.
B.SelecttheBackiconfromtheHelptoolbartobringupthetopicsheadinginthetableofcontents.
C.SelecttheSynchronizeNavigationiconintheHelptoolbar.
D.Doubleclickonthetopic'stitleinthedocumentview.
Answer:
C
5.TheFASTESTwayforadevelopertoobtainstep-by-stepguidanceoncreating,testing,andrunningaWebapplicationisto:
A.readtheproductdocumentation
B.lookthroughthehelpTableofContents
C.selecttheSearch->Help...menuoption
D.usetheHelpmenuCheatSheets
Answer:
D
6.AdeveloperwantstoperformanincrementalbuildofresourcesintheworkspaceeachtimeachangeismadetoaJavaclass.WhatistheBESTapproachforthedevelopertotakewithintheWindow->Preferenceswindowtoensurethatthishappens?
A.SelectWorkbench->Performthebuildautomaticallyonresourcemodification
B.SelectWorkbench->Saveallmodifiedresourcesautomaticallypriortomanualrebuild
C.SelectJava->Compiler->ClassfileGenerationandchecktheAddsourcefilenametothegeneratedclassfilecheckbox
D.SelectWorkbench->BuildOrderandEntertherequiredresourcesintheBuildOrder
Answer:
A
7.Adeveloperwantstoimportaprojectthatwaspreviouslycreatedinanotherworkspace.TheBESTwaytoaccomplishthatistoselectwhichFile->Importoption?
A.Filesystem
B.ExistingProjectintoWorkspace
C.Zipfile
D.ExternalPlug-insandFragments
Answer:
B
8.WhichoperationisNOTavailableintheDataperspective?
A.browseandimportschemas
B.createdatasourceobjects
C.exportdatadefinitions(DDL)
D.createandtestSQLstatements
Answer:
B
9.WhenusingtheCreateJavaBeansWebPagesWizard,whichofthefollowingelementscanbecreated?
A.BusinessDelegate
B.ControllerServlet
C.JavaBeanBroker
D.ViewBean
Answer:
BD
10.A<jsp:
setProperty>tagisinsertedusingtheInsertSetPropertymenuoptionofthePageDesignerto:
A.SetapropertyvalueinaservletparameterfromaBeanproperty.
B.SetapropertyvalueinaBean.
C.Setaservletrequestparameter.
D.Setaservletreplyparameter.
Answer:
B
11.AWebProjectcalledSalesiscreatedundertheEnterpriseApplicationprojectCustomerRelationship,withcontextroot"sales".WhichofthefollowingwillresultfromcreatingthisWebproject?
A.Theapplication.xmlfileofCustomerRelationshipEnterpriseApplicationprojectisupdatedwiththewebapplicationanditscontextroot
B.Adefaultpageindex.htmliscreatedandismadepartofthewelcomefilelistintheweb.xmlfile
C.AJavaprojectcalledSalesProjectisalsocreatedtomaintainthe.javafilesofthewebapplication
D.AfoldercalledWebContentiscreatedthatrepresentsthestructureofthe.warfilewhenthiswebapplicationisdeployed
Answer:
AD
12.AwebdevelopercaneffectivelyusetheHTMLContentAssistto:
A.Finishalineofcodeortaginthesourceeditor.
B.PerformspellchecksonthecontentintheHTMLpage.
C.ValidatethesyntaxoftheHTMLcontentinthepage.
D.Addanattribute-namevaluepairtoatag.
Answer:
AD
13.WherewithinaWebproject,calledSales,shouldutilityJARsreferencedbyservletsandJSPsofthewebapplicationbelocated?
A.Sales/WebContent/WEB-INF
B.Sales/WebContent/WEB-INF/classes
C.Sales/WebContent/lib
D.Sales/WebContent/WEB-INF/lib
Answer:
D
14.WhenusingtheCreateDatabaseWebPagesWizardtocreatewebpages,whichofthefollowinginformationcanbespecified?
A.Amodelthatindicatestheinputandviewpagesgenerated
B.TheXMLandXSLtogeneratetheSQLforthedesiredstatement
C.ThetypeofSQLstatementtouse
D.MappingbetweenJavadatatypesandDatabasedatatypes
Answer:
AC
15.FilesthataretobedeployedinaWARaspartofaWebProjectnamed'Sales'shouldbelocatedunderwhatdirectory?
A.Sales/WebContent
B.Sales/WEB-INF
C.Sales/source
D.Sales/Libraries
Answer:
A
16.Aservletclassnamedcom.ibm.certify.LoginServletneedstobedefinedintheweb.xmldeploymentdescriptor.Thedeveloperisusingtheweb.xmleditortocreatethedefinition.WhichofthefollowingactionsisconsideredtheBESTpractice?
A.IntheServletstab,addacorrespondingJSPfortheresultingservletwithURLmapping-login
B.IntheServletstab,addtheservletwithURLmapping-login
C.IntheServletstab,addtheservletwithnoURLmapping,acceptingthedefault
D.InthePagestab,addcom.ibm.certify.LoginServlettotheWelcomefileslist
E.InthePagestab,addanauthenticationmethodforcom.ibm.certify.LoginServlet
Answer:
B
17.WhenconvertingastaticWebprojecttoaJ2EEWebproject,whichofthefollowingcanbespecifiedasmoduledependenciesforaWebProject?
A.AnapplicationclientprojectassociatedwiththesameEnterpriseApplicationProject
B.AnotherWebprojectassociatedwiththesameEnterpriseApplicationProject
C.AJARfileintheassociatedEnterpriseApplicationProject
D.AJavaprojectintheworkbench
Answer:
C
18.Wheninsertinga<jsp:
useBean>tagusingtheInsertBeanmenuoptionfromthePageDesigner,theScopeattributeissetto"(Default)".Thisdefaultvaluerepresents:
A.session
B.application
C.page
D.request
Answer:
C
19.WhichofthefollowingarevaliddestinationswhenusingtheExportwizard?
A.EARfile
B.WARfile
C.DB2Database
D.CVSRepository
Answer:
AB
20.WherewouldadeveloperlooktoensurethatcookiesareenabledintheWebSphereTestEnvironment?
A.Intheapplication.xmlfile
B.IntheJavafileswherecookieinformationisretrieved
C.IntheServersviewoftheServerperspective
D.IntheWebtabofthetestserverconfiguration
Answer:
D
21.ATestServerinstancegetsdeleted,butawebprojectisstillassociatedwiththeserverconfiguration.Whatwillhappenwhenadevelopertriestotestaservletinthewebprojectviathe"RunonServer"menuitem?
A.Withnoserverinstancedefined,the"RunonServer"menuitemwillbedisabled
B.Anewserverinstanceisautomaticallycreatedandboundtotheexistingserverconfiguration,andthentheservletisinvokedoncetheserverisstarted
C.TheServerSelectiondialogisdisplayed,anewserverinstanceandconfigurationarecreated,thewebprojectisaddedtothenewserverconfiguration,thentheservletisinvokedoncetheserverisstarted
D.Anerrordialogwillappearindicatingthatthereisamissingserverinstance
Answer:
C
22.WhichofthefollowingstatementsdescribingtheWebSphereTestEnvironmentisFALSE?
A.Supportsmultipleserverinstancesthatcanbeconfiguredandrunatthesametime
B.IsareducedfunctionalityversionoftheIBMWebSphereApplicationServersoftwareproduct
C.Providestheabilitytodebugliveserver-sidecode
D.IncludesbothWebSphereandApacheTomcattestservers
Answer:
B
23.Whichrelationshipsamongenterpriseapplicationprojects,serverinstances,andserverconfigurationsarevalid?
A.Asingleprojectcanbeassociatedwithmultipleserverconfigurations
B.Multipleserverconfigurationscanshareacommonserverinstance
C.Asingleserverconfigurationcanbeassociatedwithmultipleprojects
D.Asingleserverconfigurationcanonlybeconfiguredwithoneproject
Answer:
AC
24.WhichofthefollowingfieldsMUSTbefilledinwhencreatingaJDBCprovider?
A.Classpath
B.Description
C.Nativepath
D.Databasetype
E.Implementationclassname
Answer:
ADE
25.InwhichviewMUSTadeveloperworkinordertocreateanewdatabasetable?
A.Schema
B.DBServers
C.DataDefinition
D.Navigator
E.JDBC
Answer:
C
26.WhichSQLcommandsaresupportedbythecreateSQLStatementwizard?
A.Create
B.Update
C.Drop
D.SelectDistinct
Answer:
BD
27.WhichofthefollowingactionscanbeperformedonceadatabasedesignhasbeenimportedintoaDataproject?
A.Createalocalbackupofthedatainthedatabase
B.RunSQLqueriesagainstthedatabase
C.Analyzedatabaseperformancestatistics
D.Modifythedatabasedesign
Answer:
BD
28.WhichofthefollowingstepsdoesNOTneedtobeperformedwhenimportingdatadefinitionsintoaproject?
A.OpentheDataperspective
B.Connecttothedatabase
C.Createthetargetproject
D.Selectthedatadefinitionstoimport
Answer:
C
29.Bydefault,wherearethe.classfilesforaJavaprojectlocatedonthefilesystem?
A.Inthelocationspecifiedinthewar.xmlprojectconfigurationfile
B.Inthesamedirectoryasthecorresponding.javafiles
C.Inthedirectorylocationenteredwhentheprojectiscreated,sincethereisnodefaultlocation
D.Inadirectorycalled"build"undertheprojectdirectory
Answer:
B
30.Adeveloperismodifyingaclasstha