REVIEW
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? - ANSWER-D. by assigning a profile to the user
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? - ANSWER-CREATE
DATABASE LINK HQ CONNECT TO CURRENT_USER USING 'HQ';
What happens if a maintenance window closes before a job that collects optimizer
statistics completes? - ANSWER-The job is terminated and statistics for the remaining
objects are collected the next time the maintenance window opens.
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? - ANSWER-a General
Purpose database template, with the shared server mode option and Automatic Memory
Management (AMM) enabled
Which two statements are true about the logical storage structure of an Oracle
database? - ANSWER-An extent can span multiple segments.
It is possible to have tablespaces of different block sizes
Which two statements correctly describe the relationship between data files and logical
database structures? - ANSWER-A data file can belong to only one tablespace.
An extent cannot span data files.
Which statement is true about the Log Writer process? - ANSWER-It writes when a user
commits a transaction.
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? - ANSWER-creating
a service in the database by using the dbms_service.create_service procedure and
using this service for creating a local naming service
connecting by using a directory naming method
Which two tasks can be performed on an external table? - ANSWER-creating a public
synonym
creating a view
Which three statements are true about a job chain? - ANSWER-It can contain a nested
chain of jobs.
It can be used to implement dependency-based scheduling.
It can be executed using event-based or time-based schedules.
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? - ANSWER-Altering the data
file associated with the USERS tablespace to ex automatically
Creating a new tablespace with autoextend enabled and changing the default
tablespace of the HRuser to the new tablespace
Which three factors influence the optimizer's choice of an execution plan? - ANSWER-
theoptimizer_mode initialization parameter
operating system (OS) statistics
object statistics in the data dictionary
Examine the resources consumed by a database instance whose current Resource
Manager plan is displayed.
Which two statements are true? - ANSWER-The CPU_WAIT_TIME column indicates
the total time that sessions in the consumer group waited for the CPU due to resource
management.
A user belonging to the DSS__QUERIES resource consumer group can create a new
session but the session will be queued
Which action takes place when a file checkpoint occurs? - ANSWER-TheDatabase
Writer process (DBWn) writes all dirty buffers in the buffer cache to data files.
Examine the structure of the sales table, which is stored in a locally managed
tablespace with Automatic Segment Space Management (ASSM) enabled.
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? - ANSWER-Extra disk space
equivalent to the size of the segment is available in the tablespace.
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?
- ANSWER-running the Pre-Upgrade Information Tool
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? -
ANSWER-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.
Which statement is true regarding the startup of a database instance? - ANSWER-
Instance recovery is not required if the database instance was shut down by using
SHUTDOWN IMMEDIATE.
Examine the memory-related parameters set in the SPFILE of an Oracle database:
Which statement is true - ANSWER-The size of the PGA cannot grow automatically
beyond 500 MB.
Which two statements are true about extents? - ANSWER-Data blocks in an extent are
logically contiguous but can be non-contiguous on disk.
.The blocks of a newly allocated extent, although free, may have been used before.
You execute the commands:
Which two statements are true? - ANSWER-The create user command fails if any role
with the name Sidney exists in the database.
The userSidneycan connect to the database instance but requires relevant privileges to
create objects in theuserstablespace.
Examine the query and its output:
What might have caused three of the alerts to disappear? - ANSWER-The database
instance was restarted before the execution of the second query.
Which two statements are true? - ANSWER-A role can be granted to other roles.
A role can contain both system and object privileges.
Identify three valid options for adding a pluggable database (PDB) to an existing
multitenant container database (CDB). - ANSWER-Use the CREATE PLUGGABLE
DATABASE statement to create a PDBusing the files from the SEED.