Tuesday, August 7, 2018

1Z0-006 Oracle Database Foundations (novice-level exam)

Exam Number: 1Z0-006
Exam Title: Oracle Database Foundations (novice-level exam)
Associated Certification Paths Oracle Database Foundations Certified Junior Associate (novice-level certification)
Duration: 150 minutes
Number of Questions: 75
Passing Score: 60%
Validated Against: Exam has been validated against Oracle Database v12.1.0.2.0.
Format: Multiple Choice

Complete Recommended Training

Complete the training below to prepare for your exam (optional):

Database Foundations
Additional Preparation and Information

A combination of Oracle training and hands-on experience (attained via labs and/or field experience) provides the best preparation for passing the exam.

This is a novice-level exam for candidates who are students at secondary schools, 2-year colleges and 4-year colleges and universities. If you are seeking a more career-level certification, you may consider purusing Oracle Database 12c Administrator Certified Associate or Oracle Database 11g Administrator Certified Associate. Those exams are more appropriate for candidates who have completed training though Oracle University or Oracle's WDP program.

What is a Database?

Database Concepts
Describe the components of a database system
Explain the purpose of a database

Types of Databases Models
Describe types of database models (relational, object oriented, flat, network…)
Compare the differences between the different types of databases

Relational Database Concepts
Describe the characteristics of a relational database
Explain the importance of relational databases in business
List the major transformations in database technology

Defining Levels of Data Abstraction
Define the terminology used for database storage
Describe levels of data abstraction used in relational databases

Gathering Requirements for Database Design
Gather requirements to implement a database solution
Explain business rules

The Language of Database and Data Modeling

Defining a Table in a Database
Describe the structure of a single table

Using Conceptual Data Modeling
Describe a conceptual data model
Explain the components of a conceptual/logical model

Defining Instance and Schema in Relational Databases

Examine examples of an entity and a corresponding table
Examine examples of an attribute and a corresponding column
Explain instances and schemas in a relational database

Using Unique Identifiers, Primary and Foreign Keys
Identify unique identifiers and a corresponding primary key
Define composite and compound primary keys
Define relationships and corresponding foreign keys
Define barred relationships and the corresponding primary keys


Data Modeling – Creating the Physical Model

Creating Physical Data Models
Create a physical data model
Compare conceptual and physical data models

Documenting Business Requirements and Rules
Explain the importance of clearly communicating and accurately capturing database information requirements
Identify structural business rules
Identify procedural business rules
Identify business rules that must be enforced by additional programming (eg SQL)

Defining Supertype and Subtype Entity Relationships
Describe an example of an entity
Define supertype and subtype entities
Implement rules for supertype and subtype entities

Using Attributes
Describe attributes for a given entity
Identify and provide examples of instances
Distinguish between mandatory and optional attributes
Distinguish between volatile and nonvolatile attributes

Using Unique Identifiers (UIDs)
Define the types of unique identifiers
Select a unique identifier using business rules
Define a candidate unique identifier
Define an artificial unique identifier

Identifying Relationships
Explain one-to-one, one-to-many, and many-to-many relationships
Identify the optionality necessary for a relationship
Identify the cardinality necessary for a relationship
Identify nontransferable relationships
Name a relationship
Create ERDish sentences to represent ERDs
Create ERDs to represent ERDish sentences

Resolving Many to Many Relationships and Composite Unique Identifiers

Resolve a many-to-many relationship using an intersection entity
Identify the variations of unique identifiers after creation of an intersection entity
Define a barred relationship
Identify composite unique identifiers

Identifying Hierarchical, Recursive, and Arc Relationships
Define a hierarchical relationship
Define a recursive relationship
Define an arc relationship
Identify UIDs in a hierarchical, recursive and arc relationship model
Construct a model using recursion and hierarchies
Identify similarities and differences in an arc relationship and a supertype/subtype entity

Tracking Data Changes Over Time
Explain necessity of tracking data changes over time
Identify data that changes over time
Identify the changes in unique identifiers after adding the element of time to an ERD

