000141V411.docx
《000141V411.docx》由会员分享,可在线阅读,更多相关《000141V411.docx(53页珍藏版)》请在冰豆网上搜索。
000141V411
Exam:
IBM000-141
Title:
Test141,xmlandrelatedtechnologies
Version:
V4.11
1.Refertotheexhibittoanswerthequestion.
Buyerentitiesofthemarketplacecansearchanddiscoversellersandinteractwiththem.Thediscoveryandinteractionprocessesareverydynamicinnature.WhichofthefollowingcanMOSTlogicallybepartoftheapplication'sarchitecture?
A.ValidationofXMLdata
B.XSLmatchingforthesearchanddiscovery
C.XMLQueryforthesearchanddiscovery
D.UDDIforthesearchanddiscovery
E.SOAPforcommunicationbetweenvariousentities
Answer:
ADE
2.AnapplicationneedstobeabletomodifytheXMLdocumentthatitisprocessing,withoutcreatinganewinstanceofthedocument.WhichistheBESTtechnologytouse?
A.XSLT
B.SAX
C.DOM
D.DTD
E.Infoset
Answer:
C
3.Agroupofcompaniesthatcurrentlyprocessespurchaseorders(POs)usingXMLhassetupaB2BtradingcommunityinordertoexchangethePOs.WhichofthefollowingXMLtechnologieswouldprovidetheMOSTbenefits?
A.UsepublishedDTDstostandardizethePOformat.
B.UseXMLQuerytoretrievePOsfromanothercompany'sdatabase.
C.UseXMLInfosettostandardizefieldnamesbetweencompanies.
D.UseXSLTtotransformPOsto/frominternalPOformats.
Answer:
AD
4.WhichofthefollowingMUSTbepresentineverySOAPrequest?
A.SOAPEnvelope,SOAPHeader,SOAPBody
B.SOAPHeader,SOAPBody
C.SOAPEnvelope,SOAPBody
D.SOAPEnvelope,SOAPHeader
Answer:
C
5.WhenisitBESTtousevalidationinanXMLapplication?
A.Theapplicationisbeingdevelopedbutnotduringproduction,whenperformanceismoreimportant
B.ThesourceoftheXMLdataisuntrusted
C.Validatingstylesheetsareused
D.Highperformanceisanimportantarchitecturalconstraint
Answer:
B
6.Refertotheexhibittoanswerthequestion.
WhichofthefollowingisMOSTlikelytoberequiredinthedesign?
A.XMLfromthebankmustbevalidatedandtransformedintoaformatexpectedbythelegacysystem.
B.XMLfromthelegacysystemmustbetransformedintoaformatexpectedbythebank'sapplication.
C.TheDTDforfinancialreportsmustbeconsistentwithelementnamesusedbythebank.
D.TheDTDforEFTtransactionsmustbeconsistentwithelementnamesusedbythebrowser.
Answer:
A
7.Refertotheexhibittoanswerthequestion.
IthasbeendecidedthatratherthanwritinganXMLSchemafortheproject,aDTDwillbeused.WhichofthefollowingareproblemsthatanXMLdevelopermayrunintowhentryingtoimplementthissystem?
A.Additionaleffortwillberequiredtoprocessdateelementsasrequiredbybankingofficials.
B.Auniqueidattributewillneedtobecreatedinordertoidentifyeachandeveryseller/buyer.
C.Theuseofnamespaceswillbekepttoaminimum.
D.Enumerationsvaluestoensurebuyerandsellerswillusethesamecurrencyaspaymentsandacceptingpayments.
Answer:
AC
8.XMLisgoingtobeusedinaB2Bapplicationtoexchangehuman-resourcesdatabetweenmultipleorganizations.Eachorganizationkeepsitsdataindifferentforms,andproducesdifferentreports.WhichofthefollowingissueswouldpresentthegreatestchallengesfortheXMLproject?
A.Eachcorporationhasitsownnon-XMLrecordstructureforthisdata.
B.Eachcorporationwantstodisplaytherecordsinadifferentlayoutinitsintranetapplications.
C.Somecorporationswillbesendingalotmoredatathanothers.
D.Thecorporationsarenotusingthesameoperatingsystemsormiddlewareplatforms.
Answer:
A
9.WhichofthefollowingstatementsregardingXPathisTRUE?
A.XPathisnewenoughthattheW3Chasnotyetadopteditasa"recommendation".
B.UsingXPath,adevelopercanaddressportionsofaDTDinaforwardorbackwarddirection.
C.XPath'sfunctionalityisextendedbyXPointer.
D.XPathisimplementedwithanobject-basedlanguage.
E.XPathusesXSLT,XSLFO,andotheremergingtechnologies.
Answer:
C
10.Refertotheexhibittoanswerthequestion.
Thegoalsofthedesignaretoproduceastableandefficiente-commercesite.WhichofthefollowingtechnologieswouldMOSTLIKELYimprovethedesignorperformanceoftheXML-basede-commerceapplication?
A.XMLQuery
B.XMLSchema
C.XSLFormatObjects
D.SAX
E.XSLT
Answer:
BDE
11.AnXMLdevelopmentteamisfacedwiththetaskofrepurposinganXMLdatastreamtotargetbothHTMLwebpagesandhand-heldcellularphones.WhatconsiderationisMOSTlikelytoinfluencetheteam'sdesign?
A.Theamountandtypesofformattingsupportedbythecellulardevice.
B.Thefontfamiliesavailableontargetwebbrowsers.
C.ThecurrentCSSformattingmodel.
D.TheabilitytoproperlytransformXMLobjectsintoHTMLobjects.
Answer:
A
12.WhichofthefollowingstatementsreflectstheBESTapproachtorenderingXMLinadiverserangeofclients?
A.FormattheXMLduringtheXSLTransformationphaseontheserverusingFormatObjectsbasedonxsl:
templaterules.
B.FormattheXMLduringtheXSLTransformationphaseontheserverusingxsl:
outputinconjunctionwithanxsl:
chooseandvariousxsl:
whenstatements.
C.FormattheXMLDOMinthemiddletierXMLapplicationanddelivertheobjectstotherequestingclient.
D.UseacombinationofXSLTransformationprocessingandapplicationprocessingtoprovidethenecessaryformattingtorendertheXMLforspecificuses.
Answer:
D
13.WhichofthefollowingXSLFOelementsrepresentblocklevelelements?
A.fo:
block
B.fo:
flow
C.fo:
table
D.fo:
table-and-caption
E.fo:
page-sequence
Answer:
ACD
14.Considerthefollowingscenario:
Acompanyneedstodisplayemployeecontactinformationinitsintranet.TheinformationisavailableinXMLFormatfromanXML-awareemployeedatabase.Itisrequiredthatthetopofdocumentshouldcontainanindexofemployeenames,sothatclickingonanemployeenamewilldisplaytheemployee'scompletecontactinformation(includingtheemployee'sname).WhichofthefollowingistheBESTapproachtomeetthisrequirement?
A.Createamasterstylesheetthatincludestwostylesheets,onetogeneratetheindex,andanothertogeneratethecompleteinformation.
B.Createastylesheetwithtwotemplatesindifferentmodes,andusetheminthemodeattributeofapply-templates>.
C.Createastylesheetwithonetemplate,andselectivelyusecopy>withindex>togeneratetheindexinformation.
D.Createastylesheetwithonetemplate,anduseindexinfo>togeneratetheindexinformation.
Answer:
B
15.HowshouldadeveloperwriteanXSLstylesheetthatgeneratestheXMLprologandDTDdeclarationasfollows?
xmlversion="1.0"?
>
DOCTYPEdocSYSTEM"...
A.BywritingatemplatetomatchtherootelementofthesourceXMLdocument
templatematch="/">
xmlversion="1.0"?
>
DOCTYPEdocSYSTEM"
...
template>
B.Byusingoutputmethod="xml"doctype-system="/>asachildoftherootelementoftheXSLstylesheet.
C.Byusingstylesheetmethod="xml"doctype-system="/>astherootelementoftheXSLstylesheet.
D.TheXSLstylesheetautomaticallycopiestheprologandtheDTDdeclarationfromthesourceXML.
Answer:
B
16.CSSandXSLcanbeBESTusedtogetherto:
A.developadvancedtransformationsbetweenXMLDTDs.
B.extendthecapabilitiesoftheHTMLformattingmodelwithCSSconstructs.
C.transformXMLdataontheserverintoHTMLdocumentsthatlinkwithCSSstylesheets.
D.allowXSLtodirectlyprocessHTMLdocuments.
Answer:
C
17.WhenwouldextendingtheXSLprocessorbeMOSTappropriate?
A.ToaccesssystemservicesthatarenotavailableinXPathorXSL
B.Toavoidthe"nosideeffects"ruleinXSLT,e.g.,toupdateacounter
C.Toallowdirectinteractionwiththexsl:
templateactionsbytheapplication
D.ToperformcomplexcalculationsthatarecumbersometoexpressinXSLTorthatwouldseriouslydegradeperformance
Answer:
AD
18.Refertotheexhibittoanswerthequestion.
Managementlaterdecidesthatthenamesofallfinancialresearchreportsthatmentionanewelement,"stock",shouldbedisplayedintheWebbrowser.ImplementingthisfunctionalityisMOSTlikelytorequire:
A.anadditionalXMLtransformationbetweenbankandlegacysystemdata.
B.achangetotheXMLrenderingprocessforfinancialresearchreports.
C.anenhancementtotheDTDorXMLSchemaforEFTtransactions.
D.anenhancementtotheDTDorXMLSchemaforfinancialresearchreports.
Answer:
BD
19.Whatismeantbytheterm"namespacecoercion"inthecontextofXMLSchemainclusions?
A.ThetargetNamespaceoftheincludedschemamustbecoercedintotheincludingschema'stargetNamespacebymanipulatingtheXMLSchemaDOM.
B.IfnotargetNamespaceisdeclaredfortheschemathatisincluded,thetargetNamespaceiscoercedintotheincludingschema'snamespace.
C.ThetwoschemaswillcollideinthetargetNamespace.
D.Theincludingschema'stargetNamespacewillbecoercedintoadefault"empty"targetNamespace,whichbothschemaswillpopulate.
E.Theparserwillbeforcedtodiscontinueparsingoftheincludedschema,unlesscoercedbyasetTargetNamespace()functionfromwithintheXMLapplication.
Answer:
B
20.AnapplicationusesalargeXMLdocumentthatcontainsinformationabout10,000customers.Theapplicationisperformingpoorly,withslowresponsestorequestsforcustomerswithaparticularhobby.WhichcombinationofthefollowingcouldanXMLdeveloperusetofacilitatelogicforalleviatingtheproblem?
A.CreateXMLdocumentsforeachofthehobbies.
B.StoreIDsina"hobbies"databasetable.
C.UseIDsineachoftheelements.
D.UseIDREFsineachofthe