You are on page 1of 139

Count of Questions Competency Level L1 L2 L3 (blank) Grand Total

Total 75 297 147 1 520

S.No. Technology 7 Oracle 10 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 38 41 43 44 45 46 Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle

Version 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g

DBA Area Performance Tuning Networking Networking Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Architecture Architecture Data Guard RAC RAC RAC

Competency Level L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2

Status Active Active Active Active Active Active Active Active Active Active Active Active Active Active Active Active Active Active Active Active Active Active Active Active Active

50 51 53 54 55 58 61

Oracle Oracle Oracle Oracle Oracle Oracle Oracle

10g 10g 10g 10g 10g 10g 10g

Architecture Backup & Recovery Performance Tuning Performance Tuning Performance Tuning Performance Tuning Backup & Recovery

L2 L2 L2 L2 L2 L2 L2

Active Active Active Active Active Active Active

62 63 65 66

Oracle Oracle Oracle Oracle

10g 10g 10g 10g

Backup & Recovery Backup & Recovery Performance Tuning Architecture

L2 L2 L2 L2

Active Active Active Active

67 70 74

Oracle Oracle Oracle

10g 10g 10g

Backup & Recovery Backup & Recovery Architecture

L2 L2 L2

Active Active Active

78 79 80

Oracle Oracle Oracle

10g 10g 10g

Performance Tuning Backup & Recovery Architecture

L2 L2 L2

Active Active Active

82

Oracle

10g

Performance Tuning

L2

Active

83

Oracle

10g

Backup & Recovery

L2

Active

85

Oracle

10g

Backup & Recovery

L2

Active

86

Oracle

10g

Architecture

L2

Active

88

Oracle

10g

Backup & Recovery

L2

Active

89

Oracle

10g

Architecture

L2

Active

90 93

Oracle Oracle

10g 10g

Backup & Recovery Architecture

L2 L2

Active Active

96

Oracle

10g

Performance Tuning

L2

Active

97

Oracle

10g

Backup & Recovery

L2

Active

103

Oracle

10g

Performance Tuning

L2

Active

104

Oracle

10g

Performance Tuning

L2

Active

105

Oracle

10g

Architecture

L2

Active

106

Oracle

10g

Architecture

L2

Active

108

Oracle

10g

Architecture

L2

Active

110 111

Oracle Oracle

10g 10g

Backup & Recovery Performance Tuning

L2 L2

Active Active

113

Oracle

10g

Performance Tuning

L2

Active

114

Oracle

10g

Backup & Recovery

L2

Active

117

Oracle

10g

Architecture

L2

Active

119

Oracle

10g

Backup & Recovery

L2

Active

125 126

Oracle Oracle

10g 10g

Performance Tuning Backup & Recovery

L2 L2

Active Active

129

Oracle

10g

Architecture

L2

Active

132

Oracle

10g

Architecture

L2

Active

134

Oracle

10g

Backup & Recovery

L2

Active

135

Oracle

10g

Backup & Recovery

L2

Active

136

Oracle

10g

Networking

L2

Active

137

Oracle

10g

Performance Tuning

L2

Active

138

Oracle

10g

Architecture

L2

Active

139

Oracle

10g

Architecture

L2

Active

142

Oracle

10g

Backup & Recovery

L2

Active

143

Oracle

10g

Backup & Recovery

L2

Active

144

Oracle

10g

Architecture

L2

Active

146

Oracle

10g

Data Guard

L2

Active

147

Oracle

10g

Architecture

L2

Active

148

Oracle

10g

Architecture

L2

Active

149

Oracle

10g

Data Guard

L2

Active

150

Oracle

10g

Backup & Recovery

L2

Active

151

Oracle

10g

Architecture

L2

Active

153

Oracle

10g

Architecture

L2

Active

154

Oracle

10g

Architecture

L2

Active

156 157

Oracle Oracle

10g 10g

Architecture Architecture

L2 L2

Active Active

160

Oracle

10g

Architecture

L2

Active

162

Oracle

10g

Architecture

L2

Active

164

Oracle

10g

Backup & Recovery

L2

Active

165

Oracle

10g

Architecture

L2

Active

167

Oracle

10g

Architecture

L2

Active

169

Oracle

10g

Architecture

L2

Active

170

Oracle

10g

Backup & Recovery

L2

Active

171

Oracle

10g

Backup & Recovery

L2

Active

172

Oracle

10g

Performance Tuning

L2

Active

175 180 181

Oracle Oracle Oracle

10g 10g 10g

Performance Tuning Architecture Performance Tuning

L2 L2 L2

Active Active Active

183 185 187

Oracle Oracle Oracle

10g 10g 10g

Architecture Architecture Architecture

L2 L2 L2

Active Active Active

188

Oracle

10g

Architecture

L2

Active

190

Oracle

10g

RAC

L2

Active

191

Oracle

10g

Performance Tuning

L2

Active

192

Oracle

10g

Performance Tuning

L2

Active

193

Oracle

10g

Architecture

L2

Active

194

Oracle

10g

Architecture

L2

Active

196

Oracle

10g

Backup & Recovery

L2

Active

198

Oracle

10g

Architecture

L2

Active

199

Oracle

10g

Architecture

L2

Active

202

Oracle

10g

Architecture

L2

Active

203

Oracle

10g

Performance Tuning

L2

Active

204

Oracle

10g

Architecture

L2

Active

208 212

Oracle Oracle

10g 10g

Architecture Performance Tuning

L2 L2

Active Active

213 214 215

Oracle Oracle Oracle

10g 10g 10g

Architecture Architecture Architecture

L2 L2 L2

Active Active Active

216

Oracle

10g

Data Guard

L2

Active

217 218 219

Oracle Oracle Oracle

10g 10g 10g

Architecture Architecture Architecture

L2 L2 L2

Active Active Active

220

Oracle

10g

Architecture

L2

Active

221 222

Oracle Oracle

10g 10g

Architecture Architecture

L2 L2

Active Active

223

Oracle

10g

Architecture

L2

Active

224

Oracle

10g

Architecture

L2

Active

225

Oracle

10g

Networking

L2

Active

226

Oracle

10g

Networking

L2

Active

227

Oracle

10g

Architecture

L2

Active

228

Oracle

10g

Architecture

L2

Active

229

Oracle

10g

Networking

L2

Active

230

Oracle

10g

Networking

L2

Active

231 232 233

Oracle Oracle Oracle

10g 10g 10g

Architecture Performance Tuning Architecture

L2 L2 L2

Active Active Active

234

Oracle

10g

Architecture

L2

Active

235

Oracle

10g

Performance Tuning

L2

Active

236

Oracle

10g

Architecture

L2

Active

237

Oracle

10g

Architecture

L2

Active

238

Oracle

10g

Architecture

L2

Active

239

Oracle

10g

Architecture

L2

Active

240

Oracle

10g

Architecture

L2

Active

241

Oracle

10g

Architecture

L2

Active

242

Oracle

10g

Architecture

L2

Active

243

Oracle

10g

Architecture

L2

Active

244

Oracle

10g

Architecture

L2

Active

245

Oracle

10g

Performance Tuning

L2

Active

246

Oracle

10g

Performance Tuning

L2

Active

247

Oracle

10g

Architecture

L2

Active

248

Oracle

10g

Architecture

L2

Active

250 253 255 256

Oracle Oracle Oracle Oracle

10g 10g 10g 10g

Backup & Recovery Architecture Architecture Architecture

L2 L2 L2 L2

Active Active Active Active

258

Oracle

10g

Architecture

L2

Active

262

Oracle

10g

Networking

L2

Active

263 268

Oracle Oracle

10g 10g

Backup & Recovery Architecture

L2 L2

Active Active

269 270 271

Oracle Oracle Oracle

10g 10g 10g

Architecture Architecture Architecture

L2 L2 L2

Active Active Active

272

Oracle

10g

Architecture

L2

Active

273

Oracle

10g

Architecture

L2

Active

274

Oracle

10g

Backup & Recovery

L2

Active

276

Oracle

10g

Backup & Recovery

L2

Active

277

Oracle

10g

Architecture

L2

Active

279

Oracle

10g

Backup & Recovery

L2

Active

284 286

Oracle Oracle

10g 10g

Architecture Architecture

L2 L2

Active Active

293

Oracle

10g

Architecture

L2

Active

294

Oracle

10g

Backup & Recovery

L2

Active

296

Oracle

10g

Architecture

L2

Active

297

Oracle

10g

Architecture

L2

Active

298

Oracle

10g

Data Guard

L2

Active

300

Oracle

10g

Architecture

L2

Active

301

Oracle

10g

Data Guard

L2

Active

304

Oracle

10g

Architecture

L2

Active

305

Oracle

10g

Architecture

L2

Active

307 316 317

Oracle Oracle Oracle

10g 10g 10g

Architecture Architecture Architecture

L2 L2 L2

Active Active Active

320

Oracle

10g

Architecture

L2

Active

322 323

Oracle Oracle

10g 10g

Architecture Architecture

L2 L2

Active Active

327

Oracle

10g

Backup & Recovery

L2

Active

328

Oracle

10g

Backup & Recovery

L2

Active

329 334 337

Oracle Oracle Oracle

10g 10g 10g

Backup & Recovery Backup & Recovery Backup & Recovery

L2 L2 L2

Active Active Active

343 344 346 348 349 350 353

Oracle Oracle Oracle Oracle Oracle Oracle Oracle

10g 10g 10g 10g 10g 10g 10g

Backup & Recovery Backup & Recovery Backup & Recovery Performance Tuning Performance Tuning Performance Tuning Performance Tuning

L2 L2 L2 L2 L2 L2 L2

Active Active Active Active Active Active Active

354 355

Oracle Oracle

10g 10g

Performance Tuning Performance Tuning

L2 L2

Active Active

356

Oracle

10g

Performance Tuning

L2

Active

357 358 359 361 362 363 364 365 367 368 369 370

Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle

10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g

Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning

L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2

Active Active Active Active Active Active Active Active Active Active Active Active

371 372

Oracle Oracle

10g 10g

Performance Tuning Performance Tuning

L2 L2

Active Active

373 376 380 381 382 384 385 386 387 388 389

Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle

10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g

Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning

L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2

Active Active Active Active Active Active Active Active Active Active Active

390 392 393 394 396 397 398 399 403 404

Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle

10g 10g 10g 10g 10g 10g 10g 10g 10g 10g

Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Performance Tuning Architecture Architecture

L2 L2 L2 L2 L2 L2 L2 L2 L2 L2

Active Active Active Active Active Active Active Active Active Active

405 406 407 408 409 410 412 413

Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle

10g 10g 10g 10g 10g 10g 10g 10g

Architecture Architecture Architecture Architecture Architecture Architecture Architecture Architecture

L2 L2 L2 L2 L2 L2 L2 L2

Active Active Active Active Active Active Active Active

415

Oracle

10g

Architecture

L2

Active

417

Oracle

10g

Architecture

L2

Active

420 421 422 424 426 428 429 430

Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle

10g 10g 10g 10g 10g 10g 10g 10g

Backup & Recovery Architecture Architecture Architecture Architecture Architecture Architecture Architecture

L2 L2 L2 L2 L2 L2 L2 L2

Active Active Active Active Active Active Active Active

431

Oracle

10g

Architecture

L2

Active

432 433

Oracle Oracle

10g 10g

Architecture Architecture

L2 L2

Active Active

435 438 441 442 447 448 450 451 452 453 454 456 457 459 460 462

Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle

10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g

Architecture Architecture Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery Architecture

L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2

Active Active Active Active Active Active Active Active Active Active Active Active Active Active Active Active

467

Oracle

10g

Architecture

L2

Active

468 469 470 471 472 473

Oracle Oracle Oracle Oracle Oracle Oracle

10g 10g 10g 10g 10g 10g

