000297V423.docx
《000297V423.docx》由会员分享,可在线阅读,更多相关《000297V423.docx(36页珍藏版)》请在冰豆网上搜索。
000297V423
Exam:
IBM000-297
Title:
Test297,ibmwebspheremqv5.3solutiondevelopment
Version:
V4.23
1.WhichofthefollowingClanguagedatatypesareNOTdirectlysupportedbytheWebSphereMQdataconversionexitgenerationfacility?
A.char
B.float
C.long
D.short
E.double
Answer:
BE
2.WhichofthefollowingJMSobjectscanbedefinedusingtheWebSphereMQJMSAdmintool?
A.MQJNDIConnectionFactory
B.MQQueue
C.MQTopic
D.MQXAQueueConnectionFactory
E.JMSWrapMQQueue
F.MQCOSConnectionFactory
Answer:
BCD
3.WhichofthefollowingisNOTtrueregardingWebSphereMQAPIExits?
A.APIExitsrunonz/OS.
B.APIExitsmustbewritteninC.
C.APIExitsarecalledbeforeandaftereachMQIverb.
D.MQIcallscanbemadewithinanAPIExit.
Answer:
A
4.WhichofthefollowingconditionscancauseaWebSphereMQeventmessagetobegenerated?
A.MQPUTcallfailsbecausethequeueisinhibitedforput.
B.MQINQcallisperformedtogetthecurrentqueuedepth.
C.MQGETfailsbecausethequeueisnotopenforinput.
D.MQPUTfailsbecausethemessageistoobigforthequeue.
E.MQPUTcausesthequeuetobecomefull.
Answer:
AE
5.AnapplicationrunningonWebSphereMQforLinuxhasarequirementtocollectalistofallqueuesonitslocalqueuemanager.WhichofthefollowingverbsisusedtosendtherequestusingtheMQAI?
A.MQSendPCF
B.MQExecute
C.MQINQ
D.MQSendAI
Answer:
B
6.WhenusingWebSphereMQwithMicrosoftTransactionServer(MTS),whichofthefollowingisNOTtrue?
A.WebSphereMQcanworkintheMicrosoftTransactionServer(MTS)environment,andMQIconnectionhandlescanbepooledforefficiency.
B.WebSphereMQcanworkintheMicrosoftTransactionServer(MTS)environment,butonlysupportsasinglephasecommitbyMicrosoftDTC.
C.Handlesinthepoolwillonlybere-allocatedtoaclientwiththesameuserid.
D.AMicrosoftTransactionServer(MTS)applicationwhichcallsWebSphereMQcanalsorununderMicrosoftCOM+unchanged.
Answer:
B
7.WhichofthefollowingstatementsaboutprogramminglanguagessupportedbyWebSphereMQistrue?
A.WebSphereMQapplicationscannotbewritteninVisualBasic.
B.OnCompaqNSK,WebSphereMQapplicationsmustbewritteninTAL.
C.OniSeries,RPGprogrammerscannotuseWebSphereMQfacilities.
D.COBOLcanbeusedtoprogramWebSphereMQapplicationsonWindows2000.
Answer:
D
8.InanewapplicationtobecreatedonWebSphereMQforz/OSV5.3,whichofthefollowingdesigncriteriawillbeinconsistentwiththeuseofqueue-sharinggroups?
A.Allmessagesarebetween16Kand32Kinlength.
B.Thequeuesmustcontainpersistentandnon-persistentmessages.
C.Replyqueuesmustbetemporarydynamicqueues.
D.Eachmessagedependsonthecontentsofthepreviousone.
E.TheSYSTEM.DEFAULT.LOCAL.QUEUEmustberedefinedasshared.
Answer:
CD
9.AWebSphereMQforLinuxforIntelapplicationexchangeslargeXMLmessageswithaWebSphereMQforSunSolarisapplication.Tosendthesemessagesusingmessagesegmentation,whichofthefollowingMUSTthesendingapplicationperform?
A.IssuetheMQPUTwithMQMF_GROUPING_ALLOWEDsetintheMsgFlagsofthemessagedescriptor.
B.IssuetheMQPUTwithMQMF_SEGMENTATION_ALLOWEDsetintheMsgFlagsofthemessagedescriptor.
C.IssuetheMQPUTwithMQPMO_NO_SYNCPOINTintheputmessageoptions.
D.Thiscannotbeperformedbythesendingapplication.
Answer:
B
10.AsolutiondesignrequiresthatJPEGbinaryimagesuptofivemegabytesinlengthbedistributedbyapplicationsrunningonseveralplatforms.Whichofthefollowingisinconflictwiththisdesignrequirement?
A.MQSeriesforCompaqNonStopKernel
B.MQSeriesforOS/2Warp
C.WebSphereMQforLinuxforzSeries
D.WebSphereMQforWindows
Answer:
A
11.AcentralUNIXapplicationisbeingdevelopedtoprovideresponsestorequestsfromuserslocatedatbranchoffices.EachbranchofficehasitsownrequestqueueonthecentralUNIXserver.Thereare20branchoffices.ThecentralUNIXapplicationrunsasasingleprocessusingaseparatethreadforeachrequestqueue.Whichofthefollowingstatementsistrueabouttheimplementationofeachthread?
A.TheconnectionhandlecanbesharedbyusingMQCONNXtoconnecttothequeuemanager.
B.ThreadscannotconnecttothequeuemanagerbyusingMQCONN.
C.TheWebSphereMQimplementationisnotdependentonthePOSIXthreadlevel.
D.MQCMITcallsmustbeissuedbytheparentthread.
Answer:
A
12.InthedesignofasuiteofWebSphereMQmessageapplicationstoberunonmultiplemachines,whenisdataconversionLEASTlikelytobeneeded?
A.Whenthesolutionwillbedeployedinasinglecountry
B.WhentheapplicationswilluseexistingchannelsandtheMQMDFormatspecifiesMQFMT_STRING
C.Whenthemessagesarebeingsentbetweentwoapplicationsonthesamesystem
D.Whenawebbrowserisfront-endingtheWebSphereMQapplications
Answer:
C
13.WhichofthefollowingMQIcallsisusedtostartaQueueManagercoordinatedglobalunitofwork?
A.MQSTART
B.MQSTRTTP
C.MQBEGIN
D.MQSTTRAN
Answer:
C
14.AWebSphereMQapplicationAsendsamessagetoWebSphereMQapplicationBusingthefollowingsettings:
mqput:
syncpoint,non-persistent,expiry=10seconds,format=MQFMT_STRINGApplicationAthenwaitsforthereplymessagefromapplicationBusingthefollowingsettings:
mqget:
syncpoint,waitinterval=10seconds,anyCorrelIdAnymessagesreceivedwhichdonotcorrespondwiththeoutstandingrequestarediscarded.Onreceiptoftheexpectedreply,applicationAcommitsitsmessagingwork.IftheaveragelengthoftimethatapplicationBtakestoprocesstherequestisfiveseconds,whichofthefollowingbehaviorswillapplicationAexhibit?
A.Replymessageswillneverbereceived.
B.Replymessageswilloccasionallyfailtobereceived.
C.Messageswilloccasionallybereceivedinthewrongcodepage.
D.ApplicationAmayoccasionallycauseperformanceproblemsintheapplicationB.
Answer:
A
15.WhichofthefollowingstatementsdescribesthebehaviorofWebSphereMQwhenamessagearrivesthatislargerthanthebufferspecifiedbytheapplicationontheMQGETcalliftheapplicationspecifiedMQGMO_ACCEPT_TRUNCATED_MSG?
A.Themessageisnotremovedfromthequeue.WebSphereMQterminatestheapplicationabnormallyandwritesamessagetothesystemoperator.
B.Themessageisremovedfromthequeueandiscopiedinitsentiretytotheapplication'sbuffer.WebSphereMQreturnstotheapplicationwithacompletioncodeofMQCC_WARNINGtowarntheapplicationthatitmayhavewrittenpasttheendofitsbuffer.ThereasonissettoMQRC_TRUNCATED_MSG_ACCEPTED.
C.Themessageisremovedfromthequeue,andasmuchofitiscopiedtotheapplication'sbufferaswillfit.WebSphereMQreturnstotheapplicationwithacompletioncodeofMQCC_WARNINGandareasonofMQRC_TRUNCATED_MSG_ACCEPTED.
D.Themessageisnotremovedfromthequeue,butasmuchofitiscopiedtotheapplication'sbufferaswillfit.WebSphereMQreturnstotheapplicationwithareturncodeofMQCC_WARNINGandareasonofMQRC_TRUNCATED_MSG_FAILED.
Answer:
C
16.WhichofthefollowingWebSphereMQmanualsdescribestheWebSphereMQsampleprograms?
A.ApplicationProgrammingGuide
B.PlanningGuide
C.ApplicationProgrammingReference
D.SystemAdministrationGuide
Answer:
A
17.ThefollowingCstatementperformsaWebSphereMQoperation:
MQPUT1(Hcon,&odR,&md,&pmo,buflen,buffer,&CompCode,&Reason)Whichofthefollowingstatementsistrue?
A.Hconcontainsthenameofthequeuemanager.
B.Thestructureforthevariablemdiscontainedinthecmqmsg.hheaderfile.
C.Thebuflenvariablespecifieshowmanybytesfromthebuffervariablearetobesentinthemessage.
D.Thiscallissuitableforuseinapplicationsthatsendmanymessagestothesamequeue.
Answer:
C
18.Inwhichofthefollowinglanguagescanaclusterworkloadexitbewritten?
A.COBOL
B.C
C.PL/1
D.System/390?
assembler(WebSphereMQforz/OS)
E.RPG
Answer:
BD
19.Whichofthefollowingstepsarerequiredtoenableanapplicationtobetriggered?
A.Defineappropriatetriggerattributesforthetriggeredqueue.
B.DefineaProcessobjectwhichspecifiestheapplicationtobetriggered.
C.Definetheapplicationtobetriggered.
D.Starttheappropriatetriggerserver.
E.Starttheappropriatetriggermonitor.
F.Modifythetriggermonitortoactivatethisapplication.
Answer:
ABE
20.WhichofthefollowingstepswillallowaWebSphereMQforAIXapplication(runningasusernameuser1)toopenaqueueusingtheauthoritydefinedforadifferentuser(user2)?
A.Grantingalternateuserauthoritytouser1
B.Makinguser2amemberofthemqmgroup
C.SettingtheAlternateUseridfieldoftheobjectdescriptortouser2
D.SettingtheenvironmentvariableMQ_ALTERNATE_USERIDtouser2
E.SettingtheAUTHOREVattributeofthequeuemanagerobjecttoENABLED
Answer:
AC
21.WhatistheMOSTappropriatemethodofinitializingWebSphereMQAPIstructuresinClanguageapplicationprograms?
A.Seteachvalueforeachfieldindividually.
B.UsetheMQSETverbtoassigndefaultvalues.
C.Seteachstructureusingthesupplieddefaultmacrodefinition.
D.Donothingasthestructuresareautomaticallyassigneddefaultvalues.
Answer:
C
22.WhichofthefollowingistheinstallationdirectoryorlibraryfortheWebSphereMQClanguageincludefilesontheAIXplatform?
A./mqm/inc/
B./opt/mqm/inc/
C./usr/mqm/inc
D./usr/mqm/tools/inc
Answer:
C
23.WhichofthefollowingisNOTanadvantageofusingqueuemanagerclustering?
A.Increasedavailabilityofqueuesandapplications
B.Increasedavailabilityofmessagesqueuedonafailingqueuemanager
C.Fasterthroughputofmessages
D.Moreevendistributi