Skip to content

1z0-062 Oracle Database 12c Administration Exams demo

QUESTION 2
A user establishes a connection to a database instance by using an Oracle Net connection. You want to ensure
the following:
1. The user account must be locked after five unsuccessful login attempts.
2. Data read per session must be limited for the user.
3. The user cannot have more than three simultaneous sessions.
4. The user must have a maximum of 10 minutes session idle time before being logged off automatically.
How would you accomplish this?
A. by granting a secure application role to the user
B. by implementing Database Resource Manager
C. by using Oracle Label Security options
D. by assigning a profile to the user
Correct Answer: D
Section: (none)
Explanation
Explanation/Reference:
96CE4376707A97CE80D4B1916F054522
QUESTION 3
As a user of the ORCL database, you establish a database link to the remote HQ database such that all users
in the ORCL database may access tables only from the SCOTT schema in the HQ database. SCOTT’s
password is TIGER. The service mane “HQ” is used to connect to the remote HQ database.
Which command would you execute to create the database link?
A. CREATE DATABASE LINK HQ USING 'HQ';
B. CREATE DATABASE LINK HQ CONNECT TO CURRENT_USER USING ‘HQ’;
C. CREATE PUBLIC DATABASE LINK HQ CONNECT TO scott IDENTIFIED BY tiger USING 'HQ';
D. CREATE DATABASE LINK HQ CONNECT TO scott IDENTIFIED BY tiger USING 'HQ';
Correct Answer: C
Section: (none)
Explanation
Explanation/Reference:
QUESTION 4
What happens if a maintenance window closes before a job that collects optimizer statistics completes?
A. The job is terminated and the gathered statistics are not saved.
B. The job is terminated but the gathered statistics are not published.
C. The job continues to run until all statistics are gathered.
D. The job is terminated and statistics for the remaining objects are collected the next time the maintenance
window opens.
Correct Answer: D
Section: (none)
Explanation
Explanation/Reference:
Explanation:
The stop_on_window_close attribute controls whether the GATHER_STATS_JOB continues when the
maintenance window closes. The default setting for the stop_on_window_close attribute is TRUE, causing
Scheduler to terminate GATHER_STATS_JOB when the maintenance window closes. The remaining objects
are then processed in the next maintenance window.
References: https://docs.oracle.com/cd/B19306_01/server.102/b14211/stats.htm#g49431
QUESTION 5
You plan to create a database by using the Database Configuration Assistant (DBCA), with the following
specifications:
– Applications will connect to the database via a middle tier.
– The number of concurrent user connections will be high.
– The database will have mixed workload, with the execution of complex BI queries scheduled at night.
Which DBCA option must you choose to create the database?
A. a General Purpose database template with default memory allocation
B. a Data Warehouse database template, with the dedicated server mode option and AMM enabled
C. a General Purpose database template, with the shared server mode option and Automatic Memory
Management (AMM) enabled
D. a default database configuration
96CE4376707A97CE80D4B1916F054522
Correct Answer: C
Section: (none)
Explanation
Explanation/Reference:
Reference: http://www.oracledistilled.com/oracle-database/administration/creating-a-database-using-databaseconfiguration-
assistant/
QUESTION 6
Which two statements are true about the logical storage structure of an Oracle database? (Choose two.)
A. An extent contains data blocks that are always physically contiguous on disk.
B. An extent can span multiple segments.
C. Each data block always corresponds to one operating system block.
D. It is possible to have tablespaces of different block sizes.
E. A data block is the smallest unit of I/O in data files.
Correct Answer: DE
Section: (none)
Explanation
Explanation/Reference:
QUESTION 7
Which two statements correctly describe the relationship between data files and logical database structures?
(Choose two.)
A. A segment cannot span data files.
B. A data file can belong to only one tablespace.
C. An extent cannot span data files.
D. The size of an Oracle data block in a data file should be the same as the size of an OS block.
Correct Answer: BC
Section: (none)
Explanation
Explanation/Reference:
Explanation:
A single extent can never span data files.
Reference:
https://docs.oracle.com/database/121/CNCPT/logical.htm#CNCPT1095
QUESTION 8
Which statement is true about the Log Writer process?
A. It writes when it receives a signal from the checkpoint process (CKPT).
B. It writes concurrently to all members of multiplexed redo log groups.
C. It writes after the Database Writer process writes dirty buffers to disk.
D. It writes when a user commits a transaction.
Correct Answer: D
Section: (none)
96CE4376707A97CE80D4B1916F054522
Explanation
Explanation/Reference:
References:
http://docs.oracle.com/cd/B19306_01/server.102/b14220/process.htm (see log writer process (LGWR))
QUESTION 9
The ORCL database is configured to support shared server mode. You want to ensure that a user connecting
remotely to the database instance has a one-to-one ratio between client and server processes.
Which connection method guarantees that this requirement is met?
A. connecting by using an external naming method
B. connecting by using the easy connect method
C. creating a service in the database by using the dbms_service.create_service procedure and using this
service for creating a local naming service
D. connecting by using the local naming method with the server = dedicated parameter set in the tnsnames.ora
file for the net service
E. connecting by using a directory naming method
Correct Answer: D
Section: (none)
Explanation
Explanation/Reference:
QUESTION 10
Which two tasks can be performed on an external table? (Choose two.)
A. partitioning the table
B. creating an invisible index
C. updating the table by using an update statement
D. creating a public synonym
E. creating a view
Correct Answer: DE
Section: (none)
Explanation
Explanation/Reference:
Explanation:
You can, for example select, join, or sort external table data. You can also create views and synonyms for
external tables. However, no DML operations (UPDATE, INSERT, or DELETE) are possible, and no indexes
can be created, on external tables.
Reference:
http://docs.oracle.com/cd/B28359_01/server.111/b28310/tables013.htm#ADMIN01507
QUESTION 11
Which three statements are true about a job chain? (Choose three.)
A. It can contain a nested chain of jobs.
B. It can be used to implement dependency-based scheduling.
C. It cannot invoke the same program or nested chain in multiple steps in the chain.
D. It cannot have more than one dependency.
96CE4376707A97CE80D4B1916F054522
E. It can be executed using event-based or time-based schedules.
Correct Answer: ABE
Section: (none)
Explanation
Explanation/Reference:
QUESTION 12
The HR user receives the following error while inserting data into the sales table:
On investigation, you find that the users tablespace uses Automatic Segment Space Management (ASSM). It is
the default tablespace for the HR user with an unlimited quota on it.
Which two methods would you use to resolve this error? (Choose two.)
A. Altering the data file associated with the USERS tablespace to extend automatically
B. Adding a data file to the USERS tablespace
C. Changing segment space management for the USERS tablespace to manual
D. Creating a new tablespace with autoextend enabled and changing the default tablespace of the HR user to
the new tablespace
E. Enabling resumable space allocation by setting the RESUMABLE_TIMEOUT parameter to a nonzero value
Correct Answer: AB
Section: (none)
Explanation
Explanation/Reference:
QUESTION 13
Which three factors influence the optimizer's choice of an execution plan? (Choose three.)
A. the optimizer_mode initialization parameter
B. operating system (OS) statistics
C. cardinality estimates
D. object statistics in the data dictionary
E. fixed baselines
Correct Answer: ACD
Section: (none)
Explanation
Explanation/Reference:
.

