1Z0-052 | Exact Oracle 1Z0-052 exam question


Q101. You are managing an Oracle Database 11g database with the following backup strategy:

1. On Sunday, an incremental level 0 tape backup is performed

2. Monday through Saturday, a cumulative incremental level 1 tape backup is performed

Which two statements are true regarding the backups performed? (Choose two.)

A. The backup performed in step 1 backs up all blocks that have ever been in use in the database

B. The backup performed in step 2 copies all the blocks changed since the most recent level 0 backup

C. The backup performed in step 1 backs up all the blocks changed since the most recent level 1 backup

D. The backup performed in step 2 backs up all blocks that have changed since the most recent incremental backup at level 1

Answer: AB

Q102. You execute the following command to change the status of the SALES tablespace:

SQL> ALTER TABLESPACE sales OFFLINE;

Which statements describe the effect of the command? (Choose all that apply.)

A. The tablespace would require recovery to go back online.

B. A checkpoint is taken on all data files that are associated with the SALES tablespace.

C. The sessions that subsequently try to access the objects in the SALES tablespace receivean error.

D. The new status of the SALES tablespace is recorded in the control file when the database instance is closed.

Answer: BC

Q103. You want to enable archiving on your database. Presently, the database is running in NOARCHIVELOG mode.

Given below are the steps to accomplish the task in random order:

1. Shut down the instance.

2. Execute the ALTER DATABASE ARCHIVELOG command.

3. Start up the instance and mount the database.

4. Set the DB_RECOVERY_FILE_DEST initialization parameter to $ORACLE_HOME/dest_1.

5. Open the database.

Which is the correct sequence of steps for accomplishing the task?

A. 4, 1, 3, 2, 5

B. 1, 3, 4, 5, 2

C. 1, 3, 2, 5; 4 not required

D. 4, 1, 5, 2; 3 not required

E. 1, 3, 4, 5; 2 not required

Answer: C

Q104. You executed the following command to create a tablespace called SALES_DATA:

SQL> CREATE TABLESPACE sales_data

DATAFILE SIZE 100M

SEGMENT SPACE MANAGEMENT AUTO;

Which two statements are true about the SALES_DATA tablespace? (Choose two)

A. The database automatically determines the extent-sizing policy for the tablespace.

B. The segments are automatically shrunk when the contents are removed from them.

C. The allocation of extents within the tablespace is managed through the dictionary tables.

D. The space utilization description of the data blocks in segments is recorded in bitmap blocks.

E. The space utilization description of the data blocks in segments is managed through free lists.

Answer: AD

Q105. Your test database is configured to run in NOARCHIVELOG mode. One of the data files in the USERS tablespace is lost due to a media failure. You notice that all the online redo logs have been overwritten since the last backup.

What would you do to recover the data file?

A. Take the USERS tablespace offline and re-create the lost data file

B. Shutdown the instance, restore the data file from the last consistent backup and restart the database instance

C. Shutdown the instance, restores all the database files from the last consistent backup and restart the database instance

D. Take the USERS tablespace offline, restore all the data files of the USERS tablespace from the last consistent backup and make the tablespace online

Answer: C

Q106. Which three statements are correct about temporary tables? (Choose three.)

A. Indexes and views can be created on temporary tables.

B. Both the data and the structure of temporary tables can be exported.

C. Temporary tables are always created in a user's temporary tablespace.

D. The data inserted into a temporary table in a session is available to other sessions.

E. Data manipulation language (DML) locks are never acquired on the data of temporary tables.

Answer: ACE

Q107. In which situation may the UNDO_RETENTION parameter be ignored, even if it is set to a value?

A. When the data file of the undo tablespace is autoextensible

B. When there are more than one undo tablespace available in the database

C. When the undo tablespace is of a fixed size and retention guarantee is not enabled

D. When the undo tablespace is autoextensible and retention guarantee is not enabled

Answer: C

Q108. View the Exhibit and examine the user information.

The user has been granted CONNECT and RESOURCE roles and no individual system privileges.

The SL_REP user executes this command to create a table:

SQL> CREATE TABLE orders (

oid number(6),

odate date,

ccode number(4),

oamt number(10,2)

) TABLESPACE purchase_space;

The PURCHASE_SPACE tablespace already exists in the database.

Which statement describes the effect of the command?

Exhibit:

A. The command executes successfully and creates the table in the USERS tablespace.

B. The command executes successfully and creates the table in the PURCHASE_SPACE tablespace.

C. The command produces an error because the user does not have the privilege to createthe table.

D. The command produces an error because the user does not have quota in the PURCHASE_SPACE tablespace.

Answer: B

Q109. View the Exhibit and examine the privileges granted to the MGR_ROLE role.

The user SKD has been granted the CONNECT and RESOURCE roles only. The database administrator (DBA) grants MGR_ROLE to the user SKD by executing the command:

SQL> GRANT MGR_ROLE TO SKD WITH ADMIN OPTION;

Which statement is true about the user SKD after he/she is granted this role?

Exhibit:

A. The user SKD can grant only the MGR_ROLE role to other users, but not the privileges in it

B. The user SKD can revoke the MGR_ROLE only from the users for whom he/she is the grantor

C. The user SKD can grant the privileges in the MGR_ROLE role to other users but not with ADMIN OPTION

D. The user SKD can grant the privileges in the MGR_ROLE role to other users, but cannot revoke privileges from them

Answer: A

Q110. The session of user SCOTT receives the following error after executing an UPDATE command on the EMP table:

ERROR at line 1:

ORA-00060: deadlock detected while waiting for resource

On investigation, you find that a session opened by user JIM has a transaction that caused the deadlock.

Which two statements are true regarding the session of SCOTT in this scenario? (Choose two.)

A. The session is terminated after receiving the error and JIM can continue with his transaction.

B. SCOTT should perform a COMMIT or ROLLBACK to allow JIM to continue with his transaction.

C. The session is rolled back after receiving the error and JIM can continue with his transaction.

D. SCOTT has to reexecute the last command in the transaction after he commits the transaction.

Answer: BD