EXAMEN PREPARACION OCA 12C

Beschreibung

WIP
David Jimenez
Quiz von David Jimenez, aktualisiert more than 1 year ago
David Jimenez
Erstellt von David Jimenez vor fast 8 Jahre
154
0

Zusammenfassung der Ressource

Frage 1

Frage
Choose two SGA structures that are required in every Oracle instance
Antworten
  • Large pool
  • Shared pool
  • Buffer cache
  • Java pool

Frage 2

Frage
Which statement is true?
Antworten
  • 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.

Frage 3

Frage
Which component is configured at database startup and cannot be dynamically managed?
Antworten
  • Redo log buffer
  • Streams pool
  • Java pool
  • Shared pool
  • None of the above

Frage 4

Frage
Which component is not part of an Oracle instance?
Antworten
  • System global area
  • Process monitor
  • Control file
  • Shared pool
  • None

Frage 5

Frage
Which background process guarantees that committed data is saved even when the changes have not been recorded in data files?
Antworten
  • DBWn
  • PMON
  • LGWR
  • CKPT
  • ARCn

Frage 6

Frage
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?
Antworten
  • 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.

Frage 7

Frage
Which of the following best describes a RAC configuration?
Antworten
  • One database, multiple instances
  • One instance, multiple databases
  • Multiple databases plugged in from multiple servers
  • Multiple databases, multiple instances

Frage 8

Frage
Which component of the SGA contains the parsed SQL code?
Antworten
  • Database buffer cache
  • Dictionary cache
  • Library cache
  • Parse cache

Frage 9

Frage
Which tasks are accomplished by the SMON process? (Choose all that apply.)
Antworten
  • 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

Frage 10

Frage
Choose the best statement from the options related to segments.
Antworten
  • 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.

Frage 11

Frage
From the following list, choose two processes that are optional in an Oracle Database 12c database.
Antworten
  • MMON
  • MMNL
  • ARCn
  • MMAN

Frage 12

Frage
Which SGA component will you increase or configure so that RMAN tape backups do not use memory from the shared pool?
Antworten
  • Java pool
  • Streams pool
  • Recovery pool
  • Large pool

Frage 13

Frage
When a user session is terminated, which processes are responsible for cleaning up and releasing locks? (Choose all that apply.)
Antworten
  • DBWn
  • LGWR
  • MMON
  • PMON
  • SMON

Frage 14

Frage
The LRU algorithm is used to manage what part of the Oracle architecture?
Antworten
  • 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

Frage 15

Frage
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?
Antworten
  • 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.

Frage 16

Frage
Which of the following is the proper order of Oracle’s storage hierarchy, from smallest to largest?
Antworten
  • 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

Frage 17

Frage
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:
Antworten
  • 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.

Frage 18

Frage
When an incremental checkpoint happens in a database, which file(s) are updated with the checkpoint position? Choose all options that are correct.
Antworten
  • Data files
  • Control files
  • Initialization Parameter Files
  • Redo log files
  • Archive log files

Frage 19

Frage
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.
Antworten
  • 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

Frage 20

Frage
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
Antworten
  • Group 1 and 4
  • Group 2 and 3
  • Groups 1 through 4
  • Group 1
  • Group 4

Frage 21

Frage
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?
Antworten
  • 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.

Frage 22

Frage
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?
Antworten
  • ALERT_LOG_DEST
  • BACKGROUND_DUMP_DEST
  • DIAGNOSTIC_DEST
  • INIT_LOG_DUMP_DEST

Frage 23

Frage
Which data dictionary view is used to view the current values of parameters?
Antworten
  • V$DATABASE
  • V$SPPARAMETER
  • V$PARAMETER
  • V$SYSPARAMETER

Frage 24

Frage
Which startup options must be used to start the instance when you create a new database?
Antworten
  • STARTUP FORCE
  • STARTUP MOUNT
  • STARTUP RESTRICT
  • STARTUP NOMOUNT

Frage 25

Frage
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?
Antworten
  • /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

Frage 26

Frage
You want to create a database using the DBCA with DB_BLOCK_SIZE as 32KB. Which statement is true?
Antworten
  • 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

Frage 27

