You are on page 1of 8

Vendor: Oracle

Exam Code: 1Z0-074

Exam Name: Upgrade Oracle DBA 11g/12c to 12cR2


QUESTION 1
APP1 is an application container that has an application seed and two application PDBs, APP_PDB1 and
APP_PDB2.
1.0 is the current version of the application.
You execute this block in the application root:

What is the outcome?

A. An error is thrown because the version number should be sequential, either 1.1 or 2.0.
B. An error is thrown because the CONTAINER=ALL clause is missing.
C. An error is thrown because the c## prefix is missing in the role name.
D. A common role is created only in the application root.
E. A common role is created only in the application root and application seed.
F. A common role is created in the application root, application seed, APP_PDB1, and APP_PDB2.

Correct Answer: D
Explanation

QUESTION 2
Users BIXBY, RLAYTON, and MURDOK each have a table named CUST_RECORDS in their schema.
BIXBY has created a procedure, UPDATE_CUST, which updates the CUST_RECORDS table with
invoker's right.
BIXBY grants the execute permission on UPDATE_CUST to the RLAYTON user.
When RLAYTON executes the UPDATE_CUST procedure, which table does the procedure attempt to
update?

A. CUST_RECORDS table in Bixby's schema


B. CUST_RECORDS table in Murdok's schema
C. CUST_RECORDS table in Rlayton's schema
D. CUST_RECORDS table in the schema of Bixby and Rlayton
E. CUST_RECORDS table in the schema of Bixby, Rlayton, and Murdok

Correct Answer: C
Explanation

QUESTION 3
Identify two types of files that are generated by the Pre-Upgrade Information tool as part of the database
upgrade prerequisite checks? (Choose two.)

A. expdp scripts to export database objects belonging to the SYS schema


B. a log file containing a list of pre-upgrade patches to be applied
C. RMAN database backup scripts
D. a log file with tool recommendations and requirements
E. pre- and post-upgrade fixup scripts
Correct Answer: DE
Explanation

Explanation/Reference:
Reference: https://docs.oracle.com/en/database/oracle/oracle-database/12.2/upgrd/using-preupgrade-
information-tool-for-oracle-database.html#GUID-C0219AF1- AD43-4097-B358-E53E48958647

QUESTION 4
Which two statements are true about clean restore points in a regular PDB? (Choose two.)

A. They require a clone instance to be created when used in a PDB flashback operation
B. They can be created for a PDB when connected to either the PDB or to the root
C. They require backups to be restored when used in a PDB flashback operation
D. They are created as guaranteed restore points
E. They can be created only if shared undo is enabled
F. They can be created only for a PDB in the mount state

Correct Answer: EF
Explanation

Explanation/Reference:
Reference: https://docs.oracle.com/en/database/oracle/oracle-database/12.2/bradv/using-flasback-
database-restore-points.html

QUESTION 5
Which statement is true about transportable tablespaces?

A. The tablespace data file or data files to be plugged in to the target database cannot have a different
block size than any of the source database's data file or files.
B. The cannot be dictionary-managed tablespaces
C. The source tablespace can be encrypted
D. They can be administrative tablespaces such as SYSTEM or SYSAUX

Correct Answer: A
Explanation

QUESTION 6
You want to restrict PGA usage to 200 MB for a set of database users' sessions as part of your
organization's security requirements for combating denial of service (DOS) attacks.
Which statement is true about limiting PGA usage for those users' sessions?

A. You can limit their PGA usage by setting SORT_AREA_SIZE to 200 MB.
B. You cannot limit PGA for a set of database user sessions.
C. You can limit their PGA usage by setting PGA_AGGREGATE_LIMIT to 200 MB.
D. You can limit their PGA usage by setting PGA_AGGREGATE_TARGET to 200 MB.
E. You can limit their PGA usage by setting the SESSION_PGA_LIMIT directive by using Database
Resource Manager

Correct Answer: C
Explanation

Explanation/Reference:
Reference: https://oracle-base.com/articles/12c/pga_aggregate_limit_12cR1

QUESTION 7
In your database, DEFERRED_SEGMENT_CREATION is set to TRUE.
You successfully execute this command:
Which statement is true about the space allocated to the SALES_2016 table?

A. Two subpartitions are allocated to the q1_2016 partition when the first row is inserted into q1_2016.
B. A single subpartition is allocated to the q1_2016 partition when the first row is inserted into q1_2016.
C. Separate segments are allocated to the q1_2016 partition and each of its subpartitions when the first
row is inserted into q1_2016.
D. A segment is allocated to the q1_2016 partition but not its subpartitions at table creation.
E. A single segment is allocated to the q1_2016 partition and its subpartitions at table creation.

Correct Answer: A
Explanation

QUESTION 8
Which two are true about the ADR retention advisor in Oracle Database 12c Release 2? (Choose two.)

A. ESTIMATE (SHORTP_POLICY = 192) estimates the space requirement based on the