Validating Data Using Normalization
Define the purpose of normalization
Define the rules of First, Second, and Third Normal Forms
Apply the rules of First, Second, and Third Normal Form

Mapping the Physical Model

Mapping Entities,Columns and Data Types
Map entities to identify database tables to be created from an ERD
Identify column data types from an ERD
Identify common data types used to store values in a relational database

Mapping Primary, Composite Primary and Foreign Keys
Identify primary keys from an ERD
Identify which ERD attributes would make candidate primary keys
Describe the purpose of a foreign key in an Oracle Database
Identify foreign keys from an ERD
Describe the relationship between primary keys, composite primary keys, and foreign keys in an Oracle Database

Introduction to SQL
Using Structured Query Language (SQL)

Explain the relationship between a database and SQL

Using Data Definition Language (DDL)
Describe the purpose of DDL
Use DDL to manage tables and their relationships

Using Data Manipulation Language (DML) and Transaction Control Language (TCL)
Describe the purpose of DML
Use DML to manage data in tables
Use TCL to manage transactions

Defining and using Basic Select statements
Identify the connection between an ERD and a Relational Database using SQL SELECT statements
Build a SELECT statement to retrieve data from an Oracle Database table
Use the WHERE clause to the SELECT statement to filter query results

Displaying Sorted Data
Use the ORDER BY clause to sort SQL query results

Defining Table Joins
Describe the different types of joins and their features
Use joins to retrieve data from multiple tables

Friday, August 3, 2018

1Z0-062 Oracle Database 12c Administration

Exam Number: 1Z0-062
Exam Title: Oracle Database 12c Administration
Associated Certification Paths Oracle Database 12c Administrator Certified Associate
Duration: 120 minutes
Number of Questions: 67
Passing Score: 64%
Beta exam score reports will be available approximately 11 weeks after the close of the Beta Exam. You will receive an email with instructions on how to access your beta exam results.
View passing score policy
Validated Against:  This exam has been validated against Oracle Database 12.1.0.1.0.
Format: Multiple Choice

Complete Recommended Training

Complete the training below to prepare for your exam (optional):

Oracle Database 12c: Administration Workshop

Additional Preparation and Information
A combination of Oracle training and hands-on experience (attained via labs and/or field experience) provides the best preparation for passing the exam.

Exam Preparation Seminar
Exam Prep Seminar Package: Oracle Database 12c Administrator Certified Associate
Certification Exam Prep Seminar: Oracle Database 12c: Install and Admin

Practice Exams
Practice Exams: Oracle Authorized practice exam from Kaplan IT Training: 1Z0-062 - Oracle Database 12c: Installation and Administration

TEMAS DE EXAMEN Administración de Oracle Database 12c 1Z0-062
(Examen 1Z0-062 in Español -150 minutos; 77 preguntas; 65% puntaje de aprobación)

Exploring the Oracle Database Architecture
List the architectural components of Oracle Database
Explain the memory structures
Describe the background processes

Oracle Database Management Tools
Use database management tools

Oracle Database Instance
Understand initialization parameter files
Start up and shut down an Oracle database instance
View the alert log and access dynamic performance views

Configuring the Oracle Network Environment
Configure Oracle Net Services
Use tools for configuring and managing the Oracle network
Configure client-side network
Configure communication between databases

Administering User Security
Create and manage database user accounts
Grant and revoke privileges
Create and manage roles
Create and manage profiles

Managing Database Storage Structures
Describe the storage of table row data in blocks
Create and manage tablespaces

Create and manage tablespaces
Explain how Oracle database server automatically manages space
Save space by using compression
Use the Segment Advisor
Reclaim wasted space from tables and indexes by using the segment shrink functionality

Managing Undo Data
Explain DML and undo data generation
Monitor and administer undo data
Describe the difference between undo data and redo data
Configure undo retention

Managing Data Concurrency
Describe the locking mechanism and how Oracle manages data concurrency
Monitor and resolve locking conflicts