Backup & Recovery Architecture Backup & Recovery Backup & Recovery Backup & Recovery Backup & Recovery

L2 L2 L2 L2 L2 L2

Active Active Active Active Active Active

475

Oracle

10g

Architecture

L2

Active

477 481 482 483 486 488 490 491 492 493 495 496 497 501

Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle Oracle

10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g 10g

Architecture Architecture Backup & Recovery Architecture Architecture Architecture Architecture Architecture Architecture Architecture Architecture Architecture Architecture Architecture

L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2

Active Active Active Active Active Active Active Active Active Active Active Active Active Active

502

Oracle

10g

Architecture

L2

Active

508 513

Oracle Oracle

10g 10g

Performance Tuning Performance Tuning

L2 L2

Active Active

Questions Define the Command for Validating the Index ? What is the File at OS Level which defines the hostname and Server IP ? What is the command for testing successful Service Name ? Which File by default Stores information about all the RMAN Backups ? What is the Command Line utility at OS Level for checking the Structure of Online Datafiles/ Backup Datafiles ? What is the command for configuring Automatic Backup of Controlfile During RMAN ? Using What view in Oracle Database you can see what all Datafiles need Recovery ? What View in Oracle Database shows what archivelogs are required for recovery ? What is the name of the role Granted for Recovery Catalog Database ? What is the command to be used for registering Target database in the Catalog ? What is the manual command for resyncing recovery catalog Database ? What is the command for opening the database with resetlogs option ? What is the command in RMAN for listing incarnation of all previous databases ? What is the command for listing previous RMAN Backup copies ? What is the command in RMAN for viewing information about Schema Backups ? To Export tables that are owned by some other user, you must be granted some role In Database. What is that role name ? We only want to export Table Structure and not the rows of the table, what will be the parameter name and value ? Suppose you are importing to B schema from A Schema,what will be the specifying source and destination schemas (i.e. A & B) ? To overwride already existing objects errors ,what is the parameter name and value ? What is the direct mechanism in Oracle Database for connecting from one Oracle Database to another Database ? Can we enable auditing on particular tables in Oracle Database ? Yes or No.. Is DataGuard one of the mechanism for replication in Oracle Database ? Yes or No.. Is RAC(Real Application Cluster) a mechanism of replication in Oracle DB..Yes or No.. Does RAC(Real Application Cluster) Provide Maximum Availability feature of Oracle Database ? RAC Database doesnt support Cache Fusion ?

ENQUEUE resources parameter information is derived from What is the type of Oracle backup in which all uncommitted changes have been removed from the datafiles? STARTUP RESTRICT ______ Which background process to collect statistics for the Automatic Workload Repository (AWR). What is the OPTIMAL parameter? Name three advisory statistics you can collect. You executed the following command to perform a backup of theUSERStablespace: RMAN>BACKUP TABLESPACE USERS; Which type of backup would this command perform? In your database, online redo log files are multiplexed and one of the members in a group is lost due to media failure? How would you recover the lost redo log member? You are using Oracle Database 10g. Which statement regarding an incomplete recovery is true? Which background process does Automatic Shared Memory Management use to coordinate the sizing of memory components? You are unable to move the Unified Job Scheduler occupant from the SYSAUX tablespace to the USERS tablespace. What could be the reason? You enabled block change tracking for faster incremental backups in your database. Which background process writes to the change tracking file? The database is currently running in the NOARCHIVELOG mode. What would be the first step to configure Flashback Database? Which two dynamic performance views would you query to determine the endian format of your platform? (Choose two.) You need to create a schedule that will run a job on the second Friday of each month. What should the repeat interval of the schedule be set to? Which three file types are managed by Data Pump jobs? (Choose three.) Which statement regarding the implementation of shared policy functions is correct? You need to shrink the EMP table segment. Which SQL statement would you execute as a prerequisite before you execute the ALTER TABLE emp SHRINK SPACE; command?

While exporting data by using Data Pump, you find that the export runs for long period. Because this action is being performed during peak hours, you decide to stop the job and restart it during off-peak hours. Which view would you query to determine the name and status of the stopped job? You flashed back the jobs table at 11:00 a.m. to its state at 9:30 a.m. At 11:15 a.m., you decided to retrieve the jobs table as it was at 10:12 a.m. What would you do to retrieve the jobs table fast and with minimum impact to other objects? You executed the following command to drop a user: DROP USER scott CASCADE; Which two statement regarding the above command are correct? (Choose two.) You executed the following command: RMAN> RECOVER COPY OF DATAFILE '/U01/app/oracle/oradata/orcl/users01.dbf'; Which statement regarding the above command is correct? You have three temporary tablespace groups named G1, G2, and G3 in your database. You are creating a new temporary tablespace as follows: CREATE TEMPORARY TABLESPACE TEMP1 TEMPFILE '/ul/data/temp1.dbf' SIZE 10M TABLESPACE GROUP ' ' ; Which statement regarding the above command is correct? Which entity enables Oracle Data Pump to restart a stopped job? Identify the three predefined server-generated alerts. (Choose three.) You define the Warning threshold for the tablespace usage metric for the USERS tablespace to be 60% and the Critical threshold to be 80%. When space usage of the USERS tablespace exceeds 60%, an alert is raised. Which two are sources for detailed alert information? (Choose two.) Which parameter avoids the overwriting of archived redo log files when you recover the database with the RESETLOGS option? Which two statements regarding unusable indexes are correct? (Choose two.)

Consider an Oracle instance that is using Automatic Shared Memory Management. You set some of the System Global Area (SGA) parameters as shown below: SGA_TARGET = 200 MB SHARED_POOL_SIZE= 20 MB DB_KEEP_CACHE_SIZE = 30 MB Which two statements are correct in this scenario? (Choose two.)

An online tablespace, TEST_TBS, is full and you realize that no servermanaged tablespace threshold alerts were generated for the TEST_TBS tablespace. What could be the reason, if the TEST_TBS tablespace does not include autoextensible data files? You explicitly specified the tablespace usage threshold values while creating a tablespace. You need to revert the database-wide default tablespace usage threshold values for the tablespace. Which PL/SQL package would you use? You have 100 segments in the USERS tablespace. You get an alert that the USERS tablespace is running low on space. You decide to shrink some segments. Which option would you use to determine which segment to shrink? Which three statements regarding compressed backups are correct? (Choose three) Which two initialization parameters would you set to enable Automatic Shared Memory Management? (Choose two) You need to determine how often a particular database feature is used in the database. Which two methods would you use to do this? (Choose two) You decide to define the Flash Recovery Area manually. What are the two mandatory initialization parameters you need to set? (Choose two) Which two statements are correct regarding renaming a tablespace? (Choose two)

The application tables owned by the user TEST in a test database need to be exported to the APPS schema in the production database by using Data Pump. Which option of Data Pump Import would you use to accomplish this? Which two sources may be used for a running session by SQL Tuning Advisor(STA)? (Choose two) Which four statements regarding the block change track file are correct? (Choose four)

Which three statements regarding the properties of a temporary tablespace group are correct? (Choose three) You are working on a database that was created using Oracle Database 10g, the default tablespace type property was not changed. You execute the following statement to create a tablespace, mytbs: CREATE TABLESAPCE mythbs DATAFILE '/u1/data/mytbs.dbf' SIZE 100M; Which two statements are correct regarding the mytbs tablespace? (Choose two) The data file belonging to the SYSTEM tablespace is corrupted and no backup of the file is available. How do you recover the data file? You work as a database administrator,You started the instance using the init.ora file. You have two control files and three redo log groups in your database. You decided to protect the database against failures by adding one more controlfile. Which file is the appropriate way to perform this task? You work as a database administrator, You decided to manage client and server connections using Local Naming method, When you try to connect to the database you get the following error: ERROR: ORA-12154: TNS:could not resolve service name Which network configuration files would you look into to resolve this error? Choose two. You work as a database administrator, In your production database, the size of Database Buffer Cache needs to be increased immediately for the current as well as future instances of the database. The Oracle instance has been configured to accommodate any changes in the size of the memory structures. At this is production database, you want to accomplish this task with no impact on the user's connections. Which activity must you have completed before accomplishing this task? Which three files can be managed using an ASM Instance? (Choose three.)

You are checking every 10 minutes for alerts regarding the violation of tablespace usage threshold. Some of the tablespaces' fullness was not detected on time. As a result the transactions were aborted before you had a chance to resolve the space issue. What would you do to avoid transactional failures? Which two statements regarding the Flashback Table feature are correct? (Choose two.) Which method would you use to undo the changes made by a particular transaction without affecting the changes made by other transaction? Which four tablespaces can be renamed? (Choose four.)

In the Oracle 10g Data Guard architecture, what is the purpose of the Log Transport Services?

Examine the statement: SQL> CREATE TABLESPACE user_data 2> EXTENT MANAGEMENT LOCAL 3> SEGMENT SPACE MANAGEMENT AUTO; Which two assumptions must be true for this statement to execute successfully? (choose two) What is the Character Set Scanner?

Standby redo logs are used in Data Guard environments for a number of reasons. Which three statements are true regarding standby redo logs? When enabling a flashback, you must identify the version of the database contents you want to see. Which two options can you use to identify this version? (choose two) Which two data types can be converted to LOBs using an ALTERMODIFY command? What is the result of setting the CURSOR_SHARING = SIMILAR initialization parameter?

In order to speed forign key certain, Oracle 10G will cache the first_____primary key values only where there are multirow DML statements. Which statement regarding the COMPATIABLE parameter is correct? Which two procedures or functions are part of the DBMS_METADATA package? What should you look at first to computer the number of undo blocks that are consumed and estimate the size of the undo tablespace needed to handle the workload on your system? The Oracle 10G LogMiner needs a data dictionary copy to display the object names. From which three locations can LogMiner retrieve the data dictionary information? Oracle 10g support block media recovery. This reduces the smallest until of recovery from a data file to a database block. What are the two main benefits that block media recovery provides over file-level recovery? (choose two) After changing the PCTFREE value of the automatic space management table EMPLOYEES, which task can you perform in order for your change to take effect immediately? What are three benefits provided by the enhanced Unicode support? (choose three) You decided to activate the resumable space allocation feature for all your database users by enabling the feature in a logon trigger. This causes a statement that requires space beyond a user's quota________ Which statements are true regarding the new Persistent CONFIGURATION FEATURE IN RMAN? (Choose two) Which four statements regarding the block change track file are correct?

What must you do to enable Automated SQL Execution Memory Magement?

Which two statements regarding a SQL profile are true? (Choose two) Which two statements are true regarding the use of UTF-16 encoding? (Choose two.) When WORKAREA_SIZE_POLICY is set to AUTO, the work areas are sized to accomplish which two goals? (Choose two) What does the Metadata Application Programming Interface (API) allow you to do? In Oracle 10g, the LogMiner allows storage of a copy of the data dictionary in.....(Choose all that apply.) Which three parameters are ignored when creating an automatic space management segment? (Choose three.) Which four are true when implementing automatic segment-space management? (Choose four.) Which statement correctly describes setup of a server-persistent parameter file (SPFILE) when used with Real Application Clusters? A query on the sales table returned the following error: Tue May 11 07:05:40 2004 Some indexes or index [sub]partitions of table SCOTT. SALES have been marked unusable. Which statement caused this error to be returned when you issued the query? You set SGA parameters in your database as: DB_CACHE_SIZE=24MB JAVA_POOL_SIZE=48MB SHARED_POOL_SIZE=96MB You plan to upgrade to Oracle Database 10g. You need to provide an additional 20 MB memory space to accommodate internal overhead allocations for metadata. Which SGA parameter(s) would you modify? What does the Character Set Scanner command line utility do?

