Pregunta 1
Pregunta
Choose two SGA structures that are required in every Oracle instance
Respuesta
-
Large pool
-
Shared pool
-
Buffer cache
-
Java pool
Pregunta 2
Pregunta
Which statement is true?
Respuesta
-
A database can have only one control file
-
A database must have at least two control files.
-
A database may have zero or more control files.
-
A database must have at least one control file.
Pregunta 3
Pregunta
Which component is configured at database startup and cannot be dynamically
managed?
Respuesta
-
Redo log buffer
-
Streams pool
-
Java pool
-
Shared pool
-
None of the above
Pregunta 4
Pregunta
Which component is not part of an Oracle instance?
Respuesta
-
System global area
-
Process monitor
-
Control file
-
Shared pool
-
None
Pregunta 5
Pregunta
Which background process guarantees that committed data is saved even when the
changes have not been recorded in data files?
Pregunta 6
Pregunta
User John has updated several rows in a table and issued a commit. What does the
DBWn (database writer) process do at this time in response to the commit event?
Respuesta
-
Writes the changed blocks to data files
-
Writes the changed blocks to redo log files
-
Triggers checkpoint and thus LGWR writes the changes to redo log files.
-
Does nothing.
Pregunta 7
Pregunta
Which of the following best describes a RAC configuration?
Respuesta
-
One database, multiple instances
-
One instance, multiple databases
-
Multiple databases plugged in from multiple servers
-
Multiple databases, multiple instances
Pregunta 8
Pregunta
Which component of the SGA contains the parsed SQL code?
Respuesta
-
Database buffer cache
-
Dictionary cache
-
Library cache
-
Parse cache
Pregunta 9
Pregunta
Which tasks are accomplished by the SMON process? (Choose all that apply.)
Respuesta
-
Performs recovery at instance startup
-
Performs cleanup after a user session is terminated
-
Starts any server process that stopped running
-
Coalesces contiguous free space in dictionary-managed tablespaces
Pregunta 10
Pregunta
Choose the best statement from the options related to segments.
Respuesta
-
A contiguous set of blocks constitutes a segment.
-
A nonpartitioned table can have only one segment
-
A segment can belong to more than one tablespace.
-
All of the above are true.
Pregunta 11
Pregunta
From the following list, choose two processes that are optional in an Oracle Database
12c database.
Pregunta 12
Pregunta
Which SGA component will you increase or configure so that RMAN tape backups do
not use memory from the shared pool?
Respuesta
-
Java pool
-
Streams pool
-
Recovery pool
-
Large pool
Pregunta 13
Pregunta
When a user session is terminated, which processes are responsible for cleaning up and
releasing locks? (Choose all that apply.)
Pregunta 14
Pregunta
The LRU algorithm is used to manage what part of the Oracle architecture?
Respuesta
-
Users who log on to the database infrequently and may be candidates for being
dropped
-
The data file that stores the least amount of information and will need the least
frequent backup
-
The tables that users rarely access so that they can be moved to a less active
tablespace
-
The shared pool and database buffer cache portions of the SGA
Pregunta 15
Pregunta
Two structures make up an Oracle server: an instance and a database. Which of the
following best describes the difference between an Oracle instance and a database?
Respuesta
-
An instance consists of memory structures and processes, whereas a database is
composed of physical files.
-
An instance is used only during database creation; after that, the database is all
that is needed.
-
An instance is started whenever the demands on the database are high, but the
database is used all the time
-
An instance is configured using a pfile, whereas a database is configured using
a spfile.
Pregunta 16
Pregunta
Which of the following is the proper order of Oracle’s storage hierarchy, from smallest
to largest?
Respuesta
-
Operating-system block, database block, segment, extent
-
Operating-system block, database block, extent, segment
-
Segment, extent, database block, operating-system block
-
Segment, database block, extent, operating-system block
Pregunta 17
Pregunta
The DBA unknowingly terminated the process ID belonging to the PMON process
of Oracle Database 12c database using the kill -9 command on Unix. Choose the
best answer:
Respuesta
-
Oracle spawns another PMON process automatically.
-
The database hangs, and the DBA must manually start a PMON process.
-
If the database is in ARCHIVELOG mode, Oracle automatically starts another
PMON process and recovers from the database hang.
-
The instance crashes and needs to be restarted.
Pregunta 18
Pregunta
When an incremental checkpoint happens in a database, which file(s) are updated with
the checkpoint position? Choose all options that are correct.
Pregunta 19
Pregunta
User Isabella updates a table and commits the change after a few seconds. Which of the
following actions are happening in the database? Order them in the correct sequence
and ignore the actions that are not relevant.
Respuesta
-
Oracle reads the blocks from data file to buffer cache and updates the blocks.
-
Changed blocks from the buffer cache are written to data files.
-
The user commits the change
-
LGWR writes the changed blocks to the redo log buffer.
-
The server process writes the change vectors to the redo log buffer.
-
LGWR flushes the redo log buffer to redo log files.
-
A checkpoint occurs
Pregunta 20
Pregunta
Querying the V$LOG file shows the following information. Which redo group files are
required for instance crash recovery?
SQL> select GROUP#, ARCHIVED, STATUS from V$LOG;
GROUP# ARC STATUS
---------- --- ----------------
1 NO CURRENT
2 NO INACTIVE
3 NO INACTIVE
4 NO ACTIVE
Respuesta
-
Group 1 and 4
-
Group 2 and 3
-
Groups 1 through 4
-
Group 1
-
Group 4
Pregunta 21
Pregunta
You noticed that the current value of the UNDO_RETENTION parameter is 900 and is too
low for some of your transactions. The database was created using DBCA. You issue
the following statement:
ALTER SYSTEM SET UNDO_RETENTION=4800;
Which option is true?
Respuesta
-
UNDO_RETENTION is a static parameter and, therefore, cannot be changed using
ALTER SYSTEM.
-
The change will be available to the instance only after a database cycle
-
The value is changed in memory, and when the database restarts the next time, the
new value will be preserved when using the spfile.
-
The value is changed only in memory, and the server parameter file needs to be
updated for the change to persist across database shutdowns.
Pregunta 22
Pregunta
You need to find the directory where the Oracle alert log is being written. Which initialization
parameter can be best used to list the full directory path of the alert log location?
Respuesta
-
ALERT_LOG_DEST
-
BACKGROUND_DUMP_DEST
-
DIAGNOSTIC_DEST
-
INIT_LOG_DUMP_DEST
Pregunta 23
Pregunta
Which data dictionary view is used to view the current values of parameters?
Respuesta
-
V$DATABASE
-
V$SPPARAMETER
-
V$PARAMETER
-
V$SYSPARAMETER
Pregunta 24
Pregunta
Which startup options must be used to start the instance when you create a new database?
Respuesta
-
STARTUP FORCE
-
STARTUP MOUNT
-
STARTUP RESTRICT
-
STARTUP NOMOUNT
Pregunta 25
Pregunta
The DIAGNOSTIC_DEST parameter is not set up in the initialization-parameter file. The
value of the ORACLE_HOME environment variable is /u01/app/oracle/product/12.1.0,
and the value of ORACLE_BASE is /u01/app/oracle. The database and instance name is
xyz. What is the location of the text-alert log file for the xyz database?
Respuesta
-
/u01/app/oracle/product/12.1.0/log/rdbms/xyz/xyz/trace
-
/u01/app/oracle/diag/rdbms/xyz/xyz/trace
-
/u01/app/oracle/diag/rdbms/xyz/xyz/alert
-
/u01/app/oracle/product/12.1.0/diag/rdbms/xyz/xyz/trace
-
/u01/app/oracle/log/rdbms/xyz/xyz/trace
Pregunta 26
Pregunta
You want to create a database using the DBCA with DB_BLOCK_SIZE as 32KB. Which
statement is true?
Respuesta
-
A block size of 32KB is not allowed in Oracle Database 12c.
-
You must choose the Data Warehouse template in the DBCA
-
You must choose the Custom template in the DBCA.
-
You must set the environment variable DB_BLOCK_SIZE to 32,768
Pregunta 27
Pregunta
All of the following are database-management options within the Database Configuration
Assistant except which one?
Pregunta 28
Pregunta
The Oracle Universal Installer is started by executing which program?
Respuesta
-
emctl
-
runInstaller
-
ouistart
-
isqlplusctl
Pregunta 29
Pregunta
You’ve been asked to install Oracle Database 12c on a new Linux server. You’re likely
to ask the Unix system administrator to do all but which one of the following for you
in order to get the new server ready for Oracle?
Respuesta
-
Modify the server’s kernel parameters
-
Create a new Unix user to own the Oracle software
-
Create the mount points and directory structure using the OFA model
-
Determine which directory will be used for $ORACLE_HOME.
Pregunta 30
Pregunta
Your database name is OCA12C. The options show the files that are available in the
$ORACLE_HOME/dbs directory. Which file is used to start up the database instance when
you issue the STARTUP command?
Respuesta
-
initOCA12C.ora
-
OCA12Cspfile.ora
-
spfile.ora
-
init.ora
Pregunta 31
Pregunta
Which initialization parameter cannot be changed after the database is created?
Pregunta 32
Pregunta
Which script creates the database dictionary?
Respuesta
-
dictionary.sql
-
catdict.sql
-
catproc.sql
-
catalog.sql
Pregunta 33
Pregunta
If your database name is PROD and your instance name is PROD1, what would be the
name of the text-alert log file?
Respuesta
-
alertPROD.log
-
alert_PROD1.log
-
PROD1alert.log
-
PROD_alert.log
Pregunta 34
Pregunta
Your database is not responding and is in a hung state. You want to shut down and
start the database to release all resources. Which statements would you use?
Pregunta 35
Pregunta
Which of the following startup options does not perform a database recovery?
Respuesta
-
STARTUP
-
STARTUP FORCE RESTRICT
-
STARTUP NOMOUNT
-
STARTUP OPEN
-
STARTUP RESTRICT
Pregunta 36
Pregunta
Which of the following shutdown statements does not perform a clean shutdown?
Pregunta 37
Pregunta
You would like to perform maintenance on the system and limit access to only the
DBA staff during the maintenance window. Which of the following startup options
should you use?
Pregunta 38
Pregunta
You want to start up the database using a binary initialization file. What is another
name for this file?
Respuesta
-
Configfile
-
Pfile
-
Spfile
-
init_pfile.ora
Pregunta 39
Pregunta
Under normal circumstances, which of the following actions or events is not found in
the Oracle alert log?
Respuesta
-
Database startup and shutdown information
-
Nondefault initialization parameters
-
ORA-00600 errors
-
New columns added to a user table
Pregunta 40
Pregunta
Which of the following is true about EM Database Express? (Choose all that apply.)
Respuesta
-
You can start up and shut down a database using Database Express.
-
You can read the contents of the alert log file.
-
You can modify static initialization parameters.
-
The CREATE DATABASE statement creates the Database Control repository in the
database
Pregunta 41
Pregunta
Which of the following statements about tablespaces is true?
Respuesta
-
A tablespace is the physical implementation of a logical structure called a
namespace.
-
A tablespace can hold the objects of only one schema.
-
A bigfile tablespace can have only one data file.
-
The SYSAUX tablespace is an optional tablespace created only if you install certain
database options.
Pregunta 42
Pregunta
Automatic segment space management on the tablespace causes which of the following
table attributes in that tablespace to be ignored?
Respuesta
-
The whole storage clause
-
NEXT and PCTINCREASE
-
BUFFERPOOL and FREEPOOL
-
PCTFREE and PCTUSED
Pregunta 43
Pregunta
Which is not a type of segment that is stored in a tablespace?
Respuesta
-
Undo
-
Redo
-
Permanent
-
Temporary
Pregunta 44
Pregunta
Which allocation unit is the smallest?
Respuesta
-
Data file
-
Extent
-
Data block
-
Segment
Pregunta 45
Pregunta
You performed the following statement in the database. What actions can you perform
on the CUST_INFO table in the CUST_DATA tablespace. (Choose all that apply.)
ALTER TABLESPACE CUST_DATA READ ONLY;
Respuesta
-
ALTER TABLE CUST_INFO DROP COLUMN xx;
-
TRUNCATE TABLE CUST_INFO;
-
INSERT INTO CUST_INFO VALUES (…);
-
DROP TABLE CUST_INFO;
-
RENAME CUST_INFO TO CUSTOMER_INFO;
Pregunta 46
Pregunta
If the tablespace is offline, which statements should be executed to make the USERS
tablespace read-only? (Choose all that apply.)
Respuesta
-
ALTER TABLESPACE USERS READ ONLY
-
ALTER DATABASE MAKE TABLESPACE USERS READ ONLY
-
ALTER TABLESPACE USERS ONLINE
-
ALTER TABLESPACE USERS TEMPORARY
Pregunta 47
Pregunta
How would you add more space to a tablespace? (Choose all that apply.)
Respuesta
-
ALTER TABLESPACE <TABLESPACE NAME> ADD DATAFILE SIZE <N>
-
ALTER DATABASE DATAFILE <FILENAME> RESIZE <N>
-
ALTER DATAFILE <FILENAME> RESIZE <N>
-
ALTER TABLESPACE <TABLESPACE NAME> DATAFILE <FILENAME>
RESIZE <N>
Pregunta 48
Pregunta
The database is using automatic memory management. The standard block size for
the database is 8KB. You need to create a tablespace with a block size of 16KB.
Which initialization parameter should be set?
Respuesta
-
DB_8K_CACHE_SIZE
-
DB_16K_CACHE_SIZE
-
DB_CACHE_SIZE
-
None of the above
Pregunta 49
Pregunta
Which data dictionary view can be queried to obtain information about the files that belong to locally managed temporary tablespaces?
Respuesta
-
DBA_DATA_FILES
-
DBA_TABLESPACES
-
DBA_TEMP_FILES
-
DBA_LOCAL_FILES
Pregunta 50
Pregunta
How would you drop a tablespace if the tablespace were not empty?
Respuesta
-
Rename all the objects in the tablespace, and then drop the tablespace.
-
Remove the data files belonging to the tablespace from the disk.
-
Use ALTER DATABASE DROP <TABLESPACE NAME> CASCADE
-
Use DROP TABLESPACE <TABLESPACE NAME> INCLUDING CONTENTS.
Pregunta 51
Pregunta
Which command is used to enable the autoextensible feature for a file if the file is already part of a tablespace?
Pregunta 52
Pregunta
Which statement is true regarding the SYSTEM tablespace?
Respuesta
-
It can be made read-only.
-
It can be offline.
-
Data files can be renamed.
-
Data files cannot be resized.
Pregunta 53
Pregunta
The default critical threshold for a tablespace is set at 97 percent, and you think that
is too low. Which two options can you use to change the threshold value to 90 percent
for tablespace APPS_DATA?
Respuesta
-
Use Oracle Enterprise Manager Database Express.
-
Use Oracle Enterprise Manager Cloud Control.
-
Use DBMS_SERVER_ALERT package.
-
Use DBMS_SPACE package.
Pregunta 54
Pregunta
Choose the statements that are resumable. (Choose three.)
Pregunta 55
Pregunta
How do you ensure you are notified when a resumable session is suspended?
(Choose two.)
Respuesta
-
You’ll be notified by email at the address registered in database properties.
-
Write a custom script to look for “statement in resumable session * was suspended”
in the alert log and notify the DBA.
-
Create an AFTER SUSPEND trigger and a code notification
-
A suspended session displays a message on the screen.
Pregunta 56
Pregunta
Which statement regarding reclaiming wasted space is true?
Respuesta
-
Segment shrink is accomplished using the ALTER TABLE … MOVE and ALTER INDEX
… REBUILD statements.
-
Segment shrink and reorganize are similar operations.
-
When a table segment shrink operation is completed, the dependent indexes are in
invalid state and need to be rebuilt.
-
A segment shrink operation is applicable only on tablespaces with automatic
segment space management.
Pregunta 57
Pregunta
Which compression option should be specified to compress blocks of tables that are
used by the OLTP application?
Respuesta
-
COMPRESS
-
NOCOMPRESS
-
COMPRESS FOR OLTP
-
COMPRESS FOR ONLINE DML
Pregunta 58
Pregunta
Choose the best option regarding extents.
Respuesta
-
An extent is a grouping of Oracle blocks.
-
An extent is a grouping of OS blocks
-
An extent is a grouping of segments.
-
An extent is allocated when a table is created
Pregunta 59
Pregunta
You issue the statement CREATE TABLESPACE X;. Which of the following is the
best option?
Respuesta
-
The statement fails because mandatory properties are not defined.
-
The 100MB tablespace is created.
-
The mandatory DATAFILE clause is missing
-
The tablespace name should be at least three characters long.
Pregunta 60
Pregunta
Choose the information that is not part of a ROWID.
Pregunta 61
Pregunta
Changes made with an UPDATE statement in a transaction are permanent in the database
and visible to other users after what occurs?
Respuesta
-
DBWR flushes the changes to disk.
-
You issue a SAVEPOINT statement.
-
You issue a COMMIT statement.
-
A checkpoint occurs.
Pregunta 62
Pregunta
Which of the following commands returns an error if the transaction starts with SET
TRANSACTION READ ONLY?
Respuesta
-
ALTER SYSTEM
-
SET ROLE
-
ALTER USER
-
None of the above
Pregunta 63
Pregunta
Guaranteed undo retention can be specified for which of the following objects?
Respuesta
-
A tablespace
-
A table
-
The database
-
A transaction
-
The instance
Pregunta 64
Pregunta
Which of the following lock modes permits concurrent queries on a table but prohibits
updates to the locked table?
Respuesta
-
ROW SHARE
-
ROW EXCLUSIVE
-
SHARE ROW EXCLUSIVE
-
All of the above
Pregunta 65
Pregunta
Select the statement that is not true regarding undo tablespaces
Respuesta
-
Undo tablespaces will not be created if they are not specified in the CREATE
DATABASE command.
-
Two undo tablespaces can be active if a new undo tablespace was specified and the
old one contains pending transactions
-
You can switch from one undo tablespace to another while the database is online
-
UNDO_MANAGEMENT cannot be changed dynamically while the instance is running.
Pregunta 66
Pregunta
To resolve a lock conflict, which of the following methods can you use? Choose all
that apply.
Respuesta
-
Oracle automatically resolves the lock after a short but predefined time period by
killing the session that is holding the lock.
-
The DBA can kill the session holding the lock.
-
The user can either roll back or commit the transaction that is holding the lock.
-
Oracle automatically resolves the lock after a short but predefined period by killing
the session that is requesting the lock.
Pregunta 67
Pregunta
Two transactions occur at the wall clock times in the following table. What happens
at 10:05?
Respuesta
-
Session 2 will wait for session 1 to commit or roll back.
-
Session 1 will wait for session 2 to commit or roll back
-
A deadlock will occur, and both sessions will hang unless one of the users cancels
their statement or the DBA kills one of the sessions.
-
A deadlock will occur, and Oracle will cancel one of the statements.
-
Neither session is updating the same column, so no waiting or deadlock will occur