Frage
All of the following are database-management options within the Database Configuration Assistant except which one?
Antworten
  • Change Database Initialization Parameters
  • Create a Database
  • Manage Templates
  • Delete a Database

Frage 28

Frage
The Oracle Universal Installer is started by executing which program?
Antworten
  • emctl
  • runInstaller
  • ouistart
  • isqlplusctl

Frage 29

Frage
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?
Antworten
  • 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.

Frage 30

Frage
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?
Antworten
  • initOCA12C.ora
  • OCA12Cspfile.ora
  • spfile.ora
  • init.ora

Frage 31

Frage
Which initialization parameter cannot be changed after the database is created?
Antworten
  • DB_BLOCK_SIZE
  • DB_NAME
  • CONTROL_FILES
  • None. All parameters can be changed as and when required.

Frage 32

Frage
Which script creates the database dictionary?
Antworten
  • dictionary.sql
  • catdict.sql
  • catproc.sql
  • catalog.sql

Frage 33

Frage
If your database name is PROD and your instance name is PROD1, what would be the name of the text-alert log file?
Antworten
  • alertPROD.log
  • alert_PROD1.log
  • PROD1alert.log
  • PROD_alert.log

Frage 34

Frage
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?
Antworten
  • STARTUP AFTER SHUTDOWN
  • STARTUP FORCE
  • SHUTDOWN FORCE
  • SHUTDOWN ABORT and STARTUP

Frage 35

Frage
Which of the following startup options does not perform a database recovery?
Antworten
  • STARTUP
  • STARTUP FORCE RESTRICT
  • STARTUP NOMOUNT
  • STARTUP OPEN
  • STARTUP RESTRICT

Frage 36

Frage
Which of the following shutdown statements does not perform a clean shutdown?
Antworten
  • SHUTDOWN ABORT
  • SHUTDOWN TRANSACTIONAL
  • SHUTDOWN
  • SHUTDOWN IMMEDIATE
  • All of these are considered clean shutdowns

Frage 37

Frage
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?
Antworten
  • STARTUP NOMOUNT RESTRICT
  • STARTUP RESTRICT
  • STARTUP MOUNT RESTRICT
  • STARTUP MOUNT FORCE RESTRICT

Frage 38

Frage
You want to start up the database using a binary initialization file. What is another name for this file?
Antworten
  • Configfile
  • Pfile
  • Spfile
  • init_pfile.ora

Frage 39

Frage
Under normal circumstances, which of the following actions or events is not found in the Oracle alert log?
Antworten
  • Database startup and shutdown information
  • Nondefault initialization parameters
  • ORA-00600 errors
  • New columns added to a user table

Frage 40

Frage
Which of the following is true about EM Database Express? (Choose all that apply.)
Antworten
  • 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

Frage 41

Frage
Which of the following statements about tablespaces is true?
Antworten
  • 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.

Frage 42

Frage
Automatic segment space management on the tablespace causes which of the following table attributes in that tablespace to be ignored?
Antworten
  • The whole storage clause
  • NEXT and PCTINCREASE
  • BUFFERPOOL and FREEPOOL
  • PCTFREE and PCTUSED

Frage 43

Frage
Which is not a type of segment that is stored in a tablespace?
Antworten
  • Undo
  • Redo
  • Permanent
  • Temporary

Frage 44

Frage
Which allocation unit is the smallest?
Antworten
  • Data file
  • Extent
  • Data block
  • Segment

Frage 45

Frage
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;
Antworten
  • 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;

Frage 46

Frage
If the tablespace is offline, which statements should be executed to make the USERS tablespace read-only? (Choose all that apply.)
Antworten
  • ALTER TABLESPACE USERS READ ONLY
  • ALTER DATABASE MAKE TABLESPACE USERS READ ONLY
  • ALTER TABLESPACE USERS ONLINE
  • ALTER TABLESPACE USERS TEMPORARY

Frage 47

Frage
How would you add more space to a tablespace? (Choose all that apply.)
Antworten
  • 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>

Frage 48

Frage
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?
Antworten
  • DB_8K_CACHE_SIZE
  • DB_16K_CACHE_SIZE
  • DB_CACHE_SIZE
  • None of the above

Frage 49

