Sie sind auf Seite 1von 32

Cu 1 : Kelly is creating a WCF service. She wants to create a user-defined class and serialize it into an X ! for"at.

Which of the following "ethods should Kelly use to convert an o#$ect into its X ! re%resentation& '. (etSche"a)* +. ,eadX"-)* C. WriteX"l)* .. ,eadWriteX"l)* Cu /: 0oe has created a WC.F service that co""unicates with a client a%%lication over the -nternet. She wants to log the infor"ation related to the conversion of the data e1changed #etween the service and a client a%%lication into a standard for"at. Which of the following trace sources allows 0oe to log "essages& A System. ServiceModel.MessageLogging + Syste".Service odel C Syste".-2.!og . Syste".,unti"e.Serialization Cu 3: 4ou have created a WCF service that uses 5C6 in addition to the 7556 %rotocol to co""unicate with client a%%lications. -n addition8 you want that the service should i"%le"ent features such as %rocess recycling8 idle shutdown8 %rocess health "onitoring8 and "essage-#ased activation. Which of the following o%tions will you choose to host your WCF service& '. --S +. Self-host the service C. W'S .. Windows service Cu 9: Which of the following is an o#$ective of defect re%orts& ' 5o %rovide infor"ation to the "anage"ent to use as an evaluation tool for its test tea". + 5o #ring defects to the attention of the develo%"ent tea" so that the develo%"ent tea" can ac:nowledge and fi1 the defect C 5o find defects in a S.!C . 5o re%ort the technical flaws of the develo%"ent tea". Cu ;: Susan Ward is a software develo%er in Su%ersoft/<<<. She has develo%ed an a%%lication that offers e-co""erce services for transacting #usiness through the -nternet. Which techni=ue should Susan use to test whether the syste" %erfor"s correctly over a continuous %eriod of ti"e& ' !ive testing + 6roduction testing C ,e=uire"ents testing . Co"%liance testing Cu >: 7enry +la:e was assigned the tas: of testing an a%%lication that %rovides auto"ated solutions for the electronic "ar:et%lace. 7enry has to create relevant test cases on the #asis of which test %lans will #e e1ecuted. 7enry has to chec: whether the a%%lication runs successfully on all su%%orted hardware and software environ"ents. -n the e1ecution of which test %lan will the criteria #e satisfied successfully& ' -ntegration 5est 6lan + 'cce%tance 5est 6lan C ?nit 5est 6lan . Syste" 5est 6lan

Cu @: 0ac: is wor:ing as a We# develo%er in +lueS:y 'irlines. 7e has created a WCF service that ena#les the %assengers to view their flight schedules and 6A, status through a We# a%%lication. 0ac: wants that whenever a %assenger logs on the We# a%%lication and accesses the WCF service8 the user na"e and %assword of the %assenger should #e logged. Which of the following code sni%%et will 0ac: use to acco"%lish the %receding tas:& C <system.diagnostics> <sources> <source name="System.ServiceModel.MessageLogging" I ogKnownPi i =" al se">!note" <listeners> <add name=" MyMessage#raceListener" ty$e="System.%iagnostics.&ml'riter#raceListener" initiali(e%ata=" c)*Logs*MyMessageLog+ile.t,t" -> <-listeners> <-source> <-sources> Cu 1<: Which of the following classes s%ecifies whether co"%onents in the asse"#ly run in the a%%licationsB %rocess or in a syste" %rocess& ' '%%lication'ctivation'ttri#ute + Secure ethod'ttri#ute C A$$licationAccessControl Attri.ute . Shared6ro%erty Cu 11: Which of the following ways of hosting aWCF service re=uires "ini"u" infrastructure for de%loy"ent of the service& ' 7osting the service in W'S. + Self-hosting the service. C 7osting the service as Windows service. . 7osting the service in --S. Cu 1/: Which of the following attri#utes will you use to s%ecify that the infor"ation stored in the header of a "essage should only #e logged& ' log alfor"ed essages + logCntire essage C "a1 essages5o!og . log essages't5rans%ort!evel Cu 1D: Which of the following contracts acts as an entry %oint to access a WCF service& ' essage contract + 2%eration contract C Service contract . .ata contract Cu 13: Which of the following encoding ty%es su%%orts 0avaScri%t 2#$ect Aotation )0S2A* and 6lain 2ld X ! )F2X* encoding& '. 5e1t +. +inary C. 52 .. We# essageCncoder Cu 1E: Which of the following ensures =uality in the %roduct #eing develo%ed&

' Fuality %olicy + Fuality assurance C Fuality control . Fuality o#$ectives Cu 19: Which of the following classes %rovided #y the syndication '6- re%resents an author or contri#utor of syndication content& ' SyndicationContent + SyndicationCategory C Syndication6erson . Syndication!in: Cu 1;: Consider the following state"ents: State"ent ': 5he selection of an a%%ro%riate tool is a secondary as%ect of the testing %rocess. State"ent +: 5he selection of an a%%ro%riate tool leads to an ease in the #urden of test %roduction and test e1ecution. Which of the following is correct a#out the a#ove state"ents& ' State"ent ' is False and State"ent + is 5rue. + State"ent ' is 5rue and State"ent + is False. C +oth8 State"ent ' and State"ent +8 are 5rue. . +oth8 State"ent ' and State"ent +8 are False. Cu 1>: What is the %ur%ose for using a defect trac:ing tool& ' .efect 5rac:ing tool is the latest trend in the "ar:et. + .efect 5rac:ing tool o%ti"izes the cost of the software develo%"ent %ro$ect C .efect 5rac:ing tool decreases the %roductivity of the testing tea" . .efect trac:ing tools hel% the develo%"ent and testing tea" to o%en defects effectively. Cu 1@: Consider the following state"ents: State"ent ': 'cce%tance 5esting is conducted to deter"ine if software is fit for the custo"erGs use. State"ent +: 5he conce%t of fit is significant in software testing. Which of the following is correct a#out the a#ove state"ents& ' State"ent ' is False and State"ent + is 5rue. + +oth8 State"ent ' and State"ent +8 are False. C State"ent ' is 5rue and State"ent + is False. . +oth8 State"ent ' and State"ent +8 are 5rue. Cu /<: 5he software testing tea" of Sysnet -nc. is analyzing the results of a software test on an C,6 a%%lication. 5he tea" uses a scatter %lot to study the relationshi% #etween the errors found during the first test cycle and the errors found during the second test cycle. 'fter o#serving the scatter %lot8 the testing tea" concludes that the tested varia#les have no relation. What did the testing tea" o#serve in the scatter %lot& ' .ata %oints cluster in a straight line %arallel to the horizontal a1is of the scatter %lot + .ata %oints cluster in a #and fro" u%%er right to lower left corner of the scatter %lot C .ata %oints do not cluster in a #and

. .ata %oints cluster in a #and fro" u%%er left to lower right corner of the scatter %lot Cu /1: -dentify the %hase in the life cycle of a test %rocess in which the need for an auto"ated tool is recognized. ' C1ecution %hase + Syste" study %hase C Wind-u% %hase . .esign test cases %hase Cu //: Suzanne has created a WCF service using .AC5 Fra"ewor:. She wants to i"%le"ent =ueues in the service for relia#le "essaging. For this8 she has written the following code sni%%et in the We#.config file of the service: HconfigurationI Hsyste".service odelI HservicesI Hend%oint addressJK"s"=: .-,CC5J2S: local hostL%rivateLre=uest=ueueK #indingJK"s"=lntegration>indingK contractJ88 S F'%%.lServiceKIHChu yI HLend%ointI HLserviceI HLservicesI H#indingsI H"s"=lntegration+indingI H#inding na"eJK+indinglK I HL#indingI HL"s"=lntegration+indingI HL#indingsI Cu /D: 5rivia !td. is develo%ing a software a%%lication whose %roduction cost "ight e1ceed the %lanned #udget. 'lso the software a%%lication will have to co"%ete with si"ilar a%%lications in the "ar:et. What ty%e of ris: can the a%%lication face& ' 6re"ature ,elease ,is: + +usiness ,is: C 5esting ,is: . Software ,is: Cu /3: Which of the following advantages of the distri#uted a%%lication architecture allows develo%ers to "odify the functionality of a layer without affecting the other layers& ' Fle1i#ility + ,eusa#ility C Fault tolerance and availa#ility . increased %roductivity Cu /E: 6ro#le": Solution Shares !td has develo%ed software to ena#le online trading of shares. 5his software has to undergo testing in a live environ"ent at the custo"er site. Which is the :ind of testing re=uired to test this software& Solution: +eta testing will #e done on the software as it involves o%erational testing of the software at the custo"er site. 7ow well does the solution address the %ro#le"&

