Questionaire
Questionaire
Which two statements are true about the BIG_TBS tablespace? (Choose two.)
Question #2
Which statement is true about the INTERSECT operator used in compound queries?
A. Multiple INTERSECT operators are not possible in the same SQL statement
B. It processes NULLs in the selected columns
C. INTERSECT is of lower precedence than UNION or UNION ALL
D. It ignores NULLs
Answer -> B
SQL treats NULL = NULL as true in the case of INTERSECT
Question #3
Which three statements are true about advanced connection options supported by Oracle
Net for connection to Oracle Database instances? (Choose three)
A. Connect Time Failover requires the use of Transparent Application Failover (TAF)
B. Source Routing requires the use of a name server
C. Source Routing enables the use of Connection Manager (CMAN) which enables
network traffic to be
routed through a firewall
D. Load Balancing can balance the number of connections to dispatchers when using a
Shared Server
configuration
E. Load Balancing requires the use of a name server
F. Connect Time Failover requires the connect string to have two or more listener
addresses configured
Answers: C
CMAN can act as a firewall proxy, allowing secure database access from external clients.
D
It distributes client connections across multiple servers or dispatchers in a Shared Server
configuration
F
Connect Time Failover requires the connect string to have two or more listener addresses
configured to provide high availability by attempting to connect to an alternate listener if
the primary listener fails so requires at least two listener addresses in the connect string
Question #4
Which two statements are true about date/time functions in a session where
NLS_DATE_FORMAT is set to DD-MON-YYYY HH24:MI:SS? (Choose two.)
A. CURRENT_TIMESTAMP returns the same date and time as SYSDATE with additional
details of fractional seconds
B. SYSDATE can be queried only from the DUAL table
C. CURRENT_DATE returns the current date and time as per the session time zone
D. SYSDATE can be used in expressions only if the default date format is DD-MON-RR
E. SYSDATE and CURRENT_DATE return the current date and time set for the operating
system of the
database server
F. CURRENT_TIMESTAMP returns the same date as CURRENT_DATE
Answers: C
Returns the current date and time in the session's time zone this differs from SYSDATE,
which returns the database server's date and time.
F
CURRENT_TIMESTAMP returns the same date as CURRENT_DATE.
Question #5
A database is configured to use automatic undo management with temporary undo
enabled.
An UPDATE is executed on a temporary table.
Answer: E
When temporary undo is enabled, undo data for DML operations on temporary
tables is stored in the temporary tablespace rather than the undo tablespace.
Question #6
You have been tasked to create a table for a banking application.
One of the columns must meet three requirements:
Answer: B
Question #7
In the spfile of a single instance database, LOCAL_LISTENER is set to LISTENER_1.
The TNSNAMES.ORA file in $ORACLE_HOME/network/admin in the database home
contains:
Which statement is true?
Answer: C
Question #8
Which three statements are true concerning logical and physical database structures?
(Choose three.)
Answers: C
A smallfile tablespace might be bigger than a bigfile tablespace.
D
Segments (like tables, indexes, etc.) can span multiple data files in some
tablespaces.
F
When a segment is initially created, it might occupy only one extent.
Question #9
Which two statements are true regarding a SAVEPOINT? (Choose two.)
Answers: D
SAVEPOINT marks a point within a transaction but does not commit it.
E
Rolling back to a savepoint undo any DML (like DELETE, INSERT, or UPDATE) executed
after the savepoint.
Question #10
Which three functions are performed by dispatchers in a shared server configuration?
(Choose three.)
A. writing inbound request to the common request queue from all shared server
connections
B. checking for outbound shared server responses on the common outbound response
queue
C. receiving inbound requests from processes using shared server connections
D. sending each connection input request to the appropriate shared server input queue
E. broadcasting shared server session responses back to requesters on all connections
F. sending shared server session responses back to requesters on the appropriate
connection
Answers: A,C,F
Dispatchers handle client connections in a shared server configuration take incoming
requests from client connections and place them in a common request queue for shared
servers to process and after shared servers process requests, dispatchers send responses
back to the appropriate client connection.
Question #11
Which two statements are true about the SET VERIFY ON command? (Choose two.)
Answers: C,E
It can be used in SQL Developer and SQL*Plus.
When a query contains substitution variables prefixed with &&, SQL*Plus will display the
values used for substitution if SET VERIFY ON is enabled.
Question #12
Which three statements are true about a self join? (Choose three.)
Answers: B,E,F
A self join requires the same table to be referenced twice, so we need two aliases to
distinguish between the instances.
The ON clause can be used to specify the join condition.
self join can be either an inner or an outer join, depending on the requirement.
Question #13
You want to write a query that prompts for two column names and the WHERE condition
each time it is executed in a session but only prompts for the table name the first time it
is executed.
The variables used in your query are never undefined in your session.
Answer: B
&&: Prompts for the variable only once during the session
&: Prompts for the variable every time the query is executed.
Question #14
Examine the description of the CUSTOMERS table:
You want to display details of all customers who reside in cities starting with the letter D
followed by at least two characters.
Question #15
Examine this command:
A. DML may be performed on tables with one or more extents in this data file during the
execution of
this command.
B. The tablespace containing SALES1.DBF must be altered READ ONLY before executing
the command.
C. The tablespace containing SALES1.DBF must be altered OFFLINE before executing the
command.
D. If Oracle Managed Files (OMF) is used, then the file is renamed but moved to
DB_CREATE_FILE_DEST.
E. The file is renamed and stored in the same location
Answers: A,E
Question #16
Which three statements are true about dropping and unused columns in an Oracle
database? (Choose three.)
A. A primary key column referenced by another column as a foreign key can be dropped
if using the
CASCADE option.
B. An UNUSED column's space is reclaimed automatically when the block containing that
column is next
queried.
C. An UNUSED column's space is reclaimed automatically when the row containing that
column is next
queried.
D. Partition key columns cannot be dropped.
E. A DROP COLUMN command can be rolled back
F. A column that is set to UNUSED still counts towards the limit of 1000 columns per table
Answers: A,D,F
Question #17
Which two statements are true regarding Oracle database space management within
blocks managed by Automatic Segment Space Management (ASSM)? (Choose two.)
A. PCTFREE defaults to 10% for all blocks in all segments for all compression methods
B. ASSM assigns blocks to one of four fullness categories based on what percentage of
the block is
allocated for rows
C. Update operations always attempt to find blocks with free space appropriate to the
length of the row
being updated
D. Insert operations always attempt to find blocks with free space appropriate to the
length of the row
being inserted
E. A block will always be eligible for inserts if the row is short enough to fit into the block
Answers: B,D
Question #18
Evaluate these commands which execute successfully:
Which two statements are true about the ORD_ITEMS table and the ORD_SEQ sequence?
(Choose two.)
A. If sequence ORD_SEQ is dropped then the default value for column ORD_NO will be
NULL for rows
inserted into ORD_ITEMS
B. Any user inserting rows into table ORD_ITEMS must have been granted access to
sequence ORD_SEQ
C. Column ORD_NO gets the next number from sequence ORD_SEQ whenever a row is
inserted into
ORD_ITEMS and no explicit value is given for ORD_NO
D. Sequence ORD_SEQ cycles back to 1 after every 5000 numbers and can cycle 20
times
E. Sequence ORD_SEQ is guaranteed not to generate duplicate numbers
Answers:B,C
Question #19
Which three instance situations are possible with the Oracle Database server without
multi-tenant? (Choose three.)
A. two or more instances on separate servers all associated with one database
B. one instance on one server associated with one database
C. one instance on one server associated with two or more databases on the same server
D. one instance on one server not associated with any database
E. one instance on one server associated with two or more databases on separate
servers
Answers: A,B,D
Question #20
Which two statements are true about the ORDER BY clause when used with a SQL
statement containing a SET operator such as UNION? (Choose two.)
Answers: B,C
Question #21
Which four account management capabilities can be configured using Oracle profiles?
(Choose four.)
A. the number of hours for which an account is locked after the configured number of
login attempts
has been reached
B. the number of days for which an account may be inactive before it is locked
C. the maximum amount of CPU time allowed for a user's sessions before their account is
locked
D. the ability to prevent a password from ever being reused
E. the number of password changes required within a period of time before a password
can be reused
F. the number of days for which an account is locked after the configured number of login
attempts has
been reached
G. the maximum number of sessions permitted for a user before the account is locked
Answers: B,D,E,F
Question #22
Which three statements are true about single-row functions? (Choose three.)
Answers: B,C,D
Question #23
You want to use table compression suitable for OLTP that will:
Answer: E
Question #24
Which two statements are true about space-saving features in an Oracle Database?
(Choose two.)
Answer: A,B
Question #25
Which two statements are true about the PMON background process? (Choose two.)
A. It registers database services with all local and remote listeners known to the
database instance
B. It frees resources held by abnormally terminated processes
C. It records checkpoint information in the control file
D. It frees unused temporary segments
E. It kills sessions that exceed idle time
Answer: D,E
Question #26
In which three situations does a new transaction always start? (Choose three.)
A. when issuing a SELECT FOR UPDATE statement after a CREATE TABLE AS SELECT
statement was
issued in the same session
B. when issuing a TRUNCATE statement after a SELECT statement was issued in the
same session
C. when issuing a CREATE TABLE statement after a SELECT statement was issued in the
same session
D. when issuing the first Data Manipulation Language (DML) statement after a COMMIT
OR ROLLBACK
statement was issued in the same session
E. when issuing a CREATE INDEX statement after a CREATE TABLE statement completed
successfully in
the same session
F. when issuing a DML statement after a DML statement failed in the same session
Answer: A,D,F
Question #27
Examine the description of the SALES1 table:
SALES2 is a table with the same description as SALES1.
Some sales data is duplicated in both tables.
You want to display the rows from the SALES1 table which are not present in the SALES2
table.
A. INTERSECT
B. UNION ALL
C. UNION
D. SUBTRACT
E. MINUS
Answer: E
Question #28
Your database instance is started with a PFILE.
Examine these parameters:
A. The value is changed only in the PFILE and takes effect at the next instance startup
B. The value is changed for the current instance and in the PFILE
C. It fails because the SCOPE clause is missing
D. Change is applied to the current instance, but does not persist after instance restart
Answer: D
Question #29
Which three Oracle database space management features will work with both Dictionary
and Locally managed tablespaces? (Choose three.)
Answer: A,D,E
Question #30
You execute this command:
During the export operation, you detach from the job by using CTRL+C and then execute
this command:
Export> STOP_JOB=immediate -
Are you sure you wish to stop the job ([yes]/no): yes
Which two statements are true about the job? (Choose two.)
Question #31
In one of your databases, you create a user, HR, and then execute this command:
GRANT CREATE SESSION TO hr WITH ADMIN OPTION;
Answer: A,B,C,D
Question #32
Which two statements are true about the WHERE and HAVING clauses in a SELECT
statement? (Choose two.)
A. Aggregating functions and columns used in HAVING clauses must be specified in the
SELECT list of a
query
B. WHERE and HAVING clauses can be used in the same statement only if applied to
different table
columns
C. The HAVING clause can be used with aggregating functions in subqueries
D. The WHERE clause can be used to exclude rows before dividing them into groups
E. The WHERE clause can be used to exclude rows after dividing them into groups
Answer: C,D
Question #33
Which two statements are true about UNDO and REDO? (Choose two.)
Question #34
The SCOTT/TIGER user exists in two databases, BOSTON_DB and DALLAS_DB, in two
different locations.
Each database has a tnsnames.ora file defining DALLAS_DB as a service name.
Examine this command:
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?
A. as SCOTT in DALLAS_DB
B. as SCOTT in BOSTON_DB
C. as SCOTT in BOSTON_DB and SYS in DALLAS_DB
D. as SYS in both the databases
E. as SCOTT in both the databases
Question #35
Which three statements are true about the DESCRIBE command? (Choose three.)
A. It displays the PRIMARY KEY constraint for any column or columns that have that
constraint
B. It can be used from SQL Developer
C. It displays the NOT NULL constraint for any columns that have that constraint
D. It can be used to display the structure of an existing view
E. It displays all constraints that are defined for each column
F. It can be used only from SQL*Plus
Question #36
Examine the description of the CUSTOMERS table:
For customers whose income level has a value, you want to display the first name and
due amount as 5% of their credit limit. Customers whose due amount is null should not
be displayed.
Question #37
The INVOICE table has a QTY_SOLD column of data type NUMBER and an INVOICE_DATE
column of data type DATE.
NLS_DATE_FORMAT is set to DD-MON-RR.
Which two are true about data type conversions involving these columns in query
expressions? (Choose two.)
Question #38
Which three are types of segments in an Oracle Database? (Choose three.)
A. undo
B. index
C. stored procedures
D. sequences
E. tables
F. clusters
Question #39
Which two statements are true about the results of using the INTERSECT operator in
compound queries? (Choose two.)
Question #40
Which two statements are true about single row functions? (Choose two.)
Question #41
The EMPLOYEES table contains columns EMP_ID of data type NUMBER and HIRE_DATE of
data type DATE.
You want to display the date of the first Monday after the completion of six months since
hiring.
The NLS_TERRITORY parameter is set to AMERICA in the session and, therefore, Sunday is
the first day on the week.
Which query can be used?
Question #42
The ORCL database has RESUMABLE__TIMEOUT = 7200 and
DEFERRED_SEGMENT_CREATION = FALSE
User U1 has a 1 MB quota in tablespace DATA.
U1 executes this command:
Which are three actions any one of which the DBA could take to resume the session?
(Choose three.)
Question #43
Which three statements are true about the Oracle Data Dictionary? (Choose three.)
A. Data dictionary views are created by joins of dictionary base tables and DBA-defined
tables
B. The data dictionary is created and maintained by the database administrator
C. Views with the same name but different prefixes, such as CDB, DBA, ALL and USER,
reference the
same base tables from the data dictionary
D. Base tables can be queried directly
E. It is owned by the SYSTEM user
F. Usernames of all users including database administrators are stored in the data
dictionary
Question #44
In one of your databases, the user HR has the password HRMGR.
You want to connect to a database instance whose listener listens on port 1531 by using
this statement:
CONNECT HR/HRMGR@orcl -
No name server is used.