1z0-034 | Leading 1z0-034 Exam Study Guides With New Update Exam Questions


Q81. Because of a logical corruption in your production database, you wanted to perform Tablespace Point in TimeRecovery (TSPITR). But before you start the recovery, you queried the TS_PITR_OBJECTS_TO_BE_DROPPEDview and realized that there are a large number of objects that would be dropped when you start the recoveryby using this method. You want to preserve these objects. Which option must you use to perform TSPITR andpreserve the object? 

A. Perform Export before TSPITR and Import after TSPITR 

B. Move objects to another schema that has the same tablespace assigned 

C. Perform Incomplete Recovery before TSPITR with the Log Sequence Number (LSN) 

D. Perform Incomplete Recovery before TSPITR with the System Change Number (SCN) 

Answer:

Q82. You are in the process of creating a Virtual Private Catalog (VPC) in your Oracle Database l1g database .The PROD1, PROD2, and PROD3 Oracle Database 10g databases are registered in the base recovery catalog. The database user who owns the base recovery catalog is CATOWNER.CATOWNER executes the following command to grant privileges to a new user vpc1 using Oracle Database 11g RMAN executables: 

RMAN> GRANT CATALOG FOR DATABASE prod1, prod2 TO vpc1; 

Then you issue the following commands: 

RMAN> CONNECT CATALOG vpc1/oracle@catdb; 

RMAN> SQL "EXEC catowner.dbms_rcvcat.create_virtual_catalog;" 

What is the outcome of the above commands? 

A. They execute and create a virtual catalog for pre-Oracle 11g clients. 

B. They produce an error because PROD1 and PROD2 databases belong to the older version. 

C. They produce an error because you need to connect as CATOWNER to execute this packaged procedure. 

D. They produce an error because you need to connect to the target database to execute this packaged procedure. 

Answer:

Q83. You created a database with the Database Configuration Assistant (DBCA) by using one of the default templates. 

Which tablespace will be the default permanent tablespace for non-system users, excluding DBSNMP and OUTLN? 

A. USERS 

B. SYSTEM 

C. SYSAUX 

D. EXAMPLE 

E. SAMPLE 

Answer:

USERS This tablespace is used to store permanent user objects and data. Like the TEMP tablespace, every database should have a tablespace for permanent user data that is assigned to users. Otherwise, user objects will be created in the SYSTEM tablespace, which is not good practice. In the preconfigured database, USERS is assigned the default tablespace, and space for all objects created by non-system users comes from this tablespace. For system users, the default permanent tablespace remains SYSTEM. REF.: Oracle(r) 10g 2 Days DBA, 6-7 

Q84. Examine the following command to create an external table from EMPLOYEES and DEPARTMENTS database tables. 

1. CREATE TABLE employee_ext 

2. (employee_id, first_name, department_name) 

3. ORGANIZATION EXTERNAL 

4. ( 

5. TYPE ORACLE_LOADER 

6. DEFAULT DIRECTORY ext_dir 

7. LOCATION ('emp1.dmp') 

8. ) 

9. PARALLEL 

10. AS 

11. SELECT e.emplyee_id, e.first_name, e.last_name, d.department_name 

12. FROM employees e, departments d; 

Which line of the command would cause an error? 

A. line 2, because the column names have been specified 

B. line 7, because file name must have a .dat extension 

C. line 3, because ORGANIZATION EXTERNAL has been specified 

D. line 9, because the PARALLEL option cannot be specified with one file name 

E. line 12, because there is no join defined between EMPLOYEES and DEPARTMENTS table 

F. line 5, because ORACLE_LOADER is not a valid structure for external table creation with the SELECT statement 

Answer: F External tables are created using the SQL CREATE TABLE...ORGANIZATION EXTERNAL statement. When you create an external table, you specify the followingattributes: 

1. TYPE - specifies the type of external table. The two available types are the ORACLE_LOADER type and the ORACLE_DATAPUMP type. Each type of external table is supported by its own access driver. 

