-
Evaluate the SQL statement:
https://assets.asklib.com/images/image2/2018080115100724106.jpg
What is the result of the statement?()
A . The statement produces an error at line 1.
B . The statement produces an error at line 3.
C . The statement produces an error at line 6.
D . The statement returns the employee name, salary, department ID, and maximum salary earned in the department of the employee for all departments that pay less salary then the maximum salary paid in the company.
E . The statement returns the employee name, salary, department ID, and maximum salary earned in the department of the employee for all employees who earn less than the maximum salary in their department.
-
Evaluate the following function code:
https://assets.asklib.com/images/image2/201808021152174326.jpg
Which statement is true regarding the above function? ()
A . The cached result becomes invalid when any structural change is done to the EMPLOYEES table.
B . If the function execution results in an unhandled exception, the exception result is also stored in the cache.
C . Each time the function is invoked in a different session, the current result in the result cache gets overwritten.
D . If the function is invoked with a different parameter value, the existing result in the result cache gets overwritten by the latest value.
-
Evaluate the SQL statement DROP TABLE DEPT: Which four statements are true of the SQL statement? ()
A . You cannot roll back this statement.
B . All pending transactions are committed.
C . All views based on the DEPT table are deleted.
D . All indexes based on the DEPT table are dropped.
E . All data in the table is deleted, and the table structure is also deleted.
F . All data in the table is deleted, but the structure of the table is retained.
G . All synonyms based on the DEPT table are deleted.
-
Evaluate the following SQL statements that are issued in the given order:
https://assets.asklib.com/images/image2/2018080114465944231.jpg
What would be the status of the foreign key EMP_MGR_FK?()
A . It would be automatically enabled and deferred.
B . It would be automatically enabled and immediate.
C . It would remain disabled and has to be enabled manually using the ALTER TABLE command.
D . It would remain disabled and can be enabled only by dropping the foreign key constraint and re-creating it.
-
Evaluate the SQL statement:
https://assets.asklib.com/images/image2/2018080115244941445.jpg
What will be displayed?()
A . 0
B . 1
C . 0.00
D . An error statement
-
Evaluate the set of SQL statements: CREATE TABLE dept (deptno NUMBER(2), dname VARCHAR2(14), loc VARCHAR2(13)); ROLLBACK; DESCRIBE DEPT What is true about the set?()
A . The DESCRIBE DEPT statement displays the structure of the DEPT table.
B . The ROLLBACK statement frees the storage space occupied by the DEPT table.
C . The DESCRIBE DEPT statement returns an error ORA-04043: object DEPT does not exist.
D . The DESCRIBE DEPT statement displays the structure of the DEPT table only if there is a COMMIT statement introduced before the ROLLBACK statement.
-
Evaluate this SQL statement:
https://assets.asklib.com/images/image2/2018080116195195495.jpg
What will happen if you remove all the parentheses from the calculation?()
A . The value displayed in the CALC_VALUE column will be lower.
B . The value displayed in the CALC_VALUE column will be higher.
C . There will be no difference in the value displayed in the CALC_VALUE column.
D . An error will be reported.
-
Evaluate the following SQL statements that are issued in the given order:
https://assets.asklib.com/images/image2/2018080114351530846.jpg
What would be the status of the foreign key EMP_MGR_FK?()
A . It would be automatically enabled and deferred.
B . It would be automatically enabled and immediate.
C . It would remain disabled and has to be enabled manually using the ALTER TABLE command.
D . It would remain disabled and can be enabled only by dropping the foreign key constraint and re-creating it.
-
Which of the following calendaring syntax expressions would evaluate to the last day of every month?()
A . FREQ = MONTHLY; BYMONTHDAY = 31
B . FREQ = MONTHLY; BYMONTHDAY = -1
C . FREQ = DAILY; BYDAY = -1
D . FREQ = MONTHLY; BYDAY = 31
E . FREQ = DAILY; BYMONTHDAY = LAST_DAY
-
Evaluate the following command and its output: SQL>SELECT * FROM dba_temp_free_space; TABLESPACE_NAME TABLESPACE_SIZE ALLOCATED_SPACE FREE_SPACE LMTEMP 250609664 101048576 149561088 Which two statements correctly interpret the output?()
A . FREE_SPACE indicates only the space that is currently unallocated.
B . ALLOCATED_SPACE indicates only the space currently allocated and in use.
C . FREE_SPACE indicates only the space that is currently allocated and available for reuse.
D . ALLOCATED_SPACE indicates both the space currently allocated and used,and the space that is available for reuse.
E . FREE_SPACE indicates both the space that is currently allocated and available for reuse,and the space that is currently unallocated.
-
Evaluate the SQL statement: TRUNCATE TABLE DEPT; Which three are true about the SQL statement? ()
A . It releases the storage space used by the table.
B . It does not release the storage space used by the table.
C . You can roll back the deletion of rows after the statement executes.
D . You can NOT roll back the deletion of rows after the statement executes.
E . An attempt to use DESCRIBE on the DEPT table after the TRUNCATE statement executes will display an error.
F . You must be the owner of the table or have DELETE ANY TABLE system privileges to truncate the DEPT table
-
Evaluate the following statements:
https://assets.asklib.com/images/image2/201808020932369103.jpg
What are the two consequences of the above statements?()
A . Partitions of PURCHASE_ORDER_ITEMS have system-generated names.
B . Both PURCHASE_ORDERS and PURCHASE_ORDER_ITEMS tables are created with four partitions each.
C . Partitions of the PURCHASE_ORDER_ITEMS table exist in the same tablespaces as the partitions of the PURCHASE_ORDERS table.
D . The PURCHASE_ORDER_ITEMS table inherits the partitioning key from the parent table by automatically duplicating the key columns.
E . Partition maintenance operations performed on the PURCHASE_ORDER_ITEMS table are automatically reflected in the PURCHASE_ORDERS table.
-
Evaluate the following command: SQL>ALTER SYSTEM SET db_securefile = 'IGNORE'; What is the impact of this setting on the usage of SecureFiles?()
A . It forces BasicFiles to be created even if the SECUREFILE option is specified to create the LOB
B . It forces SecureFiles to be created even if the BASICFILE option is specified to create the LOB
C . It does not allow the creation of SecureFiles and generates an error if the SECUREFILE option is specified to create the LOB
D . It ignores the SECUREFILE option only if a Manual Segment Space Management tablespace is used and creates a BasicFile
-
Evaluate the following block of code:
https://assets.asklib.com/images/image2/2018080208432879092.jpg
What is the outcome of the above code?()
A . It produces an error because a fully qualified host name needs to be specified.
B . It produces an error because the range of ports associated with the hosts has not been specified.
C . It creates an access control list (ACL) with the user ACCT_MGR who gets the CONNECT and RESOLVE privileges.
D . It creates an access control list (ACL) with the user ACCT_MGR who gets the CONNECT privilege but not the RESOLVE privilege.
-
Evaluate the following command: SQL>ALTER SYSTEM SET db_securefile = ’IGNORE’; What is the impact of this setting on the usage of SecureFiles?()
A . It forces BasicFiles to be created even if the SECUREFILE option is specified to create the LOB
B . It forces SecureFiles to be created even if the BASICFILE option is specified to create the LOB
C . It does not allow the creation of SecureFiles and generates an error if the SECUREFILE option is specified to create the LOB
D . It ignores the SECUREFILE option only if a Manual Segment Space Management tablespace is used and creates a BasicFile
-
Evaluate the following command: SQL> CREATE TABLE design_data (id NUMBER, doc CLOB) LOB(doc) STORE AS SECUREFILE(DEDUPLICATE); Which statement is true regarding the above command?()
A . The LOB values are automatically compressed.
B . The LOB values are cached by default in the buffer cache.
C . The LOB values are automatically stored in encrypted mode.
D . All LOB data that is identical in two or more rows in a LOB column share the same data blocks.
-
Evaluate the following command:
https://assets.asklib.com/images/image2/2018080210413383362.jpg
Which statement is true regarding the above command?()
A . The LOB matically compressed.
B . The LOB values are cached bvalues are autoy default in the buffer cache.
C . The LOB values are automatically stored in encrypted mode.
D . All LOB data that is identical in two or more rows in a LOB column share the same data blocks.
-
Evaluate the following command and its output:
https://assets.asklib.com/images/image2/2018080214105523041.jpg
Which two statements correctly interpret the output?()
A . FREE_SPACE indicates only the space that is currently unallocated.
B . ALLOCATED_SPACE indicates only the space currently allocated and in use.
C . FREE_SPACE indicates only the space that is currently allocated and available for reuse.
D . ALLOCATED_SPACE indicates both the space currently allocated and used, and the space that is available for reuse.
E . FREE_SPACE indicates both the space that is currently allocated and available for reuse, and the space that is currently unallocated.
-
Evaluate the SQL statement: SELECT LPAD (salary,10,*) FROM EMP WHERE EMP _ ID = 1001; If the employee with the EMP_ID 1001 has a salary of 17000, what is displayed?()
A . 17000.00
B . 17000*****
C . ****170.00
D . **17000.00
E . an error statement
-
Evaluate the set of SQL statements:
https://assets.asklib.com/images/image2/201808011518065034.jpg
What is true about the set?()
A . The DESCRIBE DEPT statement displays the structure of the DEPT table.
B . The ROLLBACK statement frees the storage space occupies by the DEPT table.
C . The DESCRIBE DEPT statement returns an error ORA-04043: object DEPT does not exist.
D . The DESCRIBE DEPT statement displays the structure of the DEPT table only if there is a COMMIT statement introduced before the ROLLBACK statement.
-
Evaluate the SQL statement: SELECT ROUND(45.953, -1), TRUNC(45.936, 2) FROM dual; Which values are displayed? ()
A . 46 and 45
B . 46 and 45.93
C . 50 and 45.93
D . 50 and 45.9
E . 45 and 45.93
F . 45.95 and 45.93
-
Evaluate the SQL statement: SELECT ROUND(TRUNC(MOD(1600,10),-1),2) FROM dual; What will be displayed? ()
A . 0
B . 1
C . 0.00
D . An error statement
-
Evaluate this SQL statement:What will happen if you remove all the parentheses from the calculation?()
<img src='https://img2.soutiyun.com/ask/uploadfile/2019-03-27/b0aed9f70f3cf7c71c4d975acbe48082.jpg' />
A. The value displayed in the CALC_VALUE column will be lower.
B. The value displayed in the CALC_VALUE column will be higher.
C. There will be no difference in the value displayed in the CALC_VALUE column.
D. An error will be reported.
-
Evaluate the set of SQL statements:CREATE TABLE dept(deptno NUMBER(2),dname VARCNAR2(14),1oc VARCNAR2 (13));ROLLBACK;DESCRIBE DEPTWhat is true about the set?()
A. The DESCRIBE DEPT statement displays the structure of the DEPT table.
B. The ROLLBACK statement frees the storage space occupies by the DEPT table.
C. The DESCRIBE DEPT statement returns an error ORA-04043: object DEPT does not exist.
D. The DESCRIBE DEPT statement displays the structure of the DEPT table only if there is a COMMIT statement introduced before the ROLLBACK statement.