' eets the re=uire"ent #ut is not a desira#le solution + .oes not "eet the re=uire"ent although it a%%ears to wor: C eets the re=uire"ent and is an outstanding solution . eets the re=uire"ent and is a desira#le solution Cu /9: ,ay"ond has develo%ed an a%%lication software for a ,anch to :ee% a record of all the %oultry and horses on the ranch. 5his a%%lication software has lot of uncertainty regarding the correctness of %rocessing in the new a%%lication software8 and the old and new versions of the a%%lication software are si"ilar -dentify the ideal testing techni=ue for %erfor"ing this tas:. ' 6arallel testing + Control testing C intersyste" testing . ,egression testing Cu /;: Consider the following state"ents: State"ent ': 56' is a techni=ue for test effort esti"ation. State"ent +: F6' is a techni=ue for ris: analysis. Which of the following is correct a#out the a#ove state"ents& '. +oth8 State"ent ' and State"ent +8 are False. +. +oth8 State"ent ' and State"ent +8 are 5rue. C. State"ent ' is False and State"ent + is 5rue. .. State"ent ' is 5rue and State"ent + is False. Cu />: Consider the following state"ents: State"ent ': 5he sco%e of test s%ecifies which features of the syste" will #e tested and which features will not #e tested. State"ent +: 5est schedule descri#es the various ty%es of tests to #e conducted to "eet the testing o#$ectives. Which of the following is correct a#out the a#ove state"ents& '. +oth8 State"ent ' and State"ent + are 5rue. +. State"ent ' is False and State"ent + is 5rue. C. +oth8 State"ent ' and State"ent + are False. .. State"ent ' is 5rue and State"ent + is False. Cu /@: 4ou need to serialize the custo"ized class8 +an:.etails8 and its "e"#ers8 'ccountAo and Custo"erAa"e. Which of the following code sni%%ets will you use for this& '. %u#lic class +an:.etails M N.ata e"#erO %u#lic int 'ccountAoP N.ata e"#erO %u#lic string Custo"erAa"eP Q + N.ataContractO %u#lic class +an:.etails M %u#lic int 'ccountAoP %u#lic string Custo"erAa"eP Q C. N.ataContractO Cu D<:

.ic: has to create a ,CS5ful service that dis%lays the details of various car "odels sold #y !u1ury .rive. 5he service should dis%lay the data in the ,SS for"at in the We# feed. For this8 he has written the following code in the service: %u#lic class Service : -Service M %u#lic ,ss/<FeedFor"atter (etCar.etails2 M SyndicationFeed feed J new SyndicationFeed)K!u1ury .rive - Car .etailsK8 KCar .etailsK8null*P Syndicationlte" ite"l J new Syndicationlte")K odel 2neK8 K5his is the content for odel 2neK8 new ?ri)Khtt%:LL1ocalhostLFueryCar.etai-sC-ient'%%L 22l .as%1K*8 K-te"2nel.K8 .ate5i"e.Aow*P !istHSyndicationlte"I ite"s J new !istHSyndicationlte"I<P ite"s.'dd)ite"l*P feed.-te"s J ite"sP Q CaauD1: Which %rocess "odel advocates the use of static testing techni=ues during the early stages of develo%"ent& ' W odel + R odel C Waterfall odel . S%iral odel Cu D/: -n which %hase of 'cce%tance 5esting8 a custo"er "ust ac=uire full :nowledge a#out the software& ' while develo%ing acce%tance decision + While defining the acce%tance criteria C while e1ecuting acce%tance %lan . while develo%ing acce%tance %lan Cu DD: (eorge has created a co"%onent using .AC5 fra"ewor: and hosted it in a server a%%lication. 5he co"%onent uses the 7556 channel to co""unicate with a .AC5 client a%%lication. Which of the following code sni%%ets should (eorge use to register the channel on the server side& S '. 7tt%ServerChannel channelJnew 7tt%ServerChannel)@@D/*P ChannelServices.,egisterChannelFP +. 7tt%ServerChannel channelJnew 7tt%ServerChannel)*P ChannelServices.,egisterChannel )channel*P C. 7tt%ServerChannel channelJnew 7tt%ServerChannel)@@D/*P ChannelServices.,egisterChannel )channel*P .. 7tt%ServerChannel channelJnew 7tt%ServerChannel)@@D/*P ,egisterChannel.ChannelServices)channel*P Cu D3: State"ent ': ,is: analysis ta#le is used to log the results of the ris: analysis %rocess. State"ent +: 5he ris: descri%tion colu"n in the ris: analysis ta#le is used to give a #rief descri%tion ofthe identified ris: and ris:s si"ilar in nature. Which ofthe following is correct a#out the %receding state"ents& ' +oth8 State"ent ' and State"ent +8 are 5rue.

+ +oth8 State"ent ' and State"ent +8 are False. C State"ent ' is 5rue and State"ent + is False. . State"ent ' is False and State"ent + is 5rue. Cu DE: Which of the following values of the transaction isolation level s%ecifies that the te"%orary or unco""itted data cannot #e read during the transaction8 #ut can #e "odified& ' Sna%shot + ?ns%ecified C ,eadCo""itted . ,eadllnco""itted Cu D;: Which of the following values of the %erfor"anceCounters attri#ute s%ecifies the infor"ation %rovided #y the Service odelService8 Service odelCnd%oint8 and Service odel2%eration %erfor"ance counters& ' Service2nly + off C 'll . 2n Cu D>: C2 stands for ' Co""on 2#$ect odel. + Code 2riented odel. C Co"%onent 2#$ect odel. . Co""only ?sed 2#$ect odel. Cu D@: -nfinity !td. is develo%ing a %ayroll syste". 5he syste" has to #e delivered to the client in three "onths. 5he %ro#a#ility that the %ro$ect will e1ceed its deadline has a value <.; on the rating scale and the i"%act of the ris: has the value D.What is the ris: factor for the ris:& ' D + <.; C < . /.1 Cu 3<: C2 stands for C Co""on 2#$ect odel. C Code 2riented odel. C Co"%onent 2#$ect odel. C Co""only ?sed 2#$ect odel. Cu 31: !iza is creating a WC.F service that "ust i"%le"ent transactions. She has set the transactionFlow attri#ute of the #inding ele"ent to true. Which of the following values of the 5ransactionFlow2%tion %ro%erty should she use to acco"%lish the %receding tas:& C 'llowed C andatory C Aot'llowed C ?ns%ecified 3/: Which of the following is an o#$ective of defect re%orts& ' 5o find defects in a S.!C

+ 5o #ring defects to the attention of the develo%"ent tea" so that the develo%"ent tea" can ac:nowledge and fi1 the defect C 5o %rovide infor"ation to the "anage"ent to use as an evaluation tool for its test tea". . 5o re%ort the technical flaws of the develo%"ent tea". 3D: 4ou have created a We# service for car "anufacturing co"%any. 5he service ena#les the distri#utors of the co"%any to retrieve the details of a "odel of a car #y %roviding its "odel no. For this8 you wrote the following code sni%%et in the client a%%lication: %rotected void #tnShowTClic:)o#$ect sender8 Cvent'rgs e* M Service o#$ J new Service)*P .ataSet ds2#$ J Fuery odel)t1t odelAo.5e1t*P if )ds2#$.5a#lesN<O.,ows.Count JJ <* M -#l essage.5e1t J K odel Aot 'vaila#leKP Q else M (ridRiewl ..ataSource J ds2#$.5a#lest)*OP -#l essage.5e1t J KKP Q (ridRiewl ..ata+ind)*P Q a%%lication. Which of the following code sni%%ets will you use to e1ecute the a%%lication successfully& ' %rotected void #tnShowTClic:)o#$ect sender8 Cvent'rgs e* HFueryWe#,ef.Service o#$ J new FueryWe#,ef.Service)*P .ataSet ds2#$ J FueryWe#,ef.Service.Fuery odel)t1t odelAo.5e1t*P if )ds2#$.5a#lesN<O.,ows.Count JJ <* M -#l essage.5e1t J K odel Aot 'vaila#leKP Q else M (ridRiewl ..ataSource J ds2#$.5a#lesN<OP -#l essage.5e1t J KKP Q (ridRiewl ..ata+ind)*P Q

%rotected void #tnShowTClic:)o#$ect sender8 Cvent'rgs e*

Service o#$ J new FueryWe#,ef.Service)*P .ataSet ds2#$ J o#$.Fuery odel)t1t odelAo.5e1t*P if )ds2#$.5a#lesNFO.,ows.Count JJ <* M -#l essage.5e1t J K odel Aot 'vaila#leKP Q else M (ridRiewl ..ataSource J ds2#$.5a#lestN<OP

-#l essage.5e1t J KKP Q (ridRiewl ..ata+ind2P Q C %rotected void #tnShowTClic:)o#$ect sender8 Cvent'rgs e* M FueryWe#,ef.Service o#$ J new Service)*P .ataSet ds2#$ J o#$.Fuery odel)t1t odelAo.5e1t*P if )ds2#$.5a#lesN<O.,ows.Count JJ <* M -#l essage.5e1t J K odel Aot 'vaila#leKP Q else M (ridRiewl ..ataSource J ds2#$.5a#lestN<OP -#l essage.5e1t J KKP Q (ridRiewl ..ata+ind)*P Q . %rotected void #tnShowTClic:)o#$ect sender8 Cvent'rgs e* M FueryWe#,ef.Service o#$ J new FueryWe#,ef.Service)*P .ataSet ds2#$ J o#$.Fuery odel)t1t odelAo.5e1t*P if )ds2#$.5a#lesN)*O.,ows.Count JJ <* M -#l essage.5e1t J K odel Aot 'vaila#leKP Q else M (ridRiewl ..ataSource J ds2#$.5a#lestN<OP -#l essage.5e1t J Q (ridRiewl ..ata+ind)*P Q Cu 33: 6ro#le": 6erfect Solutions has develo%ed a 0ava code8 which #ehaves differently for in%uts of the sa"e class with different varia#les. Which test case design techni=ue should #e used to %erfor" testing on this 0ava code& Solution: +oundary value analysis techni=ue should #e used as it does a thorough chec: at the #oundary values of a class. 7ow well does the solution address the %ro#le"& ' eets the re=uire"ent and is an outstanding solution + eets the re=uire"ent and is a desira#le solution C eets the re=uire"ent #ut is not a desira#le solution . .oes not "eet the re=uire"ent although it a%%ears to wor: Cu 3E: Consider the following state"ents: State"ent ': etrics can serve as a #asis for cost esti"ating8 training %lanning8 resource %lanning8 scheduling8 and #udgeting. State"ent +: 5est "etrics can #e directly o#serva#le =uantities or can #e derived fro" one or "ore directly o#serva#le =uantities. Which of the following is correct a#out the a#ove state"ents&

