The table has 100 rows. Examine this sequence of statements issued in a new session: INSERT INTO books VALUES (ADV112, Adventures of Tom Sawyer, NULL, NULL); SAVEPOINT a; DELETE FROM books; ROLLBACK TO SAVEPOINT a; ROLLBACK; Which two statements are true? (Choose two.)
A.
It is not possible to shrink either indexes or Index Organized Tables (IOTs)
A.
The second ROLLBACK command does nothing
B.
It always eliminates all migrated rows if any exist in the table
B.
The second ROLLBACK command replays the delete
C.
To shrink a table it must have a PRIMARY KEY constraint
C.
The first ROLLBACK command restores the 101 rows that were deleted, leaving the inserted row still to be committed
D.
To shrink a table it must have a UNIQUE KEY constraint
D.
The second ROLLBACK command undoes the insert
E.
To shrink a table it must have row movement enabled
E.
The first ROLLBACK command restores the 101 rows that were deleted and commits the inserted row
F.
It must be in a tablespace that uses Automatic Segment Space Management (ASSM)
Answer:
CD
User Votes:
A
50%
A
50%
B
50%
B
50%
C
50%
C
50%
D
50%
D
50%
E
50%
E
50%
F
50%
Discussions
0/ 1000
Question 6
Which three statements are true about table data storage in an Oracle Database? (Choose three.)
A.
Display the number of products whose PROD_LIST_PRICE is more than the average PROD_LIST_PRICE
A.
Data block headers contain their own Data Block Address (DBA)
B.
Display suppliers whose PROD_LIST_PRICE is less than 1000
B.
A table row piece can be chained across several database blocks
C.
Display products whose PROD_MIN_PRICE is more than the average PROD_LIST_PRICE of all products, and whose status is orderable
C.
Multiple row pieces from the same row may be stored in different database blocks
D.
Display the total number of products supplied by supplier 102 which have a product status of obsolete
D.
Multiple row pieces from the same row may be stored in the same block
E.
Display the minimum PROD_LIST_PRICE for each product status
E.
Data block free space is always contiguous in the middle of the block
F.
Index block free space is always contiguous in the middle of the block
The SALES_Q1 and USERS tablespaces exist in one of your databases and TEMP is a temporary tablespace. Segment creation is not deferred. You execute this command:
Which three statements must be true so that the SALES user can create tables in SALES_Q1? (Choose three.)
A.
Add a data file to DATA
A.
The sales user must have a quota on the TEMP tablespace
B.
Drop other U1 objects in DATA
B.
The sales user must have a quota on the SALES_Q1 tablespace to hold the initial extends of all tables they plan to create in their schema
C.
Increase U1’s quota sufficiently in DATA
C.
The sales user must have been granted the CREATE SESSION privilege
D.
Set DEFERRED_SEGMENT_CREATION to TRUE
D.
The sales user must have their quota on the users tablespace removed
E.
Grant UNLIMITED TABLESPACE to U1
E.
The sales user must have a quota on the SALES_Q1 tablespace to hold all the rows to be inserted into any table in their schema
F.
Set AUTOEXTEND ON for data files in DATA
F.
The sales user must have been granted the CREATE TABLE privilege
Answer:
B,D,F
User Votes:
A
50%
A
50%
B
50%
B
50%
C
50%
C
50%
D
50%
D
50%
E
50%
E
50%
F
50%
F
50%
Discussions
0/ 1000
Question 8
View the Exhibit and examine the structure of the PRODUCTS table. Which two tasks require subqueries? (Choose two.)
A.
Oracle Managed Files (OMF)
A.
Display the number of products whose PROD_LIST_PRICE is more than the average PROD_LIST_PRICE
B.
Online table segment shrink
B.
Display suppliers whose PROD_LIST_PRICE is less than 1000
C.
Online index segment shrink
C.
Display products whose PROD_MIN_PRICE is more than the average PROD_LIST_PRICE of all products, and whose status is orderable
D.
Automatic data file extension (AUTOEXTEND)
D.
Display the total number of products supplied by supplier 102 which have a product status of obsolete
E.
Capacity planning growth reports based on historical data in the Automatic Workload Repository (AWR)
E.
Display the minimum PROD_LIST_PRICE for each product status
Answer:
A,C
User Votes:
A
50%
A
50%
B
50%
B
50%
C
50%
C
50%
D
50%
D
50%
E
50%
E
50%
Discussions
0/ 1000
Question 9
Which three statements are true about Oracle synonyms? (Choose three.)
A.
Table aliases can improve performance
A.
A synonym cannot be created for a PL/SQL package
B.
The BETWEEN condition always performs better than using the >= and <= conditions
B.
A synonym can be available to all users
C.
The join syntax used makes no difference to performance
C.
A SEQUENCE can have a synonym
D.
The BETWEEN condition always performs less well than using the >= and <= conditions
D.
A synonym created by one user can refer to an object belonging to another user
E.
The Oracle join syntax performs better than the SQL:1999 compliant ANSI join syntax
A script abc.sql must be executed to perform a job. A database user HR, who is defined in this database, executes this command: $ sqlplus hr/hr@orcl @abc.sql What will happen upon execution?
A.
Private Temporary Tables (PTTS) store metadata in memory only
A.
The command succeeds and HR will be connected to the orcl and abc.sql databases
B.
An index created with the UNUSABLE attribute has no segment
B.
The command succeeds and HR will be connected to the orcl database instance, and the abc.sql script will be executed
C.
If they exist for a session, Private Temporary Tables (PTTs) are always dropped at the next COMMIT OR ROLLBACK statement
C.
The command fails because the script must refer to the full path name
D.
An index that is altered to be UNUSABLE will retain its segment A table that is truncated will always have its segment removed
D.
The command fails and reports an error because @ is used twice
Answer:
B
User Votes:
A
50%
A
50%
B
50%
B
50%
C
50%
C
50%
D
50%
D
50%
Discussions
0/ 1000
Question 12
Examine these commands:
Which two statements are true about the sqlldr execution? (Choose two.)
A.
Set OS_AUTHENT_PREFIX to OPS$
A.
It overwrites data in EMP with data in EMP.DAT
B.
Have the OS administrator add KING to the OSDBA group
B.
It uses the database buffer cache to load data
C.
Grant DBA to KING
C.
It generates a log that contains control file entries, which can be used with normal SQL*Loader operations
D.
Unset REMOTE_LOGIN_PASSWORDFILE
D.
It generates a sql script that it uses to load data from EMP.DAT to EMP
E.
Alter user KING to be IDENTIFIED EXTERNALLY
E.
It appends data from EMP.DAT to EMP
Answer:
CE
User Votes:
A
50%
A
50%
B
50%
B
50%
C
50%
C
50%
D
50%
D
50%
E
50%
E
50%
Discussions
0/ 1000
Question 13
Which two are true about shrinking a segment online? (Choose two.)
A.
Data Definition Language (DDL) statements
A.
It is not possible to shrink either indexes or Index Organized Tables (IOTs)
B.
non-default database parameters
B.
It always eliminates all migrated rows if any exist in the table
C.
block corruption errors
C.
To shrink a table it must have a PRIMARY KEY constraint
D.
deadlock errors
D.
To shrink a table it must have a UNIQUE KEY constraint
E.
session logins and logouts
E.
To shrink a table it must have row movement enabled
F.
It must be in a tablespace that uses Automatic Segment Space Management (ASSM)
Your database instance was shut down normally and then started in NOMOUNT state. You then execute this command: ALTER DATABASE MOUNT; Which two actions are performed? (Choose two.)
A.
Add the SEGMENT SPACE MANAGEMENT AUTO clause
A.
The online redo logs are opened
B.
Set UNDO_TABLESPACE to UNDOTBS01
B.
The online data files are opened
C.
Add the NOLOGGING clause
C.
The alert log records the execution details
D.
Make certain that the database operates in automatic undo management mode