Implementing Oracle Database Auditing
Enable standard database auditing and unified auditing

Backup and Recovery Concepts
Identify the importance of checkpoints, redo log files, and archive log files

Backup and Recovery Configuration
Configure the fast recovery area
Configure ARCHIVELOG mode

Performing Database Backups
Create consistent database backups
Back up your database without shutting it down
Create incremental backups
Automate database backups
Manage backups

Performing Database Recovery
Determine the need for performing recovery
Use Recovery Manager (RMAN) and the Data Recovery Advisor to perform recovery of the control file, redo log file and data file

Moving Data
Describe ways to move data
Use SQL*Loader to load data from a non-Oracle database
Use external tables to move data via platform-independent files
Explain the general architecture of Oracle Data Pump
Use Data Pump Export and Import to move data between Oracle databases

Performing Database Maintenance
Use server-generated alerts

Managing Performance: SQL Tuning
Use the SQL Tuning advisor

Automating Tasks by Using Oracle Scheduler
Use Oracle Scheduler to simplify management tasks
Use job chains to perform a series of related tasks
Use Scheduler jobs on remote systems
Use advanced Scheduler features to prioritize jobs

Creating an Oracle Database Using DBCA
Generate database creation scripts by using DBCA
Manage database design templates by using DBCA

Upgrading Oracle Database Software
Describe data migration methods
Describe the upgrade process

Introduction to DBAAS
Recognize the difference between a DBaaS Instance and a Database Instance
Navigate with My Services Dashboard
User authentication and roles
Generate a Secure Shell (SSH) Public/Private Key Pair



QUESTION 1 - (Topic 1)
Examine the following query output:


You issue the following command to import tables into the hr schema:
$ > impdp hr/hr directory = dumpdir dumpfile = hr_new.dmp schemas=hr
TRANSFORM=DISABLE_ARCHIVE_LOGGING: Y
Which statement is true?

A. All database operations performed by the impdp command are logged.
B. Only CREATE INDEX and CREATE TABLE statements generated by the import are logged.
C. Only CREATE TABLE and ALTER TABLE statements generated by the import are logged.
D. None of the operations against the master table used by Oracle Data Pump to coordinate its activities are logged.

Answer: C

Explanation:
Oracle Data Pump disable redo logging when loading data into tables and when creating indexes.
The new TRANSFORM option introduced in data pumps import provides the flexibility to turn off the redo generation for the objects during the course of import. The Master Table is used to track the detailed progress information of a Data Pump job.
The Master Table is created in the schema of the current user running the Pump Dump export or import, and it keeps tracks of lots of detailed information.


QUESTION 2 - (Topic 1)
You execute the following commands to audit database activities:
SQL > ALTER SYSTEM SET AUDIT_TRIAL=DB, EXTENDED SCOPE=SPFILE;
SQL > AUDIT SELECT TABLE, INSERT TABLE, DELETE TABLE BY JOHN By SESSION WHENEVER SUCCESSFUL;
Which statement is true about the audit record that generated when auditing after instance restarts?

A. One audit record is created for every successful execution of a SELECT, INSERT OR DELETE command on a table, and contains the SQL text for the SQL Statements.
B. One audit record is created for every successfulexecution of a SELECT, INSERT OR DELETE command, and contains the execution plan for the SQL statements.
C. One audit record is created for the whole session if john successfully executes a SELECT, INSERT, or DELETE command, and contains the execution planfor the SQL statements.
D. One audit record is created for the whole session if JOHN successfully executes a select command, and contains the SQL text and bind variables used.
E. One audit record is created for the whole session if john successfully executes a SELECT, INSERT, or DELETE command on a table, and contains the execution plan, SQL text, and bind variables used.

Answer: A