' State"ent ' is 5rue and State"ent + is False. + +oth8 State"ent ' and State"ent + are False. C State"ent ' is False and State"ent + is 5rue. . +oth8 State"ent ' and State"ent + are 5rue. Cu 39: 4ou want to create a co"%onent using .AC5 Fra"ewor: and want to i"%le"ent the $ust-in-ti"e-activation service in the co"%onent. Which of the following ste%s will you %erfor" to acco"%lish the %receding tas:& 1. C1%and the Co"%onents node. /. Clic: the 'ctivation ta# in the 6ro%erties dialog #o1. D. C1%and the Co"%onent ServicesUICo"%utersUI yCo"%uterU IC2 V '%%lications node in the Co"%onent Services window. 3. ,ight-clic: the co"%onent in the a%%lication8 and then select 6ro%erties. E. Select the Cna#le 0ust -n 5i"e 'ctivation chec: #o1 and clic: the 2K #utton. 9. C1%and the C2 V a%%lication in which you want to i"%le"ent 0-5 service. ' + C . Ste% DUI Ste% 1 UI Ste% 9UI Ste% 3UI Ste% /UI Ste% E ste% DUI Ste% 9UI Ste% 1 UI Ste% /UI Ste% 3UI Ste% E Ste% DUI Ste% 9UI Ste% 3UI Ste% 1 UI Ste% /UI Ste% E Ste% DUI Ste% 9UI Ste% 1 UI Ste% 3UI Ste% /UI Ste% E

Cu 3;: 4ou are creating a WCF service that co""unicates with another WCF service. 4ou want that the data transferred #etween the services should #e encoded. Which of the following encoding ty%es will you use to encode the data& ' +inary + 52 C We# essageCncoder . 5e1t Cu 3>: 0ohn is creating aWCF service and i"%le"ented "essage-level security in the service to secure the co""unication. For this8 he has written the following code sni%%et in the We#.config file of the service: H#indingsI Hws7tt%+indingI c#inding na"eJKSecurity+y essageKI Hsecurity "odeJK essageKI HclientCredential5y%eJKCertificate;I HLsecurityI HL#indingI HLws7tt%+indingI HL#indingsI 7owever8 while e1ecuting the service an error occurred. Which of the following code sni%%ets will 0ohn use to rectify the error and e1ecute the service successfully& '.Hsyste".service odelI HdiagnosticsI H"essagelTogging logCntire essageJKtrueK "a1 essages5o!ogJKE<K log essages'tService!evelJKtrueK log essages't5rans%ort!evelJKtrueK - og al for" ed essagesJKtrue; I HLdiagnosticsI

HLsyste" .service odel I + .Hsyste".servi ce odel I HdiagnosticsLI H"essage!ogging logCntire essageJKtrueK "a1 essages5o!ogJKE<K log essages'tService!evelJKtrueK log essages't5rans%ort!evelJKtrueK - og al for" ed essagesJKtrueWR I HLsyste".service odel I C. Hsyste".service odelI Hdiagnostics "essage!oggingI HlogCntire essageJKtrueK "a1 essages5o!ogJKE<K - og essages'tServi ce!evel JKtrueK - og essages't5rans%ort!evel JKtrueK - og al for" ed essagesJKtrue; I HLdiagnosticsI HLsyste".service odelI .. Hsyste".service odelI Hdiagnostics "essage!ogging logCntire essageJKtrueK "a1 essages5o!ogJKE<K - og essages'tServi ce!evel JKtrueK - og essages't5rans%ort!evel JKtrueK - og al for" ed essagesJKtrueW; I HLdiagnosticsI 4ou have created a WCF service that ena#les the e"%loyees of your organization to retrieve infor"ation fro" the organizationBs data#ase. Aow8 you want to log the "essages transferred #etween the service and the client a%%lications over the networ:. Which of the following code sni%%ets will you use to log "essages& '. Hsyste".service odelI HdiagnosticsI c"essage!ogging logCntire essageJKtrueK "a1tvlessages5o!ogJKE<K log essages'tService!evelJKtrueK log essages't5rans%ort!evelJ88trueK log alfor"ed essagesJKtrue;I HLdiagnosticsI HLsyste". service odelI + Hsyste".service odelI HdiagnosticsLI c"essage!ogging logCntire essageJKtrueK "a1 essages5o!ogJKE<K log essages'tService!evelJKtrueK log essages't5rans%ort!evelJKtrueK log alfor"ed essagesJKtrue;I HLsyste".service odelI C Hsyste".service odelI Hdiagnostics "essage!oggingI HlogCntire essageJKtrueK "a1 essages5o!ogJKE<K - og essages'tServi ce!evel JKtrueK - og essages't5rans%ort!evel JKtrueK - og al for" ed essagesJKtrue; I HLdiagnosticsI HLsyste".service odelI . Hsyste".service odelI Hdiagnostics "essage!ogging logCntire essageJKtrueK "a1 essages5o!ogJKE<K - og essages'tServi ce!evel JKtrueK - og essages't5rans%ort!evel JKtrueK - og al for" ed essagesJKtrueW; I HLdiagnosticsI

HLsyste".service odelI Cu 3@: Which of the following WCF serialization classes can #e used only when #oth the serializing and deserializing ends share the sa"e C!, ty%es& C .ataContract0sonSerializer C Aet.ataContractSerializer X"lSerializer C .ataContractSerializer Cu E<: 7enry +la:e was assigned the tas: of testing an a%%lication that %rovides auto"ated solutions for the electronic "ar:et%lace. 7enry has to create relevant test cases on the #asis of which test %lans will #e e1ecuted. 7enry has to chec: whether the a%%lication runs successfully on all su%%orted hardware and software environ"ents. -n the e1ecution of which test %lan will the criteria #e satisfied successfully& '. -ntegration 5est 6lan +. Syste" 5est 6lan C. 'cce%tance 5est 6lan .. ?nit 5est 6lan Cu E1: -dentify the %erson res%onsi#le for defining the acce%tance criteria of a software. ' .evelo%er + 5est anager C 5ester . Custo"er Cu E/: '+ Cor%. has develo%ed a server-#ased a%%lication. 5he develo%ers at '+ need to test the a%%lication for its res%onse ti"e during %ea: hours8 when the nu"#er of users logging on to the a%%lication is the highest. Which testing "ethod should the develo%ers use& C 2%erations testing C C1ecution testing C ,ecovery testing C Stress testing Cu ED: Sa" a develo%er has develo%ed an a%%lication software for 5ools /<<<8 which :ee%s trac: of the ti"e s%ent #y each e"%loyee on the different %ro$ects allocated. 'n e1ternal tea" is re=uired to review the functioning of the a%%lication software. Which :ind of testing should #e conducted to ensure an e1ternal code review of the code& C S"o:e testing C +eta testing C Static testing C 'l%ha testing Cu E3: Which of the following is the e1it criteria for e1ecuting ?nit test %lans& ' chec: whether or not the control is %assed fro" one su#%rogra" to another in accordance with the %rogra" s%ecifications + 5est the client co"%onents C Confir" that the a%%lication runs successfully on all su%%orted hardware and software environ"ents . Chec: the accuracy of the out%ut interface file Cu EE:

