1z0-050 | how many questions of 1z0-050 practice test?


Q101. 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('SH','SALES',GRANULARITY=>'GLOBAL'); You need statistics to be collected more quickly. 

What can you do to achieve this?

A. Set DYNAMIC_SAMPLING to level 4.

B. Set the STATISTICS_LEVEL parameter to BASIC.

C. Set the INCREMENTAL value to TRUE for the partition table.

D. Increase the value of STALE_PERCENT for the partition table.

Answer: C

Q102. Which two are the uses of the ASM metadata backup and restore (AMBR) feature? (Choose two.)

A. It can be used to back up all data on ASM disks.

B. It can be used to re-create the ASM disk group with its attributes.

C. It can be used to recover the damaged ASM disk group along with the data.

D. It can be used to gather information about a preexisting ASM disk group with disk paths, disk name, failure groups, attributes, templates, and alias directory structure.

Answer: BD

Q103. View the Exhibit.

Examine the following command that is executed for the TRANSPORT table in the SH schema:

SQL> SELECT DBMS_STATS.CREATE_EXTENDED_STATS('sh', 'customers_obe', '(country_id,

cust_state_province)') FROM dual;

Which statement describes the significance of this command?

A. It collects statistics into the pending area in the data dictionary.

B. It creates a virtual hidden column in the CUSTOMERS_OBE table.

C. It collects statistics with AUTO_SAMPLE_SIZE for ESTIMATE_PERCENT.

D. It creates a histogram to hold skewed information about the data in the columns.

Answer: B

Q104. 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,'TASK1'); END;

/

BEGIN

dbms_advisor.set_task_parameter('TASK1','ANALYSIS_SCOPE','ALL'); dbms_advisor.set_task_parameter('TASK1','MODE','COMPREHENSIVE'); END;

/

BEGIN

dbms_advisor.execute_task('TASK1');

dbms_output.put_line(dbms_advisor.get_task_script('TASK1')); END;

/

The blocks of code execute successfully; however, you do not get the required outcome.

What could be the reason?

A. A template needs to be associated with the task.

B. A workload needs to be associated with the task.

C. The partial or complete workload scope needs to be associated with the task.

D. The type of structures (indexes, materialized views, or partitions) to be recommended need to be specified for the task.

Answer: B

Q105. View the Exhibit and examine the output.

You executed the following command to enable Flashback Data Archive on the EXCHANGE_RATE table:

ALTER TABLE exchange_rate FLASHBACK ARCHIVE;

What is the outcome of this command?

A. The table uses the default Flashback Archive.

B. The Flashback Archive is created on the SYSAUX tablespace.

C. The Flashback Archive is created on the same tablespace where the tables are stored.

D. The command generates an error because no Flashback Archive name is specified and there is no default Flashback Archive.

Answer: D

Q106. View the Exhibit exhibit1.

In the CUSTOMERS_OBE table, when the value of CUST_STATE_PROVINCE is "CA", the value of COUNTRY_ID is "US."

View the Exhibit exhibit2 to examine the commands and query plans. The optimizer can sense 8 rows instead of 29 rows, which is the actual number of rows in the table. 

What can you do to make the optimizer detect the actual selectivity?

A. Set the STATISTICS_LEVEL parameter to TYPICAL.

B. Change the STALE_PERCENT value for the CUSTOMERS_OBE table.

C. Set the OPTIMIZER_USE_PENDING_STATISTICS parameter to FALSE.

D. Create extended statistics for the CUST_STATE_PROVINCE and CUSTOMERS_OBE columns.

Answer: D

Q107. You decided to use Direct NFS configuration in a non-RAC Oracle installation and created the oranfstab file in /etc. 

Which two statements are true regarding this oranfstab file? (Choose two.)

A. Its entries are specific to a single database.

B. It contains file systems that have been mounted by Direct NFS.

C. It is globally available to all Oracle 11g databases on the machine.

D. It contains file systems that have been mounted by the kernel NFS system.

Answer: CD

Q108. You set the following parameters in the parameter file and restarted the database:

MEMORY_MAX_TARGET=0

MEMORY_TARGET=500M

PGA_AGGREGATE_TARGET=90M

SGA_TARGET=270M

Which two statements are true regarding these parameters after the database instance is restarted? (Choose two.)

A. The MEMORY_MAX_TARGET parameter is automatically set to 500 MB.

B. The value of the MEMORY_MAX_TARGET parameter remains zero till it is changed manually.

C. The PGA_AGGREGATE_TARGET and SGA_TARGET parameters are automatically set to zero.

D. The lower bounds of PGA_AGGREGATE_TARGET and SGA_TARGET parameters are set to 90 MB and 270 MB, respectively.

Answer: AD

Q109. In your database, the RESULT_CACHE_MODE parameter has been set to MANUAL in the initialization parameter file.

You issued the following command:

SQL>SELECT /*+ RESULT_CACHE */ sale_category, sum(sale_amt) FROM sales

GROUP BY sale_category;

Where would the result of this query be stored?

A. PGA

B. large pool

C. shared pool

D. database buffer cache

Answer: C

Q110. You performed the RMAN database backup having a backupset key number 231 with the KEEP FOREVER option. After some days, you want to change the status of the database backup and you issued the following command:

RMAN>CHANGE BACKUPSET 231 NOKEEP;

What is the implication of this command?

A. The backup is deleted.

B. The backup is marked unavailable.

C. The backup overrides the backup retention policy.

D. the backup becomes eligible for deletion according to the existing retention policy

Answer: D