Pass4itsure > Oracle > Oracle Database > 1Z0-117 > 1Z0-117 Online Practice Questions and Answers

1Z0-117 Online Practice Questions and Answers

Questions 4

Which are the two prerequisites for enabling star transformation on queries?

A. The STAR_TRANSFORMATION_ENABLED parameter should be set to TRUE or TEMP_DISABLE.

B. A B-tree index should be built on each of the foreign key columns of the fact table(s),

C. A bitmap index should be built on each of the primary key columns of the fact table(s).

D. A bitmap index should be built on each of the foreign key columns of the fact table(s).

E. A bitmap index must exist on all the columns that are used in the filter predicates of the query.

Buy Now
Questions 5

You are logged in as the HR user and you execute the following procedure:

SQL > exec DBMS_STATS.SET_TABLE_PREFS (`HR', `EMPLOYEES', `PUBLISH', `FALSE'); SQL> exec DBMS_STATS.GATHER_TABLE_STATS (`HR', `EMPLOYEES');

Which statement is true about the newly gathered statistics?

A. They are temporary and purged when the session exits.

B. They are used by the optimizer for all sessions.

C. They are locked and cannot be overwritten.

D. They are marked as pending and stored in the pending statistics table.

Buy Now
Questions 6

Examine the following anonymous PL/SQL code block of code:

Which two are true concerning the use of this code?

A. The user executing the anonymous PL/SQL code must have the CREATE JOB system privilege.

B. ALTER SESSION ENABLE PARALLEL DML must be executed in the session prior to executing the anonymous PL/SQL code.

C. All chunks are committed together once all tasks updating all chunks are finished.

D. The user executing the anonymous PL/SQL code requires execute privilege on the DBMS_JOB package.

E. The user executing the anonymous PL/SQL code requires privilege on the DBMS_SCHEDULER package.

F. Each chunk will be committed independently as soon as the task updating that chunk is finished.

Buy Now
Questions 7

Examine the Exhibit to view the structure of an indexes for the SALES table.

The SALES table has 4594215 rows. The CUST_ID column has 2079 distinct values. What would you do to influence the optimizer for better selectivity?

A. Drop bitmap index and create balanced B*Tree index on the CUST_ID column.

B. Create a height-balanced histogram for the CUST_ID column.

C. Gather statistics for the indexes on the SALES table.

D. Use the ALL_ROWS hint in the query.

Buy Now
Questions 8

You plan to bulk load data using INSERT /*+PARALLEL*/ INTO . . . . SELECT FROM statements.

Which four types of operations can execute in parallel on tables that have no bitmapped indexes or materialized views defined on term?

A. Direct path insert of a million rows into a partitioned, index-organized table containing one million rows.

B. Direct path insert of a million rows into a partitioned, index-organized table containing 10 million rows.

C. Direct path insert of a million rows into a nonpartitioned, index-organized table containing one million rows.

D. Direct path insert of a million rows into a nonpartitioned, heap-organized table containing 10 million rows.

E. Direct path insert of a million rows into a nonpartitioned, heap-organized table containing one million rows.

Buy Now
Questions 9

View the exhibit and examine the findings provided by the SQL Tuning Advisor for SELECT Statement.

A SWL plan baseline already exists for the execution plan.

What two methods can you use to ensure that an alternate plan becomes an accepted plan?

A. Use the DBMS_SPM.ALTER_SQL_PLAN_BASELINE function.

B. Use the DBMS_SQLTUNE.CREATE_SQL_PLAN_BASELINE function.

C. Use the DBMS_SQLTUNE.CREATE_SQL_PLAN_BASELINE function and run the DBMS_STATS to manually refresh stale statistics.

D. Use the DBMS_SPM.LOAD_PLANS_FROM_SQLSET function.

Buy Now
Questions 10

Which three factors does the estimator depend on for overall cost estimation of a given execution plan?

A. Cardinality

B. Sort area size

C. OPTIMIZER_FEATURE_ENABLE parameter

D. NOT NULL_FEATURE_ENABLE parameter

E. NOT NULL constraint on a unique key column

F. Library cache size

G. The units of work such as disk input/output, CPU usage, and memory used in an operation

Buy Now
Questions 11

You are administering a database supporting an OLTP workload where the users perform frequent queries for fetching a new rows as possible, involving join operations on recently inserted data. In addition at night, a few DSS queries are also performed. Examine the initialization parameters for the instance:

Which two options would you use for the optimizer?

A. Set the OPTIMIZER_MODE initialization parameter to FIRST_ROWS_n.

B. Add the hint ALL_ROWS in the DOS queries.

C. Set the OPTIMIZER_INDEX_CACHING initialization parameter to 0.

D. Add a hint INDEX_COMBINE in all DSS queries.

E. Set the OPTIMIZER_INDEX_COST_ADJ initialization parameter to 100.

Buy Now
Questions 12

Examine the Exhibit1 to view the structure of an indexes for the EMPLOYEES table.

Examine the query:

SQL> SELECT * FROM employees WHERE employees_id IN (7876, 7900, 7902);

EMPLOYEE_ID is a primary key in the EMPLOYEES table that has 50000 rows.

Which statement is true regarding the execution of the query?

A. The query uses an index skip scan on the EMP_EMP_ID_PK index to fetch the rows.

B. The query uses the INLIST ITERATOR operator to iterate over the enumerated value list, and values are evaluated using an index range scan on the EMP_EMP_ID_PK index.

C. The query uses the INLIST ITERATOR operator to iterate over the enumerated value list, and values are evaluated using a fast full index scan on the EMP_EMP_ID_PK index.

D. The query uses the INLIST ITERATOR operator to iterate over the enumerated value list, and values are evaluated using an index unique scan on the EMP_EMP_ID_PK index.

E. The query uses a fast full index scan on the EMP_EMP_ID_PK index fetch the rows.

Buy Now
Questions 13

You recently gathered statistics for a table by using the following commands:

You noticed that the performance of queries has degraded after gathering statistics. You want to use the old statistics. The optimizer statistics retention period is

default.

What must you do to use the old statistics?

A. Use the flashback to bring back the statistics to the desired time.

B. Restore statistics from statistics history up to the desired time.

C. Delete all the statistics collected after the desired time.

D. Set OPTIMIZER_USE_PENDING_STATISTICS to TRUE.

Buy Now
Exam Code: 1Z0-117
Exam Name: Oracle Database 11g Release 2: SQL Tuning Exam
Last Update: Apr 26, 2024
Questions: 125
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$45.99

VCE

$49.99

PDF + VCE

$59.99