Explanation:
Note:
* BY SESSION
In earlier releases, BY SESSION caused the database to write a single record for all SQL statements or operations of the same type executed on the same schema objects in the same session. Beginning with this release (11g) of Oracle Database, both BY SESSION and BY ACCESS cause Oracle Database to write one audit record for each audited statementand operation.
* BY ACCESS
Specify BY ACCESS if you want Oracle Database to write one record for each audited statement and operation.
Note:
If you specify either a SQL statement shortcut or a system privilege that audits a data definition language (DDL)statement, then the database always audits by access. In all other cases, the database honors the BY SESSION or BY ACCESS specification.
* For each audited operation, Oracle Database produces an audit record containing this information:
/ The user performing the operation
/ The type of operation
/ The object involved in the operation
/ The date and time of the operation
References:


QUESTION 3 - (Topic 1)
Which two statements are true about extents?

A. Blocks belonging to an extent can be spread across multiple data files.
B. Data blocks in an extent are logically contiguous but can be non-contiguous on disk.
C. The blocks of a newly allocated extent, although free, may have been used before.
D. Data blocks in an extent are automatically reclaimed for use by other objects in a tablespace when all the rows in a table are deleted.

Answer: B,C


QUESTION 4 - (Topic 1)
Examine the following impdp command to import a database over the network from a pre-12c Oracle database (source):


Which three are prerequisites for successful execution of the command?

A. The import operation must be performed by a user on the target database by a user with theDATAPUMP_IMP_FULL_DATABASE role, and the database link must connect to a user with the DATAPUMP_EXP_FULL_DATABASE role on the source database.
B. All the user-defined tablespaces must be in read-only mode on the source database.
C. The export dump file must be created before starting the import on the target database.
D. The source and target database must be running on the same operating system (OS) with the same endianness.
E. The impdp operation must be performed by the same user that performed the expdpoperation.

Answer: A,B,D

Explanation:
In this case we have run the impdp without performing any conversion if endian format is different then we have to first perform conversion.


QUESTION 5 - (Topic 1)
Your multitenant container database (CDB) contains a pluggable database, HR_PDB. The default permanent tablespace in HR_PDB is USERDATA. The container database (CDB) is open and you connect RMAN.
You want to issue the following RMAN command:
RMAN > BACKUP TABLESPACE hr_pdb:userdata;
Which task should you perform before issuing the command?

A. Place the root container in ARHCHIVELOG mode.
B. Take the user data tablespace offline.
C. Place the root container in the nomount stage.
D. Ensure that HR_PDB is open.

Answer: A

Thursday, August 2, 2018

1Z0-063 Oracle Database 12c: Advanced Administration

Exam Number: 1Z0-063
Exam Title: Oracle Database 12c: Advanced Administration
Associated Certification Paths Oracle Database 12c Administrator Certified Professional
Duration: 120
Number of Questions: 80
Passing Score: 60%
Validated Against: This exam has been validated against Oracle Database 12.1.0.1.0.
Format: Multiple Choice

Complete Recommended Training

Both of these courses are recommended to best prepare for this exam:

Oracle Database 12c: Backup and Recovery Workshop
Oracle Database 12c: Managing Multitenant Architecture

Additional Preparation and Information
A combination of Oracle training and hands-on experience (attained via labs and/or field experience) provides the best preparation for passing the exam.

Exam Preparation Seminar
Certification Exam Prep Seminar: Oracle Database 12c: Advanced Administration
Exam Prep Seminar Package: Oracle Database 12c Administrator Certified Professional

Practice Exams
Practice Exams: Oracle Authorized practice exam from Kaplan IT Training: 1Z0-063: Oracle Database 12c Advanced Administration

Oracle Data Protection Solutions
Explain Oracle backup and recovery solutions
Describe types of database failures
Describe the tools available for backup and recovery tasks
Describe RMAN and maximum availability architecture
Use the SYSBACK privilege
Use RMAN stand-alone and job commands

Performing Basic Backup and Recovery
Back up and recover a NOARCHIVELOG database
Perform backup and recovery in NOARCHIVELOG mode
Use SQL in RMAN

