1Z0-063 Premium Bundle

1Z0-063 Premium Bundle

Oracle Database 12c: Advanced Administration Certification Exam

4.5 
(23805 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 5, 2024Last update

Oracle 1Z0-063 Free Practice Questions

Q1. You issue the RMAN commands: 

RMAN> CONFIGURE DEFAULT DEVICE TYPE TO disk; 

RKAN> 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 allarchived log files and marking them as obsolete 

Answer: A,C,E 

Q2. Your database has a table customers that contains the columns cust_name, amt_due, and old_status. 

Examine the commands executed and their output: 

SQL>UPDATEcustomersSETamt_due=amt_due+amt_due*l. 1WHEREcust_name='JAMES' 

1row updated. 

SQL> ALTER TABLE customers DROP COLUMN old_status; 

Table Altered 

SQL> UPDATE customers SET amt_due=amt_due+amt_due*1.5 WHERE cust_r.ame='JAMES' 

1 row updated. 

SQL> COMMIT; 

SQL> SELECT versions_xid AS XID, versior.s_startscr. AS START_SCN, 

versions_er.cscn AS END_SCN, versior.s_operatior. AS OPERATION', amt_due 

FROM customers VERSIONS BETWEEN SCN MINVALULEAND MAXVALUE WHERE custname='JAMES'. 

XIDSTART_SCNEND_SCNOPERATIONAMT_DUE 

07002f00cl03000017063371706337 U3300 

Why is it that only one update is listed by the Flashback Version Query? 

A. Supplemental logging is not enabled for the database. 

B. The undo data that existed for versions of rows before the change to the table structure is invalidated. 

C. The db_flash3ACK_reteni:on_target parameter is set toa lower value and the undo data pertaining to the first transaction is flushed out. 

D. Undo retention guarantee is not enabled. 

E. Flashback Data Archive is full after the first update statement. 

Answer:

Q3. Your database instance is started using an SPFILE. You are connected to cdb$root, as a DBA. You issue: 

SQL> ALTER SYSTEM SET STATISTICS_LEVEL=ALL SCOPE=BOTH; 

Which two statements are true about the statistics level parameter? 

A. It is immediately set to all in the SPFILE and the CDB instance. 

B. It is immediately set to all in only those pluggable databases (PDBs) where the value is set to typical. 

C. It is immediately set to all only for cd3Sroot. 

D. It is immediately set to all in all PDBs where the statistics_level parameter is not set. 

E. It is set to all for all PDBs only in the SPFILE. 

Answer: A,B 

Q4. Consider the following scenario for your database: 

Backup optimization is enabled in RMAN. 

Therecovery window is set to seven days in RMAN. 

The most recent backup to disk for the tools tablespace was taken on March 1, 

... 

2013. 

. The tools tablespace is read-only since March 2, 2013. 

On March 15, 2013, you issue the RMAN command to back up the databaseto disk. 

Which statement is true about the backup of the tools tablespace? 

A. The RMAN backup fails because the tools tablespace is read-only. 

B. RMAN skips the backup of the tools tablespace because backup optimization is enabled. 

C. RMAN creates a backup of the tools tablespace because backup optimization is applicable only for the backups written to media. 

D. RMAN creates a backup of the tools tablespace because no backup of the tablespace exists within the seven-day recovery window. 

Answer:

Q5. 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_enameVARCHA 

R2,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 frominserting 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. 

Answer:

Q6. You notice a performance change in your production Oracle 12c database. You want to knowwhich 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 

Answer:

Explanation: The awrddrpt.sql report is the Automated Workload Repository Compare Period Report. The awrddrpt.sql script is located in the $ORACLE_HOME/rdbms/admin directory. 

Incorrect: Not A: Compare Period ADDM Use this report to perform a high-level comparison of one workload replay to its capture or to another replay of the same capture. Only workload replays that contain at least 5 minutes of database time can be compared using this report. 

Q7. 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 systemand 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 thetest system 

Answer:

Q8. Which three statements are true about Oracle Secure Backup (OSB)? 

A. It can encrypt client data written to tape. 

B. It can be used to take image copy backups to tape. 

C. It can be used to manage tape backup and restore operations for multiple databases. 

D. It can be used along with an RMAN recovery catalog for maintaining records of backups 

in a tape library. 

E. It can be used to perform file system backups at the file, directory, file system, or raw partition level. 

Answer: A,C,E 

Q9. Evaluate these statements: 

CREATE TABLE purchase_orders 

(po_idNUMBER(4), 

po_dateTIMESTAMP, 

supplier_idNUM8ER(6), 

po_totalNUMBER(8,2), CONSTRAINT order_pk PRIMARY KEY(po_id)) 

PARTITIONBYRANGE(po_date) 

(PARTITIONQ1 VALUESLESSTHAN (TO_DATE('01-apr-2007','dd-mon-yyyy')), 

PARTITIONQ2VALUESLESSTHAN(TO_DATE('01-jul-2007','dd-mon-yyyy')), PARTITIONQ3VALUESLESSTHAN (TO~DATE('01-oct-2007','dd-non-yyyy')), PARTITIONQ4VALUESLESSTHAN (TO_DATE('Ol-jan-2008','dd-non-yyyy' ))); 

CREATETABLEpurchase_order_items 

(po_idNUM3ER(4)NOTNULL, 

product_idNUMBER(6)NOTNULL, 

unit_prlceNUMBER(8,2), 

quantity NUMBER(8), 

CONSTRAINTpo_items_f k 

FOREIGNKEY(po_id)REFERENCESpurchase_orders(po_id) ) 

PARTITIONBYREFERENCE(po_items_fk); 

Which two statements are true? 

A. Partitions of purchase_order_items are assigned unique names based on a sequence. 

B. The purchase_orders and purchase_order_items tables are created with four partitioneach. 

C. purchase_order_items table partitions exist in the same tablespaces as the purchase_orders table partitions. 

D. The purckase_order_:teks table inherits the partitioning key by duplicating the key columns from the parent table. 

E. Partition maintenance operations on the purchase_order_items table require disabling the foreign key constraint. 

Answer: C,E 

Q10. 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. 

Answer: A,D 

Q11. You are required to migrate your 11.2.0.3 database to an Oracle 12c database. 

Examine the list of steps that might be used to accomplish this task: 

1.Place all user-defined tablespaces in read-only mode on the source database. 

2.Use the RMAN convert command to convert data files to the target platform's endian 

format, if required. 

3.Perform a full transportable export on the source database with the parameters 

VERSI0N=I2, TRANSPORTABLE=ALWAYS, and FULL=Y. 

4. 

Transport the data files forall the user-defined tablespaces. 

5. 

Transport the export dump file to the target database. 

6.Perform an import on the target database by using the full, network_link, and transportable_datafiles parameters. 

7.Perform an import on the target database by using the full and transportable_datafiles parameters. 

Identify the required steps in the correct order. 

A. 1, 3, 5, 4, 2, and 6 

B. 1, 2, 4, 6, 5, 3, and 7 

C. 1, 2,4, and 7 

D. 2, 4, 5, 6, and 7 

Answer:

Q12. Examine the steps/operations performed during the RMAN backup operation by using Oracle Secure Backup (OSB): 

1.Start the RMAN client by using the RMAN target / command. 

2.Start the RMANclient by using the OSB user. 

3.RMAN creates the backup pieces. 

4.Run the RMAN backup command with the sbt channels. 

5.OSB creates a backup job and assigns a unique identifier. 

6.OSB creates a backup job request through the OSB sbt library. 

7.OSB stores metadata about RMAN backup pieces in the OSB catalog. 

8.OSB starts the backup operation. 

9. OSB updates the RMAN catalog. 

Identify the required steps/operations performed in correct order. 

A. 1, 4, 6, 5, 8, 3, 9 

B. 1, 6, 4, 5, 8, 3, 9 

C. 2, 4, 6, 5, 8, 3, 7 

D. 2, 4, 5, 8, 3, 7, 9 

Answer:

Q13. You specified the warning and critical thresholds for a locally managed tablespace to be 60% and 70%, respectively. 

From the tablespace space usage metrics, you find that the space usage has reached the specified warning threshold value, but no alerts have been generated. 

What could be the reason for this? 

A. The event parameter was not set. 

B. The sql_trace parameter is set to false. 

C. Enterprise Manager was not used. 

D. The statistics_level parameter is set to basic. 

E. The t:kid_statistics parameter is set to false. 

Answer:

Q14. Which three conditions must be met before you create a Virtual Private Catalog (VPC)? 

A. A base recovery catalog should exist. 

B. The owner of VPC cannot own recovery catalog. 

C. At least one target database should beregistered in the recovery catalog. 

D. The register database privilege should be granted to the virtual catalog owner. 

E. The recovery_catalog_owner role should be granted to the virtual catalog owner. 

Answer: C,D,E 

Reference:http://docs.oracle.com/cd/B28359_01/backup.111/b28273/rcmsynta013.htm 

Q15. Identify three scenarios in which RMAN will use backup sets to perform active database duplication. 

A. whenthe duplicate ... from active database command contains the section size clause 

B. when you perform active database duplication on a database with flashback disabled 

C. when you specify set encryption before the duplicate ... from active database command 

D. when the number of auxiliary channels allocated is equal to or greater than the number of target channels 

E. when you perform active database duplication on a database that has read-onlytablespaces 

Answer: A,C,D 

Reference:http://docs.oracle.com/database/121/BRADV/rcmdupdb.htm#BRADV298 

Q16. Your multitenant container database (CDB) contains multiple pluggable databases (PDBs). You execute the command to create a common user: 

SQL> CREATE USER c##a_admin IDENTIFIED BY password DEFAULT TABLESPACE users QUOTA I00M ON users TEMPORARY TABLESPACE temp; 

Which statement is true about the execution of the command? 

A. The common user is created in the CDB and all the PDBs, and uses the users and temp tablespaces of the CDB to store schema objects. 

B. The command succeeds only if all the PDBs have the users and temp tablespaces. 

C. The command gives an error because the container=all clause is missing. 

D. The commandsucceeds and sets the default permanent tablespace of a PDB as the default tablespace for the c##a_admin user if the users tabiespace does not exist in that PDB. 

Answer:

START 1Z0-063 EXAM