82 New
82 New
Which two will ensure that TBS1 is dropped and its datafiles are deleted from the file system?
The INCLUDING CONTENTS AND DATAFILES clause must be added to the command.
AWR Snapshots are used to capture database statistical information from the SGA periodically,
which are stored in the AWR.
5. Which three files are used by conventional path SQL*Loader when the TABLE Option is not
specified?
Input files
Control files
Bad files
7. The SALES_Q1 and USERS tablespaces exist in one of your databases, and TEMP is a temporary
tablespace.
Which three statements must be true so that the sales user can create tables in SALES_Q1?
-The sales user must have been granted the CREATE SESSION privilege.
-The sales user must have a quota on the SALES_Q1 tablespace to hold the initial extents of all
tables they plan to create in their schema.
-The sales user must have been granted the CREATE TABLE privilege.
Shutdown abort
Startup force
10. Which three functions are performed by dispatchers in a shared server configuration?
Sending shared server session responses back to requesters on the appropriate connection
Writing inbound requests to the common request queue from all shared server connections
Grant INSERT ANY TABLE, SELECT ANY TABLE on schema HR to app_dev WITH ADMIN OPTION;
The INSERT ANY TABLE privilege was revoked from the app_dev user, cascading the revoke to all
users app-dev granted the privilege to.
User app_dev can grant INSERT ANY TABLE, SELECT ANY TABLE to other users for only the HR
schema.
12. The SCOTT/TIGER user exists in two databases, BOSTON_DB and DALLAS_DB, in two different
locations.
CREATE DATABASE LINK dblink1 CONNECT TO scott IDENTIFIED BY tiger USING 'dallas_db';
How do you execute the command so that only SCOTT in BOSTON_DB can access the SCOTT
schema in DALLAS_DB?
as SCOTT in BOSTON_DB
13. How can you view or set thresholds for database metric alerts?
You can use the DBMS_SERVER_ALERT P/L SQL package GET_THRESHOLD and SET_THRESHOLD
procedures to view or modify metric thresholds.
14. No SAVE STATE was previously used on "PDB1. Which of these scenarios is the correct required
sequence of operations for a PDB1 to open automatically after a CDB restart?
Ensure PDB1 is open and issue the ALTER PLUGGABLE DATABASE PDB1 SAVE STATE.
15. Which two privileges or roles can be granted to a user for viewing the audit records stored in
the consolidated Unified Audit location?
A SQL Plan Directive is additional information and instructions that the Optimizer can use to
generate a more optimal plan.
Oracle Database uses an execution plan, which is a series of operations performed in sequence to
execute a SQL statement.
The Optimizer is a part of the Oracle Database server that creates the execution plan for a SQL
statement.
19. Which of the following is NOT a requirement for the remote CDB to clone a PDB using DBCA?
The network administrator must configure the firewall to allow incoming connections to the
listener port.
20. Which two statements are true about Oracle Data Dictionary?
22. Which one of the following operations is part of database mandatory audits?
Tables
Undo
Clusters
Services Summary...
Instance DB01 ", status UNKNOWN, has 1 handler(s) for this service...
25. In the ORCL database, UNDOTBS1 is the active undo tablespace with these properties:
1. A size of 100 MB
2. AUTOEXTEND is off
UNDOTBS1 fills with uncommitted undo 10 minutes after the database opens.
What will happen when the next update is attempted by any transaction?
It fails and returns the error message "ORA-30036: unable to extend segment by 8 in undo
tablespace 'UNDOTBS1'".
26. How do you monitor database performance proactively?
27. A database is configured to use automatic undo management with temporary undo enabled.
28. Which two statements about managing a pluggable database (PDB) are true?
You can modify the settings of each PDB without changing the mode of the PDB.
During the PDB creation, you can specify the tablespace where the PDB data files will be stored.
FROM dba_objects);
2017-03-06T12:15:17.183438+05:30
statement in resumable session 'User U1 (136), Session 1, Instance 1' was suspended due to ORA-
01536: space quota exceeded for tablespace 'DATA'
Which are three actions any one of which the DBA could take to resume the session?
30. Which two statements are true about UNDO and REDO?
DML modifies Oracle database objects and generates UNDO and REDO.
31. Which option is used to implement basic backup and recovery procedures?
1. In which open mode is an instance first associated with a specific database at startup?
mount mode
Horizontal
3. Which container in a Multitenant Container Database (CDB) includes the root and all PDBs?
System container
5. Which option contains data files to store metadata and common users?
CDB$ROOT
1. Which Enterprise Manager Cloud Control 13c feature consolidates Automatic Workload
Repository (AWR) reports using the AWR warehouse?
Silent
3. Which command can connect to an Oracle database instance using operating system
authentication?
4. You must perform database administration tasks on multiple database instances and listeners.
A template is used by DBCA to create new databases and duplicate existing databases.
$ cat CrCDBTEST.sh
How many databases are created when the CrCDBTEST.sh script is executed?
Unicode (ALI16UTF16)
4. Which two configuration changes can be done to an existing database using DBCA?
CORRECT
SYSAUX
CORRECT
$ cat initCDBDEV.ora
DB_CREATE_FILE_DEST='/u01/app/oracle/oradata'
ENABLE_PLUGGABLE_DATABASE=true
db_name='CDBDEV'
audit_file_dest= '/u01/app/oracle/admin/CDBDEV/adump'
db_recovery_file_dest='/u01/app/oracle/fast_recovery_area'
diagnostic_dest='/u01/app/oracle'
dispatchers='(PROTOCOL=TCP) (SERVICE=CDBDEVXDB)'
control_files = (/u01/app/oracle/oradata/ora_controll,
/u01/app/oracle/fast_recovery_area/ora_control2)
compatible ='19.0.0.0'
DB_CREATE_FILE_DEST
GROUP 2 ('/u01/app/oradata/CDB1/redo2a.log',
SEED FILE_NAME_CONVERT=('/u01/app/oradata/CDB1','/u01/app/oradata/CDB1/seed');
Which two statements must be true to generate the names of PDBSSEED files using the names of
the CDB root files?
Which clause causes Oracle to maintain bitmap in each data file to keep track of the free or used
status of blocks in it?
5. Which initialization parameter maps names of existing files to new file names when creating a
CDB?
DB_FILE_NAME_CONVERT
SYSAUX
Entering which database state for the CDB causes the creation of redo log files and CDBSROOT data
files?
OPEN
1. In which instance state can a DBA rename data files and perform full database recovery?
MOUNT
2. Which command locates, opens, and reads all of a database's control files?
CORRECT
1. You must be able to investigate problems, view health check reports, and package and upload
first-failure data to Oracle Support?
V$PARAMETER2
3. Which two statements are true about the Automatic Diagnostic Repository (ADR)?
It is a file-based repository.
The diagnostic data is immediately captured and tagged with the incident number.
Trace files
ERROR at line 1:
6. The date format for displaying the HIRE_DATE column is altered from dd-mm-yy to mm-dd-yy by
modifying the NLS_DATE_FORMAT parameter.
When the database instance is restarted, the previous date format is reflected.
listener.ora
It automatically configures the default listener during a typical installation of Oracle Database.
It uses one server process to handle requests for a single client process.
6. Which two statements are true about listeners?
The default listener is automatically populated with available database services by dynamic service
registration.
Netmgr
2. Which two statements are true about the local naming method?
It adds net service names and connect descriptors to the tnsnames.ora file.
5. Which naming method stores net service names in Distributed Computing Environment (DCE)
Cell Directory Services (CDS)?
External naming
LSNRCTL> status
2. You have created a new database 'findb' and used the listener.ora file to associate a new listener
'finlist' with it. Which listener control utility command will you use to enable finlist to listen to the
services associated with findb?
3. Which command is used to initiate service registration immediately after a listener starts?
4. Which two statements are true about listener dynamic service registration?
It allows a time lag between database instance startup and the users logging in to the instance.
6. Which two statements are true about the Listener Registration (LREG) process?
2. What is the correct flow of control when shared server configuration is used?
Client-->Listener-->Dispatcher-->Server Process-->Server
4. Which two statements are true about Oracle shared server configuration?
Cursor state contains runtime memory values for the SQL statement.
5. Which parameter can be used to limit the amount of memory allocated to a session?
PRIVATE_SGA
6. Which initialization parameter specifies the number of shared servers when database instance
starts?
SHARED_SERVERS
1. Which command changes the status of a newly created PDB from new to normal?
2. Which method must be used to provision a PDB to test a patch on a production application to
enhance the application to a new version?
3. Which command verifies the default service created for a PDB created from PDB$SEED?
FILE_NAME_CONVERT
DB_CREATE_FILE_DEST
PDB_FILE_NAME_CONVERT
6. What is automatically created by Oracle when a new PDB is created from PDB$SEED?
1. Which statement is true about cloning refreshable copy PDBs in hot mode?
They are used to execute SQL statements in a remote PDB as if it were a local PDB in the same
CDB.
FILE_NAME_CONVERT= ('u01/app/oracle/oradata/ORCLCDB/orclpdb3',
'/u01/app/oracle/oradata/CDBTEST/pdb_relocated');
ERROR:
5. Which procedure generates an XML file to plug a non-CDB into a CDB as a PDB for migrating
data?
DBMS_PDB.DESCRIBE
Correct.
6. Which two conditions must be satisfied for proxying a PDB between CDB1 and CDB2?
A proxy PDB is created in the application root in the local CDB to reference the application root
replica in the remote CDB.
An application root replica must be created in the remote CDB to replicate the application root.
ISPDB_MODIFIABLE=TRUE
2. Which command must be used to open a PDB to change the global database name?
A PDB seed
4. Which statement can be executed while connected to a PDB but will affect the whole CDB?
GLOBAL_NAME
Dropping the proxied PDB of a proxy PDB does not drop the proxy PDB.
1. Which tablespace is used when a SQL command performs sorts and joins on heavily populated
tables?
TEMP
SYSTEM/SYSAUX
5. Which Oracle database files are used to store metadata related to backups?
Control files
6. Consider this statement:
DEFERRED_SEGMENT_CREATION = FALSE
They make DATA1 the default tablespace for all objects created in the CDB root.
2. Which two are valid operations using the ALTER TABLESPACE command?
3. Which CREATE TABLESPACE clause is used to manage free space in the segment with free lists?
STATUS CONTENTS
EXTENT_MAN ALLOCA
ONLINE PERMANENT
SQL>
5. Which statement is true when a data file is moved to another location, disk, or storage system
using the ALTER DATABASE MOVE DATAFILE command?
2. Which tool recommends changes to the way statistics are gathered based on rules consistent
with the current release?
They have additional information that the optimizer can use to generate better plans.
5. Which Optimizer Statistics Advisor report section contains PL/SQL statements or commands that
can be executed on the command line to solve performance problems?
Actions
6. Which type of analysis done by the SQL Tuning Advisor verifies its own estimates and collects
auxiliary information to remove estimation errors?
SQL Profiling
V$SESSMETRIC
3. Querying which view displays the total wait time for events that have had at least one wait by
one session occur since instance startup?
V$SYSTEM_EVENT
4. Which two can be used to view and change metric threshold settings?
DBMS_SERVER_ALERT
5. Which two views are used to monitor sessions grouped by service name in a multitier
environment? V$SERVICE_WAIT_CLASS
V$SERVICE_EVENT
6. Which two statements are true about threshold alerts?
They are displayed when querying DBA_OUTSTANDING_ALERTS and when cleared, are displayed
when querying DBA_ALERT_HISTORY.
1. Which statement is true when Automatic Workload Repository (AWR) snapshots are enabled for
Automatic Database Diagnostic Monitor (ADDM) analysis in a PDB?
2. Which advisor looks for tables and indexes that consume more space than they require?
Segment Advisor
3. Which two statements are true about the Automatic Workload Repository (AWR)?
SYSAUX
6. What must be true for information generated by the Automatic Database Diagnostic Monitor
(ADDM) to be valid?
The instance must not have been shut down between two snapshots.
1. What is the maximum CPU utilization percentage that can be allocated to ORASAUTOTASK?
90%
DEFAULT_MAINTENANCE_PLAN
BEGIN
END;
4. You plan to increase the duration of the Sunday maintenance window by two hours.Which
procedure must you use?>DBMS_SCHEDULER.SET_ATTRIBUTE
5. Which two tools or procedures can be used to configure and manage automated maintenance
tasks?
Enterprise Manager
DBMS_AUTO_TASK_ADMIN
Changes only take effect the next time the window is opened.
INCORRECT
2. Which automated maintenance task cannot be restarted every four hours in the case of a very
long maintenance window?
3. Which predefined automated maintenance task must be used to identify reclaimable space and
make defragmenting recommendations?
It consists of seven predefined maintenance windows, each representing a day of the week by
default.
It creates a job for each maintenance task scheduled to run in a maintenance window.
6. How can the impact of automated maintenance tasks on normal database operations be
limited?
Information related to the suspended statement is displayed in the STATUS column in the
DBA_RESUMABLE view.
If the issue is unresolved within one hour of being suspended, the transaction is canceled and an
error is encountered.
2. Which two statements are true about private temporary tables?
Two or more concurrent sessions can create private temporary tables with the same name but
with a different number of columns.
> (DBMS_SERVER_ALERT.TABLESPACE_PCT_FULL,-
It configures the database server to issue a warning to users when the pctfree value for the
TBSALERT tablespace reaches 60 percent.
In the first phase, rows are moved to the left part of the segment.
Which statement is true?>Undo is retained for 500 seconds even if transactions fail.
5. Which two are features of temporary undo?
Switching to local undo mode requires that database be restarted in UPGRADE mode.
Password authentication
They are replenished when objects are dropped with the PURGE clause.
DBSNMP
They must be given a name that starts with C## or c## by default.
They exist in the root container and all PDBs in the same CDB.
They are granted to and revoked from users or other roles as though they were system privileges.
2. Which two users can revoke object privileges from another user?
The c##CDB_ADMIN common role and c##cdb_admin1 common user are created in all containers.
You grant Tsmith the CREATE TABLE privilege with ADMIN OPTION.
1. The DBA grants the CREATE TABLE privilege to the user Joe with ADMIN OPTION.
Emily can access table B and still retains the CREATE TABLE privilege.
5. Which system privilege allows queries to access any object in the SYS schema?
6. Which two privileges enable a user to start up and shut down database instances?
SYSDBA
SYSOPER
It checks on the password to verify that it meets certain rules using password verification
functions.
SYS
Profiles manage the account status and place limitations on users' passwords.
The user cannot reuse a password until it has been changed 10 times and at least 30 days have
elapsed since that password was last used.
PASSWORD_REUSE_TIME 20
PASSWORD_REUSE_MAX UNLIMITED
CORRECT
ERROR at line 1:
1. What should you query to ensure that a database has been migrated to unified auditing?
VSOPTION
2. Which role enables users to create unified and fine-grained audit policies?
AUDIT_ADMIN
It is created only if the table or view exist when audit policy is created.
4. Which type of auditing captures the actual SQL statement rather than the events occurred?
Fine-grained auditing
5. Which statements are audited when a CREATE AUDIT POLICY statement includes the ONLY
TOPLEVEL clause?
DBMS_AUDIT_MGMT.CREATE_PURGE_JOB
(AUDIT_TRAIL_TYPE=> DBMS_AUDIT_MGMT.AUDIT_TRAIL_UNIFIED,
It deletes audit records created before the last archived time stamp.
1. Which format is used by SQL*Loader to process data when no record format is specified in the
control file?
2. Which parameter in control file of SQL*Loader is used for loading data into empty tables?
INSERT
4. You must limit the number of execution threads that can operate on behalf of a Data Pump
export job.
PARALLEL
5. To which file are records rejected by SQL*Loader written when their input format is invalid?
Bad file
Records that don't match any record-selection criteria specified in the control file
2. Which two statements are true about the ORACLE_DATAPUMP access driver?
Its default behavior can be modified using the ACCESS PARAMETERS clause.
3. Which two are valid operations that can be performed on external tables?
ORGANIZATION EXTERNAL
TYPE ORACLE_DATAPUMP
LOCATION('dept_xt1.dmp','dept_xt2.dmp','dept_xt3.dmp')
PARALLEL 2
AS
The files specified in the LOCATION clause are present in the directory pointed by the def_dirl
object.
(empno
number(7),
deptno
number(5),
ename varchar2(20),
sal number(10))
ORGANIZATION EXTERNAL
(TYPE ORACLE_LOADER
ACCESS PARAMETERS
(records delimited by newline badfile 'sh%a_%p.bad' logfile 'sh%a_%p.log' fields terminated by','
missing field values are null (empno, deptno, ename, sal) LOCATION ('empxt1.dat', 'empxt2.dat'))
PARALLEL REJECT LIMIT UNLIMITED;
There is no limit on the number of errors that can occur during query of external data.
1. Which two are advantages of using Recovery Manager (RMAN) for transporting databases?
2. You must import all objects from the OE schema in database ORCLPDB1 into database
ORCLPDB2 under a new schema, OETEST.
3. While performing a full transportable export using Oracle Data Pump, which two steps are
performed in the source database?
Invoke Data Pump export as a user with the DATAPUMP_EXP_FULL_DATABASE role and the FULLY
and TRANSPORTABLE ALWAYS options.
4. You must import all objects from the OE schema in database ORCLPDB1 into database
ORCLPDB2 in a new schema called OETEST.
Which DATAPUMP command executed on ORCLPDB2 will import the OE schema through a
database link?
5. Which Data Pump import transformation provides the capability to change object ownership?
REMAP_SCHEMA
6. Which RMAN backup clause is used to back up one or more tablespaces that are not set to read-
only? > ALLOW INCONSISTENT
1. Examine this command that executes successfully:
LOAD DATA
infile '$ORACLE_HOME/labs/DBModLoadTrans/DP_inventories.dat'
REPLACE
(warehouse_id,
product_id,
quantity_on_hand)
It deletes all table rows and inserts records from the DP_inventories.dat file.
One input file record's key column value matches a key value in one of the rows in the table to
which the data is imported.
The record will be written to the BAD file, and the load operation will continue.
4. Which two statements are true about SQL*Loader direct path load?
It merges new index entries at the end of the load if the target table is indexed.
5. Which two statements are true about SQL*Loader conventional path load?
It maintains the index entry for each insert operation if the target table has one or more indexes.
6. Examine this command that executes successfully:
A data save occurs after reading 10 records from the data file.
6. Which CREATE TABLESPACE clause specifies the creation of a locally managed tablespace?
EXTENT MANAGEMENT