SHORTP_POLICY value of 192 minutes.
B. ESTIMATE (SHORTP_POLICY = 192, LONGP_POLICY = 2160) estimates the space requirement
based on current ADR diagnostics file space usage.
C. ESTIMATE (SIZEP_POLICY = 209715200) estimates only the long retention policy.
D. ESTIMATE (SHORTP_POLICY = 192, LONGP_POLICY = 8760) provides estimates that users can
use to set SIZEP_POLICY.
E. ESTIMATE (SIZEP_POLICY = 209715200) estimates the value of LONGP_POLICY.

Correct Answer: DE
Explanation

QUESTION 9
The TESTDB container database (CDB) contains two pluggable databases (PDBs), PDB1 and PDB2.
USER1 is a local user in PDB1 and has the SYSBACKUP privilege.
Connect descriptors for PDB1 and PDB2 are mapped to TNS aliases pdb1 and PDB2 in tnsnames.ora.
Examine these commands executed by USER1 when all PDBs are open:
What is the outcome and why?

A. An error is returned because the user is connected to a pluggable database.


B. The current date is displayed.
C. An error is returned because SQL commands cannot be executed from RMAN without using the SQL
shell syntax: SQL"<command>".
D. An error is returned because the user is not SYS.
E. An error is returned because the user is not a common user.

Correct Answer: C
Explanation

QUESTION 10
To which two components does the term "shape" refer in Oracle Database Cloud Service (DBaaS)?
(Choose two.)

A. number of network interface cards (NICs)


B. number of database instances
C. number of CPUs
D. amount of RAM
E. number of storage LUNs

Correct Answer: CD
Explanation

Explanation/Reference:
Reference: https://cloud.oracle.com/database/faq

QUESTION 11
Examine these statements executed in the PROD1 database:
Which statements are audited?

A. only the CREATE USER statement


B. only the ALTER SYSTEM statements
C. only the CREATE USER statement and the first change to JOB_QUEUE_PROCESSES
D. only the changes to JOB_QUEUE_PROCESSES and the CREATE USER statement
E. all the statements

Correct Answer: D
Explanation

QUESTION 12
You set the maximum size of the diagnostic collection repository by issuing this command as root.tfact1 set
reposizeMB=5120 You then notice that the current repository size is 5 GB and that old files are not being
purged.

Which statement is true?

A. The tfact1 command fails because it can be set only by the Oracle software owner.
B. TFA collects new diagnostic data if the Max Size of TFA Log parameter value is greater than 5 GB.
C. TFA does not collect new diagnostic data when the maximum repository size is reached.
D. TFA collects new diagnostic data but logs a warning message.
E. TFA collects new diagnostic data while the repository directory's file system has free space.
Correct Answer: A
Explanation

Explanation/Reference:
Reference: https://docs.oracle.com/en/database/oracle/oracle-database/12.2/atnms/provisioning-access-
to-users.html#GUID-C3CF0056-0869-4AC2-99CC- 9D0ACF848A46

QUESTION 13
Which two statements are true about a PDB lockdown profile? (Choose two.)

A. It is created by a local user with the SYSDBA privilege in each PDB where it needs to be applied.
B. It is created by a common user with the SYSDBA privilege in CDB$ROOT.
C. It is created by a common user with the SYSDBA privilege in each PDB where it needs to be applied.
D. It is enabled by default on creation.
E. It is enabled by using the PDB_LOCKDOWN parameter in each PDBs where it needs to be applied.
F. It is enabled in PDBs only after the CDB to which the PDBs belong is restarted.

Correct Answer: BC
Explanation

Explanation/Reference:
Reference: https://blogs.oracle.com/multitenant/a-simple-guide-to-lockdown-profiles

QUESTION 14
Which two statements are true about a band join? (Choose two.)

A. The optimizer always uses the smaller of the two row sources to build a hash table on the join key.
B. It returns rows for SQL statements that contain an equijoin.
C. It is a non-equijoin in which the key values in one data set must fall within the specified range of the
second data set.
D. For each row in the first row source, Oracle probes the second row source for matching rows and joins
them.
E. The SQL runtime engine avoids unnecessary scanning of rows that fall outside the defined ranges.

Correct Answer: CE
Explanation

Explanation/Reference:
Reference: https://docs.oracle.com/en/database/oracle/oracle-database/12.2/tgsql/joins.html#GUID-
24F34188-110F-4245-9DE7-43954092AFE0

QUESTION 15
Examine these parameters in a PFILE used to start database instance.

Which two statements are true after an instance restart is attempted and why? (Choose two.)
A. PGA_AGGREGATE_TARGET and SGA_TARGET remain 1G and 2G respectively.
B. PGA_AGGREGATE_TARGET and SGA_TARGET are set to zero for the instance.
C. The MEMORY_MAX_TARGET parameter is set to zero for the instance.
D. MEMORY_MAX_TARGET is automatically set to 4G for the instance.
E. The instance does not start because AMM is enabled but PGA_AGGREGATE_TARGET and
SGA_TARGET are set to nonzero values.

Correct Answer: CD
Explanation

You might also like