.

.


QUESTION 25
Identify three valid options for adding a pluggable database (PDB) to an existing multitenant container database
(CDB). (Choose three.)
A. Use the CREATE PLUGGABLE DATABASE statement to create a PDB using the files from the SEED.
B. Use the CREATE DATABASE . . . ENABLE PLUGGABLE DATABASE statement to provision a PDB by
copying file from the SEED.
C. Use the DBMS_PDB package to clone an existing PDB.
D. Use the DBMS_PDB package to plug an Oracle 12c non-CDB database into an existing CDB.
E. Use the DBMS_PDB package to plug an Oracle 11 g Release 2 (11.2.0.3.0) non-CDB database into an
existing CDB.
Correct Answer: ACD
Section: (none)
Explanation
Explanation/Reference:
Explanation:
Use the CREATE PLUGGABLE DATABASE statement to create a pluggable database (PDB).
This statement enables you to perform the following tasks:
* (A) Create a PDB by using the seed as a template
Use the create_pdb_from_seed clause to create a PDB by using the seed in the multitenant container database
(CDB) as a template. The files associated with the seed are copied to a new location and the copied files are
then associated with the new PDB.
* (C) Create a PDB by cloning an existing PDB
Use the create_pdb_clone clause to create a PDB by copying an existing PDB (the source PDB) and then
plugging the copy into the CDB. The files associated with the source PDB are copied to a new location and the
copied files are associated with the new PDB. This operation is called cloning a PDB.
The source PDB can be plugged in or unplugged. If plugged in, then the source PDB can be in the same CDB
or in a remote CDB. If the source PDB is in a remote CDB, then a database link is used to connect to the
remote CDB and copy the files.
* Create a PDB by plugging an unplugged PDB or a non-CDB into a CDB
Use the create_pdb_from_xml clause to plug an unplugged PDB or a non-CDB into a CDB, using an XML
metadata file.
QUESTION 26
Your database supports a DSS workload that involves the execution of complex queries: Currently, the library
cache contains the ideal workload for analysis. You want to analyze some of the queries for an application that
are cached in the library cache.
What must you do to receive recommendations about the efficient use of indexes and materialized views to
improve query performance?
A. Create a SQL Tuning Set (STS) that contains the queries cached in the library cache and run the SQL
Tuning Advisor (STA) on the workload captured in the STS.
B. Run the Automatic Workload Repository Monitor (ADDM).
96CE4376707A97CE80D4B1916F054522
C. Create an STS that contains the queries cached in the library cache and run the SQL Performance Analyzer
(SPA) on the workload captured in the STS.
D. Create an STS that contains the queries cached in the library cache and run the SQL Access Advisor on the
workload captured in the STS.
Correct Answer: D
Section: (none)
Explanation
Explanation/Reference:
Explanation:
* SQL Access Advisor is primarily responsible for making schema modification recommendations, such as
adding or dropping indexes and materialized views. SQL Tuning Advisor makes other types of
recommendations, such as creating SQL profiles and restructuring SQL statements.
* The query optimizer can also help you tune SQL statements. By using SQL Tuning Advisor and SQL Access
Advisor, you can invoke the query optimizer in advisory mode to examine a SQL statement or set of statements
and determine how to improve their efficiency. SQL Tuning Advisor and SQL Access Advisor can make various
recommendations, such as creating SQL profiles, restructuring SQL statements, creating additional indexes or
materialized views, and refreshing optimizer statistics.
Note:
* Decision support system (DSS) workload
* The library cache is a shared pool memory structure that stores executable SQL and PL/SQL code. This
cache contains the shared SQL and PL/SQL areas and control structures such as locks and library cache
handles.
QUESTION 27
The following parameter are set for your Oracle 12c database instance:
OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES=FALSE
OPTIMIZER_USE_SQL_PLAN_BASELINES=TRUE
You want to manage the SQL plan evolution task manually. Examine the following steps:
1. Set the evolve task parameters.
2. Create the evolve task by using the DBMS_SPM.CREATE_EVOLVE_TASK function.
3. Implement the recommendations in the task by using the DBMS_SPM.IMPLEMENT_EVOLVE_TASK function.
4. Execute the evolve task by using the DBMS_SPM.EXECUTE_EVOLVE_TASK function.
5. Report the task outcome by using the DBMS_SPM.REPORT_EVOLVE_TASK function.
Identify the correct sequence of steps:
A. 2, 4, 5
B. 2, 1, 4, 3, 5
C. 1, 2, 3, 4, 5
D. 1, 2, 4, 5
Correct Answer: B
Section: (none)
Explanation
.