An AFTER SUSPEND system event trigger containing no exception handler is fired, and runs out of space after inserting some audit records. Which two events happen? (Choose two.) Which Oracle-supplied package is used by Data Pump Export and Import worker processes to load and unload metadata information? In your database, the users SYS and SYSTEM have been assigned the profiles, ADMIN_PROF1 and ADMIN_PROF2, respectively. The rest of the database administrators are assigned the profile ADMIN_PROF3. You create a profile, USER_PROF, and assign it to the application user, Adams. After a week you realize that the profile is no longer required and you decide to drop it. What will Adam's profile be after the USER_PROF profile has been dropped? You decided to increase the value for the SHARED_SERVERS parameter by using the following command: SQL> ALTER SYSTEM SET SHARED_|SERVERS=3 SCOPE=?; Which three values can be specified for the SCOPE clause? (Choose three.) You have a text file that maintains information on thousands of items. The end-user application requires the transfer of that information into a table in the database. What would you use to achieve this task? (Choose two.) You received complaints about the degradation of SQL query performance. You identified top SQL queries that consume time. What would be your next step to find out recommendations about statistics collection and restructuring of the SQL statement to improve query performance? Which of the following environment variables must be set on Unix-based computers before starting to install Oracle software? (Choose all correct Answers.) You launch a Data Pump job with expdp and then exit from the session. Which of the following is true? (Choose two Answers.) Which are the methods to collect the stats of table (select more than one)

Which are the attributes is correct for Partition tables (choose more than one) Which are the attributes is correct for IOT (Choose more than One) Which are the characterstics for ASM Disk groups (choose more than one option if applicable). Which three attributes of the LOG_ARCHIVE_DEST_n initialization parameter control the data availability mode of a Data Guard standby database? (Choose three.) Which latch would be required when dirty blocks are written to the disk or when a server process is searching for blocks to write to? What is the main reason for a row overflow area when creating indexorganized tables? What is the least number of buffers an LRU latch must cover in the database buffer cache? Assume that these are the current settings for your Oracle database: The database has 3 Redo Log Groups with 1 member each of size 2 MB. The LOG_CHECKPOINT_INTERVAL parameter is set to 10000. The LOG_CHECKPOINT_TIMEOUT parameter is set to 1800. Which action would increase the number of checkpoints in your database?

Which statement about the amount of undo generated is true? Which SQL statement/statements can use the NOLOGGING mode to reduce redo operations? Which of these memory structures is not stored in the SGA for a shared server session? (Choose the best answer.)

Which of the following is incorrect about memory usage? (Choose the best answer.)

Which of the following statements are true about dispatchers? (Choose two answers.)

If you have multiple listeners, what will your dispatchers do? (Choose two answers.)

Your database is used for a mixture of OLTP, DSS, and batch processing. Would you advise use of shared server? (Choose the best answer.)

Which of the following is correct regarding memory usage? (Choose the best answer.)

You have many sessions connected to one dispatcher. What is happening at the network level?

You want to ensure that you have a dedicated server connection. Which of the following connection methods will give you this? (Choose two answers.)

Where is the Automatic Workload Repository stored? (Choose the best answer.) When are AWR snapshots taken? (Choose the best answer.) What are the default warning and critical alert levels for the Tablespace percent full alert? (Choose the best answer.)

Some alerts are stateful, meaning they persist until cleared; others are cleared immediately. Which of the following, if any, are stateless? (Choose all that apply.)

With regard to the collection of monitoring information, put these steps in the correct order:

If an undo segment fills up, what will happen? (Choose the best answer.)

When a DML statement executes, what happens? (Choose the best answer.)

You have decided to implement automatic undo management. Which of these steps is optional? (Choose two answers.) Which of the following statements are correct about undo? (Choose three answers.)

Which view will help you decide how much undo space is needed to protect your transaction workload? (Choose the best answer.) Which view will tell you about your undo segments? (Choose the best answer.)

First, user JOHN initiates a query. Second, user DAMIR updates a row that will be included in the query. Third, JOHNs query completes. Fourth, DAMIR commits his change. Fifth, JOHN runs his query again. Which of the following statements are correct? (Choose three answers.)

Your undo tablespace consists of one datafile on one disk, and transactions are failing for lack of undo space. The disk is full. You have enabled retention guarantee. Any of the following options could solve the problem, but which would cause downtime for your users? (Choose the best answer.)

Which of the following commands will impose one (or more) exclusive row lock(s)? (Choose all that apply.)

Which of the following statements is correct regarding deadlocks? (Choose the best answer.)

If a session issues a single-row UPDATE command and hangs because the row concerned is locked by another session, for how long will it hang? (Choose the best answer.)

You work as a database administrator in HCL.com. In your Oracle database 10g installation you have set ORACLE_BASE to /u01/app/oracle. Which objective will be achieved by this setting? Your boss at HCL.com wants you to clarify Oracle 10g. What statement about the Shared Server configuration is valid? Which condition in your database forces you to perform only consistent backups? You need some extra space in your database, so you issue the ALTER TABLE my_table DEALLOCATE UNUSED command. What happens? When a deadlock shutdown is detected by Oracle, where is the trace file generated? When tables are stored in locally managed tablespaces, where is extent allocation information stored? In your development environmentenvironment, the developers are responsible for modifying the table structure according to the application requirements. However, you want to keep track of the ALTER TABLE commands being executed by developers, so you enable auditing to achieve this objective. Which two views would you refer to find out the audit information? Choose two You are working on Oracle Database 10g. To forward client connections to an instance, the listener must know information such as the name of the instance and where the instance's ORACLE_HOME is located. How does the listener get this information? Choose two. You want to configure database backups to be run automatically. Which tool or utility would you use to achieve this? If you do not specify a SYSAUX datafile on your CREATE DATABASE command, what will happen? (Choose the best Answer.) Which of the following is required to create a database? (Choose the best Answer.) Which of the following files are optional? (Choose three Answers.) You de-selected the Oracle Java Virtual Machine when running DBCA, but you later wish to install it. What must you do? (Choose the best Answer.)

You observe that in your PROD database, customer information is being modified by some unauthorized users. You want to keep track of all of the transactions happening on the table using PL/SQL. Which type of PL/SQL subprogram or construct would you use to accomplish this task?

You have been asked to create three users, PUB1, PUB2 and PUB3, for three newly hired employees and to allocate unlimited quota on their default tablespace PUBLISHER_TBS with no other privileges. After creating the users, which method can you use for granting the required privileges? What action should you take after terminating the instance with SHUTDOWN ABORT? (Choose the best Answer.) Your database is in the NOARCHIVELOG mode. Since last night's offline backup, the logs in group 1 have been written to twice. This morning, the SYSTEM data file has become corrupted. Up to what point can it be recovered? You have a table with a million rows. You want to build an index on a column in the table that has a low cardinality. The table is part of a Decision Support System. Your goal is to build an index that would be efficient for queries using AND/OR predicates. Which type of index would be most suitable? You launch a Data Pump export job to export a number of tables, which runs for several hours. Which of the following is true? (Choose the best Answer.) Which is the mandatory parameter in ASM Instance Which Oracle Background Process is responsible for Instance Recovery ? You have three production database, HRDB, FINDB, and ORGDB, that use the ASM instance. At the end of the day, you execute the following command on the ASM instance to shut down: SQL> shutdown immediate; What is the result of executing this command?

Examine the following commands of Data Pump to import objects to new non-existing users hr1 and oe1. $ expdp system/manager schemas = hr,oe directory = EXP_DIR dumpfile = export.dat include = table $ impdp system/manager schemas = hr1,oe1 directory = EXP_DIR dumpfile = export.dat remap_schema = hr:hr1, oe:oe1 Which objective would be achieved by the above command set?

You have a materialized view called emp-mv on the emp table. You want to stop the following query from executing if it does not rewrite: SELECT deptno, sum(sal) FROM emp GROUP BY deptno; Which statement wold you use?

Examine the list of variables and their data types: Name Data Type TS, TS1 TIMESTAMP TSZ TIMESTAMP WITH TIME ZONE TLZ TIMESTAMP WITH LOCAL TIME ZONE IYM INTERVAL YEAR TO MONTH IDS, IDS1 INTERVAL DAY TO SECOND Which three expressions using the new date and time data types are valid?

The list below display four step that you need to execute in order to switch from the primary database role to the standby database role. Choose the correct order of execution for the steps; 1.Shut down and start up the former primary instance without mounting the database. 2.Issue the ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY command. 3.Issue the ALTER DATABASE MOUNT STANDBY DATABASE comman. 4.End read or update activity on the former primary and standby database.

Consider this syntax : MERGE INTO t1 USING t2 ON (join predicate)?. What does the MERGE syntax do?

What are three characteristics of the Data Guard Broker? (Choose three.) What does a DBA need to do for Oracle to perform the automatic preinstallation requirements check, when you start installing the Oracle Database 10g Server software? What does the Enterprise Configuration Management Tool do? When you deinstall a Windows Oracle server installation, which of the following is true? In which of the following modes can you upgrade your current database to the Oracle Database 10g version? What is the name of the Oracle-supplied script that runs the pre-upgrade validation checks? You are using the DBUA to upgrade your database. One of the steps during the use of the DBUA is a choice regarding the recompilation of invalid objects. Telling the DBUA to recompile all invalid database objects after the upgrade is the same as running which script? When you start up your database just prior to running the upgrade script, you need to use which of the following commands? Once you upgrade your database to the Oracle Database 10g version, which of the following is true?

Which of the following statements is correct? The DBA has just performed a full database Data Pump export. She must now perform a full database import using the dump file set created by the export job. Which one of the following statements would be correct under the circumstances? Which of the following parameters enables you to perform a data-only unloading of data? What information do you need to supply to attach to a running job from a different session? What does unloading of data refer to?

Of the following, which statement is true of the external table properties? Which of the following interfaces can you use to convert your database files when the endian formats are incompatible between a source and a target database? To find out if two databases are cross-transportable compliant, which data dictionary view do you need to use? Where does the ADDM save its analysis results? What is the key goal of the ADDM? In response to a performance bottleneck, what will the ADDM do? To enable Automatic Shared Memory Management, what does the DBA need to do? If you set the value of the SGA_TARGET parameter higher than the value of the SGA_MAX_ SIZE parameter at instance startup, what will happen? In order to turn off automatic SGA management, what should the DBA do? You are using automatic SGA management, with SGA_TARGET set at 500M. If you set the DB_KEEP_CACHE_SIZE to 100M, approximately how much of the SGA memory can Oracle assign to the auto-tuned parameters? If you set the sizes of all four auto-tuned parameters, which of the following is true? How do you verify that the automatic statistics collection job is running? When should the DBA consider locking table statistics? By default, the DBA_TAB_STATS_HISTORY view saves statistics history for how long? What does the LOCK_* procedure of the DBMS_STATS package help you do? If you use the retention guarantee feature, you are guaranteeing that the database will never do what? To ask Oracle to retain undo information for a specific period, what must you do? If you wish to use Automatic Undo Management, you must do which of the following? By default, how does Oracle handle undo? What type of statistic is total logons? Which of the following statements is true? Which of the following Oracle background processes is responsible for updating metric statistics?

What is the persistent portion of the AWR represented by? Which is the following is true about snapshots belonging to a baseline? Your SYSAUX tablespace is under space pressure. The AWR currently has data ranging from snap ID 101 to 322.Which of the following scenarios is the likeliest outcome? What will the AWR save? Which two of the following statements are correct? You can set up thresholds on metrics using which view? When is subscribing to the ALERT_QUE necessary? Which of the following can you use to manage the database advisory framework? What is the first step in using PL/SQL packages to manage the advisory framework? What privilege do you need to execute any advisor procedures? Which of the following two statements are true regarding the SQL Access Advisor? What is the default value for the OPTIMIZER_MODE initialization parameter? If you are using LIST subpartitioning and you specify the value of the GRANULARITY argument as AUTO, what statistics will Oracle collect? How can you collect statistics for fixed data dictionary tables? Which of the following is true about the SQL Tuning Advisor? If you create a SQL profile, when can you use it? How do you create a new SQL profile? How can you manage the SQL Access Advisor? Oracle recommends that you start investigating database waits when what occurs? A high paging rate indicates that your system is what? Which three major tuning areas does Database Control provide information about? For which two types of tablespaces can you set proactive tablespace alerts? Which of the following is true about alerts?

