QUESTION

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 13

QUESTION: 1

You execute this command:

Sufficient storage is available in filesystem /u01.


Which two statements are true about the BIG_TBS tablespace? (Choose
two.)

A. AUTOEXTEND is possible for the datafile


B. It must be bigger than the largest SMALLFILE tablespace
C. Additional data files may not be added
D. It will be a dictionary-managed tablespace by default
E. It will always have a 32K blocksize

Answer(s): A,B

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(s): B
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

Answer(s): B,C,F

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

Answer(s): B,C

QUESTION: 5

A database is configured to use automatic undo management with


temporary undo enabled. An UPDATE is executed on a temporary table.
Where is the UNDO stored?
A. in the undo tablespace

B. in the SYSAUX tablespace

C. in the SGA

D. in the PGA

E. in the temporary tablespace

Answer(s): A

QUESTION: 6

You have been tasked to create a table for a banking application.

One of the columns must meet three requirements:


1. Be stored in a format supporting date arithmetic without using
conversion functions
2. Store a loan period of up to 10 years
3. Be used for calculating interest for the number of days the loan
remains unpaid

Which data type should you use?


A. INTERVAL YEAR TO MONTH

B. INTERVAL DAY TO SECOND

C. TIMESTAMP WITH LOCAL TIMEZONE

D. TIMESTAMP

E. TIMESTAMP WITH TIMEZONE

Answer(s): 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?


A. Dynamic service registration cannot be used for this database instance
B. The LREG process registers services dynamically with the LISTENER_1
listener

C. LISTENER_1 must also be defined in the LISTENER.ORA file to enable


dynamic service registration

D. There are two listeners named LISTENER and LISTENER_1 running


simultaneously using port 1521 on the same host as the database instances

E. The definition for LISTENER_1 requires a CONNECT_DATA section to


enable dynamic service registration

Answer(s): C

QUESTION: 8

Which three statements are true concerning logical and physical


database structures? (Choose three.)
A. All tablespaces may have one or more data files

B. The extents of a segment must always reside in the same datafile

C. A smallfile tablespace might be bigger than a bigfile tablespace

D. A segment can span multiple data files in some tablespaces

E. A segment’s blocks can be of different sizes

F. A segment might have only one extent

G. Segments can span multiple tablespaces

Answer(s): C,F,G

QUESTION: 9

Which two statements are true regarding a SAVEPOINT? (Choose two.)


A. Rolling back to a SAVEPOINT can undo a CREATE INDEX statement

B. Rolling back to a SAVEPOINT can undo a TRUNCATE statement

C. Only one SAVEPOINT may be issued in a transaction

D. A SAVEPOINT does not issue a COMMIT

E. Rolling back to a SAVEPOINT can undo a DELETE statement

Answer(s): D,E

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

Answer(s): A,C,D

QUESTION: 11
Which two statements are true about the SET VERIFY ON command?
(Choose two.)
A. It can be used only in SQL*Plus

B. It displays values for variables used only in the WHERE clause of a query

C. It can be used in SQL Developer and SQL*Plus

D. It displays values for variables created by the DEFINE command

E. It displays values for variables prefixed with &&

Answer(s): A,D

QUESTION: 12

Which three statements are true about a self join? (Choose three.)
A. The ON clause must be used

B. The query must use two different aliases for the table

C. It must be an equijoin

D. It must be an inner join

E. The ON clause can be used

F. It can be an outer join

Answer(s): B,D,E

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.
Which query can be used?
A. SELECT &&col1, &&col2
FROM &table
WHERE &&condition = &&cond;

B. SELECT &col1, &col2


FROM &&table
WHERE &condition;

C. SELECT &col1, &col2


FROM “&table”
WHERE &condition;

D. SELECT ‘&&col1’, ‘&&col2’


FROM &table
WHERE ‘&&condition’ = ‘&cond’;

E. SELECT &&col1, &&col2


FROM &table
WHERE &&condition;

Answer(s): B

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. Which query can be
used?
A. SELECT * FROM customers WHERE city LIKE ‘D_%’;

B. SELECT * FROM customers WHERE city = ‘%D_’;

C. SELECT * FROM customers WHERE city LIKE ‘D_’;

D. SELECT * FROM customers WHERE city = ‘D_%’;

Answer(s): A

QUESTION: 15

Examine this command:

Which two statements are true? (Choose two.)


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

Answer(s): A,B
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

Answer(s): A,B,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

Answer(s): C,E

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

Answer(s): B,E

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

Answer(s): C,D,E

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.)
A. Column positions must be used in the ORDER BY clause

B. Only column names from the first SELECT statement in the compound query
are recognized
C. The first column in the first SELECT of the compound query with the UNION
operator is used by default to sort output in the absence of an ORDER BY
clause

D. Each SELECT statement in the compound query must have its own ORDER
BY clause

E. Each SELECT statement in the compound query can have its own ORDER BY
clause

Answer(s): B,E

You might also like