1Z0-052 Premium Bundle

1Z0-052 Premium Bundle

Oracle Database 11g: Administration I Certification Exam

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

Oracle 1Z0-052 Free Practice Questions

Q1. You configured the Flash Recovery Area for your database. The database instance has been started in ARCHIVELOG mode and the LOG_ARCHIVE_DEST_1 parameter is not set.

What will be the implications on the archiving and the location of archive redo log files?

A. Archiving will be disabled because the destination for the redo log files is missing

B. The database instance will shut down and the error details will be logged in the alert log file

C. Archiving will be enabled and the destination for the archived redo log file will be set to the Flash Recovery Area implicitly

D. Archiving will be enabled and the location for the archive redo log file will be created in the default location $ORACLE_HOME/log

Answer: C

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

Q3. Which two statements are true regarding transactions in an Oracle database? (Choose two.)

A. Multiple transactions can use the same undo segment.

B. A transaction is assigned an undo segment when it is started.

C. More than one transaction cannot share the same extent in the undo tablespace.

D. The transactions use system undo segment to store undo data if all the segments in the undo tablespace are used.

Answer: AB

Q4. You want to configure and schedule offline database backups to run automatically.

Which tool or utility would you use to achieve this?

A. The XML script

B. The PL/SQL script

C. The DBMS_SCHEDULER package

D. Enterprise Manager to schedule the backup

Answer: D

Q5. View the Exhibit and examine the privileges granted to the SL_REP user.

The EMP table is owned by the SCOTT user. The SL_REP user executes the following command:

SQL> GRANT SELECT ON scott.emp TO hr;

Which statement describes the outcome of the command?

A. The command executes successfully

B. The command produces an error because the EMP table is owned by SCOTT

C. The command produces an error because SL_REP has the GRANT ANY OBJECT PRIVILEGE without ADMIN_OPTION

D. The command produces an error because SL_REP does not have the SELECT privilege with GRANT_OPTION on the EMP table

Answer: A

Q6. Which two statements describe good practices for an application developer to reduce locking conflicts in Oracle database? (Choose two.)

A. Avoid coding unnecessary longrunning transactions.

B. Allow the database to handle locks in default locking mode.

C. Always explicitly code the locks as per the requirement of the application.

D. Allow escalation of row locks to block locks if too many row locks cause problem.

Answer: AB

Q7. A database user SMITH tries to query the V$SESSION view and fails to access it as follows:

Which are the two possible solutions to enable SMITH to query the data in V$SESSION? (Choose two.)

A. granting SELECT privilege to SMITH on V$SESSION

B. granting SELECT privilege to SMITH on V_$SESSION

C. asking the user SMITH to run the catalog.sql script

D. granting SELECT privilege to SMITH on V$FIXED_TABLES

E. setting the O7_DICTIONARY_ACCESSIBILITY parameter to TRUE

F. creating a view based on V$SESSION and granting SELECT privilege to SMITH on the view that was created

Answer: BF

Q8. You want to create a role to meet these requirements:

1. The role is to be protected from unauthorized usage.

2. The password of the role is not to be embedded in the application source code or stored in a table.

Which method would you use to restrict enabling of such roles?

A. Create the role with external authentication. B.

Create the role as a secure application role. C.

Create the role as a password-protected role.

D. Create a role and use Fine-Grained Access Control (FGAC) to secure the role.

Answer: B

Q9. Which three operations require undo data? (Choose three.)

A. Committing a transaction

B. Flashing back a transaction

C. Recovering a failed transaction

D. Running a read-consistent query

E. Changing a tablespace status from READ ONLY to READ WRITE

Answer: BCD

Q10. You executed this command to create a temporary table:

SQL> CREATE GLOBAL TEMPORARY TABLE report_work_area (

startdate DATE,

enddate DATE,

class CHAR(20)

) ON COMMIT PRESERVE ROWS;

Which statement is true about the rows inserted into the REPORT_WORK_AREA table during a transaction?

A. The rows stay in the table only until session termination

B. The rows stay in the table only until the next transaction starts on the table

C. The rows are visible to all current sessions after the transaction in committed

D. The rows stay available for subsequent sessions after the transaction is committed

Answer: A

Q11. SQL> AUDIT DROP ANY TABLE BY scott BY SESSION WHENEVER SUCCESSFUL;

What is the effect of this command?

A. One audit record is created for every successful DROP TABLE command executed in the session of SCOTT

B. One audit record is generated for the session when SCOTT grants the DROP ANY TABLE privilege to other users

C. One audit record is created for the whole session if user SCOTT successfully drops one or more tables in his session

D. One audit record is created for every session of any other user in which a table owned by SCOTT is dropped successfully

E. One audit record is created for every successful DROP TABLE command executed by any user to drop tables owned by SCOTT

Answer: C

Q12. Identify two situations in which you can use Data Recovery Advisor for recovery. (Choose two.)

A. The database files are corrupted when the database is open

B. The user has dropped an important table that needs to be recovered

C. The archived redo log files are missing for which the backup is not available

D. The database is not opening because the required database files are missing

Answer: AD

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

Q14. The tnsnames.ora file has an entry for the service alias ORCL as follows:

ORCL =

( DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = 10.156.24.216)(PORT = 1521))

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = orcl.oracle.com)

)

)

The TNSPING command executes successfully when tested with ORCL, but you are not able to connect to the database instance with the following command:

SQL> CONNECT scott/tiger@orcl

What could be the reason for this?

A. The listener is not running on the database node.

B. The TNS_ADMIN environmental variable is set to a wrong value.

C. The orcl.oracle.com database service is not registered with the listener.

D. The DEFAULT_DOMAIN parameter is set to a wrong value in the sqlnet.ora file.

Answer: C

Q15. Which two activities are NOT supported by the Data Recovery Advisor (DRA)? (Choose two.)

A. Recover from failures in the RAC environment.

B. Diagnose and repair a data file corruption online.

C. Diagnose and repair a data file corruption offline.

D. Diagnose and repair failures on a standby database.

Answer: AD

START 1Z0-052 EXAM