Which one of the following is responsible for sending out tablespace alerts? Which of the following segments cannot be shrunk? The DBA issues the following command: SQL> alter table test SHRINK SPACE; Which of the following would be the result of this statement? What is the first step before you start shrinking a segment? What does the Undo Advisor help you do? What does the initialization parameter FAST_START_MTTR_TARGET determine? If you dont explicitly specify the SYSAUX tablespace during database creation, what happens? Which one of the following is true when you rename a default permanent tablespace for a user?

Which one of the following is true regarding tablespace types?

Which of the following is true regarding creating tables for a sorted hash cluster? If you want to transfer a file using the DBMS_FILE_TRANSFER package, what do you need to do? Whose job is it to update the job table and the log table? Which of the following do you need to specify a stored schedule thats owned by a different user? If you create a job in user SCOTTs schema, who will be the owner of the job? Regarding your ability to combine the various components of the Scheduler, which of the following are possible? Scheduler job table information can be seen in which view? You create a new job class and name it my_job_class. Where will this job class be saved? You create a job class and set the LOGGING_RUNS option for the LOGGING_LEVEL parameter. What will be the result? The DBA wishes to drop an existing job class. The DBA notices that a job from the job class she wants to drop is currently running. Which of the following scenarios would be true? What important attribute does a window have, that a schedule doesnt? To see which Scheduler jobs are currently running, which view would you use?

What will the command EXECUTE DBMS_SCHEDULER.PURGE_LOG(); do? In the context of using the DBMS_RESOURCE_MANAGER package to set mapping priorities, what kind of attribute is MODULE_NAME? Which of the following items are stored in the flash recovery area? When can you create a flash recovery area? To apply incremental backups, which of the following commands must you use? Incremental backups apply changes at what level? To enable block change tracking in your database, what must you do? What can you do using the new BACKUP AS COPY command? Which of the following commands backs up the entire database? What does the RMAN CATALOG command do? What does the RMAN BACKUP CONTROLFILECOPY ALL command do? The DBA needs to recover the production database in the shortest time possible. What is the DBAs best choice? Which of the following backups can you compress? What happens when you use the DROP DATABASE command? Which of the following commands tells the database to slow down if it is within its allotted time for a database backup? The initialization parameter UNDO_RETENTION is used for what purpose? What happens to the flashback database logs when you disable the flashback database feature? Which of the following views contains the ESTIMATED_FLASHBACK_SIZE column? What is the equivalent of the old DROP TABLE command in Oracle Database 10g? Which one (or more) of the following statements is true? After you drop a table using the DROP TABLE command, When you use the command PURGE RECYCLEBIN, The Flashback Table feature is ideal in which of the following situations?

Which one of the following statements is correct?

Which row or rows does the flashback versions query generate? Which of the following statements about ASM instances is true? You must use which type of commands to copy ASM files? Which types of files can you use in a single database? What is the only initialization parameter that you absolutely must set to create an ASM instance? What does the ARBn background process do in an ASM instance? What do ASM disk groups provide? What does ASM stripe? What does ASM mirror? For two-way mirroring, how many failure groups do you need at a minimum? When can you use a fully qualified name? What are incomplete filenames used for? Which of the following is true about changing an ASM files attributes? What does the MERGE statement do if an identical row already exists in the table? When using the MERGE statement, what will the DELETE clause delete?

What will the PARTITION BY clause in a partitioned outer join statement do? What does the fast refresh method of updating materialized views always use?

Option A Analyze Index <Index_Name> Validate Structure etc/oratab tnsping <Service_Name> Target Database listener.ora validate datafile select * from v$controlfile; V$recover_file v$archive catalog_database register database resync catalog; startup resetlogs; list of incarnation; backup list of database; report of schema EXP_FULL_DATABASE rows=y fromuser=B reject=y Rman no yes no no no touser=A cat /etc/oratab

Option B

ping <Service_Name> init<sid>.ora DBVERIFY configure controlfile autobackup on v$backup V$recover_file recovery_catalog catalog database register database alter database open resetlogs; list of database; list backup of database; schema report FULL_DATABASE rows=n from=B to=A ignore=y database link yes no yes yes yes

Processes or DDL_LOCKS and DML_LOCKS Full backup Starting Instance in restricted mode it will not allow all users to access and only users with restriction privilege will be allowed to access MMAN It is used to set the optimal length of a system tablespace Buffer Cache Advice backup set

LOG_BUFFER Consistent backup starting Instance in restricted mode it will allow all users to access database MMON It is used to set the optimal length of a temp tablespace Segment Level Statistics image copy restore all the members in the group from the last backup You do not need to open the database with the RESETLOGS operation SMON The USERS tablespace is a bigfile tablespace (BFT).

import the database from the last export You do not need to restore all the datafiles. PMON None of the SYSAUX occupants can be relocated.

RBAL Enable flashback logging. V$DATABASE

CKPT Start the database in the ARCHIVELOG mode. V$INSTANCE

FREQ= MONTHLY; BYDAY = 2FRI; out files The policies need to have the same name.

FREQ= MONTHLY; BYDAY = FRI2; log files The policy type must be DBMS_RLS.DYNAMIC.

ALTER TABLESPACE emp OFFLINE;

ALTER TABLESPACE emp READ ONLY;

DBA_JOBS

V$SESSION

drop and re-create the table

perform point-in-time recovery

All the objects of scott are moved to the Recycle Bin.

Any objects in the Recycle Bin belonging to scott are purged.

The '/u01/app/oracle/ordata/orcl/users01.dbf' data file The '/u01/app/oracle/ordata/orcl/users01.dbf' data is recovered from the image copy. file is recovered from the last incremental backup.

It will create the tablespace TEMP1 in group G1.

It will create the tablespace TEMP1 in group G3.

the SQL file Drop User

dynamic views Privilege Grants

the alert.log file

the V$ALERT_TYPES view

LOG_ARCHIVE_DEST You can set SKIP_UNUSABLE_INDEXES to true to skip unusable indexes.

LOG_ARCHIVE_TRACE You can check the alert log file to get a message recorded about unusable indexes.

Shared pool size will never shrink below 20 MB.

A maximum of 20 MB will be allocated to the shared pool.

TEST_TBS is a small file tablespace.

TEST_TBS is a bigfile tablespace (BFT).

DBMS_STATS

DBMS_ALERT

Segment Advisor

SQL Tuning Advisor The compressed backup is applicable to only data files. set SHARED_POOL_SIZE to zero

The compression applies to only image copies. set LOG_BUFFER to zero

User alert log file

Use Database Option Advisor

LOG_ARCHIVE_DEST_10

DB_CREATE_FILE_DEST

You cannot rename a dictionary-managed tablespace.

When you rename a tablespace, all the data files are also renamed accordingly.

owner

touser

SQL Profiles The minimum size of this file is 10 MB.

Recovery Manager (RMAN) Repository The maintenance of this file is fully automatic.

It is created explicitly.

It has the same namespace as tablespaces.

It is a smallfile tablespace.

It is a bigfile tablespace (BFT).

The data file cannot be recovered.

The date file can be restored from the SYSTEM auto backup.

Shut down the instance, copy the control file to the third location and open the database.

Abort the instance, copy the control file to the third location, modify the CONTROL_FILES parameter in the init.ora file and open the database.

snmp.ora

names.ora

You must have started the database instance in restricted mode.

You must have started the database instance in NORMAL mode.

Data files

Change tracking files

Use bigfile tablespaces (BFTs)

Enable resumable space allocation

Flashback Table can be performed on system tables.

Flashback Table operation does not shrink the segments.

point-in-time recovery

manually enter the appropriate data again

an undo tablespace to control the automated transfer or redo data from the production database to one or more archival destinations

an offline tablespace to apply redo log records sent from the primary database to a stadby database at the receiving location

Oracle Managed Files are used for this instance

The USER_DATA tablespace is managed using FET$/UET$ tables

a separate program that searches the database for invalid strings

a package (DBMS_CSS) that searches the database for invalid strings They are used on the primary database to allow the primary and a standby database to switch roles easily and quickly without additional DBA intervention.

They are required to implement a no-data-loss disaster recovery solution.

a point in time

a start and an end time

raw

long causes the optimizer to share cursors for all statements

turn off all literal replacement for the shared cursor

32

128

It is dynamic parameter. GET_DDL

It is an advanced parameter GET_XML

V$UNDOSTAT

V$ROLLSTAT

separate supplemental log file.

Information in the control file

supports incomplete recovery

does not require Recovery Manager

Execute a full table scan of the EMPLOYEES table

Execute thecommand ANALYZE TABLE employees COMPUTE STATISTICS

support for the AL24UTFFSS character set to wait indefinitely for the quota to be increased, regardless of the timeout setting for other space allocation problem

support for fixed-width character encoding

to fail because quota limits do not activate the resumable space allocation feature

It allows you to set the retention period of backups.

It remember the last backup command you used so that you can rescheule it easily. The maintenance of this file is fully automatic.

The minimum size of this file is 10MB

Execute the DBMS_STATS.GATHER_SYSTEM_STATES procedure with appropriate values

Set the instance parameters PGA_AGGREGATE_TARGET and WORKAREA_SIZE_POLICY to appropriate values.

it is built by automatic Tuning Optimizer. enables easier loading of multinational data To tune memory using the existing *_AREA_SIZE parameters repair damaged data dictionary entries a database file PCTFREE You can specify automatic segment-space management only for permanent, locally managed tablespaces One SPFILE, created from a text parameter file (PFILE), is required for each instance

It cannot be stored persistently in the data dictionary. uses a fixed-width multibyte encoding sequence To allocate memory to work areas in order to optimize throughput only delete data dictionary information about database objects you n o longer need the control file PCTUSED Specification of automatic management is at the tablespace level You must create a separate text parameter file (PFILE) for each instance and merge them with the CREATIVE SPFILE FROM PFILE= ( list of files); command to create one common SPFILE UPDATE sales SET prod_status='sold' WHERE prod_cat='pens';

DELETE FROM sales;

change JAVA_POOL SIZE to 68MB

change DB_CACHE_SIZE to 44MB

reports only on any Unicode character conversions required

performs character set conversions to the new specified characterset

The trigger is aborted

The trigger is recursively fired

DBMS_STREAMS_DATAPUMP_UTIL

DBMS_METADATA_UTIL

no profiles

the default profile

ALL

PFILE

External table

Oracle Import

run the Automatic Workload Repository (AWR) report

run the Automatic Database Diagnostic Monitor (ADDM) on top SQL statements

ORACLE_HOME

ORACLE_BASE

The job will terminate. Automatically, through GATHER_STATS_JOB

The job will continue running in the background. Manually, with the DBMS_STATS package

Same logical attributes: Same columns, constraints, and indexes Do not duplicate the storage of primary key values A pool of disks managed as a logical unit SYNC or ASYNC to specify that network I/O is to be done synchronously or asynchronously Shared pool latch Avoid row chaining and migration. 5

Different physical attributes: Stored in different tablespaces Require less storage Partitions total disk space into uniform sized units LGWR or ARCH to specify the process that will perform archival operations Library cache latch. Keep the b-tree structure densely clustered. 10

Change the LOG_CHECKPOINT_TIMEOUT parameter to 2400 and restart the database.

Change the LOG_CHECKPOINT_INTERVAL parameter to 12000 and restart the database.

The amount is the same for any DML operation. CREATE TABLE AS SELECT

