1Z0-052 Premium Bundle

1Z0-052 Premium Bundle

Oracle Database 11g: Administration I Certification Exam

4.5 
(22890 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
May 20, 2024Last update

Oracle 1Z0-052 Free Practice Questions

Q1. View the Exhibits and examine lock waits. Users HR and SH complain that their transactions on one of the application tables, EMP, are waiting for response.

Which action would you take to release the lock and enable users HR and SH to continue with their transactions?

07 (exhibit):

A. Kill the session of the user SCOTT with session ID118.

B. Issue manual checkpoint using the ALTER SYSTEM command.

C. Modify the profile used by user SCOTT to reduce the CONNECT_TIME limit.

D. Flush the Shared Pool to remove the SQL statement causing "wait" in memory.

Answer: A

Q2. You have recently collected statistics on certain objects of a schema in your database. But you observe suboptimal execution plans for the queries on these objects after two days of statistics collection. The optimizer statistics retention period is set to its default value.

Which action would help to use the previous set of statistics on the objects?

A. Restore statistics from statistics history.

B. Reduce the optimizer statistics retention period by 2 days.

C. Set the OPTIMIZER_PENDING_STATISTICS parameter to TRUE.

D. Reduce the Automatic Workload Repository (AWR) retention period by 2 days.

Answer: A

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

Q4. In your database, the current status of a PL/SQL procedure has become INVALID. Which action would fix the problem and make the PL/SQL procedure usable?

A. Recompile the PL/SQL procedure.

B. Modify the procedure to run with a definer's right.

C. Modify the procedure to run with an invoker's right.

D. Grant the EXECUTE privilege on the PL/SQL procedure to PUBLIC.

Answer: A

Q5. View the Exhibit and examine the undo tablespace attributes. Your database instance is experiencing a large volume of transactions from non-DBA users in the last one hour. The undo tablespace NDOTBS1 is full with transactions and no transaction was committed more than one hour ago. The database has two more undo tablespaces.

What happens to the new DML operations in this scenario?

Exhibit:

A. The DML commands will fail

B. The undo data generated by the DML is stored in one of the two other undo tablespace

C. The undo data generated by the DML will overwrite the extents that contain committed undo data

D. The undo data generated by the DML is stored in the SYSTEM undo segment of the SYSTEM tablespace

Answer: A

Q6. View the Exhibit and examine the output.

Which two statements are true regarding the LISTENER2 listener? (Choose two.)

A. The ORCL instance is registered dynamically with the listener.

B. The ORCL instance is registered statically in the listener.ora file.

C. The number of current client connections handled by the service handler is two.

D. The total number of client connections handled so far by the service handler is two.

Answer: BD

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

Q8. While observing the index statistics, you find that an index is highly fragmented, thereby resulting in poor database performance. Which option would you use to reduce fragmentation without affecting the users who are currently using the index?

A. Validate the index structure using the ANALYZE .... INDEX command

B. Rebuild the index using the ALTER INDEX ..... REBUILD ONLINE command

C. Change the block space utilization parameters using the ALTER INDEX command

D. Deallocate the unused space in the index using the ALTER INDEX ... DEALLOCATE UNUSED command

Answer: B

Q9. The database instance has the following parameter setting:

OS_AUTHENT_PREFIX = OPS$

OS_ROLES = FALSE

REMOTE_OS_AUTHENT = FALSE

REMOTE_OS_ROLES = FALSE

TIMED_OS_STATISTICS = 0

You have a local operating system user SKD. You create a database user OPS$SKD, and then assign external authentication. The user OPS$SKD has the CREATE SESSION privilege.

What would you achieve by the above process?

A. The database user OPS$SKD will be able to administer the database.

B. The authentication detail for the database user OPS$SKD is recorded in the password file.

C. The local operating system user SKD will be able to access the database instance without specifying the username and password.

D. The database user OPS$SKD has to login with the password of the local operating system user SKD to access the database instance.

Answer: C

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

Q11. Which two files in the database can be configured for automatic backups by using the autobackup feature in Recovery Manager (RMAN)? (Choose two.)

A. Data Files

B. Control Files

C. Parameter Files

D. Online Redo Log Files

E. Server Parameter File

Answer: BE

Q12. Identify the memory component from which memory may be allocated for:

Session memory for the shared serverBuffers for I/O slavesOracle Database Recovery Manager (RMAN) backup and restore operations

A. Large Pool

B. Redo Log Buffer

C. Database Buffer Cache

D. Program Global Area (PGA)

Answer: A

Q13. You are managing an Oracle Database 11g database. You configured the database to run in ARCHIVELOG mode.

Which two statements are true in this scenario? (Choose two.)

A. You must shut down the database instance to perform the backups.

B. You must configure the Flash Recovery Area (FRA) for the database.

C. You can perform complete database backups without closing the database.

D. All the previous closed database backups including control files become invalid afteryou configure the database to ARCHIVELOG mode.

Answer: CD

Q14. All the database users are presently connected to the database instance and working. The HR user has opened three database sessions and executed the following command in one of his sessions:

SQL> UPDATE persons SET ccode='U031' WHERE ccode='U029'

123 rows updated.

SQL> DELETE FROM persons WHERE exp='Y'

3 rows deleted.

The SYS user opens a new session after HR executed the above commands.

Which sessions can see the effect of the UPDATE and DELETE commands?

A. All sessions of the HR user only

B. All sessions of the HR user and the SYS user

C. The session of the HR user that executed the commands

D. All the sessions for which the database users have access privilege to the PERSONS table

Answer: C

Q15. The database instance is currently using SPFILE. View the Exhibit and examine the error that you received while running the DB Structure Integrity check. Given below are the steps to recover from the error in random order:

1. Shut down the instance, if not already done.

2. Copy one of the remaining control files to a new location.

3. Change the value of the CONTROL_FILES initialization parameter to correspond to the new location of the control files.

4. Start up the database instance to the NOMOUNT stage.

5. Recover the database to the point of failure of the control file.

6. Open the database.

Identify the correct sequence of steps?

Exhibit:

A. 1, 2, 4, 3, 5, 6

B. 2, 4, 3, 5, 6; 1 not required

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

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

Answer: A

START 1Z0-052 EXAM