* The ORACLE_LOADER access driver is the default. It can perform only data loads, and the data must comefrom text datafiles. Loads from external tables to internal tables are done by reading from the external tables' text-only datafiles . 

* The ORACLE_DATAPUMP access driver can perform both loads and unloads. The data must come from binary dump files. Loads to internal tables from external tables are done by fetching from the binary dump files. Unloads from internal tables to external tables are done by populating the external tables' binary dump files. 

2. DEFAULT DIRECTORY - specifies the default location of files that are read or written by external tables. The location is specified with a directory object, not a directory path. 

3. ACCESS PARAMETERS - describe the external data source and implements the type of external table that was specified. Each type of external table has its own access driver that provides access parameters unique to that type of external table. 

4. LOCATION - specifies the location of the external data. The location is specified as a list of directory objects and filenames. If the directory object is not specified, then the default directory object is used as the file location. 

REF.: Oracle(r) Database 10g Utilities, 12-2 

Q85. You are in the process of creating a virtual private catalog in your Oracle Database 11g database. The PROD1,PROD2, and PROD3 Oracle Database 10g databases are registered in the base recovery catalog. The databaseuser who owns the base recovery catalog is CATOWNER. CATOWNER executes the following command to grantprivileges to a new user VPC1 using Oracle Database 11g RMAN executables: 

RMAN> GRANT CATALOG FOR DATABASE prod1, prod2 TO vpc1; 

Then you issue the following commands: 

RMAN> CONNECT CATALOG vpc1/oracle@catdb; 

RMAN> SQL "EXEC catowner.dbms_rcvcat.create_virtual_catalog;" 

What is the outcome of the above commands? 

A. They execute and create a virtual catalog for pre-Oracle 11g clients. 

B. They produce an error because PROD1 and PROD2 databases belong to the older version. 

C. They produce an error because you need to connect as CATOWNER to execute this packaged procedure. 

D. They produce an error because you need to connect to the target database to execute this packagedprocedure. 

Answer:

Q86. Identify two correct statements about the Active Session History (ASH) data. 

A. A part of SGA memory is used to store ASH data as rolling buffer. 

B. The ASH data can be analyzed between any two small time intervals. 

C. All ASH data in memory are flushed to disk by MMON in every 3 seconds. 

D. All ASH data in memory are flushed to disk by MMNL process whenever the buffer is full. 

Answer: A,B 

Q87. Your database is in NOARCHIVELOG mode. 

One of the two data files belonging to the SYSTEM tablespace is corrupt. 

You discover that all online redo logs have been overwritten since the last backup. 

Which method would you use to recover the data file using RMAN? 

A. Shut down the instance if not already shut down, restart in MOUNT state, restore both data files belonging to the SYSTEM tablespace from the last backup, and restart the instance. 

B. Shut down the instance if not already shut down, restart in mount state, restore the corrupted data file belonging to the system tablespace from the last backup, and restart the instance. 

C. Shut down the instance if not already shut down, restart in mount state, restore all data files for the entire database from the last backup, and restart the instance. 

D. Shut down the instance if not already shut down, restart In MOUNT state, restore all data files belonging to the SYSTEM tablespace from the last backup, and restart the instance. 

E. Shut down the instance if not already shut down, restart In NOMOUNT state, restore all data files for the entire database from the last backup, and restart the instance. 

Answer:

Reference: http://docs.oracle.com/cd/B10501_01/server.920/a96566/rcmrecov.htm (restoring the server parameter file) 

Q88. View the Exhibit. 

You must unload data from the ORDERS, ORDER_ITEMS, and products database tables to four files using the External Table Population method. 

You execute the command shown on the exhibit, but only two files have been created. 

Which parameter must be changed so that four files are created? 

A. TYPE 

B. LOCATION 

C. PARALLEL 

D. DEFAULT DIRECTORY 

E. ORGANIZATION EXTERNAL 

Answer: