1Z0-052 Exam - Oracle Database 11g: Administration I

certleader.com

Q1. The user SCOTT owns the CUST table that is placed in the SALES tablespace. The user SCOTT opens a session and executes commands as follows:

SQL> INSERT INTO cust VALUES(101, 'JACK');

1 row created.

SQL> INSERT INTO cust VALUES(102, 'SMITH');

1 row created.

As a DBA, you execute the following command from another session:

ALTER TABLESPACE sales READ ONLY;

Which statement is true regarding the effect of this command on the transaction in Scott's session?

A. The command fails as a transaction is still pending.

B. The transaction in Scott's session is rolled back and the tablespace becomes readonly.

C. The command waits and the user SCOTT can execute data manipulation language (DML) statements only as part of the current transaction.

D. The command hangs until all transactions on the objects in the tablespace commit or rollback, and then the tablespace is placed in readonly mode.

Answer: D

Q2. View the Exhibit to examine the error that occurred during the database startup.

You opened an RMAN session for the database. To repair the failure, you executed the following command as the first RMAN command:

RMAN> REPAIR FAILURE;

Which statement describes the consequence of this command?

A. The command performs the recovery and closes the failure

B. The command only displays the advice and the RMAN script required for recovery

C. The command executes the RMAN script to repair the failure and remove the entry from the Automatic Diagnostic Repository (ADR)

D. The command produces an error because the ADVISE FAILURE command was not executed before the REPAIR FAILURE command

Answer: D

Q3. View the Exhibit and examine the attributes of an undo tablespace. In an OLTP system, the user SCOTT has started a query on a large table in the peak transactional hour that performs bulk inserts. The query runs for more than 15 minutes and then SCOTT receives the following error:

ORA-01555: snapshot too old

What could be the reason for this error?

Exhibit:

A. The query is unable to get a read-consistent image.

B. There is not enough space in Flash Recovery Area.

C. There is not enough free space in the flashback archive.

D. The query is unable to place data blocks in undo tablespace.

Answer: A

Q4. The user HR owns the EMP table. The user HR grants privileges to the user SCOTT by using this command:

Which statement is true after HR issues the REVOKE command?

A. The command fails because SCOTT still has privileges.

B. The command succeeds and privileges are revoked from JIM.

C. The command fails because HR cannot revoke the privileges from JIM.

D. The command succeeds and only HR has the privilege to perform the SELECT, INSERT, and UPDATE operations on the EMP table.

Answer: C

Q5. Automatic Shared Memory Management (ASMM) has been enabled for your database instance.

The initialization parameters for the components that are managed by ASMM are not set. After observing the effects of ASMM, you executed the following command:

SQL> ALTER SYSTEM SET DB_CACHE_SIZE = 100M;

Which statement is true in this scenario?

A. The minimum memory size for the database buffer cache is set to 100 MB.

B. The maximum memory size that can be obtained by the database buffer cache during ASMM is set to 100 MB.

C. The minimum memory size allocated for a server process in the database buffer cache in dedicated mode is set to 100 MB.

D. The maximum memory size from the database buffer cache that can be released for dynamic distribution during ASMM is set to 100 MB.

Answer: A

Q6. Which tablespaces are mandatory in an Oracle database for it to be operational? (Choose all that apply.)

A. Undo tablespace

B. USERS tablespace 

C. SYSAUX tablespace 

D. SYSTEM tablespace 

E. Temporary tablespace

Answer: CD

Q7. 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

Q8. The TRANS_SUMMARY table contains product-wise transaction details that get updated with every transaction in the system. Each row has cumulative transaction details of a single product and every product is identified by a product code, which is the primary key.

As part of the archival process, the company wants to transfer the rows in the TRANS_SUMMARY table to the TRANS_SUMMARY_DUP table at the end of every quarter of the year. Along with existing products, the company deals with many new products during every quarter.

Which method is best suited for this quarterly data transfer?

A. Using the MERGE command

B. Using the SQL*Loader utility

C. Using the correlated UPDATE command

D. Using the INSERT command to perform bulk operation

Answer: A

Q9. You receive complaints from users regarding the high waiting time for their transactions. On investigation, you find that some users are not committing their transactions though they are not performing any activity for a long time. As a result, SQL statements need to wait for rowlevel locks.

Which two actions could you take to prevent this locking problem in the future? (Choose two.)

A. Decrease the IDLE_TIME resource limit in the profile assigned to the blocking users.

B. Use Database Resource Manager to automatically log out sessions that block others and are idle

C. Set the limit in the profile of blocking users to control the number of blocks to be accessed in a session.

D. Decrease the maximum number of interested transaction list (ITL) slots for the segments on which the blocking user performs the transaction.

Answer: AB

Q10. Note the functionalities of various background processes:

1: Perform recovery at instance startup.

2: Free the resources used by a user process when it fails.

3: Cleanup the database buffer cache when a process fails.

4: Dynamically register database services with listeners.

5: Monitor sessions for idle session timeout.

6: Cleanup unused temporary segments.

7: Record the checkpoint information in control file.

Which option has the correct functionalities listed for a background process?

A. Checkpoint (CKPT): 1, 2, 5

B. System Monitor (SMON): 1, 6

C. Process Monitor (PMON): 4, 6, 7

D. Database Writer (DBWR): 1, 3, 4

Answer: B