Sa" has created a co"%onent using .AC5 Fra"ewor:. 7e has created a server a%%lication to host the co"%onent and written the following code sni%%et in the server a%%lication to register a re"ote o#$ect: ,e" oti ngConfiguration.,egisterWel-KnownService5y%e )ty%eof),e"ote2#$ect.Classl*8K,e"ote2#$ectK8 Wel-Known ode.SingleCal-*P 7owever8 while co"%iling the server a%%lication he received an error in the a%%lication. Which of the following o%tions is the correct solution& ' 5he second %ara"eter should #e the na"e of the class of the co"%onent. + 5he ty%eof %ara"eter should have "ethod of the co"%onent as argu"ent. C 5he "ethod to register the o#$ect should #e ,egi sterWel-KnownService. . 5he third %ara"eter should #e WellKnown2#$ect ode. Cu E9: Which of the following classes s%ecifies whether co"%onents in the asse"#ly run in the a%%licationsB %rocess or in a syste" %rocess& ' '%%lication'ctivation'ttri#ute + '%%lication'ccessControl 'ttri#ute C Secure ethod'ttri#ute . Shared6ro%erty Cu E;: Which of the following co"%rises of a ste%-#y-ste% %rocedure of the actions to #e ta:en in a test %rocess& C 5est Scri%t C 5est Strategy C 5est Condition C 5est .ata Cu E>: Consider the following state"ents: State"ent ': ' 5est anager should effectively use constructive criticis" as a tool to i"%rove the %erfor"ance of the tea" "e"#ers. State"ent +: ' 5est anager should #e reactive in %roviding constructive criticis". Which of the following is correct a#out the a#ove state"ents& C +oth8 State"ent ' and State"ent +8 are False. C +oth8 State"ent ' and State"ent +8 are 5rue. C State"ent ' is 5rue and State"ent + is False. C State"ent ' is False and State"ent + is 5rue. Cu E@: 0oe has created a WCF service that co""unicates with a client a%%lication over the -nternet. She wants to log the infor"ation related to the conversion of the data e1changed #etween the service and a client a%%lication into a standard for"at. Which of the following trace sources allows 0oe to log "essages& C Syste". Service odel. essage!ogging C Syste".-2.!og C Syste".Service odel C Syste".,unti"e.Serialization Cu 9<: ' ,CS5ful service is a collection of that contain the data or infor"ation to #e sent to a client a%%lication. C .ata C ,esources C S2'6 %ac:ets C We# feeds Cu 91: Consider the following state"ents:

State"ent ': -nstallation testing chec:s the software installed on the syste". State"ent +: .ocu"entation testing chec:s the accuracy of docu"ents. Which of the following is correct a#out the %receding state"ents& C +oth8 State"ent ' and State"ent +8 are False. C State"ent ' is False and State"ent + is 5rue. C +oth8 State"ent ' and State"ent +8 are 5rue. C State"ent ' is 5rue and State"ent + is False. Cu 9/: 0i" orrison was as:ed to test a software develo%ed #y 7, Syste"s -nc. 5he software %rovides auto"ation solutions for "anaging the 7, de%art"ent of the co"%any. While testing the software8 0i" found that certain features of the software were not functioning according to the standards and guidelines %rovided #y the client. While co""unicating these errors to the develo%"ent tea"8 which ste% should #e %erfor"ed #y 0i" that will deter"ine the cause of the software %ro#le"s& C identify the %rocedures used in %roducing the condition. C identify the flow of infor"ation leading to the condition. C identify the state"ent of condition. C identify the resources used for %roducing the condition. Cu 9D: Which of the following =ualities should a software tester have& C 6leasing %ersonality C Creativity C (ood docu"entation s:ills C (ood %resentation s:ills Cu 93: 5he 5Channel attri#ute of the ChannelFactoryo class re%resents aLan C Cnd%oint address of the service C ethod of the service C Class of the service C 5he na"e of the interface of the service Cu 9E: Which of the following is A25 a test effort esti"ation techni=ue& K6' 56' 6ara"etric "odeling F6' Cu 99: Which of the following defines the sco%e of the testing activity& C 5est S%ecifications C 5est 6lan ,eview C 5est 6lan C 5est 6rocedure Cu 9;: Consider the following state"ents: State"ent ': 5est effort esti"ation is the res%onsi#ility of a test "anager. State"ent +: 5he test effort esti"ate hel%s in deter"ining the nu"#er of testers and ti"e re=uired for software testing. Which of the following is correct a#out the a#ove state"ents& C +oth8 State"ent ' and State"ent +8 are 5rue. C State"ent ' is False and State"ent + is 5rue. C +oth8 State"ent ' and State"ent +8 are False. C State"ent ' is 5rue and State"ent + is False. Cu1 :

0o# Solutions -nc. has develo%ed a we# site for online a%%lication for $o#s. .uring software acce%tance testing8 it was found that so"e of the features in the software were not functioning as %er the acce%tance criteria. 's a result8 the custo"er was not satisfied with the final %roduct and re$ected the software. -dentify the #est strategy that should have #een i"%le"ented #y 0o# Solutions for "eeting the acce%tance criteria. 1identifying the #usiness standards and %rocedures for software develo%"ent /.etecting software defects early during develo%"ent DConsidering custo"erGs re=uire"ents early during software develo%"ent 3%re%aring a%%ro%riate test facilities Cu/ : 4ou have created a WCF service and hosted it as a Windows service so that it starts auto"atically when the userBs co"%uter starts and sto%s auto"atically when the co"%uters shuts down. 5o ena#le the user to access the service8 you also need to create a client a%%lication. Which of the client a%%lications will you create to access the service& C Console client a%%lication C 0ava client a%%lication C 'S6.AC5 client a%%lication C Windows client a%%lication CuD : Which of the following is an effective techni=ue for resolving disagree"ent in a defect ac:nowledge"ent %rocess& C eetings #etween the testing and develo%"ent tea"s to deter"ine the understanding of the defects C5he custo"er using the software deter"ines whether or not the %ro#le" is a defect. C5he develo%"ent tea" ignores the defect as the testing tea" is only "eant to find defects Ca senior "anager of the software develo%"ent %ro$ect su%%orts the develo%"ent tea" to ignore defect. Cu 3: ,ay"ond has develo%ed an a%%lication software for a ,anch to :ee% a record of all the %oultry and horses on the ranch. 5his a%%lication software has lot of uncertainty regarding the correctness of %rocessing in the new a%%lication software8 and the old and new versions of the a%%lication software are si"ilar -dentify the ideal testing techni=ue for %erfor"ing this tas:. C intersyste" testing C 6arallel testing C Control testing C ,egression testing CuE : .-dentify the %erson res%onsi#le for identifying the critical success factors of a software in the %ro$ect %lan. C .evelo%er C Custo"er C 6ro$ect anager C 5ester Cu 9: Which of the following values of the -"%ersonation2%tion %ro%erty s%ecifies that i"%ersonation is i"%le"ented when a client %rovides its credentials to the service& C ,e=uired C 'llowed

C Aot,e=uired C Aot'llowed Cu ;: Consider the following state"ents: State"ent ': 6eriodic review of software %ro$ects hel%s to identify %otential ris:s to future %ro$ects and their test %rocess. State"ent +: 5he %lan of the software %ro$ect can #e reviewed to gather relevant infor"ation Which of the following is correct a#out the %receding state"ents& CState"ent ' is 5rueand State"ent + is False. C+oth8 State"ent ' and State"ent +8 are 5rue. CState"ent ' is False and State"ent + is 5rue. C+oth8 State"ent ' and State"ent +8 are False. Cu >: .avid has created a WCF service that is accessed #y "ulti%le users over the -nternet and over an -ntranet. 7e has i"%le"ented "essage logging in the service to trac: the "essages received and sent #y the service. 5he infor"ation related to the logged "essages is critical and confidential. Which of the following security concerns .avid should consider to secure the infor"ation fro" the "ulti%le users& CS%ecify a %ath for the log file location that should #e inside the We# host %u#lic directory. CChoose a file e1tension that can #e easily to a user. CCnsure that the log or te1t files are %rotected #y 'ccess Control !ists. C Set the logKnown6ii attri#ute to false Cu@ : 6ro#le": Aet Solutions !td has develo%ed a software to create 75 ! %ages without coding. 2%erations testing needs to #e carried out on the software. 5he test "anager needs a docu"ent to #ring together all the i"%ortant infor"ation a#out testing8 including an assess"ent of how well the testing has #een done8 the nu"#er of incidents raised and an assess"ent of the =uality of the syste". Which :ind of docu"ent should the test "anager %re%are to assi"ilate all this infor"ation& Solution: 5he test "anager should %re%are a test log. 7ow well does the solution address the %ro#le"& C eets the re=uire"ent and is a desira#le solution C eets the re=uire"ent and is an outstanding solution C eets the re=uire"ent #ut is not a desira#le solution C .oes not "eet the re=uire"ent although it a%%ears to wor: Cu1< : .-nfinity Solutions is develo%ing a voice recognition syste". ' sister concern of the co"%any has tested a si"ilar a%%lication. 5he testing tea" of -nfinity Solutions wants to use the e1%erienced testers of the sister concern for identifying ris:s that can occur during testing. Which ris: identification tool will these e1%erience testers use in this case& C 2#servation C Survey C interview C Chec:list Cu 11: 6eter Coo%er has recently #een a%%ointed as the 5est anager in -C-S !td. and has to "anage a staff of /E certified testers. 6eter soon realized that there were ego %ro#le"s a"ong the tea" "e"#ers. oreover8 the attitude of the tea" "e"#ers was affecting the %ro$ect. 6eter decided to %oint out this issue at the