Deletes are inexpensive, because only the ROWID must be stored. CREATE INDEX

Cursor state

Sort space

For dedicated server sessions, the server processes will not use shared memory. Dispatchers dont handle the work of users requests; they only interface between user processes and queues. All dispatchers will dynamically register with all listeners, automatically, if they are running on port 1521.

PGA memory is always outside the system global area.

Dispatchers share a common response queue. Dispatchers can register with only one listener; otherwise, load balancing would not be possible.

Yes, but only for the OLTP work.

Yes, if the batch and DSS users come though a different dispatcher from the OLTP users.

Overall memory demand should decrease because the number of server processes will be reduced when using the shared server option.

Overall memory demand should decrease if you change to shared server, because you can reduce the size of the SGA.

Each session connects to the dispatcher on a unique TCP port. Using Easy Connect, because it cant use advanced features such as shared server

All the sessions connect to the dispatcher on one TCP port.

Making a local connection that bypasses the listener

In the SYSAUX tablespace Every hour This alert is disabled until you set the thresholds

In the SYSTEM tablespace Every ten minutes 85% and 97%

Snapshot too old

Tablespace full

Data accumulates in the SGA.

MMON generates an ADDM report.

Another undo segment will be created automatically. Both the data and the undo blocks on disk are updated, and the changes are written out to the redo stream.

The undo segment will increase in size. The old version of the data is written to an undo segment, and the new version is written to the data segments and the redo log buffer.

Set the parameter UNDO_MANAGEMENT.

Create an undo tablespace.

One undo segment can protect many transactions.

One transaction can use many undo segments.

V$TRANSACTION

V$UNDOSTAT

V$UNDOSTAT

DBA_ROLLBACK_SEGS

The principle of consistency means that both of JOHNs queries will return the same result set.

When DAMIR commits, the undo data is flushed to disk.

Create another, larger, undo tablespace and use alter Move the datafile to a disk with more space, and use system set alter database undo_tablespace=... to switch to it. resize datafile... to make it bigger.

ALTER TABLE EMP ADD COLUMN DOB(DATE); Deadlocks cannot happen in an Oracle database; they are prevented automatically.

UPDATE EMP SET SAL=SAL*1.1;

Deadlocks can happen in an Oracle database, but they are resolved automatically.

It will not hang at all if the NOWAIT keyword was specified.

It will hang until the locking session terminates its transaction, unless WAIT <n> was specified, where <n> is a number of seconds.

The Oracle kernel will be placed in this location.

The Oracle software will be placed in this location.

Program Global Area (PGA) is stored in Shared pool.

User session data and Cursor state are stored inLargepool and Stack space is stored Shared pool.

The database is in mount state. All empty block of MY_TABLE are deallocated. SQL_TRACE Memory

One of the tablespaces is offline. All blocks above the high-water mark of MY_TABLE are deallocated. TRACE_DEST Data dictionary.

DBA_AUDIT_TRAIL

DBA_AUDIT_SESSION

It gets it from the parameter file.

The listener prompts for details on startup.

The DBMS_JOB package The command will fail because SYSAUX is a required tablespace. The operating systems root (for Unix/Linux) or Administrator (for Windows) password Online redo log files Create the Java pool in the database.

The BACKUP_JOB package The command will succeed, but you must add a SYSAUX tablespace after database creation. Execute permission on the DBCA Parameter file Run scripts to create the JVM.

functions

packages

grant CONNECT role to all of the three users

grant RESOURCE role to all of the three users

Back up the database immediately.

Open the database and perform database recovery.

until the last commit

cannot be recovered

B-Tree Index.

Bitmap Index.

The tables being exported will be locked throughout the run.

Transactions against the tables committed during the run will be included in the export.

LGWr

DBWr

All the instances, including the ASM instance, are shut down in the ABORT mode.

The ASM instance is shut down, but the other instances are still running.

expdp will fail because no path has been defined for the dumpfile.

Expdp will succeed but Impdp will fail because users do no exist.

SELECT /*+ USE_CONCAT */deptno,sum(sal) FROM emp GROUOP BE deptno;

SELECT /*+ NO_EXPAND */deptno,sum(sal) FROM emp GROUOP BE deptno;

IDS*2

TS + IYM

1,2,3,4

3,2,4,1

It performs a merge join of the row from T2 only if it doesn't exist in the T1 table

It creates a natural join of tables T1 and T2 for all columns that have the same name

It runs as a process called DMON

It can be controlled through the Data Guard Manager GUI and command-line interface Do nothingOracle will automatically perform the pre-installation checks. Helps you configure enterprise-wide configuration through the OEM Database Control You must manually clean up the Windows Registry. Oracle Data Migration Assistant utl101i.sql

Run the Upgrade Information Tool manually. Helps you configure enterprise-wide configuration through the OEM Grid Control Oracle will automatically clean up the Windows Registry for you. Database Upgrade Assistant utlu101i.sql

utlrpt.sql

utlu101i.sql

startup mount You can always start it either under the old Oracle Home or the new Oracle Home. The master table is created during a Data Pump export job and written to the dump file at the very beginning of the export job. impdp system/manager dumpfile=expdata.dmp FULL=Y EXCLUDE The location of the dump file The reading of data from external datafiles into external tables.

startup nomount You will corrupt the database if you try to start it under the old Oracle Home. The master table is created during a Data Pump export job and written to the dump file at the very end of the export job.

impdp system/manager dumpfile=expdata.dmp

INCLUDE Username and password, job name The writing of data from Oracle tables to external datafiles.

REFERENCED is better because you need to parse and convert only some columns. SQL*Plus V$TRANSPORTABLE_PLATFORM In the OEM repository To reduce DB time Always recommend the use of management advisors Set the STATISTICS_LEVEL parameter to BASIC

ALL is better because you need to parse and convert only some columns. RMAN V$ENDIAN FORMAT In the ADDM tablespace To reduce DB idle time Always suggest its own recommendations Set the STATISTICS_LEVEL parameter to TYPICAL or ALL and set SGA_TARGET_ SIZE to a nonzero value SGA_TARGET will become equal to the SGA_MAX_SIZE value. Set the SGA_TARGET parameter to zero

The instance will not start. Set the SGA_MAX_SIZE parameter to zero

500MB

600MB

You cant use the Automatic Shared Memory Management feature. Query the DBA_JOBS view When the tables data is extremely stable 31 days Lock current statistics Overwrite unexpired undo data Use the manual undo management mode Specify an undo tablespace Disables the retention guarantee feature Cumulative statistic Base statistics are derived from database metrics. MMAN

Oracle can raise the sizes of the parameters under Automatic Shared Memory Management. Query the DBA_SCHEDULER_JOBS view When the tables data is extremely volatile 30 days Make current statistics NULL Overwrite expired undo data Specify a certain value for the UNDO_RETENTION parameter Use the retention guarantee feature Enables the retention guarantee feature Baseline statistic Metrics are derived from base statistics. MMNL

The statistics stored in the SGA by the AWR They are retained permanently in the database (never deleted). Oracle will delete everything from the SYSAUX tablespace except the information for the snap ID range 101 to 322. All the ASH data The MMON background process saves metrics in the SGA. V$SYSMETRIC If you wish to use the server-generated alert system of the OEM Database Control DBA_ADVISOR Create a task report

Statistics shown by the V$ dynamic performance views They are deleted when you drop the underlying baselines, provided you specify the CASCADE=>TRUE option. Oracle will delete snapshot 101. A part of the ASH data The AWR snapshot mechanism saves the inmemory metrics to disk. V$DBMS_SERVER If you wish to set up a notification system for server-generated alerts DBMS_ADVISOR Create an advisory task

EXECUTE ANY ADVISOR SELECT_ANY_CATALOG It advises about the use of indexes and materialized It provides SQL tuning advice. views. FIRST_ROWS Global statistics only By using the DBMS_STATS.GATHER_DICTIONARY_STATS procedure It automatically collects statistics if they are missing. In the tuning mode of the optimizer only With the ACCEPT_SQL_PROFILE procedure ALL_ROWS Global and partition statistics only By using the DBMS_STATS.GATHER_FIXED_OBJECTS_STATS procedure It only makes recommendations to collect statistics. In the normal mode of the optimizer With the CREATE_SQL_PROFILE procedure

Through the DBMS_SQLTUNE package Through the DBMS_ADVISOR package The level of waits is the same as the Maximum CPU The level of waits is smaller than the Maximum line in the sessions graph. CPU. CPU-bound Memory-bound CPU and wait classes Locally managed Most-used objects Dictionary-managed

Youll get a maximum of one undo alert per every Youll get a maximum of one undo alert during a 12-hour period. 24-hour period.

DBMS_SERVER_ALERT package Heap-organized table segments There would be immediate release of the free space. Make sure there are indexes on all the table segments. Set the undo retention period The instance recovery time The database creation will fail.

MMON background process Index-organized table segments There would be only a compacting of the data, not a release of data. Enable row movement for any segment you want to shrink. Set the undo interval The database restore time Oracle will create a default SYSAUX tablespace.

Youll need to create a new default tablespace for The tablespace will continue to be the default the user before you can do anything. tablespace after you rename it. If you create a database with bigfile set as the default tablespace type, you cant convert later to smallfile tablespaces. You must first create the hash cluster before you create the member tables. You must use the COPY_FILE procedure to copy files to a different server. The worker (slave) process You must have the EXECUTE ANY SCHEDULE privilege. SCOTT will be the owner of the job. Use a job by itself all the time. DBA_RESOURCE_MANAGER view In your schema. The database will not perform any logging for individual jobs. You cannot drop the jobs along with the job class definition. A program DBA_SCHEDULER_RUNNING_JOBS view If you create a database with smallfile set as the default tablespace type, you cant convert later to bigfile tablespaces. You must create the member tables before you create the cluster. You must use the COPY_FILE procedure to copy files to a local database. The SYS user You dont need any privileges to use a stored schedule. SYS will be the owner of the job. Use a job and a program together. DBA_JOBS view In the SYS schema. The database will not perform a detailed logging of the job runs. If you use the FORCE=TRUE option, the running jobs will stop immediately and the job class will be removed as well. An interval DBA_SCHEDULER_JOB_RUN_DETAILS view

Purge only all the window logs Run-time session attribute Datafiles At database creation time RECOVER BACKUP OF DATABASE Transaction level Use the ENABLE BLOCK CHANGE TRACKING command Extract image copies directly from backup sets BACKUP DATABASE Helps you create image copies of datafiles Backs up all previously made control file copies Use the RESTORE DATABASE command Only backup sets Only the datafiles, control files, and archived redo logs are removed. MINIMIZE PARTIAL To specify the length of time Oracle must retain undo data in the undo tablespace Oracle will delete all the flashback database logs from the flash recovery area. V$FLASHBACK_DATABASE_LOG view DROP TABLE TO BEFORE DROP

Purge only all the job logs Neither a run-time nor a login session attribute Undo segments Anytime, since you can create it using dynamic initialization parameters RECOVER DATAFILE Oracle block level Do nothing, since Oracle enables block change tracking by default Make image copies without needing to extract them from backup sets BACKUP COPY OF DATABASE Helps you create image copies of current control files Backs up all control files that were never backed up before Use the RECOVER DATABASE command Only image copies Only the datafiles, control files, and backups are removed. MAXIMIZE LOAD To specify the length of time Oracle must retain undo data in the flash recovery area Oracle will archive all the flashback database logs that are currently in the flash recovery area, and delete them afterwards. V$FLASHBACK_DATABASE_STATS view

DROP TABLE works exactly the way it did in previous versions. The SHOW RECYCLEBIN command shows all objects The SHOW RECYCLEBIN command shows all that you can undrop. objects that you can undrop and purge. You can query the table by using its original name You can query the table by using its new systemonly. generated name only. Oracle will remove all the objects in the recycle bin Oracle will only remove objects from the recycle that are owned by all users. bin that belong to the current user. When you drop a user When you truncate a table

