| 1. | A partitioned table named ITEM is maintained. The following statement was issued:
ALTER TABLE ITEM DROP PARTITION p1 UPDATE GLOBAL INDEXES PARALLEL (DEGREE 3);
Which statement represents the result of including the UPDATE GLOBAL INDEXES clause? |
| a. | | After the P1 partition is dropped, all global B-tree and function-based indexes are automatically rebuilt |
| b. | | After the P1 partition is dropped, all global indexes that were marked UNUSABLE will be automatically rebuilt |
| c. | | All global indexes on the ITEM table remain intact throughout the DDL operation |
| d. | | Other DML statements can continue to use the any global B-tree indexes without interruption
|
|
|
|
|
|
|
| 2. | Which constraint state prevents the entry of new data that violates the constraint, but allows invalid data to exist in the table? |
| a. | | ENABLE VALIDATE |
| b. | | DISABLE VALIDATE |
| c. | | ENABLE NOVALIDATE |
| d. | | DISABLE NOVALIDATE
|
|
|
|
|
|
|
| 3. | For which constraints are indexes created when the constraint is added? |
| a. | | Check |
| b. | | Unique |
| c. | | Not null |
| d. | | Primary key |
| e. | | Foreign key
|
|
|
|
|
|
|
| 4. | MILLER is an administrator who has FULL DBA privileges. When he attempts to drop the DEFAULT profile as shown below, he receives the error message shown. Which option best explains this error?
SQL> drop profile SYS.DEFAULT; drop profile SYS.DEFAULT * ERROR at line 1: ORA-00950: invalid DROP option |
| a. | | The DEFAULT profile cannot be dropped |
| b. | | MILLER requires the DROP PROFILE privilege |
| c. | | Profiles created by SYS cannot be dropped |
| d. | | The CASCADE option was not used in the DROP PROFILE command
|
|
|
|
|
|
|
| 5. | A new user, Smith, has just joined the organization. Smith needs to be created as a valid user in the database. The following requirements have to be met:
1. An externally authentic user is to be created. 2. The user must have CONNECT and RESOURCE privileges. 3. The user must NOT have DROP TABLE and CREATE USER privileges. 4. A quota of 100 MB has to be set on the default tablespace and 500 K on the temporary tablespace. 5. The user should be assigned to the DATA_TS default tablespace.
Which statement should be used to create the user? |
| a. | | CREATE USER Smith IDENTIFIED EXTERNALLY DEFAULT TABLESPACE data_ts QUOTA 100M ON data_ts QUOTA 500K ON temp_ts TEMPORARY TABLESPACE temp_ts; REVOKE DROP_TABLE, CREATE_USER from Smith; |
| b. | | CREATE USER Smith IDENTIFIED EXTERNALLY DEFAULT TABLESPACE data_ts QUOTA 500K ON temp_ts QUOTA 100M ON data_ts TEMPORARY TABLESPACE temp_ts; GRANT connect, resource TO Smith |
| c. | | CREATE USER Smith IDENTIFIED EXTERNALLY DEFAULT TABLESPACE data_ts QUOTA 100M ON data_ts QUOTA 500K ON temp_ts TEMPORARY TABLESPACE temp_ts; GRANT connect TO Smith |
| d. | | CREATE USER Smith INDENTIFIED GLOBALLY AS '' DEFAULT TABLESPACE data_ts QUOTA 500K ON temp_ts QUOTA 100M ON data_ts TEMPORARY TABLESPACE temp_ts; GRANT connect, resource TO Smith; REVOKE DROP_TABLE, CREATE_USER from Smith;
|
|
|
|
|
|
|
| 6. | Which statement is true with respect to enabling the constraints? |
| a. | | ENABLE NOVALIDATE is the default when a constraint is enabled |
| b. | | Enabling a constraint NOVALIDATE places a lock on the table |
| c. | | Enabling a UNIQUE constraint to VALIDATE does not check for constraint violation if the constraint is deferrable |
| d. | | A constraint that is currently disabled can be enabled in one of two ways: ENABLE NOVALIDATE or ENABLE VALIDATE
|
|
|
|
|
|
|
| 7. | User Smith created indexes on some tables owned by user John. The following needs to be displayed: index names index types Which data dictionary view(s) should be queried? |
| a. | | DBA_INDEXES only |
| b. | | DBA_IND_COLUMNS only |
| c. | | DBA_INDEXES and DBA_USERS |
| d. | | DBA_IND COLUMNS and DBA_USERS
|
|
|
|
|
|
|
| 8. | Which statements are true about rebuilding an index? |
| a. | | The resulting index may contain deleted entries |
| b. | | A new index is built using an existing index as the data source |
| c. | | Queries cannot use the existing index while the new index is being built |
| d. | | During a rebuild, sufficient space is needed to accommodate both the old and the new index in their respective tablespaces
|
|
|
|
|
|
|
| 9. | A company hired ALLEN, a DBA who will be working from home. Allen needs to have the ability to start the database remotely. A password file was created for the database and REMOTE_LOGIN_PASSWORDFILE = EXCLUSIVE was set in the parameter file. Which command adds Allen to the password file, allowing him remote DBA access? |
| a. | | GRANT DBA TO ALLEN; |
| b. | | GRANT SYSDBA TO ALLEN; |
| c. | | GRANT RESOURCE TO ALLEN; |
| d. | | orapwd file=orapwdSTUD user=ALLEN password=DBA
|
|
|
|
|
|
|
| 10. | Which utility provides the ability to assess the impact of the conversion of a database to a different character set? |
| a. | | Locale Builder |
| b. | | Database Workspaces |
| c. | | User-Defined Events |
| d. | | Character Set Scanner
|
|
|
|
|
|
|
| 11. | When is the use of fine-grained auditing beneficial? |
| a. | | Unaudited access should be allowed to the CONTACT_ ADDRESS column of the CUSTOMER table from within the organization, but any access to the CONTACT_ADDRESS column occurring via the Internet should be tracked |
| b. | | The Human Resources Administrator should be alerted every time someone accesses an executive's salary in the EMPLOYEE table |
| c. | | Comparison between the before and after values of each update of the PRICE column of the PRODUCT table should be facilitated |
| d. | | All users who updated the CUSTOMER table on a specific date should be identifiable |
| e. | | All accesses of the EMPLOYEE table should be tracked |
| f. | | All of the above
|
|
|
|
|
|
|
| 12. | Which password management feature ensures that a user cannot reuse a password for a specified time interval? |
| a. | | Account Locking |
| b. | | Password History |
| c. | | Password Verification |
| d. | | Password Expiration and Aging
|
|
|
|
|
|
|
What others think about Oracle OCP Practice Test - Oracle 9i OCP Fundamentals |
| By: Tom on 11/21/2009 |
| | I want more quiz questions |
|
 |