.

.

.

.
QUESTION 29
Examine this command:
SQL > exec DBMS_STATS.SET_TABLE_PREFS (‘SH’, ‘CUSTOMERS’, ‘PUBLISH’, ‘false’);
Which three statements are true about the effect of this command? (Choose three.)
A. Statistics collection is not done for the CUSTOMERS table when schema stats are gathered.
B. Statistics collection is not done for the CUSTOMERS table when database stats are gathered.
C. Any existing statistics for the CUSTOMERS table are still available to the optimizer at parse time.
D. Statistics gathered on the CUSTOMERS table when schema stats are gathered are stored as pending
statistics.
E. Statistics gathered on the CUSTOMERS table when database stats are gathered are stored as pending
statistics.
Correct Answer: CDE
Section: (none)
Explanation
Explanation/Reference:
Explanation:
* SET_TABLE_PREFS Procedure
This procedure is used to set the statistics preferences of the specified table in the specified schema.
* Example:
Using Pending Statistics
Assume many modifications have been made to the employees table since the last time statistics were
gathered. To ensure that the cost-based optimizer is still picking the best plan, statistics should be gathered
once again; however, the user is concerned that new statistics will cause the optimizer to choose bad plans
when the current ones are acceptable. The user can do the following:
EXEC DBMS_STATS.SET_TABLE_PREFS('hr', 'employees', 'PUBLISH', 'false');
By setting the employees tables publish preference to FALSE, any statistics gather from now on will not be
96CE4376707A97CE80D4B1916F054522
automatically published. The newly gathered statistics will be marked as pending.
QUESTION 30
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? (Choose three.)
A. The import operation must be performed on the target database by a user with the
DATAPUMP_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 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 databases 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 expdp operation.
Correct Answer: ABD
Section: (none)
Explanation
Explanation/Reference:
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 31
Which two are true concerning a multitenant container database with three pluggable database? (Choose two.)
A. All administration tasks must be done to a specific pluggable database.
B. The pluggable databases increase patching time.
C. The pluggable databases reduce administration effort.
D. The pluggable databases are patched together.
E. Pluggable databases are only used for database consolidation.
Correct Answer: CD
Section: (none)
Explanation
Explanation/Reference:
QUESTION 32
Examine the current value for the following parameters in your database instance:
SGA_MAX_SIZE = 1024M
SGA_TARGET = 700M
DB_8K_CACHE_SIZE = 124M
LOG_BUFFER = 200M
96CE4376707A97CE80D4B1916F054522
You issue the following command to increase the value of DB_8K_CACHE_SIZE:
SQL> ALTER SYSTEM SET DB_8K_CACHE_SIZE=140M;
Which statement is true?
A. It fails because the DB_8K_CACHE_SIZE parameter cannot be changed dynamically.
B. It succeeds only if memory is available from the autotuned components if SGA.
C. It fails because an increase in DB_8K_CACHE_SIZE cannot be accommodated within SGA_TARGET.
D. It fails because an increase in DB_8K_CACHE_SIZE cannot be accommodated within SGA_MAX_SIZE.
Correct Answer: D
Section: (none)
Explanation
Explanation/Reference:
Explanation:
* The SGA_TARGET parameter can be dynamically increased up to the value specified for the
SGA_MAX_SIZE parameter, and it can also be reduced.
* Example:
For example, suppose you have an environment with the following configuration:
SGA_MAX_SIZE = 1024M
SGA_TARGET = 512M
DB_8K_CACHE_SIZE = 128M
In this example, the value of SGA_TARGET can be resized up to 1024M and can also be reduced until one or
more of the automatically sized components reaches its minimum size. The exact value depends on
environmental factors such as the number of CPUs on the system. However, the value of
DB_8K_CACHE_SIZE remains fixed at all times at 128M
* DB_8K_CACHE_SIZE
Size of cache for 8K buffers
* For example, consider this configuration:
SGA_TARGET = 512M
DB_8K_CACHE_SIZE = 128M
In this example, increasing DB_8K_CACHE_SIZE by 16 M to 144M means that the 16M is taken away from the
automatically sized components. Likewise, reducing DB_8K_CACHE_SIZE by 16M to 112M means that the
16M is given to the automatically sized components.
QUESTION 33
Which three statements are true concerning unplugging a pluggable database (PDB)? (Choose three.)
A. The PDB must be open in read only mode.
B. The PDB must be dosed.
C. The unplugged PDB becomes a non-CDB.
D. The unplugged PDB can be plugged into the same multitenant container database (CDB)
E. The unplugged PDB can be plugged into another CDB.
F. The PDB data files are automatically removed from disk.
Correct Answer: BDE
Section: (none)
Explanation

BUY full version for more questions

Previous article AZ-400 Microsoft Azure DevOps Solutions exams demo
Next article 220-1002 CompTIA A+ Certification : Core 2 Exams demo

Leave a comment

* Required fields