Oracle DB MCQ Quiz Hub

Oracle DB Mcq Question Set 6

Choose a topic to test your knowledge and improve your Oracle DB skills

Which of the following built-in packages supports dynamic SQL?





✅ Correct Answer: 1

From which of the following programming languages are the features of PL/SQL programming fetched?





✅ Correct Answer: 4

Which of the following is ideal for querying a database table or view?





✅ Correct Answer: 2

Which of the following errors maps to the INVALID_CURSOR predefined exception in PL/SQL?





✅ Correct Answer: 4

Which of the following is a sequentially control statement?





✅ Correct Answer: 1

Which of the following cannot be created and stored in the database?





✅ Correct Answer: 3

In which of the following naming methods are the connect identifiers stored in a localized configuration file named tnsnames.ora?





✅ Correct Answer: 3

You perform differential incremental level 1 backups of your database on each working day and level 0 backup on Sundays, to tape. Which two statements are true about differential incremental backups?





✅ Correct Answer: 4

Identify two situations in which you can use Data Recovery Advisor for recovery.





✅ Correct Answer: 1

Your database is open and the LISTENER listener is running. The new DBA of the system stops the listener by using the command: LSNRCTL> STOP What happens to the sessions that are presently connected to the database instance?





✅ Correct Answer: 2

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?





✅ Correct Answer: 1

In which of the scenarios will the DBA perform recovery?





✅ Correct Answer: 2

A user, who is authenticated externally, logs in to a remote machine and connects to the database instance. What action would you take to ensure that a user cannot connect to the database instance by merely logging in to a remote machine?





✅ Correct Answer: 3

Your database instance is started using the server parameter file (SPFILE). You executed a command to change the value of the LOG_BUFFER initialization parameter: ALTER SYSTEM SET LOG_BUFFER=32M SCOPE=BOTH; What would be the outcome of this command?





✅ Correct Answer: 3

User A executes the following command to drop a large table in your database: SQL> DROP TABLE trans; while the drop table operation is in progress, user B executes the following command on the same table: SQL> DELETE FROM trans WHERE tr_type='SL'; Which statement is true regarding the DELETE command?





✅ Correct Answer: 3

Which is the correct description of a pinned buffer in the database buffer cache?





✅ Correct Answer: 1

You are working on a new Oracle Database 11g server, where only the software is installed and no database is created. You plan to create a database on this server using the Database Configuration Assistant (DBCA). Some of the requirements set for your database creation task are: 1. Configure the database to operate in shared server mode. 2. Disable automatic maintenance tasks such as optimizer statistics collection. 3. Configure a naming method to help the remote user connect to the database instance. 4. Use Automatic Storage Management (ASM) for storing the database files. 5. Configure daily database backup to flash recovery area. 6. Configure Enterprise Manager Database Control to manage the database. Which of these requirements can be met while creating the database?





✅ Correct Answer: 3

Which two are the prerequisites to enable Flashback Data Archive? (





✅ Correct Answer: 4

Which dependent object will get invalidated even if it is not affected by the table redefinition?





✅ Correct Answer: 2

You are managing an Oracle 11g database with ASM storage, for which the COMPATIBLE initialization parameter is set to 11.1.0. In the ASM instance, the COMPATIBLE.RDBMS attribute for the disk group is set to 10.2 and the COMPATIBLE.ASM attribute is set to 11.1. Which two statements are true in this scenario for the features enabled for ASM?





✅ Correct Answer: 2

Which statement describes the effect of the execution of the above PL/SQL block?





✅ Correct Answer: 4

Which is the source used by Automatic SQL Tuning that runs as part of the AUTOTASK framework?





✅ Correct Answer: 2

Which two statements are true with respect to the maintenance window?





✅ Correct Answer: 4

What are the recommendations for Oracle Database 11g installation to make it Optimal Flexible Architecture (OFA)-compliant?





✅ Correct Answer: 1

During the installation of Oracle Database 11g, you do not set ORACLE_BASE explicitly. You selected the option to create a database as part of the installation. How would this environment variable setting affect the installation?





✅ Correct Answer: 4

Which two statements are true regarding the starting of the database instance using the following command? SQL>STARTUP UPGRADE





✅ Correct Answer: 2

Your organization decided to upgrade the existing Oracle 10g database to Oracle 11g database in a multiprocessor environment. At the end of the upgrade, you observe that the DBA executes the following script: SQL> @utlrp.sql What is the significance of executing this script?





✅ Correct Answer: 3

You installed Oracle Database 11g and are performing a manual upgrade of the Oracle9i database. As a part of the upgrade process, you execute the following script: SQL>@utlu111i.sql Which statement about the execution of this script is true?





✅ Correct Answer: 3

Which two statements about Oracle Direct Network File System (NFS) are true?





✅ Correct Answer: 1

You decided to use Direct NFS configuration in a non-RAC Oracle installation and created the oranfstab file in /etc. Which two statements are true regarding this oranfstab file?





✅ Correct Answer: 4

Which two statements are true regarding hot patching?





✅ Correct Answer: 3

Which alternative command could you use to run the startmydb.sql script with SQL*Plus to start your Oracle 10g database?





✅ Correct Answer: 4

Examine the following parameter settings from an initialization (init.ora) file: DB_CREATE_FILE_DEST = '/u01/oradata/' DB_CREATE_ONLINE_LOG_DEST_1 = '/u02/oradata/' DB_CREATE_ONLINE_LOG_DEST_2 = '/u03/oradata/' If you create an Oracle Managed Files (OMF) database using these settings, what is the result?





✅ Correct Answer: 2

What is true regarding a shared, server-side parameter file for a Real Application Clusters database?





✅ Correct Answer: 1

After changing the PCTFREE value of the automatic space management table EMPLOYEES, which task can you perform in order for your change to take effect immediately?





✅ Correct Answer: 3

You can use Oracle Flashback technology to look at past activity in your database. What are two other characteristics of Oracle Flashback technology?





✅ Correct Answer: 2

Which of the following types of message output contains a chronological log of errors, initialization parameter settings, and administration operations, and also records values for overwritten control file records?





✅ Correct Answer: 2

Which of the following correctly represents floating point number literals?





✅ Correct Answer: 4

Which of the following clauses indicates that a function is cached only once in the SGA and is available across sessions?





✅ Correct Answer: 3

Which of the following is another name for bind variable?





✅ Correct Answer: 3

Which of the following exceptions is raised when the value of amount plus the offset exceeds the maximum size of LOB allowed by the database?





✅ Correct Answer: 4

Which of the following terms is used for the declaration section of the named-block programs?





✅ Correct Answer: 2

All of the following statements about a named system exception are true except for which one?





✅ Correct Answer: 2

All of the following statements are true about an explicit cursor except for which one?





✅ Correct Answer: 4

Which of the following errors is raised when placeholders are put inside the overriding signature of an INSERT statement?





✅ Correct Answer: 3

Which of the following is the first step in using a cursor?





✅ Correct Answer: 3

All of the following statements about the RAISE_APPLICATION_ERROR procedure are true except for which one?





✅ Correct Answer: 2

Which of the following operators allows users to check whether a VARRAY or NESTED TABLE collection is a subset of a mirrored datatype?





✅ Correct Answer: 1

Which of the following correctly represents the default format mask for dates in PL/SQL programming?





✅ Correct Answer: 4

What are the two types of CASE statements in PL/SQL?





✅ Correct Answer: 4

Which of the following is NOT a part of a PL/SQL exception?





✅ Correct Answer: 1

All of the following statements are true about an exception except for which one?





✅ Correct Answer: 1