wee:ly %ro$ect u%date "eetings. Which =uality of the tea" "e"#er is lac:ing in 6eterGs tea" "e"#ers& C 6roviding infor"ation effectively C 6roviding constructive criticis" C .e"onstrating %ersonal effectiveness C .e"onstrating leadershi% =ualities Cu 1/: !ara8 a distri#uted a%%lication develo%er8 has develo%ed a WCF service to chec: the usage of FaultContract. She has written the following code sni%%et in the WCF service: NServiceContractO %u#lic interface -Service M N2%erationContractO NFaultContract)ty%eo f) yFaultC1ce%tion**O .ataSet(etC"%.etails)intC"%-.*P Q N.ataContractO %u#lic class yFaultC1ce%tion M %u#lic string error essageP Q Co"%iling the WCF senvice does not %roduce any error. 7owever8 !ara is una#le to access the error essage varia#le in the client a%%lication. What could #e the reason& C 5he yFaultC1ce%tion class should #e attri#uted with FaultContract. C 5he error essage varia#le should #e attri#uted FaultContract. C 5he error essage varia#le should #e attri#uted with .ata e"#er. C 5he yFaultC1ce%tion class should #e attri#uted with 2%erationContract. Cu 1D: Consider the following state"ents: State"ent ': 5est %rocedure s%ecification docu"ent is solely develo%ed fro" the test case s%ecification docu"ent. State"ent +: 5he test %rocedure s%ecification docu"ent descri#es how a tester will %hysically %erfor" a test8 the %hysical set-u% re=uired8 and the %rocedural ste%s that should #e followed to %erfor" the test. Which of the following is correct a#out the a#ove state"ents& CState"ent ' is False and State"ent + is 5rue. C+oth8 State"ent ' and State"ent +8 are False. CState"ent ' is 5rueand State"ent + is False. C+oth8 State"ent ' and State"ent +8 are 5rue. Cu 13: Which of the following is the first ste% in test effort esti"ation& C.evelo%ing a test %lan strategy Cidentifying co"%onents that need to #e tested CCo"%uting the size of the a%%lication Cidentifying the tas:s to #e %erfor"ed Cu 1E: Consider the following state"ents: State"ent ': ' 5est anager should criticize a tea" "e"#er on a one-to-one #asis8 %refera#ly in a neutral location. State"ent +: ' 5est anager should criticize a tea" "e"#er8 without considering the %ast %erfor"ance of the tea" "e"#er. Which of the following is correct a#out the a#ove state"ents& C+oth8 State"ent ' and State"ent +8 are 5rue.

C+oth8 State"ent ' and State"ent +8 are False. CState"ent ' is False and State"ent + is 5rue. CState"ent ' is 5rue and State"ent + is False. Cu 19: . X ' software solution -nc. is currently develo%ing a software a%%lication for Kewl Shi%s !td.8 which is a shi% designing organization. 5he sta:eholders need to :now the average ti"e %eriod after which a defect occurs in the software %ro$ect #ecause the accurate functioning of this software is very critical. Which "etric should #e gathered& C Cyclo"atic Co"%le1ity C .. r 55F c .,C Cu 1;: Which of the following #indings su%%orts "essage =ueuing& Cnet6eer5c%+inding Cnet s"=+inding CnetAa"ed6i%e+inding Cnet5c%+inding Cu 1>: Consider the following state"ents: State"ent ': 5he tester while creating test cases esti"ates the e1%ected test results8 whereas8 the actual test results occur during e1ecution of these test cases. State"ent +: When the tester e1ecutes a test scri%t8 the tester "ust #e aware of the test conditions8 the general test o#$ectives8 and the s%ecific test o#$ectives listed for that test scri%t. Which of the following is correct a#out the a#ove state"ents& CState"ent ' is 5rue and State"ent + is False. C+oth8 State"ent ' and State"ent +8 are False. C+oth8 State"ent ' and State"ent +8 are 5rue. CState"ent ' is False and State"ent + is 5rue. Cu 1@: 0an atthews has #een assigned to test a 0ava a%%lication develo%ed #y 0ava a1 Cor%. For a %articular 0ava code8 -an re=uires sufficient nu"#er of test cases to verify whether each condition affects the result of its enco"%assing decision. Which Code Coverage "easure is #est suited for this situation& C Condition Coverage C ulti%le ConditionL.ecision Coverage C .ecision Coverage C ConditionL.ecision Coverage Cu/1 : Which of the following WCF serialization classes can #e used only when #oth the serializing and deserializing ends share the sa"e C!, ty%es& CAet.ataContractSerializer C.ataContract0sonSerializer C.ataContractSerializer CX"lSerializer Cu /1: Which of the following %hases in the 5esting !ife Cycle involves evaluating software =uality using "etrics& C Fuantitative "easure"ent C 6lanning %rocess

C .efect trac:ing and "anage"ent C ,is: analysis Cu //: Which do"ain of software testing involves large enter%rises using co"%le1 a%%lications to "anage and integrate #usiness %rocesses across "ulti%le divisions and organizational #oundaries& C +usiness ,eengineering C Cnter%rise ,esource 6lanning C C-Co""erce C Knowledge anage"ent Cu/D : Which of the following classes s%ecifies whether co"%onents in the asse"#ly run in the a%%licationsB %rocess or in a syste" %rocess& C Shared6ro%erty C '%%lication'ctivation'ttri#ute C '%%lication'ccessControl 'ttri#ute C Secure ethod'ttri#ute Cu /3: -n which ty%e of a%%lication architecture8 the data access layer is divided into data access layer and data layer& C A-tier architecture C 5hree-tier architecture C Single-tier architecture C 5wo-tier architecture Cu /E: Consider the following state"ents: State"ent ': F6' is used to esti"ate the size of a test effort. State"ent +: 56' is used to esti"ate the size of a software a%%lication. Which of the following is correct a#out the a#ove state"ents& CState"ent ' is 5rue and State"ent + is False. C+oth8 State"ent ' and State"ent +8 are 5rue. C+oth8 State"ent ' and State"ent +8 are False. CState"ent ' is False and State"ent + is 5rue. Cu /9: 4ou have created a WCF service that co""unicates with a "ulti%le Windows a%%lications si"ultaneously. 4ou wanted your service to use 5C6 %rotocol to interact with the client a%%lications. For this8 you have created a custo"ized channel listener that listens to the re=uest #y using the following code sni%%et: Custo"+indingc# J new Custo"+inding2P c#.Cle"ents.'dd)new 5c%5rans%ort+indingCle"ent2*P -Channel!istenerH-,e%lyChannelIlisJ c#.+uildChannel!istenerH-,e%lyChannelI)new ?ri)Knet.tc%LL local host: ><<<L yWCFServiceK*8 new +inding6ara"eterCollection2*P lis.2%en2P -,e%lyChannelre%chnl J lis.'cce%tChannel2P re%chnl.2%en2P ,e=uestConte1trc J re%chnl.,eceive,e=uest2P essage re="es J rc.,e=uest essageP rc.,e%ly)re%"es*P re="es.Close2P essage re="es J rc.,e=uest essageP rc.,e%ly)re%"es*P re="es.Close2P rc.Close2P

re%chnl.Close2P s.Close2P 'fter writing the %receding code sni%%et in the service and e1ecuting it8 you find that an error occurs in the service. Which of the following code sni%%ets will you use to rectify the error and e1ecute the service successfully& 1.Custo"+indingc# J new Custo"+inding2P c#.Cle"ents.'dd)new 5c%5rans%ort+indingCle"ent2*P -Channel!istenerH-,e%lyChannelI s J c#.+uildChannel!istenerH-,e%lyChannelI)new ?ri)Knet.tc%LL local host: ><<<L yWCFServiceK*8 new +inding6ara"eterCollection2*P lis.2%enFP / .Custo"Yindingc# J new Custo"Yinding2P c#.Cle"ents.'dd)new 5c%5rans%ortYindingCle"ent2*P -Channel!istenerH-,e%lyChannelIlis J c#.YuildChannel!istenerH-,e%lyChannelI)new ?ri )KnetZtc%LLlocal host: ><<<L yWCFSeiviceK*8 new +inding6ara"eterCollection2*P lis.2%en2P re%chnl.2%en2P ,e=uestConte1trc J re%chnl.,eceive,e=uest2P essage re="es J rc.,e=uest essageP essage re%"es J essage.Create essageC essage CreatedK*P rc.,e%ly)re%"es*P re="es.Close2P rc.Close2P re%chnl[Close\P lis.Close2P D. Custo"+indingc# J new Custo"Yinding2P c#.Cle"ents.'dd)new 5c%5rans%ortYindingCle"ent2*P -Channel!istenerH-,e%lyChnnelIlis J c#.+uildChannel!istenerH-,e%lyChannelI)new ?ri )KnetZtc%LLlocal host: ><<<L yWCFSenLiceK*8 new +inding6ara"eterCollection2*P -,e%lyChannelre%chnl J s.'cce%tChannel2P re%chnl.2%en2P ,e=uestConte1trc J re%chnl.,eceive,e=uest2P essage re="es J rc.,e=uest essageP essage re%"es J essage.Create essageC essage CreatedK*P rc.,e%ly)re%"es*P re="es.Close2P rc]Close2P re%chnl.Close2P lis.Close2P 3 .Custo"Yindingc# J new Custo"Yinding2P c#.Cle"ents.'dd)new 5c%5rans%ort+indingCle"ent2*P -Channel!istenerH-,e%lyChnnelIlis J c#.YuildChannel!istenerH-,e%lyChannelI)new ?ri )Knet.tc%LLlocal host: ><<<L yWCFService8"*8 new +inding6ara"eterCollection2*P lis.2%en2P -,e%lyChannelre%chnl J s.'cce%tChannel2P re%chnl.2%en2P