Frage
Which data dictionary view can be queried to obtain information about the files that belong to locally managed temporary tablespaces?
Antworten
  • DBA_DATA_FILES
  • DBA_TABLESPACES
  • DBA_TEMP_FILES
  • DBA_LOCAL_FILES

Frage 50

Frage
How would you drop a tablespace if the tablespace were not empty?
Antworten
  • 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.

Frage 51

Frage
Which command is used to enable the autoextensible feature for a file if the file is already part of a tablespace?
Antworten
  • ALTER DATABASE
  • ALTER TABLESPACE.
  • ALTER DATA FILE
  • You cannot change the autoextensible feature once the data file is created.

Frage 52

Frage
Which statement is true regarding the SYSTEM tablespace?
Antworten
  • It can be made read-only.
  • It can be offline.
  • Data files can be renamed.
  • Data files cannot be resized.

Frage 53

Frage
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?
Antworten
  • Use Oracle Enterprise Manager Database Express.
  • Use Oracle Enterprise Manager Cloud Control.
  • Use DBMS_SERVER_ALERT package.
  • Use DBMS_SPACE package.

Frage 54

Frage
Choose the statements that are resumable. (Choose three.)
Antworten
  • ALTER TABLE … SPLIT PARTITION
  • SELECT
  • INSERT INTO … SELECT
  • CREATE TABLESPACE
  • ALTER TABLE … SHRINK SPACE

Frage 55

Frage
How do you ensure you are notified when a resumable session is suspended? (Choose two.)
Antworten
  • 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.

Frage 56

Frage
Which statement regarding reclaiming wasted space is true?
Antworten
  • 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.

Frage 57

Frage
Which compression option should be specified to compress blocks of tables that are used by the OLTP application?
Antworten
  • COMPRESS
  • NOCOMPRESS
  • COMPRESS FOR OLTP
  • COMPRESS FOR ONLINE DML

Frage 58

Frage
Choose the best option regarding extents.
Antworten
  • 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

Frage 59

Frage
You issue the statement CREATE TABLESPACE X;. Which of the following is the best option?
Antworten
  • 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.

Frage 60

Frage
Choose the information that is not part of a ROWID.
Antworten
  • Data object number
  • Relative file number
  • Segment ID where the block belongs
  • Block number in the file

Frage 61

Frage
Changes made with an UPDATE statement in a transaction are permanent in the database and visible to other users after what occurs?
Antworten
  • DBWR flushes the changes to disk.
  • You issue a SAVEPOINT statement.
  • You issue a COMMIT statement.
  • A checkpoint occurs.

Frage 62

Frage
Which of the following commands returns an error if the transaction starts with SET TRANSACTION READ ONLY?
Antworten
  • ALTER SYSTEM
  • SET ROLE
  • ALTER USER
  • None of the above

Frage 63

Frage
Guaranteed undo retention can be specified for which of the following objects?
Antworten
  • A tablespace
  • A table
  • The database
  • A transaction
  • The instance

Frage 64

Frage
Which of the following lock modes permits concurrent queries on a table but prohibits updates to the locked table?
Antworten
  • ROW SHARE
  • ROW EXCLUSIVE
  • SHARE ROW EXCLUSIVE
  • All of the above

Frage 65

Frage
Select the statement that is not true regarding undo tablespaces
Antworten
  • 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.

Frage 66

Frage
To resolve a lock conflict, which of the following methods can you use? Choose all that apply.
Antworten
  • 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.

Frage 67

Frage
Two transactions occur at the wall clock times in the following table. What happens at 10:05?
Antworten
  • 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
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

EU, OHG, KG, GmbH
Stefan Kurtenbach
Vokabeln für Gesundheits- und Krankenpflege
julian.haeuserer
Faust: Die Gretchen-Tragödie
barbara91
Öff.Recht - POR Streitigkeiten
myJurazone
2C Entwicklungspsychologie
petra.drewitz
Geometrie - das Rechteck
Robert Mairginter
Fachbegriffe für den Sprachunterricht
Stefan Kurtenbach
Wichtige Fälle/ Patienten aus der Allgemeinen Psychologie (ALPS)
Caroline X
Forstpolitik Krott
Ulf Grätz
Vetie - Radiologie 2018 Teil 2
Luca Russell
Vetie: Geflügelkrankheiten Fragen aus den Vorlesungen
Johanna Tr