1z0-050 | The Secret of Oracle 1z0-050 pdf


Q91. You create a new Automatic Database Diagnostic Monitor (ADDM) task:

instance_analysis_mode_task. To view the ADDM report, you use the following command:

SQL> SELECT dbms_addm.get_report('my_instance_analysis_mode_task') FROM dual; You want to suppress ADDM output relating to Segment Advisor actions on user SCOTT's segments.

What would you do to achieve this?

A. Add a finding directive for the ADDM task.

B. Add a segment directive for the ADDM task.

C. Add a parameter directive for the ADDM task.

D. Disable the Segment Advisor from the Automatic Maintenance Task.

Answer: B

Q92. A PL/SQL procedure queries only those columns of a redefined table that were unchanged by the online table redefinition. 

What happens to the PL/SQL procedure after the online table redefinition?

A. It remains valid.

B. It becomes invalid for all options of online table redefinition but automatically gets revalidated the next time it is used.

C. It becomes invalid for all options of online table redefinition and is automatically recompiled during online redefinition of the table.

D. It becomes invalid only if the storage parameters have been modified and it automatically gets revalidated the next time it is used.

Answer: A

Q93. Which two statements are true regarding the SQL Repair Advisor? (Choose two.)

A. The SQL Repair Advisor can be invoked to tune the performance of the regressed SQL statements.

B. The SQL Repair Advisor can be invoked even when the incident is not active for a SQL statement crash.

C. The SQL Repair Advisor is invoked by the Health Monitor when it encounters the problematic SQL statement.

D. The DBA can invoke the SQL Repair Advisor when he or she receives an alert generated when a SQL statement crashes and an incident is created in the ADR.

Answer: BD

Q94. You are working on a CATDB database that contains an Oracle Database version 11.1 catalog schema owned by the user RCO11. The INST1 database contains an Oracle Database version 10.1 catalog schema owned by the user RCAT10.

You want the RMAN to import metadata for database IDs 1423241 and 1423242, registered in RCAT10, into the recovery catalog owned by RCO11. You also want to deregister them from the catalog after import.

You executed the following commands to achieve this:

RMAN> CONNECT CATALOG rco11/password@catdb

RMAN> IMPORT CATALOG rcat10/oracle@inst1 DBID=1423241,1423242; 

What happens if the RCO11 catalog has scripts with the same name as that of the scripts in RCAT10 catalog?

A. The scripts in the RCO11 catalog are overwritten.

B. RMAN renames the local stored scripts in the RCO11 catalog.

C. The RMAN session in which the command is executed aborts.

D. RMAN renames the global scripts that are imported from the RCAT10 catalog.

Answer: D

Q95. You installed Oracle Database 11g and are performing a manual upgrade of the Oracle9i database. As a part of the upgrade process, you execute the following script:

SQL>@utlu111i.sql.

Which statement about the execution of this script is true?

A. It must be executed from the Oracle Database 11g environment.

B. It must be executed only after the SYSAUX tablespace has been created.

C. It must be executed from the environment of the database that is being upgraded.

D. It must be executed only after AUTOEXTEND is set to ON for all existing tablespaces.

E. It must be executed from both the Oracle Database 11g and Oracle Database 9i environments.

Answer: C

Q96. You want to perform the following operations for the DATA ASM disk group:

-Verify the consistency of the disk.

-Cross-check all the file extent maps and allocation tables for consistency. -Check whether the alias metadata directory and file directory are linked correctly. -Check that ASM metadata directories do not have unreachable allocated blocks.

Which command accomplishes these tasks?

A. ALTER DISKGROUP data CHECK;

B. ALTER DISKGROUP data CHECK DISK;

C. ALTER DISKGROUP data CHECK FILE;

D. ALTER DISKGROUP data CHECK DISK IN FAILURE GROUP 1;

Answer: A

Q97. Observe the following PL/SQL block:

BEGIN

dbms_spm.configure('SPACE_BUDGET_PERCENT', 30);

END;

Which statement is correct regarding the above PL/SQL block?

A. It reserves 30% of the space in the SYSTEM tablespace for SMB.

B. It reserves 30% of the space in the SYSAUX tablespace for SQL Management Base (SMB).

C. It generates a weekly warning in the alert log file when SMB occupies more than 30% of the SYSAUX tablespace.

D. It automatically purges the SQL management objects when SMB occupies more than 30% of the SYSAUX tablespace.

Answer: C

Q98. You plan to have a larger moving window size for the default system-defined moving window baseline because you want to use the adaptive threshold. 

Which statement factors in this consideration while increasing the size of the moving window?

A. The collection level for the AWR should be set to BASIC.

B. The moving window size must be less than Undo Retention.

C. The moving window size should be greater than the Automatic Workload Repository (AWR) retention period.

D. The moving window size should be equal to or less than the Automatic Workload Repository (AWR) retention period.

Answer: D

Q99. Which client requests to the database can be captured as a part of the workload capture? (Choose all that apply.)

A. flashback query

B. distributed transactions

C. logging in and logging out of sessions

D. all DDL statements having bind variables

E. direct path load of data from external files

Answer: CD

Q100. You are managing an Oracle Database 11g ASM instance having three disks in a disk group with ASM compatibility attribute set to 11.1.0 and redundancy set to high. One of the disks in the disk group becomes unavailable because of power failure. 

Which statements will be true in this scenario? (Choose all that apply.)

A. The disk automatically goes offline.

B. The disk is immediately dropped from the disk group.

C. The ASM tracks the extents that are modified during the outage.

D. The ASM migrates the extents from the unavailable disk to the remaining disks.

Answer: AC