| By: Tallitha on 11/20/2009 |
|
 |
| By: general knowledge seeker on 11/19/2009 |
| | i love to take tests and quizzes. quizzes are my life. general knowledge questions are good for everyone |
|
 |
| By: Penny on 11/18/2009 |
| | NICE WEBSITE, great quiz! |
|
 |
| By: Alice on 11/17/2009 |
| | Its a very good Quiz. It rocks my socks!!!!! |
|
| By: Tracy on 11/16/2009 |
| | Great test. A nice way to gauge one's knowledge |
|
 |
| By: Teresa on 11/15/2009 |
| | I took the quiz. It let me know that I failed. But I wasn't able to see what the correct answers. It would be great to see what the answers are so I can learn. |
|
 |
| By: Erin on 11/14/2009 |
| | it was a fun and interseting quiz! |
|
 |
| By: Teena on 11/13/2009 |
| | I love this quiz Website. This is the best free quiz site. |
|
 |
| By: Roger on 11/12/2009 |
| | I love Quiz Games. QuizMoz is an excellent Quiz site |
|
 |
| By: Kath on 11/11/2009 |
|
 |
| By: Lil Wayne Fan on 11/10/2009 |
| | Give me more quiz questions about LilWayne |
|
 |
| By: Hannah on 11/9/2009 |
| | Enjoyed it, and learned a lot about general knowledge |
|
 |
| By: Aumkar on 11/8/2009 |
|
 |
| By: Bobby Kalsi on 11/7/2009 |
| | Try to make it easier to search for a QUIZ Category.. (It should be easier to seach for a quiz category...) |
|
 |
| By: Personality Quiz Man on 11/6/2009 |
| | I love quizzes. Personality Quizzes are my favorite. |
|
 |
| By: Roger on 11/5/2009 |
| | I love Quiz Games. QuizMoz is an excellent Quiz site |
|
 |
| By: Shannon on 11/4/2009 |
| | I have never seen such an excellent quiz website before this. |
|
 |
| By: Tommy on 11/3/2009 |
| | Great site. Good learning and fun. |
|
 |
| By: Kayla on 11/2/2009 |
| | I think this is a great quiz full of knowlodge and information. |
|
 |