Configuring for Recoverability
Configure and manage RMAN settings
Configure persistent settings for RMAN
View persistent settings
Specify a retention policy
Configure the Fast Recovery Area
Explain the Fast Recovery Area
Configure the Fast Recovery Area
Configure control files and redo log files for recoverability
Multiplex control files
Multiplex redo log files

Using the RMAN Recovery Catalog
Create and use an RMAN recovery catalog
Configure a recovery catalog
Register target databases in a recovery catalog
Catalog additional backup files
Resynchronize a recovery catalog
Use and maintain RMAN stored scripts
Upgrade and drop a recovery catalog
Protect the RMAN recovery catalog
Back up the recovery catalog
Re-create an unrecoverable recovery catalog
Export and import the recovery catalog

Implementing Backup Strategies
Use various RMAN backup types and strategies
Enable ARCHIVELOG mode
Create tape and disk based backups
Create whole database backups
Create consistent and inconsistent backups
Create backup sets and image copies
Create backups of read-only tablespaces
Employ best practices for data warehouse backups

Performing Backups
Perform full and incremental backups
Create full and incremental backups
Use the Oracle-suggested backup strategy
Manage backups
Configure and monitor block change tracking
Report on backups using LIST, REPORT commands
Manage backups using CROSSCHECK, DELETE commands

Configuring RMAN Backup Options and Creating Backup of Non-Database Files
Use techniques to improve backups
Create compressed backups
Create multi-section backups of very large files
Create proxy copies
Create duplexed backup sets
Create backups of backup sets
Create archival backups
Perform backup of non-database files
Back up a control file to trace
Back up archived redo log files
Back up ASM diskgroup metadata

Using RMAN-Encrypted Backups
Create RMAN-encrypted backups
Use transparent-mode encryption
Use password-mode encryption
Use dual-mode encryption
Restore encrypted backups

Diagnosing Failures
Describe the Automatic Diagnostic Workflow
Use the Automatic Diagnostic Repository
Use ADRCI
Find and interpret message output and error stacks
Use the Data Recovery Advisor
Handle block corruption
Detect block corruption using RMAN
Perform block recovery using RMAN

Performing Restore and Recovery Operations
Describe and tune instance recovery
Perform complete and incomplete recovery
Use RMAN RESTORE and RECOVER commands
Restore ASM disk groups
Recover from media failures
Perform complete and incomplete or “point-in-time” recoveries using RMAN

Recovering Files Using RMAN
Perform recovery for spfile, control file, redo log files
Perform table recovery from backups
Perform recovery of index and read-only tablespaces, temp file
Restore a database to a new host

Using Oracle Secure Backup
Configure and use Oracle Secure Backup

Using Flashback Technologies
Describe the Flashback technologies
Configure a database to use Flashback technologies
Guarantee undo retention
Use Flashback to query data
Use Flashback Query
Use Flashback Version Query
Use Flashback Transaction Query
Flash back a transaction
Perform Flashback Table operations
Perform Flashback Table
Restore tables from the recycle bin
Describe and use Flashback Data Archive
Use Flashback Data Archive
Use DBMS_FLASHBACK_ARCHIVE package

Using Flashback Database
Perform Flashback Database
Configure Flashback Database
Perform Flashback Database

Transporting Data
Describe and use transportable tablespaces and databases
Transport tablespaces between databases using image copies or backup sets
Transport databases using data files or backup sets
Transport data across platforms

Duplicating a Database

Choose a technique for duplicating a database
From an active database, connected to the target and auxiliary instances
From backup, connected to the target and auxiliary instances
From backup, connected to the auxiliary instance, not connected to the target, but with recovery catalog connection
From backup, connected to the auxiliary instance, not connected to the target and the recovery catalog
Duplicate a database with RMAN
Create a backup-up based duplicate database
Duplicate a database based on a running instance

Monitoring and Tuning of RMAN Operations
Tune RMAN performance
Interpret RMAN error stacks
Diagnose performance bottlenecks
Tune RMAN backup performance

Managing Pluggable and Container Databases

Introduction

