12C OCP 1Z0-063 题库(8月以前)
分類版本:
一 oracle 安全備份(OSB)
01 examine the probable steps involved in the basic backup process of
RMAN and oracle secure backup (OSB):
檢查RMAN和oracle安全備份(OSB)的基本備份過程中可能涉及的步驟:
1 rman initiates backup and passes the database backup storage
selector to OSB.
rman啟動(dòng)備份并將數(shù)據(jù)庫(kù)備份存儲(chǔ)選擇器傳遞給OSB。
2 rman creates the backup job.
rman創(chuàng)建備份作業(yè)。
3 osb creates the backup job with an osb user.
osb用osb用戶創(chuàng)建備份作業(yè)。
4 rman updates its repository.
rman更新它的存儲(chǔ)庫(kù)。
5 rman executes the job and transfers data from a client to media.
rman執(zhí)行任務(wù)并將數(shù)據(jù)從客戶機(jī)傳輸?shù)矫襟w。
6 osb executes the job and transfers data from a client to media.
osb執(zhí)行任務(wù)并將數(shù)據(jù)從客戶端傳輸?shù)矫襟w。
7 osb updates its repository.
osb更新它的存儲(chǔ)庫(kù)。
identify the required steps in the correct order.
按照正確的順序確定所需的步驟。
A) 1,3,6,7,4
02 examine the steps to configure oralce secure backup (OSB) for use with RMAN:
檢查步驟配置oralce安全備份(OSB)與RMAN使用:
1 create media families for data files and archived redo log file.
創(chuàng)建媒體家族的數(shù)據(jù)文件和存檔重做日志文件。
2 configure database backup storege selectors or RMAN media management paramenters.
配置數(shù)據(jù)庫(kù)備份存儲(chǔ)選擇器或RMAN媒體管理參數(shù)。
3 create an OSB user preauthorized for RMAN operations.
為RMAN操作創(chuàng)建一個(gè)預(yù)先授權(quán)的OSB用戶。
4 configure RMAN access to the OSB SBT.
配置對(duì)OSB SBT的RMAN訪問。
5 disable non-unform memory access (NUMA) awareness by setting the ob_ignore_numa parameter to 0.
通過將ob_ignore_numa參數(shù)設(shè)置為0來禁用非unform內(nèi)存訪問(NUMA)感知。
identify the steps in the correct order.
按照正確的順序確定步驟。
C 4,3,1,2,5
03 Which three requirements should be successfully met by an Oracle Secure Backup (OSB) user so that OSB performs RMAN backup or restore requests?
OSB用戶應(yīng)成功滿足以下三個(gè)要求,以便OSB執(zhí)行RMAN備份或還原請(qǐng)求?
A.RMAN preauthorization on the host
B.OSB encryption for data in transport and on tape
C.matching the OS user identity of the Oracle instance associated with the database username
D.assigned to a class with rights to back up or restore Oracle database
E.scheduling of the RMAN backup to occur automatically at user-defined intervals
F.assigned to a class with rights to browse all directories and catalogs
Answer ACD
解析
1)在該主機(jī)上進(jìn)行RMAN預(yù)授權(quán)
2)匹配與數(shù)據(jù)庫(kù)關(guān)聯(lián)的Oracle實(shí)例的OS用戶身份(例如oracle)
3)分配給具有備份或還原Oracle數(shù)據(jù)庫(kù)權(quán)限的類,即OSB類:
-訪問Oracle備份(設(shè)置為所有者,類或全部)
-執(zhí)行Oracle備份和還原
如果未成功滿足這三個(gè)條件,則OSB不會(huì)執(zhí)行RMAN備份或還原請(qǐng)求。
04 which three statements are true about oralce secure backup (OSB)?
哪三個(gè)陳述是正確的關(guān)于口頭安全備份(OSB)?
A) it can encrypt client data written to tape.
它可以加密寫入磁帶的客戶數(shù)據(jù)。
C) it can be used to manage tape backup and restore operations for multiple databases.
可用于管理多個(gè)數(shù)據(jù)庫(kù)的磁帶備份和恢復(fù)操作。
E) it can be used to perform file system backups at the file, directory, file system, or raw partition level.
可以使用它在文件、目錄、文件系統(tǒng)或原始分區(qū)級(jí)別執(zhí)行文件系統(tǒng)備份。
05 eamine the steps/operations performed during the RMAN backup operration by using oralce secure backup(OSB):
使用oralce安全備份(OSB)執(zhí)行RMAN備份操作期間執(zhí)行的步驟/操作:
1 start the rman client by using the rman target/command.
使用rman目標(biāo)/命令啟動(dòng)rman客戶端。
2 start the rman client by using the OSB user.
使用OSB用戶啟動(dòng)rman客戶端。
3 rman creates the backup pieces.
rman創(chuàng)建備份片段。
4 run the rman backup command with the sbt channels.
使用sbt通道運(yùn)行rman backup命令。
5 osb creates a backup job and assigns a unique identifier.
osb創(chuàng)建一個(gè)備份作業(yè)并分配一個(gè)唯一標(biāo)識(shí)符。
6 osb creates a backup job request through the osb sbt library.
osb通過osb sbt庫(kù)創(chuàng)建一個(gè)備份作業(yè)請(qǐng)求。
7 osb stores metadata about rman backup pieces in the osb catalog.
osb在osb目錄中存儲(chǔ)關(guān)于rman備份片段的元數(shù)據(jù)。
8 osb starts the backup operation.
osb啟動(dòng)備份操作。
9 osb updates the rma ncatalog.
osb更新rma ncatalog。
identify the required steps/operations performed in correct order.
確定按正確順序執(zhí)行的所需步驟/操作。
C) 2,4,6,5,8,3,7
二 閃回技術(shù)
01 in your database, the user scott wants to retrieve the dropped hr.emplyees table by using the command:
在您的數(shù)據(jù)庫(kù)中,用戶scott希望檢索丟失的hr.employees使用命令:
sql> flagback table hr.employees to before drop;
what are three for this command to succees?
這個(gè)命令成功的三個(gè)是什么?
B) no other table with the same name should exist in the hr schema.
hr模式中不應(yīng)該存在同名的其他表。
C) scott should have the flashback any table privilege.
scott應(yīng)該有倒敘任何桌子的特權(quán)。
F) the recycle bin should be enabled.
應(yīng)啟用回收站。
02 which two are prerequisites for performing flashback transaction?
哪兩個(gè)是執(zhí)行閃回事務(wù)的先決條件?
A) a supplemental log must be enabled for the primary key.
必須為主鍵啟用補(bǔ)充日志。
D) the EXECUTE privilege must be granted to a user on the DBMS_FLASHBACK package.
必須將EXECUTE特權(quán)授予DBMS_FLASHBACK包上的用戶。
03 your database is running in archivelog mode.complete database backup are performed daily at midnight.
您的數(shù)據(jù)庫(kù)正在以archivelog模式運(yùn)行。每天在午夜執(zhí)行完整的數(shù)據(jù)庫(kù)備份。
A user accidentally truncates an inportant table at 10 AM after the last backup.
在最后一次備份之后,用戶在上午10點(diǎn)意外地截?cái)嗔艘粋€(gè)重要表。
after that, a few important transactions are performed on the database.
之后,在數(shù)據(jù)庫(kù)上執(zhí)行一些重要的事務(wù)。
which two best methods for recovering the truncated table data?
哪兩種最好的方法恢復(fù)被截?cái)嗟谋頂?shù)據(jù)?
A) table point-in-time recovery
表點(diǎn)時(shí)間恢復(fù)
E) flashback transaction backout
閃回事務(wù)回退
04 which three statements are true about flashback data archive?
關(guān)于閃回?cái)?shù)據(jù)歸檔,哪三個(gè)陳述是正確的?
A) flashback data archive prevents flashback queries from getting a snapshot too-old error.
閃回?cái)?shù)據(jù)存檔防止閃回查詢得到一個(gè)快照太老的錯(cuò)誤。
B) a table enabled for flashback data archive cannot be dropped unless flashback data archive is disabled or disassociated first.
一個(gè)啟用了閃回?cái)?shù)據(jù)存檔的表不能被刪除,除非閃回?cái)?shù)據(jù)存檔先被禁用或斷開關(guān)聯(lián)。
D) while enabling flashback data archive for a table , if no name is provided for flashback data archive , it is enabled using the default flashback data archive.
當(dāng)為表啟用閃回?cái)?shù)據(jù)存檔時(shí),如果沒有為閃回?cái)?shù)據(jù)存檔提供名稱,則使用默認(rèn)的閃回?cái)?shù)據(jù)存檔啟用。
解析:https://docs.oracle.com/database/121/ADFNS/adfns_flashback.htm#ADFNS637
*要?jiǎng)h除為閃回?cái)?shù)據(jù)庫(kù)存檔啟動(dòng)的表,必須首先使用該alter table … no flashback archive 子句在表上禁用閃回?cái)?shù)據(jù)存檔
05 which two are prerequisites for setting up flashback data archive?
哪兩個(gè)是設(shè)置閃回?cái)?shù)據(jù)歸檔的先決條件?
D) automatic undo management should be enabled.
應(yīng)啟用自動(dòng)撤消管理。
F) the tablespace in which the flashback data archive is created should have automatic segment space management(ASSM) enabled.
創(chuàng)建閃回?cái)?shù)據(jù)歸檔的表空間應(yīng)該啟用自動(dòng)段空間管理(ASSM)。
06 examine the statements that use flashback technologies:
檢查使用倒敘技術(shù)的語句:
1 flashback table customers to timestamp to_timestamp (‘2013-02-04 09:30:00’, ‘YYYY-MM-DD HH:MI:SS’);
閃回表客戶到時(shí)間戳to_timestamp (‘2013-02-04 09:30:00’, ‘YYYY-MM-DD HH:MI:SS’);
2 select * from customes as of scn 123456;
從定制中選擇截至scn 123456;
3 flashback table customes to before drop;
閃回表定制前下降;
4 flashback database to timestamp to_timestamp (‘2013-02-04 09:30:00’, ‘YYYY-MM-DD HH:MI:SS’);
閃回?cái)?shù)據(jù)庫(kù)到時(shí)間戳to_timestamp (‘2013-02-04 09:30:00’, ‘YYYY-MM-DD HH:MI:SS’);
5 select * from customes versions betweem scn 123456 and 123999;
從定制版本betweem scn 123456和123999中選擇;
6 alter table customer flashback archive;
alter table客戶閃回存檔;
which set of statements depends on the availability of relevant undo data in the undo tablespace?
哪一組語句依賴于undo表空間中相關(guān)undo數(shù)據(jù)的可用性?
A) 1,2,5
07 in which situation can you use flashback database?
在什么情況下可以使用閃回?cái)?shù)據(jù)庫(kù)?
D) when returning to a point in time before the most recent open resetlogs operation.
當(dāng)返回到最近打開resetlogs操作之前的時(shí)間點(diǎn)時(shí)。
08 you enabled flashback data archive for a table for which you want to track and save all transactions for four years.
您為一個(gè)表啟用了閃回?cái)?shù)據(jù)歸檔,您希望跟蹤并保存該表的所有事務(wù)達(dá)四年之久。
after some time , the requirement changes for keeping transaction form to two years.
一段時(shí)間后,保持交易形式的要求更改為兩年。
you execute the following command to change the requirement:
您可以執(zhí)行以下命令來更改需求:
sql> alter flashback archive fda1 modify retension 2 year;
what is the outcome?
結(jié)果是什么?
B) all historical data older than two years.if any , is purged from the flashback archive fda1.
所有兩年以上的歷史數(shù)據(jù),如果有,則從閃回存檔fda1中清除。
09 (重復(fù)類似) Flashback Data Archive has been configured to retain data on all transactions that modify a table for a period of four years.
Flashback Data Archive已配置為保留四年期間內(nèi)修改表的所有事務(wù)上的數(shù)據(jù)。
Three years later,it is decided to change the retention period
三年后,決定改變留用期限
You execute this command:
您執(zhí)行以下命令:
SQL> ALTER FLASHBACK ARCHIVE fda1 MODIFY RETENSION RETENTION 2 YEAR;
SQL> ALTER FLASHBACK ARCHIVE fda1修改re張力保留2年;
Which is true?
這是真的嗎?
E)Data older than two years,if any,is purged from the flashback archive FDA1.
超過兩年的數(shù)據(jù)(如果有的話)將從閃回存檔FDA1中清除。
10 you want to create a guaranteed restore point for your database by executing the command:
您希望通過執(zhí)行以下命令為您的數(shù)據(jù)庫(kù)創(chuàng)建一個(gè)有保證的恢復(fù)點(diǎn):
SQL> create restore point dbrsp1 guarantee flashback database;
SQL>創(chuàng)建恢復(fù)點(diǎn)dbrsp1保證閃回?cái)?shù)據(jù)庫(kù);
identify two prerequisites for the successful execution of this command.
確定成功執(zhí)行此命令的兩個(gè)先決條件。
A) the database must be running in archivelog mode.
數(shù)據(jù)庫(kù)必須運(yùn)行在archivelog模式。
C) fast recovery area must be enabled.
快速恢復(fù)區(qū)域必須啟用。
Answer AC
解析:http://docs.oracle.com/cd/B19306_01/backup.102/b14192/rpfbdb002.htm
為了支持使用保證的還原點(diǎn),數(shù)據(jù)庫(kù)必須滿足以下要求:
1.在COMPATIBLE初始化參數(shù)必須設(shè)置為10.2或更高。
2.數(shù)據(jù)庫(kù)必須以ARCHIVELOG模式運(yùn)行。將FLASHBACK DATABASE用于數(shù)據(jù)庫(kù)恢復(fù)到操作保證還原點(diǎn)需要來自各地的還原點(diǎn)時(shí)使用歸檔重做日志。
3.必須配置閃回恢復(fù)區(qū),如“為RMAN設(shè)置閃回恢復(fù)區(qū)”中所述。保證的還原點(diǎn)使用類似于閃回日志記錄的機(jī)制,并且與閃回日志記錄一樣,Oracle必須將所需的日志存儲(chǔ)在閃回恢復(fù)區(qū)域中。
如果未啟用閃回?cái)?shù)據(jù)庫(kù),則在創(chuàng)建第一個(gè)保證的還原點(diǎn)時(shí)(或者如果所有先前創(chuàng)建的保證的還原點(diǎn)已被刪除),必須掛載而不打開數(shù)據(jù)庫(kù)。
11 (題目有問題只有一個(gè)選項(xiàng)是正確的)
examine the command and its output:
檢查命令及其輸出:
B) it automatically flashes back all the indexes on the employes table.
它會(huì)自動(dòng)閃回所有在雇員表上的索引。
C) it automatically flashes back any triggers defined on the table.
自動(dòng)閃回表上定義的任何觸發(fā)器。
Answer BC 更正
12 your database is running in archivelog mode and automatic undo management is enabled.
您的數(shù)據(jù)庫(kù)正在以archivelog模式運(yùn)行,并且啟用了自動(dòng)撤銷管理。
which two tasks should you perform before enabling flashback database?
在啟用閃回?cái)?shù)據(jù)庫(kù)之前應(yīng)該執(zhí)行哪兩個(gè)任務(wù)?
B) ensure that the db_flashback_retention_target parameter is set to a point in time (in minutes) to which the database can be flashed back.
確保將db_flashback_retention_target參數(shù)設(shè)置為可以將數(shù)據(jù)庫(kù)閃回的時(shí)間點(diǎn)(以分鐘為單位)。
E) enable fast recovery area.
啟用快速恢復(fù)區(qū)域。
Answer BE
參考:https://docs.oracle.com/database/121/BRADV/flashdb.htm#BRADV582
閃回?cái)?shù)據(jù)庫(kù)使用其自己的日志記錄機(jī)制,創(chuàng)建閃回日志并將其存儲(chǔ)在快速恢復(fù)區(qū)域中。如果閃回日志可用,則只能使用閃回?cái)?shù)據(jù)庫(kù)。要利用此功能,必須預(yù)先設(shè)置數(shù)據(jù)庫(kù)以創(chuàng)建閃回日志。
13 you create a default flashback data archive fla1 and enable it for the employees table in the hr schema.
您將創(chuàng)建一個(gè)默認(rèn)的閃回?cái)?shù)據(jù)歸檔fla1,并為hr模式中的employees表啟用它。
after a few days, you want to alter the employees table by executing the command:
幾天后,您想通過執(zhí)行以下命令更改employees表:
sql> alter table employees add phone number(12);
sql> alter表員工添加電話號(hào)碼(12);
which statement is true about the execution of the command?
關(guān)于命令的執(zhí)行,哪個(gè)陳述是正確的?
C) it executes successfully and continues to store metadata related to the employees table.
它成功執(zhí)行并繼續(xù)存儲(chǔ)與employees表相關(guān)的元數(shù)據(jù)。
14 which two statements are true about flashback version query?
關(guān)于閃回版本查詢,哪兩句話是正確的?
B) it can be used to create views.
它可以用來創(chuàng)建視圖。
D) it retrievers all version of rows that exist in a time interval, including the start time and end time.
它檢索一個(gè)時(shí)間間隔內(nèi),存在的行的所有版本,包括開始時(shí)間和結(jié)束時(shí)間。
15 which two statements are true when row-archival management is enabled?
啟用行存檔管理時(shí),哪兩個(gè)語句是正確的?
B) the ora_archive_state column is updated manually or by a program that can reference archivity tracking columns, to indicate that a row is no longer considered actuve.
ora_archive_state列是手動(dòng)更新的,或者由一個(gè)可以引用archivity tracking列的程序來更新,以表明一行不再被認(rèn)為是actuve。
D) the ora_archive_state column is visible if it is referenced in the select list of a query.
如果在查詢的選擇列表中引用了ora_archive_state列,則該列可見。
16 your database has a table customers that contains the columns cust_ name , amt_due, and old_status.
您的數(shù)據(jù)庫(kù)有一個(gè)表customers,其中包含列cust_ name、amt_due和old_status。
examine the commands executed and their output:
檢查執(zhí)行的命令和它們的輸出:
which is it that only one update is listed by the flashback version query?
閃回版本查詢只列出一個(gè)更新是哪一個(gè)?
B) the undo data that existed for version of rows before the change to the table structure is invalidated.
對(duì)表結(jié)構(gòu)進(jìn)行更改之前存在的行版本的撤銷數(shù)據(jù)無效。
17 automatic undo management is enabled for your database.
為您的數(shù)據(jù)庫(kù)啟用了自動(dòng)撤消管理。
you want a user to retrieve metadata and historical data for a given transaction or for transactions in a given time interval.
您希望用戶檢索給定事務(wù)或給定時(shí)間間隔內(nèi)的事務(wù)的元數(shù)據(jù)和歷史數(shù)據(jù)。
which three are prerequisites to fulfill this requirement?
哪三個(gè)是滿足這個(gè)要求的先決條件?
A) minimal supplemental logging must be enabled.
必須啟用最小補(bǔ)充日志記錄。
B) the database must be running in archivelog mode.
數(shù)據(jù)庫(kù)必須在archivelog模式下運(yùn)行。
E) the select any transaction privilege must be granted to the user.
必須將select any事務(wù)特權(quán)授予用戶。
18 you create a table with the period for clause to enable the use of the temporal validity feature of oralce database 12c.
您可以創(chuàng)建一個(gè)帶有period for子句的表,以啟用oralce數(shù)據(jù)庫(kù)12c的時(shí)間有效性特性。
examine the table definition:
檢查表定義:
which three statements are true concerning the use of the valid time temporal feature for the employees table?
關(guān)于雇員表的有效時(shí)間特性的使用,哪三個(gè)陳述是正確的?
A) The valid time columns employee_time_start and employee_time_end are automatically created.
有效的時(shí)間列employee_time_start和employee_time_end是自動(dòng)創(chuàng)建。
B) The same statement may filter on both transaction time and valid temporal time by using the AS OF TIMESTAMP and PERIOD FOR clauses.
同一語句可以使用時(shí)間戳的AS和子句的PERIOD對(duì)事務(wù)時(shí)間和有效時(shí)間進(jìn)行過濾。
C) The valid time columns are not populated by the Oracle Server automatically.
有效時(shí)間列沒有被Oracle服務(wù)器自動(dòng)填充。
總結(jié)
以上是生活随笔為你收集整理的12C OCP 1Z0-063 题库(8月以前)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: OCP12C题库,71sql的使用
- 下一篇: 12C OCP IZO-62 题库(8