You must enable row movement in the table you are flashing back, because the flashback operation doesnt preserve Oracle ROWIDs. All committed versions of a row ASM instances need to be open before Oracle can access ASM database files. RMAN commands Either ASM or OMF files DB_UNIQUE_NAME Coordinates disk activity Redundancy through striping Database files across all the disk groups Disks None (two-way mirroring doesnt need any failure groups) Only to create a new ASM file Referring to multiple files You must use the ALTER DISKGROUP command to alter the template. It deletes the existing row first. All rows that satisfy the DELETE clauses WHERE condition Partition the underlying table, using Oracles partitioning option Incremental changes

You must disable row movement in the table you are flashing back, because the flashback operation doesnt preserve Oracle ROWIDs. All committed and uncommitted versions of a row ASM instances need to be mounted before Oracle can access ASM database files. OMF commands OMF, ASM, and operating system files INSTANCE_TYPE Performs disk rebalance work Performance through mirroring ASM disks across all the disk groups Files One failure group Only to refer to an ASM file Creating single files You must use the ALTER DISKGROUP command to alter the file attributes directly. It inserts the duplicate row. All rows that satisfy the DELETE clauses WHERE condition, provided they have been updated by the UPDATE clause Partition the output rows into equal segments Decomposed submaterialized views

Option C cat etc/hosts lsnrctl start listener.ora DGMGRL show parameter control_files v$archive v$log recovery_catalog_owner connect target / catalog database alter database resetlogs; list incarnation of database; list of backup database; schemas DATABASE_EXPORT rows=no fromuser=A ignore=n function touser=B /etc/hosts ipconfig

Option D

Target Database Control File check datafile configure default device type to disk v$log V$recovery_log backup_database connect catalog / sync catalog alter database open; list database of incarnation; backup database list; report schema EXP_DATABASE rows=yes from=A to=B avoid=y lsnrctl

DB__BLOCK_SIZE. Inconsistent backup by starting Instance in restricted mode it will not allow all user who has sysdba priviliage MMNL It is used to set the optimal length of a undo tablepsace Timed Statistics incremental backup drop the lost member from the database and then add a new member to the group You do not need to perform a full backup after the RESETLOGS operation. MMNL The united Job Scheduler occupant cannot be relocated. SMON Issue the ALTER DATABASE FLASHBACK ON; command. V$PLATFORM Differential backup By starting Instance in restricted mode it will not allow any user in the database LMON It is used to set the optimal length of a sysaux tablespace. Shared pool statistics None; the user receives on error indicating that the backup must be specified. restore all the database files from the backup and then perform a complete recovery You do not need to recover all the data files to the same system change number (SCN). MMAN The SYSAUX occupants can be relocated to the SYSTEM tablespace only. PMON Set the FAST_START_MTTR_TARGET initialization parameter. V$TABLESPACE

FREQ= MONTHLY; BYDAY = -2FRI; alert files The shared policy function can be enforced on any number of objects. ALTER TABLE emp DEALLOCATE UNUSED;

FREQ= MONTHLY; BYDAY = FRI(2); SQL files The shared policy function cannot be enforced on more than two objects. ALTER TABLE emp ENABLE ROW MOVEMENT;

V$SESSION_LONGOPS

DBA_DATAPUMP_JOBS

use the ROLLBACK command with SCN

use the FLASHBACK TABLE command

All the objects owned by scott are permanently dropped from the database.

All the objects of scott in the Recycle Bin must be purged before executing the DROP command.

Image copies of the Image copies of the '/u01/app/oracle/ordata/orcl/users01.dbf' data '/u01/app/oracle/ordata/orcl/users01.dbf' data file are file are updated with all changes up to recovered using the above command if data file incremental backup SCN. recovery fails.

It will not add the tablespace TEMP1 to any group.

It will create the tablespace TEMP1 in the default group.

the master table Tablespace Space Usage

the export log file Tablespace Reoganization

the DBA_ALERT_HISTORY view

the Database Control Home page

LOG_ARCHIVE_FORMAT You do not need to set any parameter because unusable indexes are skipped automatically.

LOG_ARCHIVE_CONFIG Your Data Definition Language (DDL) statement shows a warning message when an index is made unusable.

230 MB will be allocated among the autotuned SGA components.

250 MB will be allocated among the auto-tuned SGA components.

TEST_TBS is the default temporary tablespace.

TEST_TBS is the dictionary-managed tablespace.

DBMS_SPACE

DBMS_MONITOR

SQL Access Advisor The COMPATIBLE parameter must be set to 10.0.0 or higher. set DB_CACHE_SIZE to a non-zero value

Segment Resource Estimation The compressed backup is applicable to only the entire database backup. set STATISTICS_LEVEL to BASIC

Use the DBMS_STATS package

Use the DBMS_RESOURCE_MANAGER package

RECOVERY_PARALLELISM

DB_RECOVERY_FILE_DEST

You cannot rename a tablespace that happens to be the default permanent tablespace of a user.

You can rename a tablespace provided that COMPATIBILITY initialization parameter is set to at least 10.0.0.0.0.

attach

fromuser

Automatic Workload Repository (AWR)

Automatic Database Diagnostic Monitor (ADDM)

The changed blocks are tracked in this file as The location of this file must be different from that redo is generated. of the database files.

It contains at least one temporary tablespace. It can contain a maximum of 1024 tablespaces in it.

It is a default bigfile tablespace.

It is a locally managed tablespace.

Take the tablespace offline, drop, and recreate it.

Recovery Manager (RMAN) is used to recover the data file.

Copy the control file to the third location, modify the CONTROL_FILES parameter in the init.ora file, restart the instance and open the database.

Shut down the instance, copy the control file to the third location, modify the CONTROL_FILES parameter in the init.ora file and open the database.

spfile.ora

sqlnet.ora

You must have started the database instance with server parameter file.

You must have started the database instance but must not have mounted.

Trace files

Export files

Modify the background process PMON settings

Modify the LOG_CHECKPOINT_TIMEOUT parameter

Flashback Table uses log mining to extract SQL_REDO and SQL_UNDO statements. execute the ROLLBACK command with transaction number a read-only tablespace to synchronize changes to the control files on all standby database with changes on the primary database when a log switch occurs

Flashback Table operation acquires exclusive data manipulation language (DML) locks. flashback the database to before the transaction was committed a temporary tablespace to batch archived log files on the primary database until a defined number of checkpoints have been processed and then to distribute the arcives to each standby database

The database will manage the free space of segments in the tablesapce using a bitmap.

Space within segments in the USER_DATA tablespac is managed with freelists

a separate program that searches for strings a separate program that identifies character data loss that require Unicode conversion if you want if you change the character sets of the database to support multiple languages They must be archived before being applied to a standby database, requiring the ARCH process to be running on the standby irrespective of the archive log mode. They must be updated on the standby database server in asynchronous mode to guarantee data availability.

a start and an end SCN

a System Change Number (SCN)

varchar

long raw

causes the optimizer to examine the statement causes the optimizer to ignore all indexes and static's of ensure cursor sharing occurs for safe to establish the appropriate execution path literals only

256

512 It can have any value between 8:0:0 and 10.1.0 in Oracle 10G database GET_VIEW

It is a new parameter in Oracle 10G GET_TYPE

V$TRANSACTION

DBA_UNDO_EXTENTS

The current online data dictionary

A Data Dictionary copy stored in the redo log file

lowers the mean time to recover

allows increased data availability during media recovery

Execute the command DBNS_STATS.GATHER_TABLE_STATIS TICS on the EMPLOYEES table. Unicode support in the database character set to wait in a suspended state until the quota increased or until the timeout value is reached

Execute the DBMS_REPAIR.SEGMENT_FIX_STATUS procedure on the EMPLOYEES table. Richer support for more character sets languages and territories to invoke the default trigger that resets user quota, if there is free space in the related tablespace

It enables you to store your channel attribute It enables you to store the settings for channel settings in the Recovery catalog with each attributes so that you do not have to specify them in script. each backup o restore command The changed block are tracked in this fils as redo is generated The location of this file must be different from that of the database files.

Set the instance parameters Unset the instance parameters SORT_AREA_SIZE, SORT_AREA_SIZE,BITMAP_MERGE_AR BITMAP_MERGE_AREA_SIZE, EA_SIZE, CREATE_BITMAP_AREACREATE_BITMAP_AREA_SIZE, SIZE,HASH_AREA_SIZE,SORT_AREA_SI HASH_AREA_SIZE,SORT_AREA_SIZE, and ZE, and SORT_AREA_RETAINED_SIZE, SORT_AREA_RETAINED_SIZE. all to Auto. It can be used by the query optimizer automatically. Asian characters are represented in three characters To allocate memory to work areas in order to optimize response time only extract data definition commands from the data dictionary in a variety of formats the online redo log files INITRANS Free and used space is tracked with bitmaps rather than free lists It can be created manually by using the CREATE PROFILE command uses a variable-width multibyte encoding sequence To allocate memory to work areas in order to optimize both throughput and response time prepare pseudocode modules for conversion to Java or PL/SQL programs with a Metadata code generator the supplemental log file MAXTRANS Automatic segment-space management simplifies space management within a segment

You can add the instance-specific parameters One common SPFILE is required for all instances; it to a common SPFILE with the ALTER has a parameter SYSTEM ?SCOPE=SPFILE SID=name ; INSTANCE_name_SPFILE, which in turn points to command. the instance-specific SPFILE ALTER TABLE sales MOVE PARTITIONsal_ql TABLESPACE EXAMPLE;

ALTER TABLE sales MOVE PARTITION sal_q1 TABLESPACE EXAMPLE UPDATE INDEXES;

change SHARED_POOL_SIZE to 116MB

change JAVA_POOL_SIZE to 58MB and DB_CACHE_SIZE to 34MB

scans on any character set conversion required, then converts the data

checks for any character definitions that will fail conversion to the new characterset

The original operation (the one that fired the The original operation (the one that fired the trigger) trigger) continues is aborted

DBMS_METADATA

DBMS_STREAMS_DATAPUMP

same as the profile of SYS user

same as the profile of SYSTEM user

BOTH

NONE

SQL*Loader

Oracle Text

run Segment Advisor

run SQL Tuning Advisor on top SQL statements

ORACLE_SID

LD_LIBRARY_PATH

You cannot monitor the job once you have exited. By setting database initialization parameters

You can reattach to the job to monitor it. By importing statistics from another database

Transparent to applications Cannot be clustered Spreads each file evenly across all disks

Several partitioning methods Use secondary indexes and logical row IDs Non of the above

AFFIRM or NOAFFIRM to control whether VERIFY and NOVERIFY to verify the correctness log archiving disk write operations are to be of the contents of a completed archived redo log file performed synchronously or asynchronously. Cache buffers chains latch. Speed up full table scans and fast full index scans. 30 Cache buffers LRU chain latch. Improve performance when the index-organized table is clustered. 50

Increase the size of all the Redo Log Group member files to 3 MB and restart the database.

Decrease the size of all the Redo Log Group member files to 1 MB and restart the database.

Inserts are inexpensive, because only the ROWID must be stored. ALTER INDEX REBUILD

Updates are inexpensive, because only the new column value must be stored. Conventional Path INSERT

Stack space

Session data

Shared server queues are created in the large pool, if a large pool has been For shared server sessions, UGAs are always stored defined. Otherwise, they are in the shared in the SGA. pool.

Dispatchers load-balance connections between themselves.

Listeners load-balance connections across dispatchers. The dispatchers will register with whatever listener is nominated in the LOCAL_LISTENER parameter.

The dispatchers will load-balance themselves across the listeners.

No, because the mixed workload will cause problems.

