1Z0-052 | Refresh 1Z0-052 Exam Study Guides With New Update Exam Questions


Q51. In which of the scenario will the DBA perform recovery? (Choose all that apply.)

A. The alert log file is corrupted

B. A tablespace is accidentally dropped

C. One of the redo log members is corrupted

D. A database user terminates the session abnormally

E. The hard disk on which the data files is stored is corrupted

Answer: BE

Q52. In your database instance, the STATISTICS_LEVEL initialization parameter is set to BASIC.

What is the impact of this setting?

A. Optimizer statistics are collected automatically.

B. Only timed operating system (OS) statistics and plan execution statistics are collected.

C. The snapshots for the Automatic Workload Repository (AWR) are not generated automatically.

D. Snapshots cannot be collected manually by using the DBMS_WORKLOAD_REPOSITORY package.

E. The Oracle server dynamically generates the necessary statistics on tables as part of query optimization.

Answer: C

Q53. The HR user creates a stand-alone procedure as follows and grants the EXECUTE privilege on the procedure to many database users:

CREATE OR REPLACE PROCEDURE create_dept ( v_deptno NUMBER, v_dname VARCHAR2,

v_mgr NUMBER, v_loc NUMBER)

BEGIN

INSERT INTO hr.departments VALUES (v_deptno, v_dname, v_mgr, v_loc);

END;

The users having permission to execute the procedure are able to insert records into the

DEPARTMENTS table even though they do not have the INSERT privilege on the table. You want only those users who have privileges on the DEPARTMENTS table to be able to execute the procedure successfully.

What would you suggest to the PL/SQL developers to achieve this?

A. Create the procedure with definer's right.

B. Create the procedure with invoker's right.

C. Grant the EXECUTE privilege with GRANT OPTION on the procedure to selected users.

D. Create the procedure as part of a PL/SQL package and grant the EXECUTE privilege on the package to selected users.

Answer: B

Q54. You are in the middle of a transaction updating a very important table. The machine on which a database was running reboots because of power outage. This caused a database instance failure.

Which statement is true in this situation?

A. The online redo log files and archived redo log files are required to accomplish the recovery

B. The uncommitted transaction will be committed at the next startup of the database instance 

C. The uncommitted transaction is rolled back automatically at the next opening of the database

D. The DBA has to perform the recovery on the database to recover the uncommitted transaction

Answer: C

Q55. Which statements listed below describe the data dictionary views?

1. These are stored in the SYSTEM tablespace

2. These are the based on the virtual tables

3. These are owned by the SYS user

4. These can be queried by a normal user only if O7_DICTIONARY_ACCESSIBLILITY parameter is set to TRUE

5. The V$FIXED_TABLE view can be queried to list the names of these views

A. 1 and 3

B. 2,3 and 5

C. 1,2, and 5

D. 2,3,4 and 5

Answer: A

Q56. Your database is in shutdown state. What will happend if you issue next command:

SQL> startup

A. instance will started

B. instance started and DB is mounted

C. instance started, DB opened and finally mounted

D. instance started, DB mounted and finally opened

Answer: D

Q57. Which two statements about the background process of the database writer are true? (Choose two.)

A. It is possible to have multiple database writers in an Oracle instance.

B. It writes dirty buffers, if any, to data files whenever a checkpoint occurs.

C. It writes dirty buffers, if any, to data files whenever a transaction commits.

D. It writes dirty buffers, if any, to data files before the log writer (LGWR) writes.

Answer: AB

Q58. You executed the following command to perform a backup of the USERS tablespace:

SQL> ALTER TABLESPACE users BEGIN BACKUP;

ALTER TABLESPACE users BEGIN BACKUP

*

ERROR at line 1:

ORA-01123: cannot start online backup; media recovery not enabled

What could be the reason for this error?

A. The MTTR Advisor is disabled.

B. The database is in NOARCHIVELOG mode.

C. The tablespace is already in backup mode.

D. The Flash Recovery Area is not configured.

Answer: B

Q59. Examine the command that is used to create a table:

SQL> CREATE TABLE orders

( oid NUMBER(6) PRIMARY

KEY, odate DATE,

ccode NUMBER (6),

oamt NUMBER(10,2)

) TABLESPACE users;

Which two statements are true about the effect of the above command? (Choose two.)

A. A CHECK constraint is created on the OID column.

B. A NOT NULL constraint is created on the OID column.

C. The ORDERS table is the only object created in the USERS tablespace.

D. The ORDERS table and a unique index are created in the USERS tablespace.

E. The ORDERS table is created in the USERS tablespace and a unique index is created on the OID column in the SYSTEM tablespace.

Answer: BD

Q60. Which statement describes the effect on an index, when the indexed column for the rows is updated in the base table?

A. An update in a leaf row takes place.

B. The index becomes invalid after the update.

C. The leaf block containing the row to be updated is marked as invalid.

D. A row in the leaf block of the index for the key value is logically deleted and a new leaf row is inserted.

Answer: D