essage re="es J rc.,e=uest essageP essage re%"es J essage.Create essageC essage CreatedK*P rc.,e%iy)re%"es*P re="es^Cl_se2P rc.Close2P re%chnl.Close2P lis.Close2P Cu/; : Which of the following ensures =uality in the %roduct #eing develo%ed& C Fuality control C Fuality o#$ectives C Fuality assurance C Fuality %olicy Cu />: 4ou have created a WCF service and i"%le"ented trans%ort-level security. 4ou want that the userna"e and %assword %rovided #y a client accessing the service should #e authenticated against the 'ctive .irectory. Which of the following values of the clientCredential5y%e attri#ute will allow you to do this& C +asic C Certificate C Windows C Aone Cu /@: Which of the following o%tions is an o%erating syste" service e"#edded in --S ;.< that is the #uilt-in We# server for Windows Rista& C .AC5 a%%lication C S r was C Windows service CuD< : Which of the following values of the %erfor"anceCounters attri#ute s%ecifies the infor"ation %rovided #y the Service odelService8 Service odelCnd%oint8 and Service odel2%eration %erfor"ance counters& 1 2n / '!! D. off 3. Service2nly Cu D/: 4ou are creating a WCF service that needs to #e accessed #y an '0'X-ena#led We# a%%lication. Which of the following WCF serialization classes will you use to serialize and deserialize an o#$ect of the service into a standard for"at to ena#le the service to co""unicate with the a%%lication& C Aet.ataContractSerializer C .ataContractSerializer C X"lSerializer C .ataContract0sonSerializer Cu DD: 4ou are creating a WCF service that needs to #e accessed #y an '0'X-ena#led We# a%%lication. Which of the following WCF serialization classes will you use to serialize and deserialize an o#$ect of the service into a standard for"at to ena#le the service to co""unicate with the a%%lication& C Aet.ataContractSerializer C .ataContractSerializer C X"lSerializer

C .ataContract0sonSerializer Cu D3: Consider the following state"ents: State"ent ': 6areto voting is #ased on %areto %rinci%le. State"ent +: 6areto %rinci%le states that /<` of the %ro#le"s result fro" ><` of the %ossi#le causes. Which of the following is correct a#out the a#ove state"ents& C+oth8 State"ent ' and State"ent +8 are 5rue. C+oth8 State"ent ' and State"ent +8 are False. CState"ent ' is False and State"ent + is 5rue. CState"ent ' is 5rue and State"ent + is False. Cu DE: 0i" has created a co"%onent using .AC5 Fra"ewor:. 7e wants that when a client a%%lication accesses the co"%onent8 a co%y of the re"ote o#$ect of the co"%onent is created and %assed to the client a%%lication. Which of the following code sni%%ets will 0i" use to acco"%lish the %receding tas:& 1L NSerializa#le 'ttri#uteO %u#lic class Classl M Q /L %u#lic class Classl : arshal +y,ef2#$ect M Q D. N arshal +y,ef2#$ectO %u#lic class Class M Q Cu DE: Which of the following 7556 "ethods is used to transfer a file over the We#& 1 6?5 / .C!C5C DS (C5 3 %ost Cu D9: 'l#ert has created a WCF service that acce%ts two nu"#ers fro" the user and divides the first nu"#ers with the second. While creating the service8 he realized that there "ight #e a %ossi#ility that the second nu"#er "ay #e zero. 5his "ay cause an error. 5o handle this error8 'l#ert needs to i"%le"ent e1ce%tion handling in the service. Which of the following code sni%%et will he use to dis%lay the reason and code for the error& 1L %u#lic int.ivide)int nu"erator8 int deno"inator* M if )deno"inator JJ <* M throw new FaultC1ce%tion)Fault,eason)K' nu"#er cannot #e divided #y zero.K*8 FaultCode)new FaultCode)K.ivide+y/eroC1ce%tionK***P Q return nu"erator L deno"inatorP Q /L%u#lic int.ivide)int nu"erator8 int deno"inator* M if )deno"inator JJ <* M throw new Fault)new Fault,eason)K' nu"#er cannot #e divided #y zero.K*8 FaultCode.Create,eceiverFaultCode)new FaultCode)K.ivide+y/eroC1ce%tionK***P

Q Q DL %u#lic int.ivide)int nu"erator8 int deno"inator* M if )deno"inator JJ <* M throw new FaultC1ce%tion)new Fault,eason)K' nu"#er cannot #e divided #y zero.K*8 FaultCode.Create,eceiverFaultCode)new FaultCode)K.ivide+yaeroC1ce%tionK***P Q return nu"erator L deno"inatorP 3L %u#lic int.ivide)int nu"erator8 int deno"inator* M if )deno"inator JJ <* M throw new FaultC1ce%tion)Fault,eason)K' nu"#er cannot #e divided #y zero.K*8 FaultCode.Create,eceiverFaultCode)new FaultCode)K.ivide+yaeroC1ce%tionK***P Q return nu"erator L deno"inatorP Q Cu D;: 4ou need to consu"e a We# service in a client a%%lication. -dentify the correct se=uence of ste%s re=uired. -Ll. 'dd a We# reference of the We# service in the client a%%lication. ;. (enerate a %ro1y class for the We# service. >. Create an o#$ect of the We# service %ro1y class. @. 'ccess the We# service #y using the %ro1y o#$ect. /Ll. (enerate a %ro1y class for the We# service. /. Create an o#$ect of the We# service %ro1y class. D. 'dd a We# reference of the We# service in the client a%%lication. 3. 'ccess the We# service #y using the %ro1y o#$ect. DLi. (enerate a %ro1y class for the We# service. /. 'dd a We# reference of the We# service in the client a%%lication. D. Create an o#$ect of the We# service %ro1y class. 3. 'ccess the We# service #y using the %ro1y o#$ect. 3L 1. (enerate a %ro1y class for the We# service. 1<. 'dd a We# reference of the We# service in the client a%%lication. 11. 'ccess the We# service #y using the %ro1y o#$ect. Create an o#$ect of the We# service %ro1y class. CaauD>: Safe Software !td. is develo%ing a software a%%lication for "o#ile %hones. 5his is the first ti"e that Safe Software !td. has #een involved in such ty%e of develo%"ent. 5he senior "anage"ent wants to find defects in the software a%%lication at the earliest %ossi#le stage so as to control the i"%act of the defects on the syste". Which of the following will hel% the develo%ers at Safe Software !td. to effectively find defects while develo%ing the a%%lication& 1 ,egression 5esting / Ralidation D ins%ection 3 5he develo%ers can enhance software code to ca%ture the state of the environ"ent when an a#nor"al or un:nown condition occurs within the syste" CuD@ :

4ou have created a WCF service using .AC5 Fra"ewor:. 4ou have to i"%le"ent transaction on a "ethod in the service. -n addition8 want to s%ecify that the current transaction will #e co"%leted auto"atically if no e1ce%tion occurs during the transaction. For this8 you have written the following code sni%%et: %u#lic class Service : -Service M N5ransactb on'utoCo" %i ete Jtrue85ransactionSco%e,e=uired J falseO %u#lic string .is%lay essageF M return )K7ello ClientK*P Q Q While e1ecuting the service8 an error occurred. Which of the following code sni%%ets will you use to e1ecute the service successfully& 1%u#lic class Service :-Service i N2%eration+ehavior)5ransaction'utoCo"%lete Jfalse85ransactionSco%e,e=uired J true*O %u#lic string .is%lay essage2 i return )K7ello ClientK*P Q Q /%u#lic class Service :-Service M N5ransactb on'utoCo" %i ete Jtrue85ransactionSco%e,e=uired J trueO %u#lic string .is%lay essage2 M return )K7ello ClientK*P Q Q D. %u#lic class Service :-Service M N2%eration+ehavior)5ransaction'utoCo"%lete J true85ransactionSco%e,e=uired J true*O %u#lic string .is%lay essage2 M return )K7ello ClientK*P Q Q 3 %u#lic class Service : -Service M N2%eration+ehavior)5ransaction'utoCo"%lete Jtrue85ransactionSco%e,e=uired J false*O %u#lic string .is%lay essage2 M return )K7ello ClientK*P Q Q Cu 1: Consider the following state"ents: State"ent ': Fre=uent and %eriodic reviews of %ro$ects are not re=uired to identify the %otential ris:s to future %ro$ects. State"ent +: 6ro$ect %lans can #e reviewed to gather relevant infor"ation. Which of the following is correct a#out the %receding state"ents& '. +oth8 State"ent ' and State"ent +8 are False. +. State"ent ' is False and State"ent + is 5rue. C. +oth8 State"ent ' and State"ent +8 are 5rue. .. State"ent ' is 5rue and State"ent + is False.: Cu /