No, unless the work can be partitioned such that the OLTP work is in the day and the batch and DSS work at night to avoid contention.

You should increase the size of the SGA if you convert to shared server.

Implementing shared server will reduce the size of sessions UGAs.

The initial connection is always to one port; then the established connection is on a unique port.

The connections are made and broken on demand, through a queuing mechanism. Connecting AS SYSDBA, which will always give a dedicated connection so that you can issue startup and shutdown commands

Embedding the SERVER=DEDICATED directive in the service alias you use

In the System Global Area On demand 85% and 100%

You can choose the location at database creation time and relocate it subsequently. By a regular schedule, and on demand 97% and 10%

Database down

User commits per second

MMON writes data to the AWR. The undo tablespace will extend, if its datafiles are set to auto-extend. Both data and undo blocks are updated, and the updates also go to the log buffer.

Reports are purged. Transactions will continue in a different undo segment. The redo log buffer is updated with information needed to redo the transaction, and the undo blocks are updated with information needed to reverse the transaction.

Restart the instance.

Set the parameter UNDO_RETENTION.

One database can have many undo tablespaces.

One instance can have many undo tablespaces.

V$UNDO_ADVICE

V$UNDO_ADVISOR

DBA_UNDO_SEGS

V$UNDO_TABLESPACE

When DAMIR commits, the undo becomes inactive.

JOHNs first query will use undo data.

Reduce the undo_retention setting with alter system set undo_ retention=....

Disable retention guarantee with alter tablespace...retention guarantee.

UPDATE EMP SET SAL=SAL*1.1 WHERE EMPNO=7839; If a deadlock occurs, it is the programmers responsibility to resolve it, not the DBAs.

SELECT * FROM EMP WHERE EMPNO=7839 FOR UPDATE;

A deadlock can be resolved by killing the sessions that locked each other.

It will hang until the locking session releases its lock by issuing another DML statement.

It will not hang; it will take a shared lock and continue to work by using undo data.

The server parameter file (SPFILE) will be placed in this location.

The database files will be placed in this location, if not specified explicitly.

User session data is stored in Shared pool and Stack space and Cursor state are stored in Largepool One of the tablespaces is read only. All blocks below the high-water mark of MY_TABLE are deallocated. USER_DUMP_DEST Temporary tablespace.

User session data and Cursor state are stored in Largepool and Stack space is stored outside the System Global (SGA). The database operates in ARCHIEVELOG mode. The high-water mark of MY_TABLE is recalculated and stored in the segment header. CORE_DUMP_DEST Corresponding tablespace itself.

DBA_FGA_AUDIT_TRAIL

DBA_COMMON_AUDIT_TRAIL

The listener gathers information from the control file.

The instance automatically registers with the default listener.

The DBMS_BACKUP_RESTORE package The command will succeed, and a default SYSAUX tablespace will be created for you. At least as much RAM as the size of the SGA Password file Drop the database and re-create it with the JVM.

The calendar tool in the Operating System (OS) The command will succeed, but the whole data dictionary will be in the SYSTEM tablespace. None of the above SYSAUX tablespace datafile Start the JVM background process.

procedures

database triggers

grant both CONNECT and RESOURCE role to all of the three users

execute ALTER USER .. QUOTA UNLIMITED ON publisher_tbs command for all of the three users

Open the database and perform instance recovery.

None, but some transactions may be lost.

until the last offline backup

until the beginning of the last transaction

Reverse Key Index.

Compresses Indexes.

Transactions against the tables (committed or SQL executed against the tables during the run will not) during the run will not be written out to be included in the export a SQL file.

Chkpt

PMON All the instances, including the ASM instance, are shut down in the IMMEDIATE mode.

The ASM instance is still functional, but the other instances are shut down.

impdp would create two schemas called hr1 Impdp would create two schemas called hr1 and oe1 and oe1 and copy the schema objects to the and import tables owned by hr and oe schemas to new users. hr1 and oe1 schemas, respectively.

SELECT /*+ NO_REWRITE */deptno,sum(sal) FROM emp GROUOP BE deptno;

SELECT /*+ REWRITE_OR_ERROR */deptno,sum(sal) FROM emp GROUP BY deptno;

TS - TS1

IDS -TS

4,2,1,3

4,3,2,1

It creates a Cartesian product of table T1 and For each row from T2, it updates the row if it exists table T2 for all columns that have the within table T1, otherwise it same name inserts the row into T1

It is started by setting the DRS_START parameter to TRUE in your initialization file Use the upgrade database command to open the database. Helps you configure the Oracle Database Control tool The Windows Registry doesnt need to be changed. Export and import utlu101x.sql

It uses a configuration file stored on the primary database server and, optionally, on one of your standby database servers

Execute the utls10x.sql script. Collects only database information, not host information The Windows operating system automatically cleans up the Windows Registry for you. Manual upgrade utlu101s.sql

utlu101x.sql

utlrp.sql

startup open

startup upgrade

You can start it under the old Oracle Home, You can start it in either Oracle Home, as long as as long as your compatibility is set to the old the compatibility level is set to 10.0.0. database version level. The master table is created during a Data Pump import job and written to the dump file at the very beginning of the import job. The master table is created during a Data Pump import job and written to the dump file at the very end of the import job. impdp system/manager dumpfile=expdata.dmp FROMUSER=TOUSER DATA_ONLY Username and password, master table name

impdp system/manager FULL=Y

CONTENT Username and password onl

The writing of data from external datafiles The reading of data from Oracle tables into into external tables. external datafiles.

ALL is better because you need to parse and convert all columns. OEM Database Control V$PLATFORM In the SYSTEM tablespace To reduce DB active time Sometimes recommend the use of management advisors Set the STATISTICS_LEVEL parameter to TYPICAL or ALL and remove the SGA_ TARGET parameter The database will ignore the SGA_TARGET parameter. Set the SGA_TARGET parameter equal to the SGA_MAX_SIZE parameter 400MB Oracle can lower the sizes of the parameters under Automatic Shared Memory Management. Query the DBA_SCHEDULER view

REFERENCED is better because you need to parse and convert all columns. Oracle PL/SQL procedures and packages V$COMPATIBILITY_LEVEL In the SYSAUX tablespace To reduce throughput Propose a single recommendation to fix the problem Set the STATISTICS_LEVEL parameter to TYPICAL or ALL and set SGA_TARGET to zero SGA_MAX_SIZE is automatically raised, so it is equal to the SGA_TARGET value. Remove the SGA_MAX_SIZE parameter Oracle cannot assign any memory to the autotuned parameters under the given circumstances. Oracle can raise the sizes of the parameters under manual shared memory management. Query the GATHER _DATABASE_STATS_JOB_PROC view

When the tables data changes by less than When the table is never truncated 10 percent on a regular basis 1 hour Override current statistics with the latest statistics Overwrite data older that the undo retention period Use the RETENTION GUARANTEE clause Specify the UNDO_RETENTION parameter 7 days Lock statistics from a previous period Overwrite data more recent than the undo retention period Use the RETENTION NO GUARANTEE clause

Set the value of the UNDO_MANAGEMENT parameter to AUTO Enables the Automatic Undo Management Enables the retention guarantee feature for the feature flashback query feature Database metric Type of sample data The number of physical reads in the Cumulative statistics are derived from database database is a metric. metrics. MMON MMMN

The AWR snapshots

Active Session History data

They are deleted immediately after you use They are deleted when you create any new them. snapshots. Oracle will delete snapshot 322. All the active session ASH data The AWR snapshots save metrics in the SGA. DBA_SERVER If you wish to set up your own tool to display alerts, instead of using the OEM Database Control interface V$ADVISOR Execute the advisory task ADVISOR It provides both SQL tuning and object access advice. CHOOSE Global, partition, and subpartition statistics Oracle will send an error message saying that it cant create any more new AWR snapshots. All the inactive session ASH data The MMON background process flushes metrics to the disk every hour. V$DBMS_SERVER_ALERT For only critical alerts DBMS_MANAGEMENT_ADVISORY Set the task parameters SCHEMA OWNER It can be called by the ADDM. COST No partitioned table statistics

By using the statement EXEC By using GATHER_SCHEMA_STATS with the DBMS_STATS.GATHER_FIXED_OBJECTS_ SYS option STATS('USER'); It uses only the available statistics and nothing It ignores optimizer statistics completely. else. In neither the tuning nor the normal mode Along with existing statistics, to get better SQL of the optimizer execution plans With both the ACCEPT_SQL_PROFILE and A SQL profile is automatically created each time CREATE_SQL_PROFILE procedures you execute a new SQL statement. Through the SQL_TUNE package Through the DBA_ADVISOR package The level of waits is at twice the Maximum The level of waits is slightly higher than the CPU line. Maximum CPU line. I/O-bound SGA-bound Top SQL statements Read-only Youll get a maximum of one tablespace alert during a 124-hour period. Memory usage Online Youll get a maximum of one tablespace alert during a 24-hour period.

Database Control Index segments There would be no impact on DML operations in the database. Disable row movement for any segment you want to shrink. Set the size of the undo tablespace The number of redo log groups Oracle will create a default SYSTEM tablespace. You must first remove all the current users from the tablespace. It doesnt matter what default type of tablespace you create a database with; you can change the default tablespace type anytime you wish. You create the tables and the cluster together, in the same SQL statement. You must use the PUT_FILE procedure to copy files to a different server. The Database Resource Manager You need the MANAGE SCHEDULER privilege. You will be the owner of the job. Use a job, schedule, and a program together. DBA_SCHEDULER_JOBS view In all schemas that are part of the database. The database will perform a detailed logging of the job runs. Just use the DROP_JOB_CLASS with no options to drop the job class and kill any running jobs right away. A resource plan DBA_SCHEDULER_SCHEDULES view

Scheduler Undo segments There would be an impact on the DML operations in the database. Issue the ALTER TABLE COMPACT command. Figure out the number of undo segments you must create The undo retention period Oracle will let you create a SYSAUX tablespace later on. You cant rename a default permanent tablespace. You cant switch the tablespace type once you create a database. Once you create the clusters, the tables that are part of the cluster are created automatically by Oracle. You must use the GET_FILE procedure to copy files to a different server. The cjqNNN background process You need the EXECUTE ANY JOB privilege. PUBLIC will be the owner of the job. Use a program and a schedule together. DBA_SCHEDULER view Job classes arent saved under any one schema. For each run of a job, there will just be a mention of the job only in the job log. If you use the FORCE=TRUE option, the running jobs will continue to completion anyway, but the job class and its jobs will be removed. A resource consumer group DBA_SCHEDULER_JOBS view

Purge all window and job logs Login attribute Datafile copies Only after you shut down the database and start it up in the mount state RECOVER COPY OF DATAFILE

Purge only yesterdays job logs Could be either a run-time attribute or a login session attribute Archived redo log files Only if the database is already running RECOVER COPY OF DATABASE

Operating system block level Datafile level First create the change tracking file in the First restart the database in the mount state, default location before creating the change tracking file Make copies at all levels except the Make an image copy of only a single file at a time database level BACKUP ALL BACKUP BACKUPSET DATABASE Helps you catalog any new files that arent Helps you catalog only the old files a part of the recovery catalog Makes a copy of all current control files Use the SWITCH BACKUP command Stores the backed up control file copies on tape Use the SWITCH DATABASE command

Both image copies and backup sets Only single datafile copies Only the datafiles, control files, and online Only the datafiles, archived redo log files, and redo log files are removed. backups are removed. MINIMIZE TIME To specify the length of time Oracle must retain undo data in the data files Oracle will clear the flashback buffer area. Both the V$FLASHBACK_DATABASE_LOG and the V$FLASHBACK_DATABASE_STATS DROP TABLE PURGE The DBA_RECYCLEBIN view shows all objects that you can undrop and purge. You can query the table by using the original or system-generated name. Oracle will remove only the tables belonging to the current user. When you drop a table MINIMIZE LOAD To specify the length of time Oracle will retain undo data in the flashback database logs Oracle will leave the flashback database logs in the flash recovery area, and remove them only when its under space pressure. V$FLASHBACK_DATABASE view DROP TABLE NO PURGE The DBA_RECYCLEBIN only shows items that you can undrop. You cant query a table once you drop it. You must ensure that you have the SYSDBA privilege. When you update a table with the wrong WHERE clause by mistake

