000285V366.docx

上传人:b****6 文档编号:7984251 上传时间:2023-05-12 格式:DOCX 页数:25 大小:27.38KB
下载 相关 举报
000285V366.docx_第1页
第1页 / 共25页
000285V366.docx_第2页
第2页 / 共25页
000285V366.docx_第3页
第3页 / 共25页
000285V366.docx_第4页
第4页 / 共25页
000285V366.docx_第5页
第5页 / 共25页
000285V366.docx_第6页
第6页 / 共25页
000285V366.docx_第7页
第7页 / 共25页
000285V366.docx_第8页
第8页 / 共25页
000285V366.docx_第9页
第9页 / 共25页
000285V366.docx_第10页
第10页 / 共25页
000285V366.docx_第11页
第11页 / 共25页
000285V366.docx_第12页
第12页 / 共25页
000285V366.docx_第13页
第13页 / 共25页
000285V366.docx_第14页
第14页 / 共25页
000285V366.docx_第15页
第15页 / 共25页
000285V366.docx_第16页
第16页 / 共25页
000285V366.docx_第17页
第17页 / 共25页
000285V366.docx_第18页
第18页 / 共25页
000285V366.docx_第19页
第19页 / 共25页
000285V366.docx_第20页
第20页 / 共25页
亲,该文档总共25页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

000285V366.docx

《000285V366.docx》由会员分享,可在线阅读,更多相关《000285V366.docx(25页珍藏版)》请在冰点文库上搜索。

000285V366.docx

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

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 解决方案 > 学习计划

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2