Which two statements are true about space-saving features in an Oracle Database? (Choose two.)
APrivate Temporary Tables (PTTS) store metadata in memory only
BAn index created with the UNUSABLE attribute has no segment
CIf they exist for a session, Private Temporary Tables (PTTs) are always dropped at the next COMMIT OR ROLLBACK statement
DAn index that is altered to be UNUSABLE will retain its segment
EA table that is truncated will always have its segment removed
Which three statements are true about GLOBAL TEMPORARY TABLES? (Choose three.)
AA TRUNCATE command issued in a session causes all rows in a GLOBAL TEMPORARY TABLE for the issuing session to be deleted.
BGLOBAL TEMPORARY TABLE rows inserted by a session are available to any other session whose user has been granted select on the table.
CGLOBAL TEMPORARY TABLE space allocation occurs at session start.
DAny GLOBAL TEMPORARY TABLE rows existing at session termination will be deleted.
EA GLOBAL TEMPORARY TABLE'S definition is available to multiple sessions.
FA DELETE command on a GLOBAL TEMPORARY TABLE cannot be rolled back.
Which two statements are true about the DUAL table? (Choose two.)
AIt can be accessed only by the SYS user
BIt consists of a single row and single column of VARCHAR2 data type
CIt can display multiple rows but only a single column
DIt can be used to display only constants or pseudo columns
EIt can be accessed by any user who has the SELECT privilege in any schema
FIt can display multiple rows and columns
Which two are true about a SQL statement using SET operators such as UNION? (Choose two.)
AThe data type group of each column returned by the second query must match the data type of the corresponding column returned by the first query.
BThe number, but not names, of columns must be identical for all SELECT statements in the query.
CThe data type of each column returned by the second query must exactly match the data type of the corresponding column returned by the first query.
DThe names and number of columns must be identical for all SELECT statements in the query.
EThe data type of each column returned by the second query must be implicitly convertible to the data type of the corresponding column returned by the first query.
Question 6
Using Single-Row and Aggregate Functions
0
Question 7
Creating Views and Synonyms
Question 8
Moving Data
Question 9
Using Single-Row and Aggregate Functions
Question 10
Using Subqueries
Question 11
Using Subqueries
Question 12
Accessing an Oracle Database with Oracle Supplied Tools
Question 13
Managing Tablespaces and Datafiles
Question 14
Restricting and Sorting Data
Question 15
Restricting and Sorting Data
Question 16
Using DML and Transaction Control Statements
Question 17
Managing Undo
Question 18
Managing Constraints
Question 20
Managing Data in Different Time Zones
Question 21
Understanding Oracle Database Architecture
Question 22
Configuring Oracle Net Services
Question 23
Using Single-Row and Aggregate Functions
Question 24
Accessing an Oracle Database with Oracle Supplied Tools
Question 25
Managing Tablespaces and Datafiles
Question 26
Managing Tablespaces and Datafiles
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ad
Want a break from the ads?
Become a Supporter and enjoy a completely ad-free experience, plus unlock Learn Mode, Exam Mode, AstroTutor AI, and more.
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Table ORDER_ITEMS contains columns ORDER_ID, UNIT_PRICE and QUANTITY, of data type NUMBER.
Examine these SQL statements:
Statement 1:
SELECT MAX(unit_price * quantity) Maximum Order
FROM order_items;
Statement 2:
SELECT MAX(unit_price * quantity) Maximum Order
FROM order_items -
GROUP BY order_id;
Which two statements are true?
AStatement 1 returns only one row of output.
BStatement 2 returns only one row of output.
CBoth statements will return NULL if either UNIT_PRICE or QUANTITY contains NULL.
DBoth the statements give the same output.
EStatement 2 may return multiple rows of output.
Which three statements are true about views in an Oracle database? (Choose three.)
AViews can be updated without the need to re-grant privileges on the view
BTables in the defining query of a view must always exist in order to create the view
CThe WITH CHECK clause prevents certain rows from being displayed when querying the view
DData Manipulation Language (DML) can always be used on views
EInserting one or more rows using a view whose defining query contains a GROUP BY clause will cause an error
FDeleting one or more rows using a view whose defining query contains a GROUP BY clause will cause an error
Which three statements are true about external tables in Oracle 18c and later releases? (Choose three.)
AExternal table files can be used for other external tables in a different database
BThe ORACLE_LOADER access driver can be used to unload data from a database into an external table
CThe ORACLE_DATAPUMP access driver can be used to unload data from a database into an external table
DThey cannot be partitioned
EThe ORACLE_DATAPUMP access driver can be used to load data into a database from an external table
FThey support UPDATEs but not INSERTs and DELETEs
Which statement is true about aggregate functions?
AAggregate functions can be nested to any number of levels
BThe AVG function implicitly converts NULLS to zero
CAggregate functions can be used in any clause of a SELECT statement
DThe MAX and MIN functions can be used on columns with character data types
Table EMPLOYEES contains columns including EMPLOYEE_ID, JOB_ID and SALARY.
Only the EMPLOYEE_ID column is indexed.
Rows exist for employees 100 and 200.
Examine this statement:
Which two statements are true? (Choose two.)
AEmployee 100 will have SALARY set to the same value as the SALARY of employee 200
BEmployee 200 will have JOB_ID set to the same value as the JOB_ID of employee 100
CEmployee 200 will have SALARY set to the same value as the SALARY of employee 100
DEmployee 100 will have JOB_ID set to the same value as the JOB_ID of employee 200
EEmployees 100 and 200 will have the same JOB_ID as before the update command
FEmployees 100 and 200 will have the same SALARY as before the update command
Which two statements are true about the results of using the INTERSECT operator in compound queries? (Choose two.)
AColumn names in each SELECT in the compound query can be different
BThe number of columns in each SELECT in the compound query can be different
CReversing the order of the intersected tables can sometimes affect the output
DINTERSECT returns rows common to both sides of the compound query
EINTERSECT ignores NULLs
Which three statements are true about the DESCRIBE command? (Choose three.)
AIt displays the PRIMARY KEY constraint for any column or columns that have that constraint
BIt can be used from SQL Developer
CIt displays the NOT NULL constraint for any columns that have that constraint
DIt can be used to display the structure of an existing view
EIt displays all constraints that are defined for each column
FIt can be used only from SQL*Plus
You execute this command:
Sufficient storage is available in filesystem /u01.
Which two statements are true about the BIG_TBS tablespace? (Choose two.)
AAUTOEXTEND is possible for the datafile
BIt must be bigger than the largest SMALLFILE tablespace
CAdditional data files may not be added
DIt will be a dictionary-managed tablespace by default
EIt will always have a 32K blocksize
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.)
AColumn positions must be used in the ORDER BY clause
BOnly column names from the first SELECT statement in the compound query are recognized
CThe 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
DEach SELECT statement in the compound query must have its own ORDER BY clause
EEach SELECT statement in the compound query can have its own ORDER BY clause
Which two statements are true about the rules of precedence for operators? (Choose two.)
AThe concatenation operator | | is always evaluated before addition and subtraction in an expression
BNULLS influence the precedence of operators in an expression
CThe + binary operator has the highest precedence in an expression in a SQL statement
DArithmetic operators with equal precedence are evaluated from left to right within an expression
EMultiple parentheses can be used to override the default precedence of operators in an expression
In which three situations does a new transaction always start? (Choose three.)
Awhen issuing a SELECT FOR UPDATE statement after a CREATE TABLE AS SELECT statement was issued in the same session
Bwhen issuing a TRUNCATE statement after a SELECT statement was issued in the same session
Cwhen issuing a CREATE TABLE statement after a SELECT statement was issued in the same session
Dwhen issuing the first Data Manipulation Language (DML) statement after a COMMIT OR ROLLBACK statement was issued in the same session
Ewhen issuing a CREATE INDEX statement after a CREATE TABLE statement completed successfully in the same session
Fwhen issuing a DML statement after a DML statement failed in the same session
Which two statements are true about UNDO and REDO? (Choose two.)
AThe generation of UNDO generates REDO
BDML modifies Oracle database objects and only generates UNDO
CThe generation of REDO generates UNDO
DDML modifies Oracle database objects and only generates REDO
EDML modifies Oracle database objects and generates UNDO and REDO
Which four statements are true regarding primary and foreign key constraints and the effect they can have on table data? (Choose four.)
AA table can have only one primary key but multiple foreign keys
BA table can have only one primary key and one foreign key
CThe foreign key columns and parent table primary key columns must have the same names
DIt is possible for child rows that have a foreign key to remain in the child table at the time the parent row is deleted
EIt is possible for child rows that have a foreign key to be deleted automatically from the child table at the time the parent row is deleted
FOnly the primary key can be defined at the column and table level
Which three statements are true about time zones, date data types, and timestamp data types in an Oracle database? (Choose three.)
AThe CURRENT_TIMESTAMP function returns data without time zone information
BA TIMESTAMP WITH LOCAL TIMEZONE data type column is stored in the database using the time zone of the session that inserted the row
CA TIMESTAMP data type column contains information about year, month, and day
DThe DBTIMEZONE function can return an offset from Universal Coordinated Time (UTC)
EThe SESSIONTIMEZONE function can return an offset from Universal Coordinated Time (UTC)
Which two statements are true about trace files produced by the Oracle Database server? (Choose two.)
AThey can be written by server processes
BTrace files are written to the Fast Recovery Area (FRA)
CThey can be written by background processes
DAll trace files contain error information that require contacting Oracle Support
ETrace file names are based on the database name concatenated with a sequential number
Which three statements are true about the tools used to configure Oracle Net Services? (Choose three.)
AThe Oracle Net Configuration Assistant is only used when running the Oracle installer
BOracle Net Manager can be used to centrally configure listeners on any database server target
CThe lsnrctl utility requires a listener.ora file to exist before it is started
DOracle Net Manager can be used to locally configure naming methods on a database server
EEnterprise Manager Cloud Control can be used to centrally configure listeners on any managed database server
FEnterprise Manager Cloud Control can be used to centrally configure net service names for any database server target
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.)
ACURRENT_TIMESTAMP returns the same date and time as SYSDATE with additional details of fractional seconds
BSYSDATE can be queried only from the DUAL table
CCURRENT_DATE returns the current date and time as per the session time zone
DSYSDATE can be used in expressions only if the default date format is DD-MON-RR
ESYSDATE and CURRENT_DATE return the current date and time set for the operating system of the database server
FCURRENT_TIMESTAMP returns the same date as CURRENT_DATE
Which two statements are true about the SET VERIFY ON command? (Choose two.)
AIt can be used only in SQL*Plus
BIt displays values for variables used only in the WHERE clause of a query
CIt can be used in SQL Developer and SQL*Plus
DIt displays values for variables created by the DEFINE command
EIt displays values for variables prefixed with &&
Examine this command:
Which two statements are true? (Choose two.)
ADML may be performed on tables with one or more extents in this data file during the execution of this command.
BThe tablespace containing SALES1.DBF must be altered READ ONLY before executing the command.
CThe tablespace containing SALES1.DBF must be altered OFFLINE before executing the command.
DIf Oracle Managed Files (OMF) is used, then the file is renamed but moved to DB_CREATE_FILE_DEST.
EThe file is renamed and stored in the same location
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:
SQL> CREATE TABLE t1 AS -
(SELECT object_name, sharing, created
FROM dba_objects);
U1 complains that the command is taking too long to execute.
In the alert log, the database administrator (DBA) finds this:
2017-03-06T12:15:17.183438+05:30
statement in resumable session 'User U1(136), Session 1, Instance 1' was suspended due to ORA-01536: space quota exceeded for tablespace 'DATA'
Which are three actions any one of which the DBA could take to resume the session? (Choose three.)