-n which %hase of Software .evelo%"ent !ife Cycle )S.!C*8 the software acce%tance criteria is defined& ,e=uire"ents .esign 5esting Coding Cu 3: 4ou need to consu"e a We# service in a client a%%lication. -dentify the correct se=uence of ste%s re=uired. '. l. (enerate a %ro1y class for the We# service. 1. Create an o#$ect of the We# service %ro1y class. /. 'dd a We# reference of the We# service in the client a%%lication. D. 'ccess the We# service #y using the %ro1y o#$ect. +. l. 'dd a We# reference of the We# service in the client a%%lication. /. (enerate a %ro1y class for the We# service. D. Create an o#$ect of the We# service %ro1y class. 3. 'ccess the We# service #y using the %ro1y o#$ect. C. l. (enerate a %ro1y class for the We# service. /. 'dd a We# reference of the We# service in the client a%%lication. D. 'ccess the We# service #y using the %ro1y o#$ect. Create an o#$ect of the We# service %ro1y class. .. 1. (enerate a %ro1y class for the We# service. 3. 'dd a We# reference of the We# service in the client a%%lication. E. Create an o#$ect of the We# service %ro1y class. 'ccess the We# service #y using the %ro1y o#$ect Cu E: 6eter is creating a WCF service that will #e accessed over the -nternet. 7e wants to authenticate a user through a "e"#ershi% %rovider. -n addition8 he wants that the %assword %rovided #y the user should #e encry%ted and stored in the data#ase. Which of the following attri#utes allow hi" to do this& '. ena#le6assword,eset +. ena#le 6as sword ,etrieval C. %asswordFor"at .. "in,e=uired6assword!ength Cu 9: 4ou have created aWCF service and hosted it as a Windows service so that it starts auto"atically when the userBs co"%uter starts and sto%s auto"atically when the co"%uters shuts down. 5o ena#le the user to access the service8 you also need to create a client a%%lication. Which of the client a%%lications will you create to access the service& '. 0ava client a%%lication +. Windows client a%%lication C. 'S6.AC5 client a%%lication .. Console client a%%lication Cu ;: Sa" a develo%er has develo%ed an a%%lication software for 5ools /<<<8 which :ee%s trac: of the ti"e s%ent #y each e"%loyee on the different %ro$ects allocated. 'n e1ternal tea" is re=uired to review the functioning of the a%%lication software. Which :ind of testing should #e conducted to ensure an e1ternal code review of the code& ' Static testing + S"o:e testing C 'l%ha testing

. +eta testing Cu >: Consider the following state"ents: State"ent ': ' control chart is used to deter"ine whether a %rocess is in control. State"ent +: 5he o#$ective of a control chart is to "onitor the variation of a statistically sta#le %rocess wherever activities are re%etitive. Which of the following is correct a#out the a#ove state"ents& Hc State"ent ' is False and State"ent + is 5rue. C +oth8 State"ent ' and State"ent +8 are False. C +oth8 State"ent ' and State"ent +8 are 5rue. C State"ent ' is 5rue and State"ent + is False. Cu @: 7enry Ford was assigned to test a 0ava a%%lication develo%ed #y S"art 0ava Co. While testing a %articular 0ava code8 7enry suggested to his tea" that if they want co"%lete code coverage8 all the +oolean su#-e1%ressions "ust #e se%arated #y logical dd and XX o%erators. 'lso8 the test cases created re=uire a logical o%erator truth ta#le. 5he truth ta#le will descri#e the relationshi% of logical o%erators for a %articular condition. -dentify the relevant Code Coverage "easure in this situation. C 6ath Coverage Hc Condition Coverage C .ecisionLCondition Coverage C ulti%le Condition Coverage Cu 1<: Which of the following %ro%erties of a transaction ensures that the changes "ade to the syste" after the successful co"%letion of a transaction are %er"anent& C Consistency C 'to"icity C .ura#ility C -solation Cu 11: Which of the following C2 V services ena#les a co"%onent to "aintain data integrity and consistency #y grou%ing various related o%erations as an ato"ic unit& C o#$ect %ooling C ,ole-+ased Security Hc Synchronization C 5ransactions Cu 1/: Which of the following attri#utes allows client a%%lications running on userBs co"%uter to log infor"ation that includes the userna"e and the %assword of the user& C na"e Hc logKnown6ii C ty%e C initialize.ata Cu 1D: What is the role of anual testing in the 5est C1ecution %rocess& '. 5o ensure that all the functions %erfor"ed #y a syste" are in accordance with the re=uire"ents. C 5o verify the syste"Gs a#ility to recover fro" varying degrees of failure. C 5o verify that the software a%%lication "odule that is currently #eing installed does not affect the functioning of a %reviously installed a%%lication.

C 5o ensure that the %eo%le interacting with the auto"ated syste" accurately %erfor" their functions. Caau13: -n WCF8 you want to e1%ose a %eer to allow co""unication a"ong "ulti%le %eers over a 6/6 networ:. Which of the following o%tions ena#les you to e1%ose the %eer& C net6eer5c%+inding C 6eer Aa"e ,esolution 6rotocol C 6eerAa"e,ecordCollection class C 6eerAa"e,esolver class Caau1E: Consider the following state"ents: State"ent ': ' test #ed is %re%ared to conduct a test #ased on the re=uire"ents stated for a test environ"ent and the strategy devised to i"%le"ent it. State"ent +: ' test #ed only contains the hardware necessary to conduct a test. Which of the following is correct a#out the a#ove state"ents& C +oth8 State"ent ' and State"ent +8 are False. Hc State"ent ' is 5rue and State"ent + is False. C +oth8 State"ent ' and State"ent +8 are 5rue. C State"ent ' is False and State"ent + is 5rue. Cu 19 : ichael has created aC2 V serviced co"%onent8 yCo"%onent8 using .AC5 Fra"ewor:. 'fter writing the #usiness logic code in the co"%onent8 he has %erfor"ed the following ste%s to create a strong :ey for the co"%onent: 9. ,ight-clic: the 6ro%erties node in the Solution C1%lorer window8 and then select 2%en. ;. Clear the 6rotect "y :ey file with a %assword chec: #o18 and then clic: the 2K #utton. >. Select the Aew o%tion fro" the Choose a strong na"e :ey file dro%down list.. @. 5y%e yCo"%onentKey in the Key file na"e te1t #o1. 1<. Select the Sign the asse"#ly chec: #o1 11. Clic: the Signing ta# in the +an:Co"%onent window. 'fter %erfor"ing the %receding ste%s8 ichael registered the co"%onent in the Co"%onent Services tool. While registering the service8 he received an error related to the strong :ey. Which of the following se=uence of ste%s should he %erfor" to create the strong :ey %ro%erly and register the co"%onent successfully& '. l. ,ight-clic: the .e#ug node in the Solution C1%lorer window8 and then select 2%en. 1/. Clic: the Signing ta# in the +an:Co"%onent window. 1D. 5y%e yCo"%onentKey in the Key file na"e te1t #o1. 13. Select the Aew o%tion fro" the Choose a strong na"e :ey file dro%down list. 1E. Select the Sign the asse"#ly chec: #o1. Clear the 6rotect "y :ey file with a %assword chec: #o18 and then clic: the 2K #utton. +. l. ,ight-clic: the .e#ug node in the Solution C1%lorer window8 and then select 2%en. 19. Clic: the Signing ta# in the +an:Co"%onent window. 1;. Select the Aew o%tion fro" the Choose a strong na"e :ey file dro%down list. 1>. Select the Sign the asse"#ly chec: #o1. 1@. 5y%e yCo"%onentKey in the Key file na"e te1t #o1.

/<. Clear the 6rotect "y :ey file with a %assword chec: #o18 and then clic: the 2K #utton. C. l. ,ight-clic: the 6ro%erties node in the Solution C1%lorer window8 and then select 2%en. E. Clear the 6rotect "y :ey file with a %assword chec: #o18 and then clic: the 2K #utton.. 9. Select the Sign the asse"#ly chec: #o1. ;. Select the Aew o%tion fro" the Choose a strong na"e :ey file dro%-down list. >. 5y%e yCo"%onentKey in the Key file na"e te1t #o1. Clic: the Signing ta# in the +an:Co"%onent window .. 1. ,ight-clic: the 6ro%erties node in the Solution C1%lorer window8 and then select 2%en. /1. Clic: the Signing ta# in the +an:Co"%onent window. //. Select the Sign the asse"#ly chec: #o1. /D. Select the Aew o%tion fro" the Choose a strong na"e :ey file dro%down list. /3. 5y%e yCo"%onentKey in the Key file na"e te1t #o1. Clear the 6rotect "y :ey file with a %assword chec: #o18 and then clic: the 2K #utton. Cu 1;: Which of the following advantages of a 6/6 networ: allows %eers to share content over a networ: without the involve"ent of the server& C .istri#uted %rocessing Hc Content distri#ution C -ncreased scala#ility C !ess e1%ensive Cu 1>: 6 and ! Software Solutions is a software develo%"ent organization. 5he develo%ers at 6 and ! Software Solutions are involved in an 'ir 5raffic Control Software %ro$ect. 5he %ro$ect uses very sensitive data and high accuracy is de"anded at all ti"es as infor"ation %rovided is highly critical. 5he testing tea"8 however8 were not a#le to %rovide the develo%ers with enough infor"ation to re%roduce a defect that would have occurred while testing the software. 7ow can the develo%ers hel% the testing tea" in accurately conveying the software defect& c 5he develo%ers can start testing the software with the testers. c 5he develo%ers can tell the testers to ignore any strange defect that occurs in the syste" c 5he develo%ers can as: for a change in the s:ill set of the testing tea". Hc 5he develo%ers can u%grade the software code to create an error log file that states the environ"ent when an a#nor"al or un:nown condition occurs within the svste". Cu 1@: Which of the following co"%onents for" an end%oint in WCF& C 'ddress8 Contract8 Aa"es%ace C na" es%ace8 +i ndi ng8 Contract Hc 'ddress8 +inding8 Contract C 'ddress8 Aa"es%ace8 +inding Cu /D: 4ou want to create a user-defined #inding to create a relia#le htt%s #ased #inding na"ed y+inding that i"%le"ents relia#le session and uses the htt%strans%ort %rotocol to send and receive S2'6 "essages fro" a client