Multitenant Container and Pluggable Database Architecture
Describe the multitenant container database architecture
Explain pluggable database provisioning

Creating Multitenant Container and Pluggable Databases
Configure and create a CDB
Create a PDB using different methods
Unplug and drop a PDB
Migrate a non-CDB database to PDB

Managing a CDB and PDBs
Establish connections to CDB/PDB
Start up and shut down a CDB and open and close PDBs
Evaluate the impact of parameter value changes

Managing Storage in a CDB and PDBs
Manage permanent and temporary tablespaces in CDB and PDBs

Managing Security in a CDB and PDBs

Manage common and local users
Manage common and local privileges
Manage common and local roles
Enable common users to access data in specific PDBs

Managing Availability
Perform backups of a CDB and PDBs
Recover PDB from PDB datafiles loss
Use Data Recovery Advisor
Duplicate PDBs using RMAN

Managing Performance
Monitor operations and performance in a CDB and PDBs
Manage allocation of resources between PDBs and within a PDB
Perform Database Replay

Moving Data, Performing Security Operations and Interacting with Other Oracle Products
Use Data Pump
Use SQL*Loader
Audit operations
Use Other Products with CDB and PDBs - Database Vault, Data Guard, LogMiner


QUESTION 1
You issue commands in SQL*Plus as the Oracle owner, to enable multithreading for your UNIX-based Oracle 12c database:
CONNECT/AS SYSDBA
ALTER SYSTEMSETTHREADED__EXECUTION= TRUESCOPE=SPFILE;
SHUTDOWNIMMEDIATE
You then restart the instance and get an error:
STARTUP
ORA-01031:insufficientprivileges
Why does the startup command return the error shown?

A. because the threaded architecture requires exiting from sql*pIus and reconnectingwith sql*PIus / as sysdba before issuing a startup command
B. because the threaded architecture requires issuing a new connect / as sysdba from within sql*pIus before issuing a startup command
C. because the threaded architecture requires authentication using a password file before issuing a startup command
D. because the threaded architecture requires connecting to the instance via a listener before issuing a startup command
E. because the threaded architecture requires restarting the listener before issuing astartup command

Answer: C


QUESTION 2
Examine the output:
SQL > ARCHIVE LOGLIST
Database log modeArchive Mode
Automatic archivalEnabled
Archive DestinationUSE_DB_RECOVERY_FILE_DEST
Oldest online log sequence376
Next log sequence to archive378
Current log sequence378
Which three types of files are automatically placed in the fast recovery area?

A. Flashback data archives (FDA)
B. Archived redo log files
C. Control file autobackups
D. Server parameter file (SPFILE)
E. Recovery Manager (RMAN) backup pieces

Answer: B,C,E
Reference:http://docs.oracle.com/cd/E11882_01/backup.112/e10642/glossary.htm#BRADV 526


QUESTION 3
Examine the RMAN commands executed in your database:
RMAN>CONFIGUREDEFAULT DEVICE TYPE TO disk;
RMAN>CONFIGURE DEVICETYPE DISK BACKUP TYPE TO BACKUPSET;
RKAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
You issue the command:
RMAN> BACKUP DATABASE;
Which two statements are true about the command?

A. It performs a log switch.
B. It creates compressed backup sets by using binary compression by default.
C. It backs up only the used blocks in data files.
D. It backs up data files, the control file, and the server parameter file.
E. It creates a backup of only the control file whenever the database undergoes a structural change.

Answer: B,E


