Oracle Database 12c Installation and Administration Questions #1


QUESTION 1
Examine the parameters for your database instance:
NAMETYPE VALUE
-------------------------- ------------------------------- ---------------------------
undo_management string AUTO
undo_retentioninteger 12 00
undo_tablespace string UNDOTBS1

You execute the following command:
SQL> ALTER TABLESPACE undotbs1 RETENTION NOGUARANTEE;

Which statement is true in this scenario?

A. Undo data is written to flashback logs after 1200 seconds.
B. Inactive undo data is retained for 1200 seconds even if subsequent transactions fail due to lack of
space in the undo tablespace.
C. You can perform a Flashback Database operation only within the duration of 1200 seconds.
D. An attempt is made to keep inactive undo for 1200 seconds but transactions may overwrite the undo before that time has elapsed.

Correct Answer: A

Section: (none)
Explanation
Explanation/Reference:
Real answer.
 

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:
Answer is correct.
 

QUESTION 3
Which three statements are true about a job chain?

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.
E. It can be executed using event-based or time-based schedules.

Correct Answer: ABE

Section: (none)
Explanation
Explanation/Reference:
Reference:
http://docs.oracle.com/cd/B28359_01/server.111/b28310/scheduse009.htm#ADMIN12459
 

QUESTION 4
The hr user receiver, the following error while inserting data into the sales table:
ERROR at line 1:
ORA-01653; unable to extend table HR.SALES by 128 in tablespace USERS
On investigation, you find that the users tablespace uses Automnrif 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?

A. Altering the data life associated with the USERS tablespace to ex automatically
B. Adding a data life 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: AD

Section: (none)
Explanation
Explanation/Reference:
Explanation:
 

QUESTION 5
Which three factors influence the optimizer's choice of an execution plan?

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: ABD

Section: (none)
Explanation
Explanation/Reference:
Reference: http://docs.oracle.com/cd/B19306_01/server.102/b14211/optimops.htm
 

QUESTION 6
Examine the resources consumed by a database instance whose current Resource Manager plan is displayed.
SQL> SELECT name, active_sessions, queue_length,
Consumed_cpu_time, cpu_waits, cpu_wait_time
FROM v$rsrc_consumer_group;
NAMEACTIVE_SESSIONS QUEUE_LENGTH CONSUMED_CPU_WAITS
CPU_WAIT_TIME
----------------------------------- -------------------- -------------------- --------------------- ----------------
OLTP__ORDER__ENTRY1029690 467
OTHES__GROUPS 0 059823664089
60425
SYS_GROUP 1 02420704 914
19540
DS.S_QUERIES4245946603004
55700

Which two statements are true?

A. An attempt to start a new session by a user belonging to DSS_QUERIES fails with an error.
B. An attempt to start a new session by a user belonging to OTHE_GROUPS fails with an error.
C. The CPU_WAIT_TIME column indicates the total time that sessions in the consumer group waited for the CPU due to resource management.
D. The CPU_WAIT_TIME column indicates the total time that sessions in the consumer group waited for the CPU due to I/O waits and latch or enqueue contention.
E. A user belonging to the DSS__QUERIES resource consumer group can create a new session but the session will be queued.QUESTION 8

Examine the structure of the sales table, which is stored in a locally managed tablespace with Automatic Segment Space Management (ASSM) enabled.
NameNull?Type
-------------------------------------------- ------------------------------------- -----------------------------
PROD_IDNOT NULL NUMBER
CUST_IDNOT NULL NUMBER
TIME_IDNOT NULL DATE
CHANNEL_IDNOT NULL NUMBER
PROMO_IDNOT NULL NUMBER
QUANT I TY___S OL DNOT NULL NUMBER (10, 2) AMOUNT SOLDNOT NULL NUMBER (10, 2)

You want to perform online segment shrink to reclaim fragmented free space below the high water mark.
What should you ensure before the start of the operation?

A. Row movement is enabled.
B. Referential integrity constraints for the table are disabled.
C. No queries are running on this table.
D. Extra disk space equivalent to the size of the segment is available in the tablespace.
E. No pending transaction exists on the table.

Correct Answer: D
Correct Answer: CE

Section: (none)
Explanation
Explanation/Reference:
Explanation:
 

QUESTION 7
Which action takes place when a file checkpoint occurs?

A. The checkpoint position is advanced in the checkpoint queue.
B. All buffers for a checkpointed file that were modified before a specific SCN are written to disk by DBWn and the SCN is stored in the control file.
C. The Database Writer process (DBWn) writes all dirty buffers in the buffer cache to data files.
D. The Log Writer process (LGWR) writes all redo entries in the log buffer to online redo log files.

Correct Answer: C

Section: (none)
Explanation
Explanation/Reference:
Well answered.

Section: (none)
Explanation
Explanation/Reference:
Explanation:
 

QUESTION 9
Which task would you recommend before using the Database Upgrade Assistant (DBUA) to upgrade a single-instance Oracle 11g R2 database to Oracle Database 12c?

A. shutting down the database instance that is being upgraded
B. executing the catctl.pl script to run the upgrade processes in parallel
C. running the Pre-Upgrade Information Tool
D. copying the listener.ora file to the new ORACLE_HOME

Correct Answer: C

Section: (none)
Explanation
Explanation/Reference:
Reference: http://docs.oracle.com/cd/E11882_01/server.112/e23633/upgrade.htm#UPGRD12395
 

QUESTION 10
Your database is open and the listener LISTNENER is up. You issue the command:
LSNRCTL> RELOAD

What is the effect of reload on sessions that were originally established by listener?

A. Only sessions based on static listener registrations are disconnected.
B. Existing connections are not disconnected; however, they cannot perform any operations until the listener completes the re-registration of the database instance and service handlers.
C. The sessions are not affected and continue to function normally.
D. All the sessions are terminated and active transactions are rolled back.

Correct Answer: B

Section: (none)
Explanation
Explanation/Reference:
Explanation:

Oracle Application
Oracle Application Hints and Tips

Oracle Home
Oracle Database, SQL, Application, Programming Tips

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.
The site www.erpgreat.com is not affiliated with or endorsed by any company listed at this site.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.