




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
試卷科目:OracleOCP認(rèn)證考試練習(xí)OracleOCP認(rèn)證考試練習(xí)真題OCP062PAGE"pagenumber"pagenumber/SECTIONPAGES"numberofpages"numberofpagesOracleOCP認(rèn)證考試練習(xí)真題OCP062第1部分:單項(xiàng)選擇題,共64題,每題只有一個(gè)正確答案,多選或少選均不得分。[單選題]1.Whatisarequirementforcreatingaremotedatabaseschedulerjob?A)TheremotedatabasejobmustrunasauserthatisvalidontargetremotedatabaseB)AprivatedatabaselinkmustbecreatedfromtheoriginatingdatabasetothetargetremotedatabaseC)ThetargetremotedatabaseonwhichthejobisscheduledmustbeOracleDatabase11gRelease2orlaterD)Thetargetremotedatabasemustbeonadifferenthostfromtheoriginatingschedulerdatabasehost答案:A解析:[單選題]2.Yourproductiondatabaseusesfilesystemstorage.YouwanttomovestoragetoOracleAutomaticStorageManagement(ASM).Howwouldyouachievethis?A)byusingRMANB)byusingDataPumpC)byusingtheDatabaseUpgradeAssistant(DBUA)D)byusingatransportabledatabase答案:A解析:[單選題]3.ExaminetheparametersforadatabaseYourdatabasehasthreeundotablespacesandthedefaultundotablespaceisnotautoextensible.Resumablespaceallocationisnotenabledforanysessionsinthedatabaseinstance.Whatistheeffectonnewtransactionswhenallundospaceinthedefaultundotablespaceisinusebyactivetransaction?A)Transactionswritetheirundoinatemporarytablespace.B)Transactionsfail.C)TransactionswritetheirundointheSYSTEMundosegment.D)TransactionswaituntilspacebecomesavailableinUNDOTBS1.答案:B解析:[單選題]4.OneofyourdatabaseshasarchiveloggingenabledandRMANbackupsaretakenatregularintervals.ThedatafilefortheUSERStablespaceiscorrupt.Whichcommandmustyouexecutebeforestartingtherecoveryofthistablespace?A)SWITCHDATAFILEALL;B)STARTUPFORCEC)ALTERTABLESPACEusersOFFLINETEMPORARY;D)ALTERTABLESPACEusersOFELINENORMAL;E)ALTERTABLESPACEusersOFFLINEIMMEDIATE;答案:E解析:[單選題]5.YourdatabasehasarchiveloggingenabledandRMANbackupsaretakenatregularintervals.AdatafileintheUSERStablespaceisdamaged.Whichcommandmustyouexecutebeforestartingtherecoveryofthistablespace?A)SWITCHDATAFILEALLB)STARTUPFORCEC)STARTUPFORCENOMOUNTD)ALTERTABLESPACEusersOFFLINE答案:D解析:[單選題]6.Yourdatabaseinstanceisstartedbyusingaseverparameterfile(SPFILE)YouexecutethefollowingcommandtochangethevalueoftheLOG_BUFFERinitializationparameter.ALTERSYSTEMSETLOG_BUFFER=32M;Whatistheoutcomeofthiscommand?A)ItreturnsanerrorbecauseSCOPEshouldbesettoMEMORY.B)Itreturnsanerrorbecausethevalueofthisparametercannotbechangeddynamically.C)TheparametervalueischangedanditcomesintoeffectassoonasspacebecomesavailableintheSGA.D)Theparametervalueischangedanditcomesintoeffectatthenextinstancestartup.答案:B解析:[單選題]7.InyourOracle12cdatabase,youplantoexecutethecommand:SQL>CREATETABLESPACEtbs1DATAFILE?/u02/oracle/data/tbs01.dbf?SIZE50M;Theu02filesystemhas1GBoffreespaceavailable.Whatistheoutcome?A)Itcreatesalocallymanagedtablespacewithmanualsegmentspacemanagementenabled.B)Itcreatesadictionary-managedtablespacewithmanualsegmentspacemanagementenabled.C)Itraisesanerrorbecauseextentmanagementisnotspecified.D)Itcreatesalocallymanagedtablespacewithautomaticsegmentspacemanagementenabled.答案:D解析:[單選題]8.YouwanttocreateatestdatabaseasareplicaofyourproductiondatabasewithminimuminterventionfromaDBA.Whichmethodwouldyouuse?A)UseDBCAtocreateatemplatefromtheexistingdatabasetocontainthedatabasestructurewithdatafilesandthenusethesametemplatetocreatethedatabaseinthenewlocation.B)UseDBCAtocreateatemplatefromtheexistingdatabasetocontainthedatabasestructureandthenmanuallycopythedatabyusingOracleDataPump.C)UseDatabaseConfigurationAssistant(DBCA)tocreateatemplatefromtheexistingdatabasetocontainthedatabasestructure.D)CreatethedatabasebyusingtheCREATEDATABASE…commandandmanuallyimportdatabyusingDataPump.答案:A解析:[單選題]9.WhenistheUNDO_RETENTIONparametervalueignoredbyatransaction?A)whentheundotablespaceisofafixedsizeandretentionguaranteeisnotenabledB)whenthedatafileoftheundotablespaceisautoextensibleC)whentherearemultipleundotablespacesavailableinadatabaseD)whenFlashbackDatabaseisenabled答案:A解析:[單選題]10.TheHR.DEPARTMENTStableistheparentoftheHR.EMPLOYEEStable.TheEMPLOYEE.DEPARTMENT_IDcolumnhasaforeignkeyconstraintwiththeONDELETECASCADEoptionthatreferstotheDEPARTMENTS.DEPARTMENT_IDcolumn.AnindexexistsontheDEPARTMENTS.DEPARTMENT_IDcolumn.AtransactiondeleteaprimarykeyintheDEPARTMENTStable,whichhaschildrowsintheEMPLOYEEStable.Whichstatementistrue?A)OnlytherowsthataredeletedintheDEPARTMENTSandEMPLOYEEStablesarelockeduntilthetransactionontheDEPARTMENTStableiscomplete.B)ThetransactionacquiresatablelockontheEMPLOYEEStable.ThislockenablesothersessionstoquerybutnotupdatetheEMPLOYEEStableuntilthetransactionontheDEPARTMENTStableiscomplete.C)ThetransactionacquiresatablelockontheDEPARTMENTStable.ThislockenablesothersessionstoquerybutnotupdatetheDEPARTMENTStableuntilthetransactionontheDEPARTMENTStableiscomplete.D)ThetransactionacquiredatablelockonlyontheDEPARTMENTStableuntilthetransactioniscomplete.答案:A解析:[單選題]11.Unifiedauditingisenabledinyourdatabases.TheHR_ADMINandOE_ADMINrolesexistandaregrantedsystemprivileges.Youexecutethecommand:SQL>CREATEAUDTTPOLICYtable_audPRIVILEGESCREATEANYTABLE,DROPANYTAETEROLEShr_admin,oe_admin;whichstatementistrue?A)ItsucceedsandstartscapturingonlysuccessfulSQLstatementsforalluserswhohaveeitherthespecifiedprivilegesorrolesgrantedtothem.B)Itfailsbecausesystemprivilegescannotbegrantedwithrolesinthesameauditpolicy.C)ItsucceedsandneedstobeenabletocaptureallSQLstatementsthatrequireeitherthespecifiedprivilegesoranyprivilegegrantedtotheHR_ADMINorOE_ADMINrole.D)Itfailsbecausethecommanddoesnotspecifywhentheunifiedauditpolicyshouldbeenforced.答案:C解析:[單選題]12.YoucreatealocallymanagedtablespaceORDER_TBSwithautomaticsegmentmanagement.YouthencreatethetableDAILY_ORDS_LSTintheORDERS_TBStablespaceusingthecommand.CREATETABLEdaily_ords_lst(ordnoNUMBER,ord_dateDATE)PCTFREE20;HowdoesthePCTFREEstorageparameterinfluencedatastorageforthistable?A)Itallowsonly80%ofspacetobeoccupiedinalldatablocksofthistableB)ItminimizesrowmigrationduringexistingrowdataupdationC)Itautomaticallycoalescesfreespaceofadatablockwhenitreaches20%ofavailablespaceD)Itminimizesrowchainingduringrowinsertion答案:B解析:[單選題]13.Youdatabaseisopeninread/writemodeandmultipleusersareconnectedtothedatabaseinstance.Youexecutethefollowingcommand:SQL>ALTERSYSTEMENABLERESTRICTEDSESSION;Whatwouldbetheeffectoncurrentsessions?A)TheyarenotterminatedbutmayonlyissuequeriesB)TheyarenotaffectedC)TheyareterminatedaftercompletingthetransactionD)Theyareterminatedimmediately答案:B解析:[單選題]14.YourdatabaseisconfiguredinARCHIVELOGmode.ExaminetheRMANconfigurationparameters:CONFIGURERETENTIONPOLICYTOREDUNDANCY1;#defaultCONFIGUREBACKUPOPTIMIZATIONOFF;#defaultCONFIGURECONTROLFILEAUTOBACKUPOFF;#defaultCONFIGUREDEVICETYPEDISKPARALLELISM1BACKUPTYPETOBACKUPSET;CONFIGUREARCHIVELOGBACKUPCOPIESFORDEVICETYPEDISKTO1;#defaultExaminethecommand:RMAN>BACKUPDATABASEPLUSARCHIVELOGDELETEINPUT;Whatistheoutcome?A)ItfailsbecausetheDELETEINPUToptioncanbeusedonlywiththeBACKUPASBACKUPSETcommand.B)Itexecutessuccessfullyandcreatesabackupsetofthedatabasealongwitharchivedlogfilesandthendeletestheoriginalarchivedlogfiles.C)Itexecutessuccessfullyandcreatesanimagecopyofthedatabasealongwitharchivelogfilesandthendeletestheoriginalarchivedlogfiles.D)ItfailsbecausetheDELETEINPUToptioncanbeusedonlywiththeBACKUPASCOPYcommand.答案:B解析:[單選題]15.Examinethecommand:SQL>CREATETABLESPACEtest1DATAFILE?/u01/app/oracle/oradata/orcl/test01.dbf?size5MAUTOEXTENDONUNIFORM;Whichstatementistrue?A)Thedatafile,TEST01.DBF,canbeautoextendedtoamaximumsizeof5MB)Thetablespace,TEST1,cancontainamaximumofonedatafileC)AllocatedandfreeextentsaretrackedusingbitmapsD)Segmentfreespaceistrackedinthedatadictionary答案:C解析:[單選題]16.Whichtaskisperformedbyabackgroundprocessinadatabaseinstance?A)executingPL/SQLcodeB)creatededicatedserverconnectionsC)connectingbetweenaclientprocessandadispatcherD)copyingonlineredologfilestoofflinestorage答案:D解析:[單選題]17.YourdatabaseisinNOARCHIVELOGmode.Youwanttoenablearchivingfordatabase.Examinethesteps:ExecutetheALTERDATABASEARCHIVELOGcommand2.ExecuteSHUTDOWNIMMEDIATE3.ExecuteSTARTUPMOUNT4.SettheDA_RECOUVERY_FILE_DESTparameterto$ORACLE_HOME/dbs/5.ExecuteSTARTUPNOMOUNT6.OpenthedatabaseIdentifytherequirestepsinthecorrectsequence.A)4,2,5,1,6B)1,2,3,4,6C)2,3,1,6D)2,5,1,6答案:C解析:[單選題]18.Examinethedetailsoftheuncompressed,non-partitionedheaptableCITIES.Examinethecommand:SQL>ALTERTABLEcitiesSHRINKSPACECOMPACT;Whatmustyoudobeforeexecutingit?A)DisableallindexesonthetableB)EnablerowmovementisenabledC)ensuretherearenopendingtransactionsonthetableD)Ensurefreespacethatisapproximatelyequaltothespaceusedbythetableshouldbeavailable答案:B解析:[單選題]19.Youwantcreateatable,DAILY_ORDERS,foranOLTPapplication,wheredatashouldbecompressedduringbothdirect-pathINSERTandconventionalDML.Thetablewillalsobeusedforqueries.Whichcompressionoptionshouldbeused?A)ROWSTORECOMPRESSB)COLUMNSTORECOMPRESSFORQUERYC)COLUMNSTORECOMPRESSFORARCHIVELOWD)ROWSTORECOMPRESSADVANCED答案:D解析:[單選題]20.Whichstatementistrueaboutprofile?A)AusercanexistwithoutanyprofileB)AprofilecanbeassignedonlytooneuserC)PasswordmanagementusingprofilesisalwaysenabledD)Resourcelimitsspecifiedinaprofileassignedtoauserarealwaysenabled答案:C解析:[單選題]21.WhatistheoutcomeoftheSHUTDOWNABORTcommand?A)UncommittedtransactionsarerolledbackB)DirtybuffersinthebuffercacheandunwrittenredoarenotwrittentothedatafilesandredologfilesreceptivelyC)InstancerecoverymustberequestedbytheDBAatthenextstartupD)Pendingtransactionsarecommittedandthedatabaseisclosed答案:B解析:[單選題]22.TheschemaSALESexistsintwodatabases,ORCL1andORCL2,andhasthesamepassword,SALES123.UserSALEShasCREATEDATABASELINKandCREATESESSIONprivilegesonbothdatabases.Eaxminethesecommand:ConnSALES/SALES123CREATEDATABASELINKorcl2USING?orcl12?;WhatistheoutcomeofexecutingthesecommandsintheORCL1database?A)ORCL2iscreatedasashareddatabaselinktoconnectmultiplesessionstotheSALESschemaintheORCL2databaseB)ORCL2databaselinkcreationfailsC)ORCL2iscreatedasaprivatedatabaselinktoconnecttoonlytheSALESschemaintheORCL2databaseD)ORCL2iscreatedasapubliclinktoconnectasinglesessiontotheSALESschemaintheORCL2database答案:C解析:[單選題]23.WhichstatementistrueaboutadatabaseinARCHIVELOGmode?A)AllbackupstakenpriortoswitchingtoARCHIVELOGmodecanbeusedtoperformcompleterecoveryB)OnlineredologfileshavetobemultiplexedbeforeputtingthedatabaseinARCHIVELOGmodeC)AFastRecoveryArea(FRA)mustbeconfiguredforthedatabaseD)Fulldatabasebackupscanbeperformedwhenthedatabaseisopened答案:D解析:[單選題]24.IdentifytheaccessthatisinitiallyavailabletoconnecttoyourDatabaseasaService(DBaaS)environmentA)SSL/TLSonport443B)SSHonport22C)CloudControlonport7799D)telnetonport23E)EnterpriseManageronport1158答案:B解析:[單選題]25.WhichstatementistrueabouttheDatabaseasaService(DBaaS)instancesandDatabaseinstancesinOraclePublicCloud?A)ADBaaSinstancecansupportonlyoneOracledatabaseinstanceB)ADBaaSinstancecansupportmultipleOracledatabaseinstancesC)ADBaaSinstancerunsinapluggabledatabase(PDB),whichiscontainedinamulti-tenantcontainerdatabase(CDB)D.AnOracledatabaseinstancecansupportmultipleDBaaSinstancesD)AnOracledatabaseinstancecansupportoneDBaaSinstances答案:B解析:[單選題]26.YourdatabaseinstanceisstartedwithaPFILE.Examinetheparameters:Youwanttoincreasethesizeofthebuffercache.Freememoryisavailabletoincreasethesizeofthebuffercache.Youexecutethecommand:SQL>ALTERSYSTEMSETDB_CACHE_SIZE=1024M;Whichistheoutcome?A)ThevalueischangedforthecurrentinstanceandinthePFILEB)ItfailsbecausetheSCOPEclauseismissingC)ThevalueischangedonlyinthePFILEandtakeseffectatthenextinstancestartupD)Changeisappliedtothecurrentinstance,butdoesnotpersistafterinstancerestart答案:D解析:[單選題]27.Whatmustyouusetoreaddatafromatableinyourdatabaseandwriteittoanexternaltable?A)UseCREATETABLE...ORGANIZATIONEXTERNALcommandwithORACLE_DATAPUMPaccessdriverB)UseSQL*LOADERdirectpathloadC)UseSQL*LOADERconventionalpathloadD)UseCREATETABLE...ORGANIZATIONEXTERNALcommandwithORACLE_LOADERaccessdriver答案:A解析:[單選題]28.Inyourdatabase,archiveloggingandcontrolfileautobackupareenabled.Thedatafilesandredologfilesareintactbutcontrolfilesareimpactedduetomediafailure.InwhichrecoveryscenariomustyouusetheRESETLOGSoption?A)AllcopiesofthecontrolfilesaredamagedandtheautobackedupcontrolfileisusedforrecoveryB)AllcopiesofthecontrolfilesaredamagedandtheCREATECONTROLFILEstatementisexecutedmanuallyC)OnecontrolfilecopyisintactanddamagedcontrolfilecopieshavetoberestoredtothedefaultlocationD)Onecontrolfilecopyisintactanddamagedcontrolfilecopieshavetoberestoredtoanon-defaultlocationE)Onecontrolfilecopyisintactsothespfileischangedtorefertoonlyonecopy答案:A解析:[單選題]29.YouwanttocreatealocallymanagedtablespacecalledNEWTBStostoresegmentswithdifferentextentsizes.Whichsetoftablespaceattributescanbespecifiedforatablespacethesatisfiestherequirements?A)EXTENTMANAGEMENTLOCALSTORAGE(INITIAL5MMAXSIZE10M)B)REUSEAUTOEXTENDONMAXSIZEUNLIMITEDC)EXTENTMANAGEMENTLOCALAUTOALLOCATED)EXTENTMANAGEMENTLOCALSEGMENTSPACEMANAGEMENTUNIFOR答案:C解析:[單選題]30.WhichuserarecreatedandcanbeusedfordatabaseandhostmanagementofyourDBaaSdatabaseservers?A)root,opcandoracleusersB)rootandoracleusersC)root,oracleandcloudusersD)opcandoracleusersE)cloudandoracleusers答案:D解析:[單選題]31.Anapplicationrepeatedlyaccessessmalllookuptables,causingalotofphysicalI/Ooperations.Whatdoyourecommendtominimizethis?A)ConfigurethenonstandardbuffercachewithabuffersizegreaterthanthesizeofthedefaultbuffercacheB)IncreasethesizeofthesharedpoolC)ConfiguretheRECYCLEbuffercacheandalterthetablestousetheRECYCLEcacheD)ConfiguretheKEEPbuffercacheandalterthetablestousetheKEEPcache答案:D解析:[單選題]32.WhichstatementistrueabouttheDEFAULTprofile?A)ThevaluesassignedtotheresourcelimitsandpasswordparametersinthedefaultprofilecanbealteredB)AdifferentDEFAULTprofilecanbecreatedforeachuserinadatabaseC)ItcanbedroppedandrecreatedD)Itmustbeexplicitlyassignedtoauser答案:A解析:[單選題]33.WhichcomponentresideintheSystemGlobalArea(SGA)ofadatabaseinstanceonlyinsharedserverconnections?A)ProgramGlobalAreaB)UserGlobalAreaC)SQLQueryResultCacheD)PL/SQLFunctionResultCache答案:B解析:[單選題]34.Whendoesadatabasecheckpointoccur?A)WhenausersessionterminatesabnormallyB)WhenaserverprocessterminatesabnormallyC)WhenthereisanonlineredologswitchD)WhentheSHUTDOWNABORTcommandisissued答案:C解析:[單選題]35.Whatactionmustyoutaketoensurecompletedatabaserecoverytillthepointoffailure?A)MultiplexthecontrolfilesB)DuplextheRMANbackupsetsC)MultiplextheonlineredologfilesD)ConfigurethedatabasetoruninARCHIVELOGmode答案:D解析:[單選題]36.Youwanttodistributeasetofstructureddatatoyourcustomerswhocanintegratethisdataintotheirexistingdatabasesirrespectiveoftheplatform.Whichmethodprovidesthefastestwayofachievingthis?A)usingtheDBVERIFYutilityB)usingRMANtransporttabletablespaceoperationC)usingSQL*LoaderD)usingdirect-pathINSERTSQLstatements答案:B解析:[單選題]37.TheHRschemaexistsintwodatabases,BOSTONandDENVER,andhasthesamepassword,HR.YouhavetheCREATEDATABASELINKandCREATESESSIONprivilegesonboththedatabase.BOSTONisdefinedasaservicenameinthetnsnames.oraofboththedatabases.Youplantousethecommand:CREATEDATABASELINKhr_linkCONNECTTOhrIDENTIFIEDBYhrUSING?denver?;WhatmustbedonetoensureonlytheHRuserintheBOSTONdatabasecanaccesstheHRschemaintheDENVERdatabase?A)ExecutethiscommandasHRuserintheBOSTONdatabaseandSYSuserintheDENVERdatabase.B)ExecutethiscommandasHRuserintheDENVERdatabaseC)ExecutethiscommandasHRuserintheBOSTONdatabaseD)ExecutethiscommandasSYSuserinboththedatabase答案:C解析:[單選題]38.TheHRschemaexistsindatabases,BOSTONandDENVER,andhasthesamepassword,HR.YouhavetheCREATEDATABASELINKandCREATESESSIONprivilegesonboththedatabase.DENVERisdefinedasaservicenameinthetnsnames.oraofboththedatabases.Youplantousethecommand:CREATEDATABASELINKhr_linkCONNECTTOhrIDENTIFIEDBYhrUSING?denver?;WhatmustbedonetoensurethatallusersintheBOSTONdatabasecanaccesstheHRschemaintheDENVER?A)ChangethecommandtocreateapublicdatabaselinkinDENVERB)ExecutethecommandasSYSinbothdatabasesC)ExecutethecommandasHRinBOSTONandSYSinDENVERD)ChangethecommandtocreateapublicdatabaselinkinBOSTONE)ExecutethecommandasSYSinDENVERF.ExecutethecommandasSYSinBOSTON答案:D解析:[單選題]39.Examinetheparametersforyourdatabaseinstance:Youexecutethefollowingcommand:SQL>ALTERTABLESPACEundotbs1RETENTIONNOGUARANTEE;Whichstatementistrueinthisscenario?A)Anattemptismadetokeepinactiveundofor1200secondsbuttransactionsmayoverwritetheundobeforethattimehaselapsedB)Inactiveundodataisretainedfor1200secondsevenifsubsequenttransactionsfailduetolackofspaceintheundotablespaceC)YoucanperformaFlashbackDatabaseoperationonlywithinthedurationof1200secondsD)Undodataiswrittentoflashbacklogsafter1200seconds答案:A解析:[單選題]40.Whatisapre-requisitetoalterarole?A)YoushouldbegrantedtheDBArole.B)YoushouldsettheOS_ROLESparametertotrue.C)YoushouldhavetheALTERANYROLEsystemprivilege.D)YoushouldbegrantedtherolewiththeGRANTOPTION.答案:C解析:[單選題]41.TheORCLdatabaseisconfiguredtosupportsharedservermode.Youwanttoensurethatauserconnectingremotelytothedatabaseinstanceaone-to-oneratiobetweenclientandserverprocesses.Whichconnectionmethodguaranteesthatthisrequirementismet?A)connectingbyusingadirectorynamingmethodB)creatingaserviceinthedatabasebytheDBMS_SERVICE.CREATE_SERVICEprocedureandusingthisserviceforcreatingalocalnamingserviceC)connectingbyusingtheeasyconnectmethodD)connectingbyusingthelocalnamingmethodwiththeserver=dedicatedparametersetinthetnsnames.orafileforthenetserviceE)connectingbyusinganexternalnamingmethod答案:D解析:[單選題]42.Inyourdatabase,theSALEStableexistsintheSHschemaandunifiedauditingisenabled.AstheDBA,yousuccessfullyexecutethecommands:SQL>CREATEAUDITPOLICYsales_polACTIONSselectonsh.sales;SQL>AUDITPOLICYsales_pol;WhichstatementistrueabouttheSALES_POLauditpolicy?A)ItisenabledforalluserswhohavetheSELECTprivilegeontheSH.SALEStable.B)OnlysuccessfulexecutionsoftheSELECTstatementsarewrittentotheaudittrail.C)Theauditrecordsarealwaysstoredinanauditfileattheoperatingsystemlevel.D)ItgetsenabledonlyfortheSHuser.答案:B解析:[單選題]43.AuserestablishesaconnectiontoadatabaseinstancebyusinganOracleNetconnection.Youwanttoensurethefollowing:Theuseraccountmustbelockedafterfiveunsuccessfulloginattempts.2.Datareadpersessionmustbelimitedfortheuser.3.Theusercannothavemorethanthreesimultaneoussessions.4.Theusermusthaveamaximumof10minutessessionidletimebeforebeingloggedoffautomatically.Howwouldyouaccomplishthis?A)bygrantingasecureapplicationroletotheuserB)byimplementingDatabaseResourceManagerC)byusingOracleLabelSecurityoptionsD)byassigningaprofiletotheuser答案:D解析:[單選題]44.YourdatabaseisrunninginNOARCHIVELOGmode.Examinethefollowingparameters:NAMETYPEVALUElog_archive_deststringlog_archive_dest_1stringlogrecovery_file_deststring/u01/app/oracle/fast_recovery_areaYouexecutethefollowingcommandafterperformingaSTARTUPMOUNT:SQL>ALTERDATABASEARCHIVELOG;Whichstatementistrueabouttheexecutionofthecommand?A)ItfailsandreturnsanerroraboutLOG_ARCHIVE_DESTnotbeingset.B)ItexecutessuccessfulandissuesawarmingtosetLOG_ARCHIVE_DESTwhileopeningthedatabase.C)ItexecutessuccessfullyandsetstheFastRecoveryAreaasthelocalarchivedestination.D)ItexecutessuccessfullyandsetsSORACLE_HOME/dbsasthedefaultarchivedestination.答案:C解析:[單選題]45.TheHRuserownstheBONUSERStalbe.HRgrantsprivilegestotheuserTOMbyusingthecommand:SQL>GRANTSELECTONbonusestotomWITHGRANTOPTION;TOMthenexecutesthiscommandtograntprivilegestotheuserJIM:SQL>GRANTSELECTONhr.bonusesTOjim;Whichstatementistrue?A)JIMcangranttheSELECTONHR.BONUSESprivilegetootherusers,butcannotrevoketheprivilegefromthem.B)HRcanrevoketheSELECTONHR.BONUSESprivilegefromJIM.C)HRcanrevoketheSELECTONHR.BONUSEBprivilegefromTOM,whichwillautomaticallyrevoketheSELECTONHR.BONUSESprivilegefromJIM.D)TOMcannotrevoketheSELECTONHR.BONUSESprivilegefromJIM.答案:C解析:[單選題]46.YourdatabaseisopenandthelistenerLTSTENERisup.Youissuethecommand:LSNRCTL>RELOADWhatistheeffectofRELOADonsessionsthatwereoriginallyestablishedbyLISTENER?A)Onlysessionsbasedonstaticlistenerregistrationsaredisconnected.B)Existingconnectionsarenotdisconnected;however,theycannotperformanyoperationsuntilthelistenercompletesthere-registrationofthedatabaseinstanceandservicehandlers.C)Thesessionsarenotaffectedandcontinuetofunctionnormally.D)Allthesessionsareterminatedandactivetransactionsarerolledback.答案:C解析:[單選題]47.Whatshouldyoudotoensurethatajobstoresminimaljobmetadataandruntimedataondisk,andusesonlyexistingPL/SQLprograms?A)specifythejobasamemberofajobclassB)createalightweightjobC)createanevent-basedjobD)useajobarray答案:B解析:[單選題]48.WhatshouldyoudoforaSchedulertostartajobwhenafilearrivesonaremotesystem?A)Shutdownthefilewatcheronthelocalsystem.B)Ensurededicatedserverisenabledonboththelocalandremotedatabases.C)InstalltheScheduleragentontheremotesystemandregistertheagentwiththedatabaseonthelocalsystem.D)StartanOracledatabaseinstanceontheremotesystemandregistertheScheduleragentwiththisdatabase.答案:C解析:[單選題]49.Youwanttodistributeasetofstructureddatatoyourcustomerswhocanintegratethisdataintotheirexistingdatabasesirrespectiveoftheplatform.Whichmethodprovidesthefastestwayofachievingthis?A)usingSQL*LoaderB)usingRMANtransportabletablespaceoperationC)usingtheDBVERIFYutilityD)usingdirect-pathINSERTSQLstatements答案:B解析:[單選題]50.Whichstatementistrueaboutredologfilesduringinstancerecovery?A)Allredologentriesinthecurrentlogareappliedtodatafilesuntilthecheckpointpositionisreached.B)Allcurrent,online,andarchivedredologsarerequiredtocompleteinstancerecovery.C)AllredologentriesinthecurrentandactivelogsareappliedtodatafilestoreconstructchangesImadeafterthemostrecentcheckpoint.D)Allcurrent,active,andinactiveredologsarerequiredtocompleteinstancerecovery.答案:C解析:[單選題]51.Examinethisparametersetting:Nowexaminethiscommand:ALTERTABLEhr.empINMEMORY;Tablealtered.Whichistrueabouteffectsofthiscommandandanysubsequentprocessingonhr.emp?A)ItsdatagetsloadedintotheIMColumnStoreincolumnarformat.B)ItsdatagetsloadedintotheIMColumnStoreinrowformat.C)ThedatabaseinstanceusestheIMColumnStoretoprocessDMLs.D)Itsdatacannotbeloadedintothedefaultdatabasebuffercache.答案:A解析:[單選題]52.Examinetheseparametersettings:Youexecutethis:CREATEUNDOTABLESPACEUNDOTBS2SEGMENTSPACEMANAGEMENTAUTO;Whichistrue?A)ItfailsbecausethereisalreadyanactiveUNDOTABLESPACEforthedatabaseinstance.B)ItfailsbecauseAutomaticSegmentSpaceManagement(ASSM.isnotsupportedforanUNDOTABLESPACE.C)Itfailsbecausesizeanddatafileclausearemissing.D)ItexecutessuccessfullyandspaceintheUNDOTBS2tablespacewillbefreelistmanaged.E)ItexecutessuccessfullyandspaceintheUNDOTBS2tablespacewillbebitmapmanaged.答案:E解析:[單選題]53.Whichnamingmethodenablesclientstoconnecttoadatabaseinstancewithoutanyclientsideconfigurationinsqlnet.oraortnsnames.ora?A)thedirectorynamingmethodB)theexternalnamingmethodC)theeasyconnectmethodD)thelocalnamingmethod答案:C解析:[單選題]54.Examinethesecommands:Nowexaminethesesteps:1)STARTUPNOMOUNT2)STARTUPMOUNT3)STARTUPFORCE4)ALTERDATABASEARCHIVELOG;5)SHUTDOWNTRANSACTIONAL6)ALTERDATABASEOPEN;7)SHUTDOWNABORT8)ALTERDATABASEMOUNTIdentifytherequiredstepsinthecorrectordertochangethedatabasetoruninARCHIVELOGmode.A)5,1,4,8,6B)7,1,4,8,6C)5,1,4,6D)5,2,6,4E)5,3,4,6F)5,2,4,6答案:F解析:[單選題]55.Inoneofyourdatabases,unifiedauditingisenabledandanSH.SALEStableexists.Yousuccessfullyexecutethesecommands:SQL>CREATEAUDITPOLICYsales_polACTIONSselectonsh.sales;SQL>AUDITPOLICYsales_pol;WhichstatementistrueaboutSALES_POL?A)Auditrecordsarealwaysstoredinanexternalauditfile.B)ItisonlyenabledforuserSH.C)OnlysuccessfulqueriesofSH.SALESarewrittentotheaudittrail.D)ItisenabledforallusershavingSELECTprivilegeonSH.SALES答案:C解析:[單選題]56.Examinethesecommands:CONNECT/ASSYSDBACREATEDIRECTORYdumpdirAS'/u01/app/';Directorycreated.GRANTREAD,WRITEONDIRECTORYdumpdirTOPUBLIC;Grantsucceeded.CREATEUSERTESTIDENTIFIEDBYtest;Usercreated.GRANTCREATESESSION,RESOURCE,UNLIMITEDTABLESPACETOtest;Grantsucceeded.CONNtest/testConne
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 山西財(cái)經(jīng)大學(xué)華商學(xué)院《金融數(shù)據(jù)采集》2023-2024學(xué)年第二學(xué)期期末試卷
- 遼陽職業(yè)技術(shù)學(xué)院《電視欄目專題與制作》2023-2024學(xué)年第二學(xué)期期末試卷
- 鄭州大學(xué)《產(chǎn)品設(shè)計(jì)報(bào)告書制作》2023-2024學(xué)年第二學(xué)期期末試卷
- 做賬實(shí)操-保險(xiǎn)公司理賠支出的賬務(wù)處理分錄
- 2025屆上海市寶山區(qū)高三一??荚嚉v史試卷
- 江西外語外貿(mào)職業(yè)學(xué)院《文獻(xiàn)查閱與交流》2023-2024學(xué)年第二學(xué)期期末試卷
- 柳州職業(yè)技術(shù)學(xué)院《行政倫理學(xué)》2023-2024學(xué)年第二學(xué)期期末試卷
- 長春職業(yè)技術(shù)學(xué)院《商務(wù)談判》2023-2024學(xué)年第二學(xué)期期末試卷
- 首都師范大學(xué)《工程制圖與全專業(yè)三維識(shí)圖課程設(shè)計(jì)》2023-2024學(xué)年第二學(xué)期期末試卷
- 魯迅美術(shù)學(xué)院《生物藥物制劑學(xué)》2023-2024學(xué)年第二學(xué)期期末試卷
- 淺談班級(jí)的文化建設(shè)課題論文開題結(jié)題中期研究報(bào)告(經(jīng)驗(yàn)交流)
- PMC年終個(gè)人總結(jié)精編ppt
- DBJ∕T 15-129-2017 集中空調(diào)制冷機(jī)房系統(tǒng)能效監(jiān)測及評價(jià)標(biāo)準(zhǔn)
- U8-EAI二次開發(fā)說明
- Q∕GDW 11612.41-2018 低壓電力線高速載波通信互聯(lián)互通技術(shù)規(guī)范 第4-1部分:物理層通信協(xié)議
- 2006 年全國高校俄語專業(yè)四級(jí)水平測試試卷
- 新人教版數(shù)學(xué)四年級(jí)下冊全冊表格式教案
- 疫情期間離市外出審批表
- (完整版)全身體格檢查評分標(biāo)準(zhǔn)(表)
- 裝飾裝修工程施工合理化建議和降低成本措施提要:完整
- (改)提高地下室側(cè)墻剛性防水施工合格率_圖文
評論
0/150
提交評論