1. 程式人生 > >Oracle OCP 1z0-052 2018年9月最新考過的題庫分享-1

Oracle OCP 1z0-052 2018年9月最新考過的題庫分享-1

1.Which three statements are true about temporary tables?

A) DML on temporary tables may be rolled back
B) Their rows are always lost when a transaction commits
C) Their rows are not lost when a session fails
D) Their rows are always lost when a session logs out
E) Temporary tables are always created in a user's temporary tablespace
F) Their rows are never lost when a transaction commits
Answer:ABD->ADE

2.In which two cases do file checkpoints guarantee that all dirty blocks for a tablespace are written to the datafile

A) when the SYSAUX tablespace is taken offline immediate
B) when a user tablespace is taken offline temporary
C) when a user tablespace is taken offline normal
D) when the SYSAUX tablespace is taken offline normal
E) when a user tablespace is taken offline immediate
F)when the SYSAUX tablespace is taken offline temporary
Answer:CD


3 Which four can be configured with profiles?
A) Maximum Logical Reads per Session
B) Maximum Logical Reads per Call
C) A Password Verify Function
D) Maximum Idle Time only when blocking another session
E) Maximum Idle Time only when not blocking another session
F) Maximum Failed Login Attempts
G) Maximum Physical Reads per Session
Answer:ACDF-->ABCF


4 A database instance is in MOUNT state You wish to delete the database
using the Database Configuration Assistant (DBCA),Which three are true?

A) DBCA is able to delete the data files but not the services
B) DBCA starts up the instance if not already started
C) DBCA deletes the database's data files
D) DBCA deletes the database,s services
E)DBCA deletes all the databases archivelogs
F) DBCA shuts down the database instance
Answer:BCD-->CDF

5 User HR has three sessions and executed this command in one of them
SQL> UPDATE parsons
SET ccode='U031'
WHERE ccode='U029'
123 rown updated

SQL> COMMIT;

SQL> DELETE FROM parsons
WHERE exp='Y'
3 rows deleted

User then logs in to a fourth session

Which three are true?
A) The HR session that performed the DML can see the result of the DELETE on persons
B) All three HR sessions can see the result of the UPDATE on persons
C) The sys session cannot see the result of any DML on persons
D) The sys session can see the result of the UPDATE on persons
E) The sys session can see the result of the DELETE on persons
F) All three HR sessions can see the result of the DELETE on persons.
Answer:ABD


6 In one of your databases, both shared server and the large pool are configured,
Which two statements are true about the allocation of PGA components for sessions using shared servers?
A) The call stack is stored in the PGA of a shared server
B) The complete UGA is stored in the SGA
C) Cursor state is stored in the PGA
D) The complete UGA is stored in the PGA
E) Private SQL work areas are stored in the large pool
F) All PGA components are stored in the large pool
Answer:BF-->EF


7 You successfully executed these commands
CONNECT system/[email protected]
CREATE PUBLIC DATABASE LINK db_prod2
USING 'prod2'
Which two are true about the database link that is created?
A) it is a public fixed user database link
B) it is a public current user database link
C) Using db link db_prod2 might return errors to some users logged Into prod1 who attempt to access remote objects using the db link
D) it is a public connected user database link
E) The system user must have the password oracle in prod1
F) Using db link db_prod2 will never return errors to users logged into prod1 who attempt to access remote objects using the db link.
Answer:CD


8 Examine this query and its output
    SQL> select sid, event, blocking session
    2 from aSsession
    where blocking session is not null;
    SID VENT                             BLOCKING SESSION
-----------------------------------------------------------------
    105 eng: Tx- row lock contention       15

Which two are true?

A) Session 15 has updated one row only and session 105 is stuck waiting to update or delete that row
B) Session 15 has updated one or more rows and session 105 is stuck waiting to update or delete one of those rows
C) Session 105 has not updated any rows successfully and is waiting on a row lock owned by session 15
D)Session 105 may have updated some rows but is waiting on a row lock owned by session 15
E) Session 15 can only block one session
Answer:BD


9  view the Exhibit and examine the commands used to create two tables
You wish to insert data into the child table before parent table
Which two actions would avoid errors when inserting a row into the child table?

A) Set the foreign key to immediate and non deferrable
B) Disable the foreign key constraint before starting the transaction
C) Disable the primary key constraint before starting the transaction
D) Set the foreign key constraint to deferred before starting the transaction
E) Set the primary key constraint to deferred before starting the transaction
Answer:BD