QUESTION 4
Examine the commands executed to monitor database operations:
$> conn sys/oracle@prod as sysdba
SQL> VAR eid NUMBER
SQL>EXEC :eid :=
DBMS_SQL_MONITOR.BEGlN_OPERATION('batch_job’,FORCED_TRACKING=>'Y');
Which two statements are true?

A. Database operations will be monitored only when they consume a significant amount of resource.
B. Database operations for all sessions will be monitored.
C. Database operations will be monitored only if the STATISTICS_LEVEL parameter is set to TYPICAL and CONTROL_MANAGEMENT_PACK_ACCESS is set DIAGNISTIC + TUNING.
D. Only DML and DDL statements will be monitored for the session.
E. All subsequent statements in the session will be treated as one database operation and will be monitored.

Answer: C,E

Explanation: C: Setting the CONTROL_MANAGEMENT_PACK_ACCESS initialization parameter to DIAGNOSTIC+TUNING (default) enables monitoring of database operations. Real-Time SQL Monitoring is a feature of the Oracle Database Tuning Pack.
Note:
* The DBMS_SQL_MONITOR package provides information about Real-time SQL Monitoring and Real-time Database Operation Monitoring.
*(not B) BEGIN_OPERATION Function starts a composite database operation in the current session.
/ (E) FORCE_TRACKING - forces the composite database operation to be tracked when
the operation starts. You can also use the string variable 'Y'.
/ (not A) NO_FORCE_TRACKING - the operation will be tracked only when it has consumed at least 5 seconds of CPU or I/O time. You can also use the string variable 'N'.


QUESTION 5
Automatic Shared Memory Management (ASMm) is enabled for your database instance, but parameters for the managed components are not defined.
You execute this command:
SQL> ALTER SYSTEM SET DB_CACHE_SIZE = 100M;
Which statement is true?

A. The minimum size for the standard buffer cache is 100 MB.
B. The maximum size for the standard buffer cache is 100 MB.
C. The minimum space guaranteed in the buffer cache for any server process is 100 MB.
D. The maximum space in the buffer cache that can be released for dynamic distribution is 100 MB.
E. The minimum size for all buffer caches is 100 MB.

Answer: D

Wednesday, August 1, 2018

1Z0-064 Oracle Database 12c: Performance Management and Tuning

Exam Number: 1Z0-064
Exam Title: Oracle Database 12c: Performance Management and Tuning
Associated Certification Paths Oracle Certified Expert, Oracle Database 12c: Performance Management and Tuning
Duration: 150
Number of Questions: 84
Passing Score: 62%
Validated Against: Exam has been validated for product version 12.1.0.1.0
Format: Multiple Choice

Complete Recommended Training
Oracle Database 12c: Performance Management and Tuning

Additional Preparation and Information
A combination of Oracle training and hands-on experience (attained via labs and/or field experience) provides the best preparation for passing the exam.

Basic Tuning Diagnostics
Describe the time model
Explain wait events
Diagnose performance problems using V$ views

Using Automatic Workload Repository


Analyze database performance using AWR reports

Using Metrics and Alerts

Monitor performance using metric thresholds and alerts

Using Baselines

Use AWR baselines to monitor performance

Using AWR-Based Tools

Diagnose performance issues using ADDM
Diagnose performance issues using ASH reports

Monitoring Real-Time Database Operation

Implement Real-Time Database Operation Monitoring

Monitoring Applications

Configure and use services to monitor database performance

Identifying Problem SQL Statements

Interpret execution plans
Use formatted output of SQL Trace or the optimizer trace to identify poorly performing SQL statements

Influencing the Optimizer
Explain how statistics influence the optimizer
Configure parameters to influence the optimizer

Reducing the Cost of SQL Operations
Use Automatic Segment Space Management to optimize space management
Use table compression
Diagnose and tune space related issues

Using SQL Performance Analyzer
Use SQL Performance Analyzer to test the impact of database changes

SQL Performance Management
Manage optimizer statistics
Use SQL Profiles and Advisors to tune SQL statements
Use SQL Plan Management to tune SQL statements

Using Database Replay
Use Database Replay to check impact of system change on performance

Tuning the Shared Pool
Diagnose and resolve hard and soft parsing problems
Diagnose and resolve performance issues related to the shared pool

Tuning the Buffer Cache
Diagnose and resolve performance issues related to the buffer cache

Tuning PGA and Temporary Space
Diagnose and resolve performance issues related to PGA
Diagnose and resolve performance issues related to temporary tablespace

Using Automatic Memory
Use and tune Automatic Shared Memory Management
Use and tune Automatic Memory Management

Tuning I/O
Diagnose database I/O issues
Configure Automatic Storage Management (ASM) for maximum availability

Using the Database Resource Manager

Understand and configure the Database Resource Manager


QUESTION 1
Which two result in the latest fragmentation within segments and the least external fragmentation within tablespaces?(Choose two.)

A. automatic segment space managed segments
B. locally managed tablespaces with uniform extent size
C. freelist managed segments with one freelist
D. dictionary managed tablespace
E. locally managed tablespaces that were converted from dictionary managed tablespaces
F. freelistmanaged segments with multiplefreelist

Answer: A,D
Reference:http://docs.oracle.com/cd/B19306_01/server.102/b14220/logical.htm


QUESTION 2
You are administering a database that supports a DSS workload. Automatic Shared Memory Management is enabled for the database instance. Users issue queries toperformlarge soft operations and complain about degraded performance of the queries. On investigation, you notice that the queries are performing multipass work area executions and the I/O contention on one of the temporary tablespaces is very high.
Which two can be possible resolutions for this issue?(Choose two.)

A. Increase the size of the large pool.
B. Increase the value of thePGA_AGGREGATE_TARGETparameter.
C. Create a temporary tablespace group and assign it to users.
D. Increase the value of thePGA_AGGREGATE_LIMITparameter.
E. Create another temporary tablespace and assign it to users.
F. Enable temporary undo.

Answer: A,D


QUESTION 3
Examine the structure of theEMPLOYEEStable.


EMPLOYEE_ID is the primary key. No other indexes exist on this table. View the Exhibit to examine the commands and their output.


Which two actions should you perform to make the cursor bind aware?(Choose two.)

A. Create a histogram on theDEPARTMENT_IDcolumn.
B. Change the defaultCURSOR_SHARINGvalue toFORCE.
C. Execute the query with the sameDEPARTMENT_IDvalue multiple times.
D. Create an index on theDEPARTMENT_IDcolumn.
E. Gather statistics for the index.
F. Regather statistics on the table.

Answer: C,D


QUESTION 4
Examine the partial AWR report taken for a time period of 60 minutes:


Which two inferences can you draw from this report?(Choose two.)

A. The database user calls are issuing frequent explicit commits.
B. The CPUs are busy executing server processes and background processes for a considerable amount of CPU time.
C. The database user calls are spending most of their time in I/O for single block reads.
D. The database user calls are spending most of their time waiting for sessions that are in more important consumer groups.

Answer: B,C


QUESTION 5
Which two statements are true about Compare Period ADDM?(Choose two.)

A. It is automatically invoked whenever the AWR Compare Period report is invoked.
B. It is automatically invoked whenever ADDM is run by default.
C. It verifies if there is any change in the workload or average resource consumption by the SQL executed during the two specified time periods, to ensure 100% accuracy.
D. It can be used to create a comparison report between the Database Replay workload capture report and the replay report.

Answer: B,D


QUESTION 6
You are administering a database that supports an OLTP workload. Users complain about the degraded response time of a query. You want to gather new statistics for objects accessed by the query and test query performance with the new statistics without affecting other sessions connected to the instance.
TheSTALE_PERCENTstatistic preference is set to a default value and theSTATISTICS_LEVELparameter is set toTYPICAL.
Which two actions would you take to accomplish the task?(Choose two.)

A. Set theSTALE_PERCENTstatistic preference to a higher value than the default, and then gather statistics.
B. Set theSTATISTICS_LEVELparameter toALLfor the instance.
C. Set theINCREMENTALpreference toTRUE, and then gather statistics.
D. Set theOPTIMIZER_USE_PENDING_STATISTICSparameter toTRUEfor the session in which you want to test the query.
E. Set thePUBLISHstatistic preference toFALSE, and then gather statistics.
F. Set theNO_INVALIDATEstatistic preference toTRUE, and then gather statistics.

Answer: B,E