Question 1
Multiple choice
Which two statements are true about making RMAN image copies of a database? (Choose two.)
-
A
They can be made only when the database is running in ARCHIVELOG mode.
-
B
They consist of all used and unused blocks in the data files.
-
C
They can be made only when the database is in MOUNT state.
-
D
They can only be written to disk.
-
E
They can be made only when the database is running in NOARCHIVELOG mode.
Reveal answer details
Close answer details
Question 2
Multiple choice
You issue the RMAN commands: RMAN> CONFIGURE DEFAULT DEVICE TYPE TO disk;
RMAN> CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COPY;
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
RMAN> BACKUP DATABASE PLUS ARCHIVELOG DELETE INPUT; Which three tasks are performed by the BACKUP DATABASE command?
-
A
switching the online redo log file
-
B
backing up all data files as image copies and archive log files, and deleting those archive log files
-
C
backing up only the used blocks in the data files
-
D
backing up all used and unused blocks in the data files
-
E
backing up all archived log files and marking them as obsolete
Reveal answer details
Close answer details
Correct answersA, B, D
ExplanationReferences: https://docs.oracle.com/database/121/BRADV/rcmbckba.htm#BRADV89516
Which statement is true about unified auditing?
-
A
The unified audit trail contains audit records only from unified audit policies and AUDIT settings
-
B
Only the CREATE, ALTER, and DROP statements are audited for all users, including SYS
-
C
Unified auditing is enabled only if the AUDIT_TRAIL parameter is set to NONE
-
D
The unified audit trail, by default, resides in a read-only table in the AUDSYS schema in the SYSAUX tablespace
Reveal answer details
Close answer details
You are installing Oracle Database 12c with the Oracle Universal Installer (OUI). You select the option to create a database by using file system storage but you do not explicitly set ORACLE_BASE. What is the effect on the installation?
-
A
The installation proceeds with the default value but a message is generated in the alert log file
-
B
The installation terminates with an error
-
C
The installation proceeds with the default value but the database creation is not attempted
-
D
The software installation proceeds with the default value but database creation fails
Reveal answer details
Close answer details
Question 5
Multiple choice
In which three situations must you use a recovery catalog? (Choose three.)
-
A
when you want to store RMAN global scripts that can be used across multiple databases
-
B
when you want to list data files that were in a target database at a given time by using the AT clause with the REPORT SCHEMA command
-
C
when you want to restrict the amount of space used by backups
-
D
when you want to maintain backup metadata longer than the period specified by the CONTROL_FILE_RECORD_KEEP_TIME parameter
-
E
when you want to perform incremental backups by using a block change tracking file
Reveal answer details
Close answer details
You notice that the performance of your production 24/7 Oracle 12c database has significantly degraded. Sometimes you are not able to connect to the instance because it hangs. You do not want to restart the database instance. How can you detect the cause of the degraded performance?
-
A
Enable Memory Access Mode, which reads performance data from SGA.
-
B
Use emergency monitoring to fetch data directly from SGA for analysis.
-
C
Run Automatic Database Diagnostic Monitor (ADDM) to fetch information from the latest Automatic Workload Repository (AWR) snapshots.
-
D
Use Active Session History (ASH) data and hang analysis in regular performance monitoring,
-
E
Run ADDM in diagnostic mode.
Reveal answer details
Close answer details
Correct answerB
ExplanationReferences: https://oracle-base.com/articles/12c/emergency-monitoring-em12c
Question 7
Multiple choice
Which three statements are true about common roles? (Choose three.)
-
A
A common role can be granted only to a common user
-
B
Only system privileges can be granted to a common role to a container database (CDB)
-
C
Object privileges can be granted to a common role in a pluggable database (PDB)
-
D
A common rule cannot be created by a local user
-
E
A common user that is granted a common role can grant the role to other common and local users in a PDB
Reveal answer details
Close answer details
Question 8
Multiple choice
Which two statements are true about roles in multitenant container databases (CDBs)?
-
A
Local roles can be granted to local and common users.
-
B
A common role can be granted only to a common user.
-
C
A common user can create a local role by default in any pluggable database (PDB) that is plugged in to a CDB.
-
D
A common role can be granted only system privileges.
-
E
The root container can have both local and common roles.
-
F
A local role can be assigned to a common role in a PDB.
Reveal answer details
Close answer details
You notice a performance change in your production Oracle 12c database. You want to know which change caused this performance difference. Which method or feature should you use?
-
A
Compare Period ADDM report
-
B
AWR Compare Period report
-
C
Active Session History (ASH) report
-
D
taking a new snapshot and comparing it with a preserved snapshot
Reveal answer details
Close answer details
Correct answerB
ExplanationComparing Current System Performance to a Baseline Period You may have noticed a performance change on a production system and would like to know why, or you may have implemented a change to a production system and want to know the effect of the change, such as increased concurrency waits. The Compare Period ADDM compares the performance of the database server in two time periods, and returns a report describing the performance changes and the root origin of the changes. The Advisor can analyze any Oracle RDBMS version 10.2.0.4 or later monitored by Cloud Control. The following procedure explains how to initiate a report from the Compare Period ADDM.
Question 10
Multiple choice
In your database, the tbs percent used parameter is set to 60 and the tbs percent free parameter is set to 20. Which two storage-tiering actions might be automated when using Information Lifecycle Management (ILM) to automate data movement?
-
A
The movement of all segments to a target tablespace with a higher degree of compression, on a different storage tier, when the source tablespace exceeds tbs percent used
-
B
Setting the target tablespace to read-only after the segments are moved
-
C
The movement of some segments to a target tablespace with a higher degree of compression, on a different storage tier, when the source tablespace exceeds TBS percent used
-
D
Taking the target tablespace offline after the segments are moved
-
E
The movement of some blocks to a target tablespace with a lower degree of compression, on a different storage tier, when the source tablespace exceeds tbs percent used
Reveal answer details
Close answer details
Correct answersB, C
ExplanationThe threshold for activating tiering policies is based on two parameters: TBS PERCENT USED TBS PERCENT FREE Both values can be controlled by the DBMS_ILM_ADMIN package. TBS PERCENT USED and TBS PERCENT FREE default to 85 and 25, respectively. Hence, whenever the source tablespace's usage percentage goes beyond 85 percent, any tiering policy specified on its objects will be executed and objects will be moved to the target tablespace until the source tablespace becomes at least 25 percent free. Note that it is possible to add a custom condition to tiering policies to enable movement of data based on conditions other than how full the tablespace is. In addition, the READ ONLY option must be explicitly specified for the target tablespace.
Question 11
Single choice
You are administering a multitenant container database (CDB) cdb1. Examine the command and its output: SQL>show parameterfile NAMETYPEVALUE -----------------------------------------------------------------------db_create_file_deststring db_file_name_convertstring db_filesinteger200 You verify that sufficient disk space is available and that no file currently exists in the `/u0l/app/oracle/ oradata/cdb1/salesdb' location. You plan to create a new pluggable database (PDB) by using the command: SQL>CREATEPLUGGABLEDATABASESALESPDB ADMINUSERsalesadmIDENTIFIED 3Y password ROLES=(dba) DEFAULTTABLESPACEsales DATAFILE' /u01/app/oracle/oradata/cdb1/salesdb/sales01 .dbf'SIZE 250M AUTOEXTEND ON FILE_NAME_CONVERT=(`/u01/app/oracle/oradata/cdb1/pdbseed/', '/u01/app/oracle/oradata/cdb1/salesdb/') STORAGE(MAXSIZE2G) PATK_PREFIX='/u01/app/oracle/oradata/cdb1/SALESPDB'; Which statement is true?
-
A
SALESPDB is created and is in mount state.
-
B
PDB creation fails because the D3_file_name_convert parameter is not set in the CDB.
-
C
SALESPDB is created and is in read/write mode.
-
D
PDB creation fails because a default temporary tablespace is not defined for SALESPDB.
Reveal answer details
Close answer details
Correct answerA
ExplanationWe need seed tablespace to create new plugable db. References: /u01/app/oracle/oradata/orcl/pdbseed/sysaux01.dbf /u01/app/oracle/oradata/orcl/pdbseed/system01.dbf By default. Seed has two tbs.
Question 12
Single choice
Examine the following set of RMAN commands: RMAN> CONFIGURE CHANNEL dc1 DEVICE TYPE DISK FORMAT ' /u02/backup/%U' ; RMAN> RUN
{
ALLOCATE CHANNEL ch1 DEVICE TYPE DISK;
EXECUTE SCRIPT arc_backup;
}Which statement is true about the RMAN RUN block execution?
-
A
The script is executed and both DC1 and CH1 channels are used for script execution.
-
B
The execution of the script fails because multiple channels cannot exist simultaneously.
-
C
The persistent configuration parameter, DC1, is overridden because a new channel is allocated in the RMAN RUN block.
-
D
The new channel, CH1, is ignored because a channel has been configured already.
Reveal answer details
Close answer details
Correct answerC
ExplanationReferences: https://docs.oracle.com/cd/B12037_01/server.101/b10770/rcmsynta4.htm
Question 13
Single choice
Your database supports a Decision Support System (DSS) workload that involves the execution of complex queries. Currently, the database is running with peak workload. You want to analyze some of the most resource-intensive statements cached in the library cache. What must you run to receive recommendations on the efficient use of indexes and materialized views to improve query performance?
-
A
-
B
-
C
-
D
Automatic Workload Repository (AWR) report
-
E
Automatic Database Diagnostic Monitor (ADDM)
Reveal answer details
Close answer details
Correct answerB
ExplanationReferences: http://docs.oracle.com/cd/B28359_01/server.111/b28275/tdppt_sqltune.htm#TDPPT160
Question 14
Single choice
You are administering a multitenant container database (CDB) that contains multiple pluggable databases (PDBs). RMAN is connected to CDB$ROOT. Examine the command:
RMAN> LIST FAILURE; Which statement is true about this command?
-
A
It lists failures only if RMAN is connected to a PDB.
-
B
It lists failures for the CDB and all the PDBs in this CDB.
-
C
It lists failures for a PDB only when RMAN is connected to a recovery catalog.
-
D
It lists failures only for the CDB root database.
Reveal answer details
Close answer details
Question 15
Single choice
Which statement is true regarding the creation of nested plans using the Oracle Resource Manager?
-
A
Only one nested subplan is allowed per parent plan
-
B
The plans can be nested up to four levels.
-
C
Nested plans only control resources used by recursive SQL
-
D
Nested plans control only the degree of parallelism and I/O requests
-
E
Each nested plan gets a proportion of the CPU resources assigned to its parent group.
Reveal answer details
Close answer details
Question 16
Multiple choice
Which two statements are true about recovering logically corrupted tables or table partitions from an RMAN backup?
-
A
Tables or table partitions can be recovered by using an auxiliary instance only.
-
B
Tables or table partitions with a foreign key cannot be recovered.
-
C
Tables or table partitions can be recovered only when the database is in mount state.
-
D
Tables or table partitions from the system and sysaux tablespaces cannot be recovered.
-
E
Tables with not null constraints cannot be recovered.
Reveal answer details
Close answer details
Correct answersA, D
ExplanationReferences: https://www.pythian.com/blog/table-recovery-with-rman-in-database-12c/ https://docs.oracle.com/database/121/BRADV/rcmresind.htm#BRADV695
Question 17
Single choice
You use RMAN to take regular backups for your database. Examine the RMAN commands: RMAN> CROSSCHECK BACKUP;
RMAN> DELETE EXPIRED BACKUP; Which statement is true?
-
A
All metadata pertaining to backups and archived redo log files that have exceeded the age set by the RMAN retention policy are deleted from the repository.
-
B
All backups that have exceeded the age set by the RMAN retention policy are deleted.
-
C
All metadata, for backups and archived redo log files that are recorded in the repository but do not exist on disk or media, is deleted.
-
D
All backups and archived redo log files that are not required for the recovery are deleted and the repository is updated.
Reveal answer details
Close answer details
Question 18
Single choice
You issue commands in SQL*Plus as the Oracle owner, to enable multithreading for your UNIX-based Oracle 12c database: CONNECT/AS SYSDBA ALTER SYSTEMSETTHREADED__EXECUTION= TRUESCOPE=SPFILE; SHUTDOWNIMMEDIATE You then restart the instance and get an error: STARTUP ORA-01031:insufficientprivileges Why does the startup command return the error shown?
-
A
because the threaded architecture requires exiting from sql*pIus and reconnecting with sql*PIus / as sysdba before issuing a startup command
-
B
because the threaded architecture requires issuing a new connect / as sysdba from within sql*pIus before issuing a startup command
-
C
because the threaded architecture requires authentication using a password file before issuing a startup command
-
D
because the threaded architecture requires connecting to the instance via a listener before issuing a startup command
-
E
because the threaded architecture requires restarting the listener before issuing a startup command
Reveal answer details
Close answer details
Correct answerC
ExplanationThe first pitfall is, when you try to configure your database for such use. You need a connection which is authenticated trough the password file. Otherwise you will get are error similar to this. References: https://petesdbablog.wordpress.com/2013/07/09/12c-new-feature-multi-process-multi-threaded-oracle/
Question 19
Multiple choice
You perform an RMAN block media recovery on the tools 01.dbf data file in the SALES database. Which two statements are true? (Choose two.)
-
A
You must ensure that the SALES database is mounted or open.
-
B
You must restore a backup control file to perform a block media recovery.
-
C
You must take the tools01.dbf data file offline before you start a block media recovery.
-
D
You must put the database in NOARCHIVELOG mode to perform a block media recovery.
-
E
You can perform only a complete media recovery of individual blocks, point-in-time recovery of individual data blocks is not supported.
Reveal answer details
Close answer details
Question 20
Single choice
You have a production Oracle 12c database running on a host. You want to install and create databases across multiple new machines that do not have any Oracle database software installed. You also want the new databases to have the same directory structure and components as your existing 12c database. The steps in random order: 1. Create directory structures similar to the production database on all new machines. 2. Create a response file for Oracle Universal Installer (OUI) with the same configurations as the production database. 3. Create a database clone template for the database. 4. Run the Database Configuration Assistant (DBCA) to create the database. 5. Run OUI in graphical mode on each machine. 6. Run OUI in silent mode using the OUI response file. Identify the required steps in the correct sequence to achieve the requirement with minimal human intervention.
-
A
-
B
-
C
-
D
-
E
Reveal answer details
Close answer details
Correct answerD
ExplanationReferences: http://docs.oracle.com/cd/B19306_01/install.102/b15660/app_nonint.htm
Question 21
Multiple choice
Which three statements are true regarding the use of the Database Migration Assistant for Unicode (DMU)?
-
A
A DBA can check specific tables with the DMU
-
B
The database to be migrated must be opened read-only.
-
C
The release of the database to be converted can be any release since 9.2.0.8.
-
D
The DMU can report columns that are too long in the converted characterset
-
E
The DMU can report columns that are not represented in the converted characterset
Reveal answer details
Close answer details
Correct answersA, D, E
ExplanationA: In certain situations, you may want to exclude selected columns or tables from scanning or conversion steps of the migration process. D: Exceed column limit The cell data will not fit into a column after conversion. E: Need conversion The cell data needs to be converted, because its binary representation in the target character set is different than the representation in the current character set, but neither length limit issues nor invalid representation issues have been found.
Question 22
Single choice
You create a default Flashback Data Archive FLA1and enable it for the EMPLOYEES table in the HR schema. After a few days, you want to alter the EMPLOYEES table by executing the command: SQL> ALTER TABLE EMPLOYEES ADD PHONE NUMBER(12); Which statement is true about the execution of the command?
-
A
It gives an error because DDL statements cannot be executed on a table that is enabled for Flashback Data Archive.
-
B
It executes successfully and all metadata related to the EMPLOYEES table before altering the table definition is purged from Flashback Data Archive.
-
C
It executes successfully and continues to store metadata related to the EMPLOYEES table.
-
D
It executes successfully but Flashback Data Archive is disabled for the EMPLOYEES table.
Reveal answer details
Close answer details
Correct answerC
ExplanationFlashback data archives retain historical data across data definition language (DDL) changes to the database as long as the DDL change does not affect the structure of the table. The one exception to this rule is that flashback data archives do retain historical data when a column is added to the table. References: https://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_5009.htm
Question 23
Single choice
In your multitenant container database (CDB) that contains pluggable databases (PDBs), the hr user executes the following commands to create and grant privileges on a procedure: CREATEORREPLACEPROCEDUREcreate_test_v (v_emp_idNUMBER,v_enameVARCHAR2,v_SALARYNUMBER,v_dept_idNUMBER) BEGIN INSERT INTO hr.test VALUES (v_emp_id, v_ename, v salary, v_dept_id); END; / GRANT EXECUTE ON CREATE_TEST TO John, jim, smith, king; How can you prevent users having the execute privilege on the create_test_v procedure from inserting values into tables on which they do not have any privileges?
-
A
Create the create_test procedure with definer's rights.
-
B
Grant the execute privilege to users with grant option on the create_test procedure.
-
C
Create the create_test procedure with invoker's rights.
-
D
Create the create_test procedure as part of a package and grant users the execute privilege on the package.
Reveal answer details
Close answer details
Correct answerC
ExplanationYou can control access to privileges that are necessary to run user-created procedures by using definer's rights, which execute with the privileges of the owner, or with invoker's rights, which execute with the privileges of the user running the procedure.
Question 24
Multiple choice
Which two statements are true about Resource Manager plans for individual pluggable databases (PDB plans) in a multitenant container database (CDB)?
-
A
If no PDB plan is enabled for a pluggable database, then all sessions for that PDB are treated to an equal degree of the resource share of that PDB.
-
B
In a PDB plan, subplans may be used with up to eight consumer groups.
-
C
If a PDB plan is enabled for a pluggable database, then resources are allocated to consumer groups across all PDBs in the CDB.
-
D
If no PDB plan is enabled for a pluggable database, then the PDB share in the CDB plan is dynamically calculated.
-
E
If a PDB plan is enabled for a pluggable database, then resources are allocated to consumer groups based on the shares provided to the PDB in the CDB plan and the shares provided to the consumer groups in the PDB plan.
Reveal answer details
Close answer details
Correct answersA, E
ExplanationA: Setting a PDB resource plan is optional. If not specified, all sessions within the PDB are treated equally. In a non-CDB database, workloads within a database are managed with resource plans. In a PDB, workloads are also managed with resource plans, also called PDB resource plans. The functionality is similar except for the following differences: Non-CDB Database Multi-level resource plans Up to 32 consumer groups Subplans PDB Database Single-level resource plans only Up to 8 consumer groups (Not B) No subplans
Question 25
Single choice
Examine these Data Pump commands to export and import objects from and to the same database. The dba has not yet created users hr1 and oe1. $expdp system/manager schemas = hr.oe directory = EXP_DIR dumpfile = export.dat include = table $ impdpsysten/manager
schemas = hr1,oe1
directory = EXP_DIR
dumpfile = export.dat
remap_schena=hr:hrl, oe:oe1 What will happen when running these commands?
-
A
expdp will fail because no path has been defined for the dumpfile.
-
B
expdp will succeed but impdp will fail because the users do not exist.
-
C
inpdp will create two users called hr1 and oe1 and import all objects to the new schemas.
-
D
impdp will create two users called hr1 and oe1 and import only the tables owned by hr and oe schemas to ht1 and oe1 schemas, respectively.
Reveal answer details
Close answer details
Correct answerB
ExplanationORA-39165: Schema not found error will be resulted
Question 26
Single choice
You want to consolidate databases for the CRM, ERP, and SCM applications by migrating them to pluggable databases (PDBs). You have already created a test system to support the consolidation of databases in a multitenant container database (CDB) that has multiple PDBs. What is the easiest way to perform capacity planning for consolidation?
-
A
capturing the most resource-intensive SQL statements in a SQL Tuning Set on the production system and using the SQL Performance Analyzer on the test system
-
B
capturing the workload on the production system and replaying the workload for one PDB at a time on the test system
-
C
capturing the workload on the production system and using Consolidated Database Replay to replay the workload of all production systems simultaneously for all PDBs
-
D
capturing the most resource-intensive SQL statements in a SQL Tuning Set on the production system and using the SQL Tuning Advisor on the test system
Reveal answer details
Close answer details
Correct answerC
ExplanationReferences: https://docs.oracle.com/database/121/RATUG/GUID-29988B63-F974-46EF-9AAD-3D04AF774337.htm#RATUG4122
Question 27
Multiple choice
You want the execution of large database operations to suspend, and then resume, in the event of space allocation failures. You set the value of the initialization parameter resumable_timeout to 3600. Which two statements are true?
-
A
A resumable statement can be suspended and resumed only once during execution.
-
B
Data Manipulation Language (DML) operations are resumable, provided that they are not embedded in a PL/SQL block.
-
C
A suspended statement will report an error if no corrective action has taken place during a timeout period.
-
D
Before a statement executes in resumable mode, the alter session enable resumable statement must be issued in its session.
-
E
Suspending a statement automatically results in suspending a transaction and releasing all the resources held by the transaction.
Reveal answer details
Close answer details
Correct answersC, D
ExplanationReferences: http://docs.oracle.com/cd/B28359_01/server.111/b28310/schema002.htm
Question 28
Multiple choice
You install "Oracle Grid Infrastructure for a standalone server" on a host on which the orcl1 and orcl2 databases both have their instances running. Which two statements are true?
-
A
Both orcl1 and orcl2 are automatically added to the Oracle Restart configuration.
-
B
All database listeners running from the database home are automatically added to the Oracle Restart configuration.
-
C
The srvct1 add database command must be used to add orcl1 and orcl2 to the Oracle Restart configuration.
-
D
The crsct1 start has command must be used to start software services for Oracle Automatic Storage Management (ASM) after the "Oracle Grid Infrastructure for a standalone server" installation is complete.
-
E
All databases subsequently created by using the Database Configuration Assistant (DBCA) are automatically added to the Oracle Restart configuration.
Reveal answer details
Close answer details
Correct answersC, E
Explanationhttps://docs.oracle.com/cd/E18283_01/server.112/e17120/restart001.htm
Question 29
Multiple choice
Which two statements are true about scheduling operations in a pluggable database (PDB)?
-
A
Scheduler jobs for a PDB can be defined only at the container database (CDB) level.
-
B
A job defined in a PDB runs only if that PDB is open.
-
C
Scheduler attribute setting is performed only at the CDB level.
-
D
Scheduler objects created by users can be exported or imported using Data Pump.
-
E
Scheduler jobs for a PDB can be created only by common users.
Reveal answer details
Close answer details
Correct answersB, D
ExplanationIn general, all scheduler objects created by the user can be exported/imported into the PDB using data pump. Predefined scheduler objects will not get exported and that means that any changes made to these objects by the user will have to be made once again after the database has been imported into the pluggable database. However, this is how import/export works currently. A job defined in a PDB will run only if a PDB is open.
Question 30
Single choice
A telecom company wishes to generate monthly bills to include details of customer calls, listed in order of time of call. Which table organization allows for generating the bills with minimum degree of row sorting?
-
A
-
B
-
C
-
D
-
E
a heap table with a rowid column
Reveal answer details
Close answer details
Correct answerD
ExplanationThe table is not static, but instead is continually growing. If a table grows without limit, the space required over the life of the table (its cluster) cannot be predetermined.
Question 31
Multiple choice
Which two statements are true about a common user?
-
A
A common user connected to a pluggable database (PDB) can exercise privileges across other PDBs.
-
B
A common user with the create user privilege can create other common users, as well as local users.
-
C
A common user can be granted only a common role.
-
D
A common user can have a local schema in a PDB.
-
E
A common user always uses the global temporary tablespace that is defined at the CDB level as the default temporary tablespace.
Reveal answer details
Close answer details
Correct answersB, D
ExplanationReferences: http://www.oracle.com/technetwork/issue-archive/2014/14-nov/o64ocp12c-2349447.html
Question 32
Single choice
You must unload data from the orders, order_items, and products database tables to four files using the External Tables. CREATE TABLE orders_ext (order_id, order_date, product_id, product_name,quantity) ORGANIZATION EXTERNAL ( TYPE ORACLE_DATAPUMP DEFAULT DIRECTORY ext.dir LOCATION (`ordersl.dmp','orders2.dmp','orders3.dmp','lorders4.dmp') ) PARALLEL AS SELECT o.order_id,o.order_date,p.product_id,p.product_name,i.quantity FROM orders o,productsp,order_itemsi WHERE o.orderjd = i.order_id and i.product_id = p.product_id; You execute the command shown in the Exhibit, but only two files are created. Which parameter must be changed so that four files are created?
-
A
-
B
-
C
-
D
-
E
Reveal answer details
Close answer details
Correct answerC
ExplanationReferences: https://docs.oracle.com/cd/B19306_01/server.102/b14215/et_concepts.htm#i1007483
Question 33
Single choice
A database is running in archive log mode. The database contains locally managed tablespaces. Examine the RMAN command: RMAN> BACKUP
AS COMPRESSED BACKUPSET
SECTION SIZE 1024M
DATABASE; Which statement is true about the execution of the command?
-
A
The backup succeeds only if all the tablespaces are locally managed.
-
B
The backup succeeds only if the RMAN default device for backup is set to disk.
-
C
The backup fails because you cannot specify section size for a compressed backup.
-
D
The backup succeeds and only the used blocks are backed up with a maximum backup piece size of 1024 MB.
Reveal answer details
Close answer details
Correct answerD
ExplanationCOMPRESSED enables binary compression. RMAN compresses the data written into the backup set to reduce the overall size of the backup set. All backups that create backup sets can create compressed backup sets. Restoring compressed backup sets is no different from restoring uncompressed backup sets. RMAN applies a binary compression algorithm as it writes data to backup sets. This compression is similar to the compression provided by many media manager vendors. When backing up to a locally attached tape device, compression provided by the media management vendor is usually preferable to the binary compression provided by BACKUP AS COMPRESSED BACKUPSET. Therefore, use uncompressed backup sets and turn on the compression provided by the media management vendor when backing up to locally attached tape devices. You should not use RMAN binary compression andmedia manager compression together. Some CPU overhead is associated with compressing backup sets. If the target database is running at or near its maximum load, then you may find the overhead unacceptable. In most other circumstances, compressing backup sets saves enough disk space to be worth the CPU overhead. SECTION SIZE sizeSpec Specifies the size of each backup section produced during a data file backup. By setting this parameter, RMAN can create a multisection backup. In a multisection backup, RMAN creates a backup piece that contains one file section, which is a contiguous range of blocks in a file. All sections of a multisection backup are the same size. You can create a multisection backup for a data file, but not a data file copy. File sections enable RMAN to create multiple steps for the backup of a single large data file. RMAN channels can process each step independently and in parallel, with each channel producing one section of a multisection backup set. If you specify a section size that is larger than the size of the file, then RMAN does not use multisection backup for the file. If you specify a small section size that would produce more than 256 sections, then RMAN increases the section size to a value that results in exactly 256 sections. Depending on where you specify this parameter in the RMAN syntax, you can specify different section sizes for different files in the same backup job. Note: You cannot use SECTION SIZE with MAXPIECESIZE or with INCREMENTAL LEVEL 1.
Question 34
Multiple choice
Which two are prerequisites for performing Flashback Transaction? (Choose two.)
-
A
Fast Recovery Area must be enabled for the database
-
B
The EXECUTE privilege must be granted to a user on the DBMS_FLASHBACK package
-
C
Undo retention guarantee must be configured for the database
-
D
A supplemental log must be enabled for the primary key
-
E
Row movement must be enabled
Reveal answer details
Close answer details
Question 35
Multiple choice
Which two statements are true about a multitenant architecture?
-
A
Each pluggable database (PDB) has its own initialization parameter file.
-
B
A PDB can have a private undo tablespace.
-
C
Log switches occur only at the container database level.
-
D
A PDB can have a private temporary tablespace.
-
E
Each PDB has a private control file.
Reveal answer details
Close answer details
Correct answersC, D
ExplanationYou are only able to switch the archived logs when you connect to the root of a CDB, but you cannot switch archived redo logs when connected to a PDB. You can able to create a PDB without temporary tablespace but not able to make it use the temporary tablespace of CDB.
Question 36
Single choice
You want to export the pluggable database (PDB) hr pdb1 from the multitenant container database (CDB) CDB1 and import it into the cdb2 CDB as the emp_pdb1 PDB. Examine the list of possible steps required to perform the task: 1. Create a PDB named emp_pdb1. 2. Export the hr_pdb1 PDB by using the full clause. 3. Open the emp_pdb1 PDB. 4. Mount the emp_pdb1 PDB. 5. Synchronize the emp_pdb1 PDB in restricted mode. 6. Copy the dump file to the Data Pump directory. 7. Create a Data Pump directory in the emp_pdb1 PDB. 8. Import data into emp_pdb1 with the full and remap clauses. 9. Create the same tablespaces in emp_pdb1 as in hr_pdb1 for new local user objects. Identify the required steps in the correct order.
-
A
-
B
2, 1, 4, 5, 3, 7, 6, 9, and 8
-
C
-
D
Reveal answer details
Close answer details
Correct answerC
ExplanationBecause the step 2 says that you perfom an expdp with the full clause and you don't need to create the tablespaces when you perform the impdp. FULL=yes will export tablespace definitions. So no need step 9. References: https://docs.oracle.com/cd/B10501_01/server.920/a96652/ch01.htm
Question 37
Multiple choice
Which two statements are true about unified auditing?
-
A
A unified audit trail captures audit information from unified audit policies and audit settings.
-
B
Unified auditing is enabled by executing make-fins_rdbms.mk uniaud_onioracle ORACLE_HOME=SORACLE_HOME.
-
C
Audit records are created for all users except sys.
-
D
Audit records are created only for the DML and DDL operations performed on database objects.
-
E
Unified auditing is enabled by setting the audit_trail parameter to db, extended.
-
F
A unified audit trail resides in a read-only table in the audsys schema in the system tablespace.
Reveal answer details
Close answer details
Correct answersA, B
ExplanationIn unified auditing, the unified audit trail captures audit information from a variety of sources. Audit records (including SYS audit records) from unified audit policies and AUDIT settings Fine-grained audit records from the DBMS_FGA PL/SQL package Oracle Database Real Application Security audit records Oracle Recovery Manager audit records Oracle Database Vault audit records Oracle Label Security audit records Oracle Data Mining records Oracle Data Pump Oracle SQL*Loader Direct Load Enable theunified auditing executable. UNIX: Run the following command: make -f ins_rdbms.mk uniaud_on ioracle ORACLE_HOME=$ORACLE_HOME The unified audit trail, which resides in a read-only table in the AUDSYS schema in the SYSAUX tablespace References: https://docs.oracle.com/database/121/DBSEG/auditing.htm#DBSEG343 https://docs.oracle.com/database/121/TDPSG/GUID-BF747771-01D1-4BFB-8489-08988E1181F6.htm#TDPSG55281 https://docs.oracle.com/database/121/DBSEG/auditing.htm#DBSEG1024
Question 38
Multiple choice
Examine the command and its output: SQL> DROP TABLE EMPLOYEE;
SQL> SELECT object_name AS recycle_name, original_name, type FROM recyclebin; RECYCLE_NAMEORIGINAL_NAMETYPE
--------------------------------------------------------------------------------------------------------------
binsgk31sj/3akk5hg3j21kl5j3d==$0EMPLOYEE TABLE
You then successfully execute the command:
SQL> FLASHBACK TABLE "BINSgk31sj/3akk5hg3j21kl5j3d==$0" TO BEFORE DROP; Which two statements are true?
-
A
It flashes back the employee table and all the constraints associated with the table.
-
B
It automatically flashes back all the indexes on the employes table.
-
C
It automatically flashes back any triggers defined on the table.
-
D
It flashes back only the structure of the table and not the data.
-
E
It flashes back the data from the recycle bin and the existing data in the original table is permanently lost.
Reveal answer details
Close answer details
Correct answersB, C
ExplanationA table and all of its dependent objects (indexes, LOB segments, nested tables, triggers, constraints and so on) go into the recycle bin together, when you drop the table. Likewise, when you perform Flashback Drop, the objects are generally all retrieved together. Trigger automatically flashbacked. References: http://docs.oracle.com/cd/B19306_01/backup.102/b14192/flashptr004.htm#i1020594
Question 39
Single choice
You created a database with DBCA by using one of the Oracle supplied templates. Which is the default permanent tablespace for all users except DBSNMP and OUTLN?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerA
ExplanationThis table space is used to store permanent user objects and data. Like the TEMP table space, every database should have a table space for permanent user data that is assigned to users. Otherwise, user objects will be created in the SYSTEM table space, which is not good practice. In the preconfigured database, USERS is assigned the default table space, and space for all objects created by non-system users comes from this table space. For system users, the default permanent table space remains SYSTEM.
Question 40
Single choice
Examine the probable steps involved in the basic backup process of RMAN and Oracle Secure Backup (OSB): 1. RMAN initiates backup and passes the database backup storage selector to OSB. 2. RMAN creates the backup job. 3. OSB creates the backup job with an OSB user. 4. RMAN updates its repository. 5. RMAN executes the job and transfers data from a client to media. 6. OSB executes the job and transfers data from a client to media. 7. OSB updates its repository. Identify the required steps in the correct order.
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
|