Oracle Database 11g: New Features for Administrators - 1Z1-050 Exam Practice Test
The OPTIMIZER_USE_PLAN_BASELINES parameter is set to TRUE. The optimizer generates a plan for a SQL statement but does not find a matching plan in the SQL plan baseline. Which two operations are performed by the optimizer in this scenario? (Choose two.)
Correct Answer: C,E
Vote an answer
Which two statements are true regarding the starting of the database instance using the following command? (Choose two.)
SQL>STARTUP UPGRADE
SQL>STARTUP UPGRADE
Correct Answer: B,D
Vote an answer
You are in the process of creating a virtual private catalog in your Oracle Database 11 g database. The PROD1 , PROD and PROD3 Oracle Database 10g databases are registered in the base recovery catalog. The database user who own the base recovery catalog is CATOWNER. CATOWNER executes the following command to grant privileges to a new user VPC1 using Oracle Database 11 g 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?
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?
Correct Answer: D
Vote an answer
View the Exhibit to examine the error while executing the REPAIR FAILURE command in an RMAN session.

What is the reason for this error?

What is the reason for this error?
Correct Answer: D
Vote an answer
To generate recommendations to improve the performance of a set of SQL queries in an application, you execute the following blocks of code:
BEGIN
dbms_advisor.create_task(dbms_advisor.sqlaccess_advisor,lTASK1l);
END;
/
BEGIN
dbms_advisor.set_task_parameter(lTASK1l,lANALYSIS_SCOPElllALLl);
dbms_advisor.set_task_parameter(lTASK1,,,MODE,llCOMPREHENSIVEl);
END;
/
BEGIN
dbms_advisor.execute_task('TASK1');
dbms_output.put_line(dbms_advisor.get_task_script('TASK11));
END;
/
The blocks of code execute successfully; however, you do not get the required outcome.
What could be the reason?
BEGIN
dbms_advisor.create_task(dbms_advisor.sqlaccess_advisor,lTASK1l);
END;
/
BEGIN
dbms_advisor.set_task_parameter(lTASK1l,lANALYSIS_SCOPElllALLl);
dbms_advisor.set_task_parameter(lTASK1,,,MODE,llCOMPREHENSIVEl);
END;
/
BEGIN
dbms_advisor.execute_task('TASK1');
dbms_output.put_line(dbms_advisor.get_task_script('TASK11));
END;
/
The blocks of code execute successfully; however, you do not get the required outcome.
What could be the reason?
Correct Answer: D
Vote an answer
Evaluate the following command and Its output:
SQL>SELECT * FROM dba_temp_free_space;
TABLESPACE_NAME TABLESPACE_SIZE ALLOCATED_SPACE FREE_SPACE
LMTEMP 250609664 101048576 149561088
Which two statements correctly interpret the output? (Choose two.)
SQL>SELECT * FROM dba_temp_free_space;
TABLESPACE_NAME TABLESPACE_SIZE ALLOCATED_SPACE FREE_SPACE
LMTEMP 250609664 101048576 149561088
Which two statements correctly interpret the output? (Choose two.)
Correct Answer: B,D
Vote an answer
You want to analyze a SQL Tuning Set (STS) using SQL Performance Analyzer in a test database. Which two statements are true regarding the activities performed during the test execution of SQLs in a SQL Tuning Set? (Choose two.)
Correct Answer: A,C
Vote an answer
You have a range-partitioned table in your database. Each partition in the table contains the sales data for a quarter. The partition related to the current quarter is modified frequently and other partitions undergo fewer data manipulations. The preferences for the table are set to their default values. You collect statistics for the table using the following command in regular intervals:
SQL> EXECUTE DBMS_STATS .GATHER_TABLE_STATS('SHI ,'SALES1 ,GRANUU\RITY=>'GLOBALl);
You need statistics to be collected more quickly. What can you do to achieve this?
SQL> EXECUTE DBMS_STATS .GATHER_TABLE_STATS('SHI ,'SALES1 ,GRANUU\RITY=>'GLOBALl);
You need statistics to be collected more quickly. What can you do to achieve this?
Correct Answer: A
Vote an answer
Which statement describes the effect of table redefinition on the triggers attached to the table?
Correct Answer: B
Vote an answer
You need to create a partitioned table to store historical data and you Issued the following command:
CREATE TABLE purchas_interval
PARTITION BY RANGE (time_id)
INTERVAL (NUMTOYMINTERVAL(1 ,'month1)) STORE IN (tbs1 ,tbs2,tbs3)
PARTITION p1 VALUES LESS THAN(TO_DATE('1-1-2005I, 'dd-mm-yyyy')),
PARTITION p2 VALUES LESS THAN(TO_DATE('1-1-2007', 'dd-mm-yyyy')))
AS
SELECT *
FROM purchases
WHERE time_id < TO_DATE('1-1-2007'l'dd-mm-yyyy');
What is the outcome of the above command?
CREATE TABLE purchas_interval
PARTITION BY RANGE (time_id)
INTERVAL (NUMTOYMINTERVAL(1 ,'month1)) STORE IN (tbs1 ,tbs2,tbs3)
PARTITION p1 VALUES LESS THAN(TO_DATE('1-1-2005I, 'dd-mm-yyyy')),
PARTITION p2 VALUES LESS THAN(TO_DATE('1-1-2007', 'dd-mm-yyyy')))
AS
SELECT *
FROM purchases
WHERE time_id < TO_DATE('1-1-2007'l'dd-mm-yyyy');
What is the outcome of the above command?
Correct Answer: A
Vote an answer
Which three are the valid statements in relation to SQL plan baselines? (Choose three.)
Correct Answer: A,D,E
Vote an answer
Following is the list of locations in random order where oranfstab can be placed.
1 ./etc/mtab 2 .$ORACLE_HOME/dbs/oranfstab 3 ./etc/oranfstab
What is the sequence in which Direct NFS will search the locations?
1 ./etc/mtab 2 .$ORACLE_HOME/dbs/oranfstab 3 ./etc/oranfstab
What is the sequence in which Direct NFS will search the locations?
Correct Answer: A
Vote an answer
Which two changes and their effect on the system can be tested by using the Database Replay feature? (Choose two.)
Correct Answer: A,B
Vote an answer
Which is the source used by Automatic SQL Tuning that runs as part of the AUTOTASK framework?
Correct Answer: A
Vote an answer