Tablespaces
20 QuestionsQuestion:
Examine this command: ALTER DATABASE MOVE DATAFILE '/u01/sales01.dbf' TO '/u02/sales02.dbf'; Which two statements are true?
- A. DML may be performed on tables with one or more extents in this data file during the execution of this command.
- E. Tables with one or more extents in this data file may be queried during the execution of this command.
Question:
You execute this command: CREATE SMALLFILE TABLESPACE sales DAT AFILE '/u01/app/oracle/sales01.dbf' SIZE 5G SEGMENT SPACE MANAGEMENT AUTO; Which two statements are true about the SALES tablespace?
- B. It uses the database default block size.
- D. It is a locally managed tablespace.
Question:
Your data center uses Oracle Managed Files (OMF) for all databa ses. All tablespaces are smallfile tablespaces. SALES_Q1 is a permanent user-defined tablespace in the SALES database. The following command is about to be issued by a DBA logged in to the SALES database: ALTER TABLESPACE sales_q1 ADD DATAFILE; Which two actions independently ensure th at the command executes successfully?
- C. Ensure that DB_RECOVERY_FILE_DEST and DB_CREATE_FILE_DEST each specify locations with at least 50 MB of available space.
- D. Ensure that DB_CREATE_FILE_DEST specifies a location with at least 100 MB of available space.
Question:
Which three are benefits of using temp UNDO when performing DML on global temporary tables?
- B. It reduces the amount of UNDO stored in the UNDO tablespace.
- C. It reduces I/Os to the SYSTEM tablespace.
- D. It reduces the amount of redo generated.
Question:
You must create a tablespace of nonstandard block size in a new file system and plan to use this command: CREATE TABLESPACE ns_tbs DATAFILE '/u02/oracle/data/nstbs_f01.dbf' SIZE 100G BLOCKSIZE 32K; The standard block size is 8K, but other nonstandard block sizes will also be used. Which two are requirements for this command to succeed?
- B. DB_32K_CACHE_SIZE must be set to a value that can be accommodated in the SGA.
- E. The/u02 file system must have at least 100G space for the datafile.
Question:
Which three statements are true about Deferred Segment Cr eation in Oracle databases?
- C. It is the default behavior for tables and indexes.
- D. Indexes inherit the DEFERRED or IMMEDIATE segment creation attribute from their parent table.
- E. Sessions may dynamically switch back and forth from DEFERRED to IMMEDIATE segment creation.
Question:
Which two statements are true about views used for viewing tablespace and datafile information?
- C. A datafile can be renamed when the database is in MOUNT state and the new file name is displayed when querying DBA_DATA_FILES after the database is op ened.
- E. V$TABLESPACE displays information that is contained in the control file about tablespaces.
Question:
Which two are true about shrinking a segment online?
- A. To shrink a table it must have row movement enabled.
- D. It must be in a tablespace that uses Automatic Segment Space Management (ASSM).
Question:
Which two statements are true concerning logical and physical database structures?
- A. A segment can span multiple data files in some tablespaces.
- C. A segment might have only one extent.
Question:
Which two actions can you perform using DBCA for an existing database?
- C. Change the server mode from dedicated to shared, and vice versa.
- E. Create a template that can be used to clone the database.
Question:
You unplugged a PDB to plug it into another CDB with the follow ing command: SQL> ALTER PLUGGABLE DATABASE pdb1 UNPLUG INTO '/tmp/pdb1.pdb'; Wh ich statement is true prior to plugging the PDB into the other CDB?
- A. The PDB archive file must be copied to the target CDB.
Question:
You have connected to the CDB root as a common user with the CRE ATE PLUGGABLE DATABASE system privilege and issued the following command: SQL> CR EATE PLUGGABLE DATABASE pdb1 ADMIN USER admin1 IDENTIFIED BY p1 ROLES = (CONNECT) FILE_NAME_CONVERT = ('PDB$SEEDdir', 'PDB1dir'); Which three are results of the CREATE command?
- A. It creates new default schemas for the PDB.
- B. It creates tablespaces to store metadata.
- F. It creates a new local user ADMIN with restricted privileges.
Question:
Which two statements are true about undo segments and the use of undo by transactions in an Oracle database instance?
- B. A single transaction may use multiple undo segments simultaneously.
- D. Undo segments can extend when a transaction fills the last extent of the undo segment.
Question:
Which three statements are true about resumable space a llocation in Oracle databases?
- A. Resumable space allocation may be enabled for some sessions and not others.
- B. A user’s session may be suspended and resumed multiple times.
- E. A user's session may be suspended even if the user has the UNLIMITED TABLESPACE system privilege.
Question:
Which three Oracle database space management features will work with both Dictionary and Locally managed tablespaces?
- A. Capacity planning growth reports based on historical data in the Automatic Workload Repository (AWR).
- D. Oracle Managed Files (OMF).
- E. Automatic data file extension (AUTOEXTEND).
Question:
You execute this command: CREATE BIGFILE TABLESPACE big_tbs D ATAFILE '/u01/oracle/data/big_f1.dbf' SIZE 20G; Sufficient storage is available in filesystem/u01. Which two statements are true about the BIG_TBS tablespace?
- B. Additional data files may not be added.
- C. AUTOEXTEND is possible for the datafile.
Question:
Which two statements are true about the UNLIMITED TABLESPACE system privilege and space quota?
- A. It allows a user to have unlimited space in any tablespace in the database.
- E. By default, users have no quota on their default permanent tablespace.
Question:
Examine this command: ALTER DATABASE MOVE DATAFILE '\u01/sales1.dbf' TO '\u01/sales01.dbf' REUSE; Which two statements are true?
- A. DML may be performed on tables with one or more extents in this data file during the execution of this command.
- D. The file is renamed and stored in the same location.
Question:
What are Optimizer Statistics?
- C. Optimizer Statistics are table, column, index, and system statistics used for generating efficient SQL execution plans.
Question:
Which two Oracle database space management features require the use of locally managed tablespaces?
- B. Free space management with bitmaps.
- E. Online segment shrink.