Free Download Latest 2014 Pass4sure&Lead2pass Oracle 1Z0-050 Dumps (41-50)

By | May 5, 2014

QUESTION 41
You executed the following PL/SQL block successfully:
VARIABLE tname VARCHAR2(20)
BEGIN
dbms_addm.insert_finding_directive (NULL, DIR_NAME=>’Detail CPU Usage’, FINDING_NAME=>’CPU Usage’,
MIN_ACTIVE_SESSIONS=>0, MIN_PERC_IMPACT=>90);
:tname := ‘database ADDM task4′;
dbms_addm.analyze_db(:tname, 150, 162);
END;
/
Then you executed the following command:
SQL> SELECT dbms_addm.get_report(:tname) FROM DUAL;
The above command produces Automatic Database Diagnostic Monitor (ADDM) analysis ____.

A.    with the CPU Usage finding if it is less than 90
B.    without the CPU Usage finding if it is less than 90
C.    with the CPU Usage finding for snapshots below 90
D.    with the CPU Usage finding for snapshots not between 150 and 162

Answer: B

QUESTION 42
Which statements describe the capabilities of the DBMS_NETWORK_ACL_ADMIN package? (Choose all that apply.)

A.    It can be used to allow the access privilege settings for users but not roles.
B.    It can be used to allow the access privilege settings for users as well as roles.
C.    It can be used to control the time interval for which the access privilege is available to a user.
D.    It can be used to selectively restrict the access for each user in a database to different host computers.
E.    It can be used to selectively restrict a user’s access to different applications in a specific host computer.

Answer: BCD

QUESTION 43
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

QUESTION 44
You are managing an Oracle Database 11g instance with ASM storage. The ASM instance is down. To know the details of the disks in the DATA disk group , you issued the following ASMCMD command:
ASMCMD> lsdsk -I -d DATA
Which statement is true regarding the outcome of this command?

A.    The command succeeds but it retrieves only the disk names.
B.    The command produces an error because the ASM instance is down.
C.    The command succeeds but it shows only the status of the ASM instance.
D.    The command succeeds and retrieves information by scanning the disk headers based on an
ASM_DISKSTRING value.

Answer: D

QUESTION 45
You plan to set up the Automatic Workload Repository (AWR) baseline metric thresholds for a moving window baseline. Which action would you take before performing this task?

A.    Compute the baseline statistics.
B.    Take an immediate AWR snapshot.
C.    Decrease the window size for the baseline.
D.    Decrease the expiration time for the baseline.

Answer: A

QUESTION 46
You need to create a partitioned table to store historical data and you issued the following command:
CREATE TABLE purchase_interval
PARTITION BY RANGE (time_id)
INTERVAL (NUMTOYMINTERVAL(1,’month’)) STORE IN (tbs1,tbs2,tbs3) (
PARTITION p1 VALUES LESS THAN(TO_DATE(‘1-1-2005’, ‘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′,’dd-mm-yyyy’);
What is the outcome of the above command?

A.    It returns an error because the range partitions P1 and P2 should be of the same range.
B.    It creates two range partitions (P1, P2). Within each range partition, it creates monthwise subpartitions.
C.    It creates two range partitions of varying range. For data beyond ‘1-1-2007,’ it creates partitions with
a width of one month each.
D.    It returns an error because the number of tablespaces (TBS1,TBS2,TBS3)specified does not match
the number of range partitions (P1,P2) specified.

Answer: C

QUESTION 47
View the Exhibit to examine the Automatic Database Diagnostic Monitor (ADDM) tasks.
You executed the following commands:
SQL> VAR tname VARCHAR2(60);
SQL> BEGIN
:tname := ‘my_instance_analysis_mode_task’;
DBMS_ADDM.INSERT_SEGMENT_DIRECTIVE(:tname,’Sg_directive’,’SCOTT’); END;
Which statement describes the consequence?

image

A.    The ADDM task is filtered to suppress the Segment Advisor suggestions for the SCOTT schema.
B.    The ADDM task is filtered to produce the Segment Advisor suggestions for the SCOTT schema only.
C.    The PL/SQL block produces an error because the my_instance_analysis_mode_task task has not
been reset to its initial state.
D.    All subsequent ADDM tasks including my_instance_analysis_mode_task are filtered to suppress the
Segment Advisor suggestions for the SCOTT schema.

Answer: C

QUESTION 48
View the Exhibit exhibit1 to observe the maintenance window property. View the Exhibit exhibit2 to examine the output of the query. Which two statements describe the conclusions? (Choose two.)

image

A.    The window duration should be increased.
B.    RESOURCE_PERCENTAGE should be increased.
C.    RESOURCE_PERCENTAGE should be decreased.
D.    The repeat time for the window should be decreased.

Answer: AB

QUESTION 49
Examine the following PL/SQL block:
DECLARE
my_plans pls_integer;
BEGIN
my_plans := DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE (sql_id => ?9twu5t2dn5xd?;
END;
Which statement is true about the plan being loaded into the SQL plan baseline by the above command?

A.    It is loaded with the FIXED status.
B.    It is loaded with the ACCEPTED status.
C.    It is not loaded with the ENABLED status.
D.    It is not loaded with the ACCEPTED status.

Answer: B

QUESTION 50
Evaluate the following statements:
CREATE TABLE purchase_orders
(po_id NUMBER(4),
po_date TIMESTAMP,
supplier_id NUMBER(6),
po_total NUMBER(8,2),
CONSTRAINT order_pk PRIMARY KEY(po_id))
PARTITION BY RANGE(po_date)
(PARTITION Q1 VALUES LESS THAN (TO_DATE(?1-apr-2007?d-mon-yyyy?), PARTITION Q2 VALUES LESS THAN (TO_DATE(?1-jul-2007?d-mon-yyyy?),
PARTITION Q3 VALUES LESS THAN (TO_DATE(?1-oct -2007?d-mon-yyyy?), PARTITION Q4 VALUES LESS THAN (TO_DATE(?1-jan-2008?d-mon-yyyy?)); CREATE TABLE purchase_order_items
(po_id NUMBER(4) NOT NULL,
product_id NUMBER(6) NOT NULL,
unit_price NUMBER(8,2),
quantity NUMBER(8),
CONSTRAINT po_items_fk
FOREIGN KEY (po_id) REFERENCES purchase_orders(po_id)) PARTITION BY REFERENCE(po_items_fk);
What are the two consequences of the above statements? (Choose two.)

A.    Partitions of PURCHASE_ORDER_ITEMS have system-generated names.
B.    Both PURCHASE_ORDERS and PURCHASE_ORDER_ITEMS tables are created with four
partitions each.
C.    Partitions of the PURCHASE_ORDER_ITEMS table exist in the same tablespaces as the partitions
of the PURCHASE_ORDERS table.
D.    The PURCHASE_ORDER_ITEMS table inherits the partitioning key from the parent table by
automatically duplicating the key columns.
E.    Partition maintenance operations performed on the PURCHASE_ORDER_ITEMS table are
automatically reflected in the PURCHASE_ORDERS table.

Answer: BC

If you want to pass Oracle 1Z0-050 successfully, do not missing to read latest lead2pass Oracle 1Z0-050 practice exams.
If you can master all lead2pass questions you will able to pass 100% guaranteed.

http://www.lead2pass.com/1Z0-050.html