版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
試卷科目:OracleOCP認(rèn)證考試練習(xí)OracleOCP認(rèn)證考試練習(xí)真題OCP062PAGE"pagenumber"pagenumber/SECTIONPAGES"numberofpages"numberofpagesOracleOCP認(rèn)證考試練習(xí)真題OCP062第1部分:單項選擇題,共64題,每題只有一個正確答案,多選或少選均不得分。[單選題]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)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 房地產(chǎn)開發(fā)三人合伙協(xié)議書
- 便利店租賃合同解讀與應(yīng)用
- 玻璃量器產(chǎn)業(yè)運行及前景預(yù)測報告
- 光圈攝影產(chǎn)品入市調(diào)查研究報告
- 松餅?zāi).a(chǎn)品入市調(diào)查研究報告
- 2024年企業(yè)租賃權(quán)收購協(xié)議書
- 建筑材料采購合同范本-合同范本
- 字畫購買合同范本
- 2024版離婚協(xié)議書模版
- 急救用冷敷墊市場洞察報告
- 蔣介石-教學(xué)講解課件
- 兒化音變課件
- 國家開放大學(xué)《傳感器與測試技術(shù)》實驗參考答案
- NY∕T 3349-2021 畜禽屠宰加工人員崗位技能要求
- 工程造價司法鑒定實施方案
- 有效教學(xué)之BOPPPS-模式課件
- 材料成型工藝基礎(chǔ)習(xí)題答案
- 劇本寫作課件
- 計算方法第三章函數(shù)逼近與快速傅里葉變換課件
- 五年級上冊英語課件-Unit7 At weekends第四課時|譯林版(三起) (共13張PPT)
- 2022年秋新教材高中英語Unit2SuccessTheImportanceofFailure教案北師大版選擇性必修第一冊
評論
0/150
提交評論