a%%lication. For this8 you have written the following code sni%%et in the We#.config file: Hsyste".service odelI H#indingsI Hcusto"+indingI H#inding na"eJK y+indingKI Hrelia#leSession se=uenceJKtrueB;I Hhtt%s5rans%ortLI HL#indingI HLcusto"+indingI HL#indingsI HLsyste".service odelI 7owever8 you did not get the desired functionality due to an error in the code sni%%et. -dentify the reason for the error and %rovide '. Hsyste". servi ce odelI H#indingsI Hcusto"YindingI H#inding na"eJK y+indingKI Hrelia#leSession orderedJKtrueB;I Hhtt%s5rans%ortLI HL#indingI HLcusto"+indingI HL#indingsI HLsyste".servi ce odelI +. 5he correct code is: Hsyste".servi ce odelI H#indingsI Hcusto"+indingI H#inding na"eJK y+indingKI Hrelia#leSession se=uenceJKtrue;I HL#indingI HLcusto"+indingI HL#indingsI HLsyste".servi ce odelI C. Hsyste".servi ce odelI H#indingsI Hcusto"+indingI H#inding na"eJK y+indingKI Hrelia#leSession orderJKse=uence;I Hhtt%s5rans%ortLI HL#indingI HLcusto"+indingI HL#indingsI HLsyste".servi ce odelI .. Hsyste".servi ce odelI H#indingsI Hcusto"+indingI H#inding na"eJK y+indingKI Hrelia#leSession se=uenceJKfalseB;I Hhtt%s5rans%ortLI HL#indingI HLcusto"+indingI HL#indin=sI Cu /3: which of the following code sni%%ets can #e used to s%ecify the Servi ce+ehavi or attri#ute to i"%le"ent transactions in a WCF service& '. usi ng Syste" .5ransacti onsP

NServi ce+ehavi or 5 ransacti on'utoCo" %i ete2nSessionC- oseO %u#lic class Service : -Service M %u#lic string .is%lay essage2 M return )K7ello ClientK*P Q Q +. using Syste".5ransactionsP NService+ehavior)5ransaction'utoCo"%lete2nSessionClose J true*O %u#lic class Service : -Service M %u#lic string .is%lay essage2 M return )K7ello Cliente*P Q Q C. usi ng Syste" .5ransacti onsP NServi ce+ehavi or 5 ransacti on'utoCo" %i ete2nSessionC- oseJtrueO %u#lic class Service : -Service M %u#lic string .is%lay essage2 M return )K7ello ClientK*P Q Q .. usi ng Syste" .5ransacti onsP NServi ce+ehavior)5ransaction'utoCo" %i ete2nSessionC- ose*O %u#lic class Service : -Service M %u#lic string .is%lay essage2 M return )K7ello ClientK*P Q Q Cu /E: 5he develo%"ent tea" :nows the nu"#er of o%erators and nu"#er of o%erands used in a software %ro$ect. 7ow can they use this infor"ation to calculate the size of the %rogra"& Hc Software SizeJ 5otal nu"#er of o%erator to:ens used V 5otal nu"#er of o%erand to:ens used C Software SizeJ -og/ )5otal nu"#er of o%erator to:ens used* V log/ )5otal nu"#er of o%erand to:ens used* C Software SizeJ 5otal nu"#er of o%erator to:ens used c 5otal nu"#er of o%erand to:ens used C Software SizeJ 5otal nu"#er of uni=ue o%erator to:ens used V 5otal nu"#er of uni=ue o%erand to:ens used Cu /9: Which of the following classes is used to inherit a Windows service& C ChannelFactoryH5ChannelI C Channel Factory C Service7ost Hc Service+ase Cu 1:Consider the following state"ents: State"ent ': Fre=uent and %eriodic reviews of %ro$ects are not re=uired to identify the %otential ris:s to future %ro$ects. State"ent +: 6ro$ect %lans can #e reviewed to gather relevant infor"ation. f +oth State"ent ' and + are 5rue f State"ent ' is False State"ent + is 5rue Cau /:-n which %hase of Software .evelo%"ent !ife Cycle )S.!C*8the software acce%tance criteria is defined & f 5esting

f .esign Cau D:4ou need to consu"e a We# service in a client a%%lication.-detify the correct se=uence of ste%s re=uired. f 1.(enerate a %ro1y class for the We# service. /.'dd a We# reference of the We# service in the client a%%lication. D.Create an o#$ect of the We# service %ro1y class. 3.'ccess the We# service #y using the %ro1y o#$ect. Cau 3:6eter is creating a WCF service that will #e accessed over the -nternetg. f ena#le6assword,etrieval f %asswordFor" at Cau E:Which of the following #ehaviors li"its the nu"#er of connections8sessions8and threads to control the nu"#er of "essages %rocessed #y a service si"ultaneously& f -nstance #ehavior f etadata #ehavior Cau 9: 6 and ! Software Solutions is a software develo%"ent organizationg. f 5he develo%ers can u%grade the software code to create an error log file that states the environ"ent when an a#nor"al or un:nowng.. Cau ;:,o#ert has created a WCF service and hosted it in --Sg. f 5he class of the service f 5he end%oint address of the service. Cau >:Which of the following classes contains the -nstall'sse"#ly "ethod& f ServiceCo"%onent f ,egistration7el%er Cau @:.avid has created a WCF service that is accessed #y "ulti%le users over the internet and over an -ntranetg. f Choose a file e1tension that can #e easily to a user f Set the logKnown6ii attri#ute to false. Cau 1<:5he develo%ers at 6 and ! Software Solutions are involved in a 'ir5raffic Control Software %ro$ectg. f 5he develo%ers can u%grade the software code to create an error log file that states the environ"ent when an a#nor"al or un:nown condition occurs within the syste". Cau 11:Aet Solution !td has develo%ed a software to create 75 ! %ages without codingg. f 5est log f 5est su""ary Cau 1/:which do"ain of software testing involves large enter%rises using co"%le1 a%%lications to "anage and integrate #usiness %rocesses across "ulti%le divisions organizational #oundaries& f +usiness ,eengineering f C-Co""erce Cau 1D:5he software testing tea" of Sysnet -nc. is analyzing the results of a software test on an C,6 a%%licationg. f .ata %oints do not cluster in a #and f .ata %oints cluster in a #and fro" u%%er right to lower left corner of the scatter %lot Cau 13:Which review chec:list hel%s you to chec: whether design has #een %ro%erly translated into code& f 5esting ,eview Chec:list f 7!. ,eview Chec:list

Cau 1E:4ou have created a co"%onent using .AC5 Fra"ewor: and hosted the co"%onent in a server a%%licationg f using Syste".,unti"e.,e"oting.Channels.5C6P na"es%ace ,e"oteServer M Class 6rogra" M Static void ainMstringNO args* M 5c%ServerChannel channel J new 5c%ServerChannel)@@D/*P Q Cau 19:Ki" has created a WCF service and i"%le"ented =ueues to "anage "is"atched "essages %roduction and consu"%tion rates so that the destination doeas not receive "is"atched and unordered "essages.Which of the following o%tions de%ict the %receding scenario& f Failure isolation f !oad leveling Cau 1;:4ou have created a ,CS5ful service for an online #oo: store.5he dis%lay the details of various #oo: in the for" of a ?,!g.. f H&1"l versionJh1.<h encodingJhuft->h&I Hrss versionJh/.<hI HtitleI!u1ury.rive i Car .etailsHLtitleI Hlin:Ihtt%:LLlocalhost:><<<LServiceHLlin:I Hdescri%tionI.etails of Cars availa#le at !u1ury.rive HLdescri%tionI Hite"I Hite"I odel 2neHLtitleI Hlin:Ihtt%LLlocalhostLFueryCar.etailsClient'%%L <<1.as%1HLlin:I Hdescri%tionI5his is the content for odel oneHLdescri%tionI HLite"I HLrssI Cau 1>:0ohn is creating a WCF service and i"%le"ented "essage-level security in the service to secure the co""unication.For this8 he has written the following code sni%%et in the We#.config file of the service: f H#indingsI Hws7tt%+indingI H#inding na"eJhSecurity+y essagehI Hsecurity "odeJh essagehI H"essage clientCredential5y%eJhWindowshLI HLsecurityI HL#indingI HLws7tt%+indingI HL#indingsI Cau1@: 4ou are i"%le"ent Windows integrated security in a WCF service.4ou have written the following code sni%%et in the serviceg. f N6rinci%al6er"ission)Security'ction..e""an8h anagerh*O f N6rinci%al6er"ission)Security'ction..e""an8,ole Jh anagerh*O Cau /<: 0a"es Coo%er8a certified software tester8 has #een as:ed #y Co"%Cord -ncg. f 'udit 5rail f ,ecovery 5esting

Das könnte Ihnen auch gefallen