Lead2Pass - Latest Free Oracle 1Z0 060 Dumps (31 40) Download!
Lead2Pass - Latest Free Oracle 1Z0 060 Dumps (31 40) Download!
Answer: CE
Explanation:
utlrp.sql and utlprp.sql
The utlrp.sql and utlprp.sql scripts are provided by Oracle to recompile all invalid objects in the database. They are typically run
after major database changes such as upgrades or patches. They are located in the $ORACLE_HOME/rdbms/admin directory and
provide a wrapper on the UTL_RECOMP package. The utlrp.sql script simply calls the utlprp.sql script with a command line
parameter of "0". The utlprp.sql accepts a single integer parameter that indicates the level of parallelism as follows.
0 - The level of parallelism is derived based on the CPU_COUNT parameter. 1 - The recompilation is run serially, one object at a
time. N - The recompilation is run in parallel with "N" number of threads. Both scripts must be run as the SYS user, or another user
with SYSDBA, to work correctly.
QUESTION 32
Which statement is true concerning dropping a pluggable database (PDB)?
Answer: C
QUESTION 33
You notice a high number of waits for the db file scattered read and db file sequential read events in the recent Automatic Database
Diagnostic Monitor (ADDM) report. After further investigation, you find that queries are performing too many full table scans and
indexes are not being used even though the filter columns are indexed.
Identify three possible reasons for this.
Answer: ACD
Explanation:
Output as PDF file has been powered by [ Universal Post Manager ] plugin from www.ProfProjects.com | Page 1/5 |
This page was exported from - Easily Pass By Training Lead2pass Latest Dumps
Export date: Tue May 12 22:29:01 2015 / +0000 GMT
D:DB_FILE_MULTIBLOCK_READ_COUNT is one of the parameters you can use to minimize I/O during table scans. It specifies
the maximum number of blocks read in one I/O operation during a sequential scan. The total number of I/Os needed to perform a
full table scan depends on such factors as the size of the table, the multiblock read count, and whether parallel execution is being
utilized for the operation.
QUESTION 34
Which three features work together, to allow a SQL statement to have different cursors for the same statement based on different
selectivity ranges?
Answer: ACE
Explanation:
*In bind variable peeking (also known as bind peeking), the optimizer looks at the value in a bind variable when the database
performs a hard parse of a statement.
When a query uses literals, the optimizer can use the literal values to find the best plan. However, when a query uses bind variables,
the optimizer must select the best plan without the presence of literals in the SQL text. This task can be extremely difficult. By
peeking at bind values the optimizer can determine the selectivity of a WHERE clause condition as if literals had been used, thereby
improving the plan.
C:Oracle 11g/12guses Adaptive Cursor Sharing to solve this problem by allowing the server to compare the effectiveness of
execution plans between executions with different bind variable values. If it notices suboptimal plans, it allows certain bind variable
values, or ranges of values, to use alternate execution plans for the same statement. This functionality requires no additional
configuration.
QUESTION 35
You notice a performance change in your production Oracle 12c database. You want to know which change caused this performance
difference.
Which method or feature should you use?
Answer: B
Explanation:
The awrddrpt.sql report is the Automated Workload Repository Compare Period Report. The awrddrpt.sql script is located in the
$ORACLE_HOME/rdbms/admin directory.
Incorrect:
Not A:Compare Period ADDM
Use this report to perform a high-level comparison of one workload replay to its capture or to another replay of the same capture.
Only workload replays that contain at least 5 minutes of database time can be compared using this report.
QUESTION 36
You want to capture column group usage and gather extended statistics for better cardinality estimates for the CUSTOMERS table
in the SH schema.
Output as PDF file has been powered by [ Universal Post Manager ] plugin from www.ProfProjects.com | Page 2/5 |
This page was exported from - Easily Pass By Training Lead2pass Latest Dumps
Export date: Tue May 12 22:29:01 2015 / +0000 GMT
A. 3, 2, 1, 4
B. 2, 3, 4, 1
C. 4, 1, 3, 2
D. 3, 2, 4, 1
Answer: B
Explanation:
Step1(2). Seed column usage
Oracle must observe a representative workload, in order to determine the appropriate column groups. Using the new procedure
DBMS_STATS.SEED_COL_USAGE, you tell Oracle how long it should observe the workload.
Step 2: (3) You don't need to execute all of the queries in your work during this window. You can simply run explain plan for some
of your longer running queries to ensure column group information is recorded for these queries.
Step 3. (1)Create the column groups
At this point you can get Oracle to automatically create the column groups for each of the tables based on the usage information
captured during the monitoring window. You simply have to call the DBMS_STATS.CREATE_EXTENDED_STATS function for
each table.This function requires just two arguments, the schema name and the table name. From then on, statistics will be
maintained for each column group whenever statistics are gathered on the table.
Note:
*DBMS_STATS.REPORT_COL_USAGE reports column usage information and records all the SQL operations the database has
processed for a given object.
*The Oracle SQL optimizer has always been ignorant of the implied relationships between data columns within the same table.
While the optimizer has traditionally analyzed the distribution of values within a column, he does not collect value-based
relationships between columns. *Creating extended statisticsHere are the steps to create extended statistics for related table columns
withdbms_stats.created_extended_stats:
1 - The first step is to create column histograms for the related columns.2 ?Next, we run dbms_stats.create_extended_stats to relate
the columns together. Unlike a traditional procedure that is invoked via an execute ("exec") statement, Oracle extended statistics are
created via a select statement.
QUESTION 37
Which three statements are true about Automatic Workload Repository (AWR)?
Answer: BCE
Explanation:
*A fundamental aspect of the workload repository is that it collects and persists database performance data in a manner that enables
historical performance analysis. The mechanism for this is the AWR snapshot. On a periodic basis, AWR takes a "snapshot" of the
current statistic values stored in the database instance's memory and persists them to its tables residing in the SYSAUX tablespace.
Output as PDF file has been powered by [ Universal Post Manager ] plugin from www.ProfProjects.com | Page 3/5 |
This page was exported from - Easily Pass By Training Lead2pass Latest Dumps
Export date: Tue May 12 22:29:01 2015 / +0000 GMT
*AWR is primarily designed to provide input to higherlevel components such as automatic tuning algorithms and advisors, but can
also provide a wealth of information for the manual tuning process.
QUESTION 38
You upgraded your database from pre-12c to a multitenant container database (CDB) containing pluggable databases (PDBs).
Examine the query and its output:
Answer: BD
Explanation:
*orapwd
/You can create a database password file using the password file creation utility, ORAPWD.
The syntax of the ORAPWD command is as follows:
orapwd FILE=filename [ENTRIES=numusers] [FORCE={y|n}] [ASM={y|n}] [DBUNIQUENAME=dbname]
[FORMAT={12|legacy}] [SYSBACKUP={y|n}] [SYSDG={y|n}] [SYSKM={y|n}] [DELETE={y|n}] [INPUT_FILE=input-fname]
force - whether to overwrite existing file (optional),
*v$PWFILE_users
/ 12c:V$PWFILE_USERS lists all users in the password file, and indicates whether the user has been granted the SYSDBA,
SYSOPER, SYSASM, SYSBACKUP, SYSDG, and SYSKM privileges.
/ 10c:sts users who have been granted SYSDBA and SYSOPER privileges as derived from the password file.
ColumnDatatypeDescription
USERNAMEVARCHAR2(30)The name of the user that is contained in the password file SYSDBAVARCHAR2(5)If TRUE, the
user can connect with SYSDBA privileges SYSOPERVARCHAR2(5)If TRUE, the user can connect with SYSOPER privileges
Incorrect:
not E: The format of the v$PWFILE_users file is already in 12c format.
QUESTION 39
An application accesses a small lookup table frequently. You notice that the required data blocks are getting aged out of the default
buffer cache.
How would you guarantee that the blocks for the table never age out?
A. Configure the KEEP buffer pool and alter the table with the corresponding storage clause.
B. Increase the database buffer cache size.
C. Configure the RECYCLE bufferpool and alter the table with the corresponding storage clause.
D. Configure Automata Shared Memory Management.
E. Configure Automatic Memory Management-
Answer: A
Output as PDF file has been powered by [ Universal Post Manager ] plugin from www.ProfProjects.com | Page 4/5 |
This page was exported from - Easily Pass By Training Lead2pass Latest Dumps
Export date: Tue May 12 22:29:02 2015 / +0000 GMT
Explanation:
Schema objects are referenced with varying usage patterns; therefore, their cache behavior may be quite different. Multiple buffer
pools enable you to address these differences. You can use a KEEP buffer pool to maintain objects in the buffer cache and a
RECYCLE buffer pool to prevent objects from consuming unnecessary space in the cache. When an object is allocated to a cache,
all blocks from that object are placed in that cache. Oracle maintains a DEFAULT buffer pool for objects that have not been
assigned to one of the buffer pools.
QUESTION 40
You conned using SQL Plus to the root container of a multitenant container database (CDB) with SYSDBA privilege.
The CDB has several pluggable databases (PDBs) open in the read/write mode.
There are ongoing transactions in both the CDB and PDBs.
What happens alter issuing the SHUTDOWN TRANSACTIONAL statement?
Answer: B
Explanation:
*SHUTDOWN [ABORT | IMMEDIATE | NORMAL | TRANSACTIONAL [LOCAL]]
Shuts down a currently running Oracle Database instance, optionally closing and dismounting a database. If the current database is a
pluggable database, only the pluggable database is closed.
The consolidated instance continues to run.
Shutdown commands that wait for current calls to complete or users to disconnect such as SHUTDOWN NORMAL and
SHUTDOWN TRANSACTIONAL have a time limit that the SHUTDOWN command will wait. If all events blocking the shutdown
have not occurred within the time limit, the shutdown command cancels with the following message:
ORA-01013: user requested cancel of current operation
*If logged into a CDB, shutdown closes the CDB instance.
To shutdown a CDB or non CDB, you must be connected to the CDB or non CDB instance that you want to close, and then enter
SHUTDOWN
Database closed.
Database dismounted.
Oracle instance shut down.
To shutdown a PDB, you must log into the PDB to issue the SHUTDOWN command.
SHUTDOWN
Pluggable Database closed.
Note:
*Prerequisites for PDB Shutdown
When the current container is a pluggable database (PDB), the SHUTDOWN command can only be used if:
The current user has SYSDBA, SYSOPER, SYSBACKUP, or SYSDG system privilege.
The privilege is either commonly granted or locally granted in the PDB.
The current user exercises the privilege using AS SYSDBA, AS SYSOPER, AS SYSBACKUP, or AS SYSDG at connect time.
To close a PDB, the PDB must be open.
If you want to pass the Oracle 12c 1Z0-060 exam sucessfully, recommend to read latest Oracle 12c 1Z0-060 Dumps full version.
http://www.lead2pass.com/1z0-060.html
Output as PDF file has been powered by [ Universal Post Manager ] plugin from www.ProfProjects.com | Page 5/5 |