Practice 1 - IZO 083
Practice 1 - IZO 083
Overall explanation
RMAN must be connected as AUXILIARY to the instance of the duplicate
database. The instance of the duplicate database is called the auxiliary
instance. The auxiliary instance must be started with the NOMOUNT option.
RMAN uses an auxiliary instance to create the duplicate database. You must
prepare the auxiliary instance before you begin the duplication.
Duplicating Databases
A subset of the target database can be duplicated.
A backup can be used to duplicate the database but it's not mandatory.
Overall explanation
Basic concepts:
PDB snapshot vs snapshot copy PDB - both are different things.
A PDB snapshot is not created from a storage snapshot. So, it is not related
to storage snapshots anyway.
A snapshot copy PDB can be created from a stand-alone clone PDB. - TRUE
Question 3Skipped
Which four are true about a Recovery Manager (RMAN) duplication without a
TARGET connection? (Choose four.)
Overall explanation
The question is about Recovery Manager (RMAN) duplication without a
TARGET connection.
For backup-based duplication of databases without a connection to the
target database, RMAN cannot determine whether the source database was
in NOARCHIVELOG mode. Therefore, you must use the NOREDO option when
the source database was in NOARCHIVELOG mode when the backups were
taken. You can also use the NOREDO option when you do not want to apply
archived redo log files to a consistent backup.
OR
As there is no target connection, RMAN will not push across the network. It
will be restored from backups via RMAN.
Question 4Skipped
Which two are true about changing the LOCAL_UNDO_ENABLED property to
false in a CDB? (Choose two.)
Overall explanation
Only a proper common user can create an undo tablespace in CDB$ROOT.
That is correct all the time.
CDB$ROOT can have any number of undo tablespaces but only one can be
used by a given database instance. That is correct all the time.
After switching to shared undo mode, PDB-level undo tablespaces can still
stay there and it's not mandatory to drop them.
When in shared undo mode, the CDB ignores any local undo tablespaces that
were created when it was in local undo mode. Oracle recommends that you
delete the unused local undo tablespaces.
Question 5Skipped
Which three actions are performed by Database Upgrade Assistant (DBUA)?
(Choose three.
Overall explanation
The following is a list of examples of DBUA checks, and of actions that DBUA
performs on the database:
Empty database recycle bin.
Identify invalid objects.
Identify deprecated and desupported initialization parameters.
Identify time zone data file version.
Read Using DBUA to Upgrade the Database on Linux, Unix, and Windows
Systems
DBUA uses the following logic to modify or create new required tablespaces:
If the data files are auto-extensible and have enough disk space to
grow, then DBUA continues with the upgrade.
If the data files are not auto-extensible, then DBUA prompts you and
makes the files auto-extensible.
If the tablespaces are auto-extensible and the MAXSIZE initialization
parameter needs adjustment, then DBUA prompts you to for this
adjustment, and adjusts the MAXSIZE parameter.
If there is not enough disk space to grow, then DBUA prompts you to
create space by adding more data files. DBUA does not automatically
add new data files, because DBUA cannot determine where to create
the files.
Question 6
Your container database, CDB1, has an application container, HR_ROOT, with
an application PDB, HR_PDB1. You have the required privilege to clone
HR_PDB1 to container database CDB2, which does not contain HR_ROOT.
Which two are always true? (Choose two.)
Overall explanation
PDB Cloning can be done via dbca or
CREATE PLUGGABLE DATABASE command.
After you create the PDB, it is in mounted mode, and its status is NEW.
Overall explanation
Starting with Oracle Database Release 19c, the management of space in the
fast recovery area is simplified. Oracle Database monitors flashback logs in
the fast recovery area and automatically deletes flashback logs that are
beyond the retention period. When the retention target is reduced, flashback
logs that are beyond the retention period are deleted immediately.
Read Managing Space for Flashback Logs in the Fast Recovery Area
Question 8Skipped
You are managing this configuration: CDB1 is a container database. PDB1
and PDB2 are two pluggable databases in CDB1. USER1.EMP is a table in
PDB1 and USER2.DEPT is a table in PDB2. CDB1 user SYS executes these
commands after connecting successfully to PDB2:
Overall explanation
Changing the session from one PDB to another doesn't commit the DMLs in
the previous PDB session.
A DML on a new PDB session is not allowed if you didn't rollback/commit the
DML on the previous PDB. It will give error.
Question 9Skipped
Which two are true about data movement between a non-CDB and a PDB
using Data Pump? (Choose two.)
Overall explanation
Tablespaces are never created automatically in the export/import process.
As non-CDBs have only conventional users and PDBs have local users,
moving schemas from non-CDB to PDB will try to convert conventional users
to local users and vice versa.
Question 10
Which three are true about RMAN persistent configuration settings,
administration, and their effects? (Choose three.)
Overall explanation
Maintaining the Control File Repository
For example, run SHOW ALL as shown in the following example (sample
output included). The output includes both parameters that you have
changed and those that are set to the default. The configuration is displayed
as the series of RMAN commands required to re-create the configuration. You
can save the output in a text file and use this command file to re-create the
configuration on the same or a different database.
Overall explanation
By default, an AWR snapshot is created every hour and retained for 8 days,
and its collection level is controlled by STATISTICS_LEVEL (ALL | TYPICAL).
Oracle Database uses the SYSAUX tablespace to store AWR data by default.
Starting with Oracle Database 19c, you can specify any other tablespace to
store the AWR data, so as to avoid overloading the SYSAUX tablespace.
Overall explanation
As the root database itself is in the mounted state, all pluggable databases
will be in the MOUNTED state only.
Redo logs open when the container database is in READ WRITE or
READ ONLY WITH APPLY mode.
Domain
Multitenant Architecture
Question 13Skipped
A database is configured in ARCHIVELOG mode. A full RMAN backup exists
but no control file backup to trace has been taken. A media failure has
occurred. In which two scenarios is incomplete recovery required? (Choose
two.)
Overall explanation
You can not do complete recovery if:
You have lost all copies of the control file.
You have lost archive logs after the last good backup.
If you restore the control file from backup, then you must perform media
recovery of the whole database and then open it with the OPEN RESETLOGS
option, even if no data files must be restored.
If the lost group is Current then it is the log that Oracle is currently writing
to. Attempt to clear the log; if impossible, then you must restore a backup
and perform incomplete recovery up to the most recent available log.
Read Recovering After the Loss of All Members of an Online Redo Log Group
Domain
RMAN Backup and Recovery
Question 14Skipped
Which three are true about the SQL Tuning Advisor? (Choose three.)
Overall explanation
Use SQL Tuning Advisor to obtain recommendations for improving
performance of high-load SQL statements, and prevent regressions by only
executing optimal plans.
Domain
Database Performance Tuning and Dynamic Performance Views
Question 15Skipped
Which three are located by using environment variables? (Choose three.)
Overall explanation
The Optimal Flexible Architecture (OFA) compliant path is dictated by
the environment variable ORACLE_BASE.
The list of ASM disk group names is dictated by the ASM instance parameter
ASM_DISKGROUPS.
Domain
Optimal Flexible Architecture and Oracle Managed Files
Overall explanation
By definition, the common objects can be present in CDB$ROOT or
application root. But, you can not create your own common objects in
CDB$ROOT while you can do so in the application root.
Domain
Multitenant Architecture
Overall explanation
You can improve backup performance by adjusting the level of
multiplexing, which is number of input files simultaneously read and then
written into the same RMAN backup piece.
Read Tuning the Read Phase
When reading from an ASM disk group, use asynchronous disk I/O if
possible. Also, if a channel reads from a raw device managed with a
volume manager, then asynchronous disk I/O also works well.
Domain
RMAN Backup and Recovery
Question 18Skipped
Which two are true about SQL Performance Analyzer (SPA)? (Choose two.)
Overall explanation
Comparing Performance Measurements
CPU time
User I/O time
Buffer gets
Physical I/O
Optimizer cost
I/O interconnect bytes
Any combination of these metrics in the form of an expression
Each SQL statement in the SQL tuning set is executed separately from other
SQL statements, without preserving their initial order of execution or
concurrency.
Domain
Oracle Software Installation
Overall explanation
RMAN encryption keys are stored in a database keystore. - TRUE
Transparent encryption
This is the default mode and uses the Oracle software keystore. A
keystore is a password-protected container used to store a
Transparent Data Encryption (TDE) key. In previous releases, this
container was referred to as a wallet.
Domain
RMAN Backup and Recovery
Overall explanation
The Oracle Preinstallation RPM can be used to configure the Oracle database
installation owner, the Oracle Inventory group, and an Oracle administrative
privileges group. - TRUE
Oracle Database installation on Linux can be done before or after the Grid
Infrastructure installation.
If you plan to use Oracle Restart or Oracle ASM, then you must install
Oracle Grid Infrastructure for a standalone server before you install and
create the database. Otherwise, you must manually register the database
with Oracle Restart.
Domain
Oracle Software Installation
Overall explanation
Basic concepts:
Automatic Shared Memory Management -> Only components within SGA are
auto-managed by Oracle. PGA remains a separate component.
Automatic Memory Management -> SGA as well as PGA, both are auto-
managed by Oracle. So, memory can be allocated/deallocated between
SGA and PGA.
The total memory that the instance uses remains relatively constant, based
on the value of MEMORY_TARGET, and the instance automatically distributes
memory between the system global area (SGA) and the instance program
global area (instance PGA). As memory requirements change, the instance
dynamically redistributes memory between the SGA and instance PGA.
Domain
Managing Memory
Overall explanation
FLASHBACK DATABASE uses flashback logs and archived logs, not undo, and
brings back the whole database.
FLASHBACK TABLE ... to SCN/TIMESTAMP uses undo and brings back the
whole table.
Read FLASHBACK TABLE
FLASHBACK TABLE ... TO BEFORE DROP uses recycle bin and brings back
the indexes too but it does not recover referential constraints.
Domain
Flashback Technologies
Overall explanation
For metric alert event types, an event (metric alert) is raised based on the
metric threshold values. These metric alert events are called stateful alerts.
For example, tablespace usage > 85%.
For those metric alert events that are not tied to the state of a monitored
system (for example, snapshot too old, or resumable session suspended ),
these alerts are called stateless alerts. Because stateless alerts are not
cleared automatically, they need to be cleared manually. You can perform a
bulk purge of stateless alerts using the clear_stateless_alerts EM CLI verb.
Overall explanation
As PDB is being plugged into the same CDB, PDB's data files are present in
their original location.
Run the CREATE PLUGGABLE DATABASE ... USING statement, specifying the
XML file or the .pdb archive file in the USING clause. Specify other clauses
when they are required.
Domain
Creating and Removing PDBs and Application Containers
Overall explanation
All metrics are instance related. - FALSE
Performance Metrics
Performance metrics give an overview of where time is spent in the
system and enable comparisons of wait times across the system.
Resource Metrics
Resource metrics give an overview of where time is spent in the
system for each resource requested.
Performance Satisfaction Metrics
A useful metric for analyzing workload performance is a common and
consistent numeric measure of how work requests in a Performance
Class are doing against the current Performance Objective for that
Performance Class.
A space usage management alert is a stateful alert, so it will auto clear once
issue is resolved.
For metric alert event types, an event (metric alert) is raised based on the
metric threshold values. These metric alert events are
called stateful alerts. For example, tablespace usage > 85%.
For those metric alert events that are not tied to the state of a monitored
system (for example, snapshot too old, or resumable session suspended ),
these alerts are called stateless alerts. Because stateless alerts are not
cleared automatically, they need to be cleared manually. You can perform a
bulk purge of stateless alerts using the clear_stateless_alerts EM CLI verb.
For example, MMON writes when a metric violates its threshold value,
taking snapshots, and capturing statistics value for recently modified SQL
objects.
Domain
Database Monitoring
Overall explanation
The opatchauto utility can take care of the stop and start of all components
as needed. It requires the Oracle Grid Infrastructure and Oracle Database
instances to be shut down before being invoked.
So, it doesn't require the Oracle Grid Infrastructure and Oracle Database
instances to be shut down before being invoked.
The high-level phases follow. They can be specified as (a) book-keeping, (b),
life-cycle operations, of (c) configuration change operations
Patch Plans - They are optional and advanced inputs. However, internally,
OPatchAuto always selects a patch plan to guide its execution.
Patch Plans
Domain
OPatch and Patching
Overall explanation
OLTP database needs very good transaction response time as multiple
small DMLs are done all the time.
The data warehouse needs good response time but not good transaction
response time as database warehouse doesn't perform transactions as such.
The seed type template contains both the structure and the physical
data files of an existing database, referred to as the seed database. Your
new database starts as a copy of the seed database, and requires only the
following changes:
Read createTemplateFromDB
Domain
Oracle Software Installation
Overall explanation
Single-byte encoding schemes are efficient. They take up the least amount
of space to represent characters and are easy to process and program with
because one character can be represented in one byte.
Multibyte character sets cause less efficient space utilization than single byte
character sets.
Domain
Database Globalization Support
Overall explanation
If the database is in NOARCHIVELOG mode, you have to shutdown the
database and copy the files using cp or similar commands.
The files copied in such a way can be later added to the RMAN catalog as
image copies because the copied files are full data files image.
If the database is in ARCHIVELOG mode, then the backup can be taken even
database is running using ALTER DATABASE BEGIN BACKUP followed by
copying of data files and archive log files.
You can make a consistent whole database backup of all files in a database
after the database has been shut down with the NORMAL, IMMEDIATE, or
TRANSACTIONAL options. A whole database backup taken while the
database is open or after an instance failure or SHUTDOWN ABORT
command is inconsistent. In such cases, the files are inconsistent with the
database checkpoint SCN.
Domain
User-Managed Backups and Recovery
Overall explanation
Time model statistics use time to identify quantitative effects about specific
actions performed on the database, such as logon operations and parsing.
The alert log file will not have any tuning information.
Domain
Database Performance Tuning and Dynamic Performance Views
Overall explanation
Oracle Grid Infrastructure upgrades are always out-of-place upgrades.
You cannot perform an in-place upgrade of Oracle Grid Infrastructure to
existing homes.
The same user that owned the earlier release Oracle Grid
Infrastructure software must perform the Oracle Grid Infrastructure
19c upgrade.
Oracle ASM and Oracle Clusterware both run in the Oracle Grid Infrastructure
home.
When you upgrade Oracle Grid Infrastructure, you upgrade to an Oracle Flex
Cluster configuration.
After you have upgraded Oracle Grid Infrastructure 19c, you can install
individual software patches by downloading them from My Oracle Support.
Domain
Oracle Software Installation
Overall explanation
During instance recovery, the database must apply the changes that occur
between the checkpoint position and the end of the redo thread.
Instead of waiting for the SMON process to roll back terminated transactions,
new transactions can roll back individual blocks themselves to obtain the
required data.
Read Instance Recovery Phases
Question 34Skipped
Examine this output:
In other words, any PDB not having a resource plan directive under the
current CDB plan will get the resources according to
ORA$DEFAULT_PDB_DIRECTIVE.
Similarly, any PDB is not limited to any minimum % and can use more than
dictated by its resource plan directive.
Domain
Database Resource Manager
Overall explanation
You can perform tablespace conversion with the RMAN CONVERT
TABLESPACE command on the source host, but not on the destination host.
The CONVERT TABLESPACE command does not perform in-place conversion
of data files. Rather, the command produces output files in the correct
format for use on the destination platform. The command does not alter the
contents of data files in the source database.
Domain
Transportable Tablespace Sets
Overall explanation
For a tablespace to be backed up in read/write mode, the database must be
in ARCHIVELOG mode. You can take Level 0/1 backups.
Domain
RMAN Backup and Recovery
Overall explanation
The CDB property LOCAL_UNDO_ENABLED is false so undo is in shared mode.
So, recovery can be done only by connecting to CDB as the target, not by
connecting to PDB as the target.
When a PDB is closed in an open or closed CDB, you can recover the PDB to
a past point in time. The technique depends on the undo mode of the CDB.
The following table describes the differences.
Read here
You can perform point-in-time recovery (PITR) of one or more PDBs. Backups
created before the PITR operation remain valid and they can be used if a
media failure occurs.
During a PDB PITR operation, all the data files for the PDBs are recovered in
place. If the CDB uses shared undo, the UNDO tablespace cannot be
recovered in place because it is shared by all PDBs in the CDB. Therefore,
RMAN restores the UNDO, SYSTEM, and SYSAUX tablespaces to an auxiliary
destination and then uses the undo information to recover the PDB to the
target time.
Read here
Question 38Skipped
Your SALES_ROOT application container has two application PDBs.
The SALES_APP application has a common table, FIN.REVENUE, in
the two PDBs. Examine this query and its output:
Which two are true? (Choose two.)
Overall explanation
The CONTAINERS clause cannot be used in queries on the REVENUE table.
- FALSE
A container map can define a logical partition key on a column for a common
object.
A container map exists for the REVENUE table, but is not enabled. - FALSE
The REVENUE table partitions are not pruned across the PDBs automatically.
- FALSE
The CONTAINER_DEFAULT is NO, so no automatic pruning.
Domain
Multitenant Architecture
Overall explanation
The number of table rows is considered when evaluating the cost of
accessing a table using an index. - FALSE
When a query uses an index, the blocks of the index are hit first then actual
table blocks are hit.
Index balanced B*Tree height is considered when evaluating the cost of
using an index. - TRUE
Statistics collected using DBMS_STATS always yield the best optimizer result.
- FALSE
The Statistics Advisor can help recommend the best way to gather statistics.
- TRUE
For example, the advisor might discover a violation to the rule of not using
sampling when gathering statistics, and recommend specifying
AUTO_SAMPLE_SIZE instead. The advisor stores the recommendations in
DBA_ADVISOR_RECOMMENDATIONS.
Domain
Gathering Optimizer Statistics
Overall explanation
Starting with Oracle Grid Infrastructure 19c, the feature formerly known as
Rapid Home Provisioning (RHP) is now Oracle Fleet Patching and Provisioning
(Oracle FPP).
Oracle Fleet Patching and Provisioning (Oracle FPP) enables mass
deployment and maintenance of standard operating environments for
databases, clusters, and user-defined software types. With Oracle Fleet
Patching and Provisioning, you can also install clusters and provision, patch,
scale, and upgrade Oracle Grid Infrastructure and Oracle Database 11g
release 2 (11.2), and later. Additionally, you can provision applications and
middleware.
Domain
Rapid Hope Provisioning
Overall explanation
The RMAN BACKUP VALIDATE command will do only reads, no writes. So, if
this takes almost the same time as an actual backup, it means that read is
the problem, else write is the problem.
The parameter DBWR_IO_SLAVES is relevant for synchronous I/O systems
only.
Read DBWR_IO_SLAVES
If the rate is lower than the rate that the device specifies, then consider
tuning this aspect of the backup and restore process.
Short waits are the number of times the backup or restore process made
an operating system call to poll for I/O completion in a nonblocking mode.
Domain
RMAN Backup and Recovery
Overall explanation
You can not do complete recovery if:
You have lost all copies of the control file.
You have lost archive logs after the last good backup.
If you restore the control file from backup, then you must perform media
recovery of the whole database and then open it with the OPEN RESETLOGS
option, even if no data files must be restored.
V$SESSION_EVENT
V$SESSION_WAIT - displays only the current or last wait for each session, not
all waits.
V$SESSION_WAIT
V$SESSION_WAIT_CLASS
Domain
Database Performance Tuning and Dynamic Performance Views
Overall explanation
Virtual Private Database (VPD) policies on objects in an application root are
automatically synchronized with all application PDBs contained in the
application container. - FALSE
Only common VPD policies for common objects will be applied to all PDBs in
the application container.
In an application PDB:
When you create scripts for application install, upgrade, patch, or uninstall
operations, you can include SQL statements within the ALTER PLUGGABLE
DATABASE app_name BEGIN INSTALL and ALTER PLUGGABLE DATABASE
app_name END INSTALL blocks to perform various operations. If you include
TSDP statements within these blocks, then the TSDP statements will fail. You
can, however, include TSDP statements outside these blocks in the script.
Read How a Multitenant Environment Affects Transparent Sensitive Data
Protection
You cannot create Oracle Label Security policies in the CDB root or the
application root.
Domain
Oracle Database Security
Overall explanation
It is possible to duplicate multiple PDBs at once.
You can duplicate one or more tablespaces within a PDB to a new CDB by
using the DUPLICATE command.
For PITR of the whole database, the database must be in MOUNTED mode.
Domain
RMAN Backup and Recovery
Overall explanation
Here, the question is asking about how to migrate a table 'after upgrading a
database'. It is not asking how to upgrade.
Once you have got a newer version database created, then you can move
the data from the older version database to the newer version database
using the below methods:
Domain
Database Upgrade
Overall explanation
Duplexing Backup Sets
Domain
RMAN Backup and Recovery
Question 49Skipped
Examine these queries and their output:
After a system crash, an instance restart and an attempted opening
of the PDBs result in:
Which two are true? (Choose two.)
Overall explanation
The CDB property LOCAL_UNDO_ENABLED is false so undo is in shared mode.
But that has no bearing in the current scenario. But, recovery can be done
only by connecting to CDB as the target, not by connecting to PDB as the
target.
Datafile 24 belongs to PDB1, so only PDB1 must be closed for recovery. CDB
and other PDBs may be closed or open; that will not impact the recovery of
PDB1.
When a PDB is closed in an open or closed CDB, you can recover the PDB to
a past point in time. The technique depends on the undo mode of the CDB.
The following table describes the differences.
Read Point-in-Time Recovery in a Multitenant Environment
You can perform point-in-time recovery (PITR) of one or more PDBs. Backups
created before the PITR operation remain valid and they can be used if a
media failure occurs.
During a PDB PITR operation, all the data files for the PDBs are recovered in
place. If the CDB uses shared undo, the UNDO tablespace cannot be
recovered in place because it is shared by all PDBs in the CDB. Therefore,
RMAN restores the UNDO, SYSTEM, and SYSAUX tablespaces to an auxiliary
destination and then uses the undo information to recover the PDB to the
target time.
Domain
RMAN Backup and Recovery
Overall explanation
To back up all recovery-related files to tape, use the RMAN BACKUP
RECOVERY FILES command once a week.
This ensures that all current incremental, image copy, and archived log
backups on disk are backed up to tape.
Domain
RMAN Backup and Recovery
Overall explanation
In certain cases, Media Management messages may not be written to
sbtio.log file.
Read the messages from the bottom up, because this is the order in which
RMAN issues the messages. The last one or two errors displayed in the stack
are often the most informative.
If you LOG option on the RMAN command, the output will not show on
standard output and will go to the log file only.
When running RMAN from the command line, you can direct output to the
following places:
Standard output
A log file specified by LOG on the command line or the SPOOL LOG
command
A file created by redirecting RMAN output (for example, in UNIX, using
the '>' operator)
Domain
RMAN Backup and Recovery
Overall explanation
FLASHBACK DATABASE uses flashback logs and archived logs, not undo, and
brings back the whole database.
Read here
Read here
FLASHBACK TABLE ... to SCN/TIMESTAMP uses undo and brings back the
whole table.
Read here
FLASHBACK TABLE ... TO BEFORE DROP uses recycle bin and brings back
the indexes too but it does not recover referential constraints.
Read here
FLASHBACK DATA ARCHIVE requires undo to store all versions of all rows of a
table being tracked. - FALSE
Domain
Flashback Technologies
Overall explanation
To convert a whole database to a different platform, both platforms must use
the same endian format. The RMAN CONVERT DATABASE command
automates the movement of an entire database from a source platform to a
destination platform.
You can convert the format of the data files either on the source platform or
on the destination platform if you are transporting the whole database
because full database transport requires the endian format to be the same
on source and target platforms anyway.
nid TARGET=SYS
Domain
Transporting Data Across Platforms
Overall explanation
The USER_TABLESPACES clause of the CREATE PLUGGABLE DATABASE
statement specifies which tablespaces are available in the new PDB.
You can use this clause to specify one of the following options:
Domain
Multitenant Architecture
Overall explanation
The real-time query is a must for automatic block repair.
Block recovery behavior depends on whether the data block corruption was
discovered on the primary database or the physical standby database.
Read DB_BLOCK_CHECKING
Domain
Block Media Recovery
Question 56Skipped
Examine the command for creating pluggable database PDB2 in
container database CDB2.
1. Enable OMF at the CDB level which means setting init parameters -
DB_CREATE_FILE_DEST, DB_CREATE_ONLINE_LOG_DEST_n and
DB_RECOVERY_FILE_DEST
OR
Domain
Multitenant Architecture
Overall explanation
Moves one or more databases from a source working copy or any Oracle
Database home to a patched working copy.
The Fleet Patching and Provisioning Server acts as a central server for
provisioning Oracle Database homes, Oracle Grid Infrastructure homes, and
other application software homes, making them available to the cluster
hosting the Fleet Patching and Provisioning Server and to the Fleet Patching
and Provisioning Client clusters, their targets, and non-client targets.
You can not switch to a read-only Oracle home. Rather, read-only Oracle
home images are used as a source to create working software homes.
The Fleet Patching and Provisioning Server stores and serves gold images of
software homes. These images must be instantiated on the Fleet Patching
and Provisioning Server.
Images are read-only, and you cannot run programs from them. To create a
usable software home from an image, you must create a working copy of a
gold image. You cannot directly use images as software homes. You can,
however, use images to create working copies (software homes).
Domain
Rapid Hope Provisioning
Question 58Skipped
Examine this configuration: CDB1 is a container database.
COMMON_USER_PREFIX is C##. PDB1 is a pluggable database
contained in CDB1. APP1_ROOT is an application container contained
in CDB1. APP1_PDB1 is an application PDB contained in APP1_ROOT.
You execute these commands successfully:
A common user is a database user that has the same identity in the root and
in every existing and future pluggable database (PDB). Every common user
can connect to and perform operations within the root, and within any PDB in
which the common user has privileges.
Any user created at the CDB level will always be a common user.
A common user reflects in all PDBs, hence a user with the same name cannot
be created again in any of the PDBs.
You can grant more privileges to a common user inside the PDB than it was
given at the CDB level. You can revoke CDB-level privileges from a common
user inside the PDB. So, a common user can have different privileges
between CDB and PDB.
In addition to common users propagating from the CDB, you can create local
users in the PDBs as needed. The same local username can exist in multiple
PDBs as the scope of local users is limited to the PDB level only.
Domain
Multitenant Architecture
Question 59Skipped
You have configured RMAN SBT channels to write backups to media.
You then take an RMAN backup by using this command:
Read keepOption
If the KEEP UNTIL TIME period has not expired for an archival backup, RMAN
does not consider the backup as obsolete. As soon as the KEEP UNTIL period
expires, however, the backup is immediately considered to be obsolete,
regardless of any configured backup retention policy.
Domain
RMAN Backup and Recovery
Overall explanation
In the Oracle Restart environment, starting a component will automatically
start its dependency components first.
When starting a component with SRVCTL, Oracle Restart can first start any
components on which this component depends. When stopping a component
with SRVCTL, Oracle Restart can stop any dependent components first.
Domain
Oracle Restart
Question 61Skipped
Oracle Managed Files (OMF) is enabled in a CDB and this command is
successfully executed:
Overall explanation
The clause APPLICATION CONTAINER creates an application container (to
start with, it will have an application root container only).
A default service with the name same as the container is always created
whether you create CDB root, CDB PDB, application root, or application PDB.
If there is no seed PDB in the application container, then CDB's PDB$SEED is
used to create new PDBs.
Domain
Multitenant Architecture
Overall explanation
The package DBMS_STATS will gather the stats only for the connected
container which can be root or any of the pluggable databases.
SYSTEM or any kind of stats gathering can be done at a pluggable level too,
similar to CDB$ROOT level.
Read DBMS_STATS Overview
Domain
Gathering Optimizer Statistics
Overall explanation
V$SESSION_EVENT shows these details for existing sessions, not past
sessions.
V$SESSION_EVENT
V$SERVICE_EVENT displays aggregated wait counts and wait times for each
wait statistic.
V$SERVICE_EVENT
V$SESSION_WAIT_CLASS
V$SESSION_WAIT
Domain
Database Performance Tuning and Dynamic Performance Views
Overall explanation
Primary keys will not speed up all queries as not all queries will use the
primary keys columns.
Check constraints don't speed up updates, rather they slow them down as
constraints have to be maintained on each update.
Foreign keys don't speed up the joins. Rather, indexes on foreign keys can
speed up the joins.
The physical data model manifests the logical data model into database
tables and relationships (or foreign key constraints). Partitions, indexes, and
Materialized Views have been added to aid performance.
Reference Tables
Lookup Tables
Base Tables
Derived Tables
Aggregate Tables
Sequences
Domain
Database Performance Tuning and Dynamic Performance Views
Overall explanation
In Oracle documentation, a user created to own only Oracle Grid
Infrastructure software installations is called the Grid user (grid). This user
owns both the Oracle Clusterware and Oracle Automatic Storage
Management binaries. A user created to own either all Oracle installations, or
one or more Oracle database installations, is called the Oracle user (oracle).
You can have only one Oracle Grid Infrastructure installation owner, but you
can have different Oracle users to own different installations.
Oracle software owners must have the Oracle Inventory group as their
primary group, so that each Oracle software installation owner can write to
the central inventory (oraInventory), and so that OCR and Oracle Clusterware
resource permissions are set correctly. The database software owner must
also have the OSDBA group and (if you create them) the OSOPER,
OSBACKUPDBA, OSDGDBA, OSRACDBA, and OSKMDBA groups as secondary
groups.
Overall explanation
Instance recovery uses only online redo log files and current online data files
to synchronize the data files and ensure that they are consistent.
Read Overview of Instance Recovery
Domain
Instance Recovery
Question 67Skipped
Examine this configuration: CDB1 is a container database. PDB1 and
PDB2 are pluggable databases in CDB1. PDB1 and PDB2 are OPEN in
READ WRITE mode. You execute these commands successfully:
Overall explanation
A Virtual Private Catalog is an optional feature to allow the separation of
duties for different databases.
A virtual private catalog is a set of security policies that restrict user access
to a subset of a base recovery catalog.
Domain
RMAN Backup and Recovery
Question 69Skipped
Examine this configuration: CDB1 is an Oracle Database 12c Release
2 database containing pluggable databases PDB$SEED, PDB1, and
PDB2. PDB$SEED is open READ ONLY PDB1 is open READ WRITE
PDB2 is MOUNTED. ORACLE_HOME is
/u01/app/oracle/product/18.1.0/dbhome_1. You execute these
commands before upgrading the database to the current release:
Domain
Database Upgrade
Overall explanation
The amount of memory available for the library cache can drastically affect
the parse rate of Oracle Database. To help you correctly size the library
cache, Oracle Database provides the following shared pool advisory views:
V$SHARED_POOL_ADVICE
V$LIBRARY_CACHE_MEMORY
V$JAVA_POOL_ADVICE
V$JAVA_LIBRARY_CACHE_MEMORY
Domain
Memory Advisors
Overall explanation
The advisor task runs automatically in the maintenance window, but you can
also run it on demand.
The advisor analyzes how you are currently gathering statistics (using
manual scripts, explicitly setting parameters, and so on), the effectiveness
of existing statistics gathering jobs, and the quality of the gathered
statistics. Optimizer Statistics Advisor does not gather a new or alternative
set of optimizer statistics, and so does not affect the workload. Rather,
Optimizer Statistics Advisor analyzes information stored in the data
dictionary, and then stores the findings and recommendations in the
database.
Domain
Gathering Optimizer Statistics
Overall explanation
Few thumb rules to remember when using application containers:
The application seed PDB can be added and dropped at any time and doing
so will not impact any already created application PDBs.
When creating a new application PDB, it will clone from the application seed
PDB if present, else it will clone from the CDB PDB seed PDB$SEED.
If the application seed was created from the PDB seed, then switch container
to the application seed, and use an ALTER PLUGGABLE DATABASE statement
with the SYNC clause to synchronize the application seed. Synchronizing with
the application root instantiates one or more of the application root’s
applications in the application seed.
If the application seed was created from an application root, then switch
container to the application seed, and run the pdb_to_apppdb.sql script to
convert the application root to an application PDB.
Domain
Multitenant Architecture
Overall explanation
ADDM is run automatically after each AWR but can be run manually by a
DBA.
ADDM analyzes the period covered by the last AWR which is one hour by
default.
Results are written to the ADDM report file, not the alert log.
Domain
Automatic Performance Diagnostics
Overall explanation
Privilege Analysis is included in Oracle Enterprise Edition and no longer
requires Database Vault. - TRUE
Unified Auditing can be configured to audit only events that are issued
indirectly by an audited user. - FALSE
You cannot audit just indirect statements. You can audit either direct-only
(TOP-LEVEL) or all (default).
The ONLY TOPLEVEL clause in the CREATE AUDIT POLICY statement enables
you to audit only the SQL statements that are directly issued by an end user
by honoring the audit configuration in the audit policy.
Domain
Oracle Database Security
Overall explanation
By default, an AWR snapshot is created every hour and retained for 8 days.
Domain
Automatic Workload Repository
Question 76Skipped
You plan to install Oracle Grid Infrastructure for a Standalone
Server and Oracle Database for the first time on a server. Examine
this command and its outcome:
Or, you can create and use any user other than 'oracle' and 'grid' for Oracle
software installations.
Here, 'oracle' is part of 'oinstall' group so 'oracle' will be the inventory owner.
If the Oracle software owner user (oracle or grid) does not exist, or if you
require a new Oracle software owner user, then create it as described in this
section.
The following example shows how to create the user oracle with the user ID
54321; with the primary group oinstall; and with secondary groups dba,
asmdba, backupdba, dgdba, kmdba, and racdba:
Domain
Oracle Software Installation
Overall explanation
SBT tape compression (provided by a media management vendor) and RMAN
compression (provided by Oracle) are different things. They can be used
independently. Moreover, Oracle doesn't recommend using them together.
If you are backing up to tape and your tape device performs its own
compression, then do not use both RMAN backup set compression and the
media manager vendor's compression.
The number of backup pieces and backup sets are not dependent on the
number of tape drives.
Domain
RMAN Backup and Recovery
Overall explanation
As a thumb rule, any password cannot be put into any file.
If you know the backup piece name that contains the control file (for
example, from the media manager or because the piece is on disk), then you
can specify the piece name using the RESTORE CONTROLFILE FROM
'filename' command. The database records the location of every autobackup
in the alert log.
The catalog database doesn't need to be ARCHIVELOG mode itself for the
catalog to work but is recommended.
The recovery catalog owner for the base recovery catalog must be granted
the RECOVERY_CATALOG_OWNER role. The recovery catalog is created in
the default tablespace of the recovery catalog owner.
When you use a recovery catalog, RMAN requires that you maintain a
recovery catalog schema. The recovery catalog is stored in the default
tablespace of the schema. Privileged users such as SYS cannot be the owner
of the recovery catalog.
Decide which database you will use to install the recovery catalog schema,
and also how you will back up this database. Also, decide whether to operate
the catalog database in ARCHIVELOG mode, which is recommended.
Domain
RMAN Backup and Recovery