You must disable row movement in the You must enable row movement in the table you table you are flashing back, because the are flashing back, because the flashback operation flashback operation preserves Oracle preserves Oracle ROWIDs. ROWIDs. Only the most recent committed version of The oldest committed row a row ASM instances must be started, but in an ASM instances need to be shut down before unmounted state, before Oracle can access Oracle can access ASM database files. ASM database files. Operating system commands Logical Volume Manager commands ASM and Logical Volume Manager-based operating OMF and ASM files system files ASM_POWER_LIMIT Coordinates disk rebalance work Redundancy through mirroring ASM disk groups across all the database files Extents Two failure groups To create and to refer to an ASM file Creating multiple files You must use a new file alias for the file before altering its attributes. The MERGE operation fails with an error message. All rows that satisfy the DELETE clauses WHERE condition, provided they have been newly inserted by the INSERT clause Partition the table into equal subpartitions Query rewrite ASM_DISKSTRING Manages the RBAL process Performance through striping Database files across all the disks in a disk group Disk groups Three failure groups For only ASM system files Creating ASM system files You cant change a files attributes after you create it. It performs an update, although there wont be any difference in the row ultimately. All rows that fail to satisfy the UPDATE clause

Partition the rows in the output based on the expression your provide within the clause Materialized view logs

Option E

Option F

Log buffer statistics

restore all the database files from the backup and then perform an incomplete recovery

MMON

MMON

CTWR

V$CONTROLFILE

V$TRANSPORTABLE_PLATFORM

error files

dump files

ALTER TABLE emp DISABLE ALL TRIGGERS;

ALTER TABLE emp ENABLE NOVALIDATE CONSTRAINT emp_last_name_nn;

DBA_DATAPUMP_SESSIONS

use the FLASHBACK DATABASE command Any objects in the Recycle Bin belonging to scott will not be affected by the above DROP command

It will throw an error with message 'specified group is not available'.

It will create a new group with a system-generated name and add the tablespace TEMP1 to it.

the repository table Resumable Session Suspended

the master control process Recovery Area Low On Free Space

the DBA_ALERT_ARGUMENTS view

the DBA_OUTSTANDING_ALERTS view

LOG_ARCHIVE_DEST_10

LOG_ARCHIVE_LOCAL_FIRST

If SGA_TARGET is reduced to 150 MB, then it will not affect the value of the DB_KEEP_CACHE_SIZE parameter.

Threshold values for the TEST_TBS tablespace are not explicitly specified.

DMBS_SERVER_ALERT

DBMS_SPACE_ADMIN

Automatic Database Diagnostic Monitor (ADDM) Restoration from a compressed backup does not require any special action. set SGA_TARGET to a non-zero value The compression provided by media manager and the RMAN backup compression set STATISTICS_LEVEL to TYPICAL or ALL

Run a query on DBA_FEATURE_USAGE_STATISTICS

Open the Database Usage Statistics page of Enterprise Manager (EM)

DB_RECOVERY_FILE_DEST_SIZE When you rename a tablespace, the Oracle 10g database updates all references to the tablespace name in the data dictionary as well as the control file.

DB_FLASHBACK_RETENTION_TARGET

remap_schema

The Oracle database records block change information in this file by default.

The V$BLOCK_CHANGE_TRACKING view contains the name and location of this file.

It has to be removed manually after the last It is created automatically when the first temporary temporary tablespace is removed. tablespace is assigned to it.

It is a dictionary-managed tablespace.

The ALTER DATABSE CREATE DATAFILE.. command is used to recover the data file. Shut down the instance, startup in the mount state, copy the control file to the third location, modify the CONTROL_FILES parameter in init.ora and open the database.

listener.ora

tnsnames.ora

You must have started the database instance but must not have opened.

Alert log files

Archived log files

Reduce the default tablespace usage threshold values for the database.

determine all the necessary undo SQL statements from FLASHBACK_TRANSACTION_QUERY and use them for recovery. the SYSTEM tablespace the default permanent tablespace for the nonSYSTEM users

a transaction ID

After is set to 10.0.0 or greater and the database is opened, it cannot be set back. GET_TABLE

DBA_ROLLBACK_SEGS

A Data Dictionary copy stored in an operating system flat file

The Oracle database records block change information in this file by default

European characters are represented in one or two bytes To ensure that the overall size of the PGA will never exceed the value of PGA_AGGREGATE_TARGET

an operating system flat file FREELISTS change it to FREELIST The PCTUSED, FREELISTS and FREELIST GROUPS parameters must be specified at table creation FREELIST GROUP

change SHARED_POOL_SIZE to 106MB and DB_CACHE_SIZE to 34MB

DBMS_DATAPUMP

SPFILE

MEMORY

Data Pump

All of the above

None of the above

The job will pause but can be restarted. By Analyzing the table.

Cannot use composite partitioning

Cannot contain a column of type ROWID or LONG

100

A, B and C

A, B and D

You can terminate a dispatcher, and established sessions will continue.

You can control which listener each dispatcher will register with.

Snapshots are purged.

Take any rollback segments offline.

One undo segment can be cut across many datafiles.

Undo segments and rollback segments cannot coexist.

DBA_ROLLBACK_SEGS

JOHNs second query will use undo data.

The results of the two queries will be different.

DROP TABLE EMP;

CREATE INDEX ENAME_IDX ON EMP(ENAME);

None of the above is correct.

The location will be considered for the base of Oracle Managed Files (OMF). User session data and Cursor state are stored outside the System Global Area (SGA) and Stack space is stored inside the SGA. The database operates in NOARCHIEVELOG mode.

The location will be considered for the base of Optimal Flexible Architecture (OFA).

BACKGROUND_DUMP_DEST

The listener gets this information through thelistener.orafile.

The backup scheduler in Enterprise Manager (EM)

The DBMS_BACKUP_SCHEDULER packager inline mode

SYSTEM tablespace datafile

UNDO tablespace datafile

anonymous PL/SQL block

create role with UNLIMITED TABLESPACE system privilege and assign the role to all of the three users

None. Recovery will be automatic.

The DDL describing the tables will be written out to a SQL file.

HRBD, FINDB, and ORGDB instances are shut down in the ABORT mode and the ASM instance is shut down in the IMMEDIATE mode.

HRDB, FINDB, and ORGDB instances are shut down in the NORMAL mode and the ASM instance is shut down.

SELECT /*+ NO_QUERY_TRANSFORMATION */deptno,sum(sal) FROM emp GROUP BY deptno;

IDS +IYM

Top sessions affecting the instance

Answer Ans : A Ans : D tnsping <Service_Name> Ans : D Ans : B Ans : B Ans : A Ans : D Ans : C Ans : A Ans : A Ans : B Ans: C Ans : B Ans : D Ans : A Ans : B Ans : C Ans : B Ans : B Ans : B Ans : A Ans : B Ans : B Ans : A

Ans : A Ans. B ANS: A ANS: A ANS: C ANS :A ,B ,C Answer: A

Answer: C Answer: C Answer: D Answer: C

Answer: F Answer: B Answer: A, F

Answer: A Answer: B, D, F Answer: C

Answer: D

Answer: D

Answer: D

Answer: B, C

Answer: C

Answer: C

Answer: C Answer: C, E, F

Answer: D, F

Answer: C

Answer: A, B

Answer: A, E

Answer: D

Answer: E

Answer: A

Answer: C, E, F Answer: E, F

Answer: E, F

Answer: D, E

Answer: D, E

Answer: E

Answer: C, D Answer: A, B,C, F

Answer: B, C, F

Answer: A, D

Answer: A

Answer: D

Answer: D, F

Answer: C

Answer: A, F, B

Answer: B

Answer: B, D

Answer: E

Answer: A, C, D, F

Answer: A

Answer: A,C

Answer: D

Answer: A,B,C

Answer: A,D

Answer: B,D

Answer: C

Answer: C

Answer: E Answer: A,B

Answer: A

Answer: B, C, D

Answer: C,D

Answer: D

Answer: B,C,D

Answer: C

Answer: A,D

Answer: A, B,C, E

Answer: B

Answer: A, C Answer: A, B Answer: D, E

Answer: C Answer: B, C, E Answer: B, E, F

Answer: A, B, C, D

Answer: C

Answer: C

Answer: C

Answer: D

Answer: A, D

Answer: C

Answer: B

Answer: C,E,F

Answer: A,C

Answer: D

Answer E

Answer A,D Answer 1,2,4

Answer:All are correct. Answer:All the above are correct. Answer : A, B, C

Answer: A, B, C

Answer: D. Answer: B. Answer: D.

Answer: D. Answer: C. Answer: E.

Answer: C

Answer: C

Answer: A and D

Answer: D and E

Answer: A

Answer: C

Answer: B

Answer: B and C

Answer: A Answer: D

Answer: B

Answer: A

Answer: A, C, B, E, D. Answer: B

Answer: C

Answer: D and E

Answer: A, C and E

Answer: B

Answer: B

Answer: C,D and E

Answer: B

Answer: B, C and D

Answer: B

Answer: E

Answer: F

Answer: D

Answer: E Answer: B. Answer: C. Answer: D.

Answer: A, C

Answer: D, E

Answer: E Answer: C

Answer: D Answer: B,C and F Answer: B

Answer: D

Answer: D

Answer: E

Answer: C

Answer: B.

Answer: C

Answer INSTANCE_TYPE=ASM Ans:PMON Instance Recovery

Answer: D

Answer: B

Answer: D

Answer: A,B,D

Answer: C

Answer: D

Answer: A, B, C

Answer: B

Answer: A

Answer: A Answer: A, C, and D Answer: A

Answer: D

Answer: D Answer: B

Answer: B

Answer: A

Answer: C Answer: B Answer: B

Answer: A Answer: B Answer: A ANSWER: D ANSWER: A ANSWER: C ANSWER: B

ANSWER: D ANSWER: B

ANSWER: C

ANSWER: B ANSWER: B ANSWER: B ANSWER: A ANSWER: A ANSWER: A and D ANSWER: B ANSWER: D ANSWER: A ANSWER: A ANSWER: B ANSWER: C

ANSWER: C ANSWER: B

ANSWER: B ANSWER: B ANSWER: B AND D ANSWER: D ANSWER: C ANSWER: B ANSWER: B ANSWER: C ANSWER: A AND D Answer: B Answer: C

Answer: B Answer: B Answer: B AND D Answer: A Answer: B Answer: C Answer: B Answer: A,C AND E Answer: A AND D Answer: B

Answer: B Answer: D Answer: D Answer: B Answer: A AND C Answer: A Answer: B Answer: B

Answer: C

Answer: A

Answer: B AND C Answer: A Answer: B Answer: A Answer: A,B AND C Answer: C Answer: B Answer: C

Answer: D

Answer: C Answer: A

Answer: C Answer: A Answer: C AND D Answer: A AND B Answer: C AND D Answer: B Answer: A Answer: B Answer: A Answer: C Answer: A Answer: D Answer: A Answer: B Answer: D Answer: A

Answer: A

Answer: C Answer: C Answer: A AND C Answer: B Answer: B Answer: D

Answer: A

Answer: A Answer: B Answer: A Answer: B Answer: B Answer: B Answer: C AND D Answer: D Answer: C Answer: C Answer: B Answer: C Answer: D Answer: D

Answer: B

Answer: D Answer: A AND D

You might also like