Junetheriver/OpsEval huggingface dataset:
Question: Which three actions can you perform by using the ALTER TABLE command?
A.  Restrict all DML statements on a tablE.
B.  Drop pseudocolumns from a tablE.
C.  Drop all columns simultaneously from a tablE.
D.  Lock a set of rows in a tablE.
E.  Rename a tablE.
F.  Enable or disable constraints on a tablE.
Answer: A,E,F
Question: "135. If the two's complement of "2X" is "90H", then the true value of X is:
A. 72
B. -56
C. 56
D. 111"
Answer: B
Question: 146. How to enable password verification function?
A. Use ORAPWD application
B. Execute catproC.sql script in SYS mode
C. Execute utlpwdmG.sql script in SYS mode
D. Set the PASSWORD_VERIFY initialization parameter to TRUE.
Answer: C
Question: "Segment is a logical storage structure in a tablespace, and the following is not a segment type used by ORACLE database.
(A. Index segment (B. Temporary segment (C. Rollback segment (D. Code segment)"
Answer: D
Question: Which three are true about multitable INSERT statements?
A.  They can be performed on relational tables.
B.  They can be performed only by using a subquery.
C.  They can be performed on remote tables.
D.  They can insert each computed row into more than one tablE.
E.  They can be performed on extemal tables using SQL*Loader.
F.  They can be performed on views.
Answer: B,C,D
Question: 39、You want to transport the UNIVERSIRY tablespace from one database to another.
The universiry tablespace is currently open read/write
The source and destination platforms have the same endian format.
Examine this list of steps:
1. Make the UNIVERSIRY tablespace read-only on the source system
2. Export the UNIVERSIRY tablespace metadata using EXPDP
3. Create a cross-platform backup set from the UNIVERSITY tablespace on the source system, 
using an
RMAN command that includes the DAMAPUMP clause
4. Copy the cross-platform backup sets to the destination system
5. Copy the Data Pump dump set from the source to the destination system
6. Restore the cross-platform backup set on the destination system using an RMAN command that
includes the pamapump clause
7. Import the UNIVERSIRY tablespace metadata using IMPDP
8. Make the UNIVERSIRY tablespace read/write on the destination system
Which are the minimum number of steps required, in the correct order, to transport the 
UNIVERSIRY tablespace?
A. 3,4,6
B. 1,3,4,6,8
C. 1,2,3,4,5,6,7,8
D. 2,3,4,5,6,7
Answer: B
Question: "173. You need to increase the credit limit for each customer's information by $1000. When outputting, the column header for the customer's last name should be Name, and the column header for the new credit limit should be New Credit Limit.
A. SELECT cust_last_name Name, cust_credit_limit + 1000 "New Credit Limit" FROM customers;
B. SELECT cust_last_name AS Name, cust_credit_limit + 1000 AS New Credit Limit FROM customers;
C. SELECT cust_last_name AS "Name", cust_credit_limit + 1000 AS "New Credit Limit" FROM customers;
D. SELECT INITCAP(cust_last_namE. "Name", cust_credit_limit + 1000 INITCAP("NEW CREDIT LIMIT") FROM customers;"
Answer: C
Question: Examine the data in the CUST NAME column of the CUSTOMERS table:
CUST_NAME
------------------------------
Renske Ladwig
Jason Mallin
Samuel McCain
Allan MCEwen
Irene Mikkilineni
Julia Nayer
You want to display the CUST_NAME values where the last name starts with Mc or MC.
Which two WHERE clauses give the required result?
A.  WHERE INITCAP (SUBSTR(cust_name, INSTR(cust_name,' ') +1 ) ) IN ('MC%', 'Mc%)
B.  WHERE UPPER (SUBSTR(cust_nane, INSTR(cust_name, ' ') +1 ) ) LIKE UPPER('MC%')
C.  WHERE INITCAP(SUBSTR(cust_nane, INSTR(cust_name,' ') +1 ) ) LIKE 'Mc%'
D.  WHERE SUBSTR(cust_name,INSTR(cust_name,' ') +1 ) LIKE 'Mc%' OR 'MC%'
E.  WHERE SUBSTR(cust_name, INSTR(cust_name,' ') +1 ) LIKE 'Mc%'
Answer: B,C
Question: The PRODUCT_INFORMATION table has a UNIT_PRICE column of data type NUMBER(8, 2).
Evaluate this SQL statement:
SELECT TO_CHAR(unit_price,'$9,999') FROM Product_intormation;
Which two statements are true about the output?
A.  A row whose UNIT_PRICE column contains the value 1023.99 will be displayed as $1,024.
B.  A row whose UNIT_PRICE column contains the value 1023.99 will be displayed a5 $1,023.
C.  A row whose UNIT_PRICE column contains the value 10235.99 will be displayed as $1,0236.
D.  A row whose UNIT_PRICE column contains the value 10235.99 will be displayed as $1,023.
E.  A row whose UNIT_PRICE column contains the value 10235.99 will be displayed as #####
Answer: A,E
Question: Examine this query:
SELECT employee_id,first_name,salary
FROM employees
WHERE hire_date > '&1';
Which two methods should you use to prevent prompting for a hire date value when this query is 
executed? 
A.  Use the DEFINE command before executing the query.
B.  Store the query in a script and pass the substitution value to the script when executing it.
C.  Replace '&1' with '&&1' in the query.
D.  Execute the SET VERIFY OFF command before executing the query.
E.  Use the UNDEFINE command before executing the query.
F.  Execute the SET VERIFY ON command before executing the query.
Answer: A,C
Question: Examine this description of the PRODUCTS table:
Name NULL? TYPE
------------------------------------------------------------------------
PROD_ID NOT NULL VARCHAR2(6)
QUANTITY NUMBER(8,2)
PRICE NUMBER(10.2)
EXPIRY_DATE DATE
Rows exist in this table with data in all the columns. You put the PRODUCTS table in read-only modE.
Which three commands execute successfully on PRODUCTS?
A.  ALTER TAELE products DROP COLUMN expiry_date;
B.  CREATE INDEX price_idx on products (pricE. ;
C.  ALTER TABLE products SET UNUSED(expiry_datE. ;
D.  TRUNCATE TABLE products;
E.  ALTER TABLE products DROP UNUSED COLUMNS
F.  DROP TABLE products
Answer: B,E,F
Question: "70. Which of the following locking modes does not belong to Oracle?
A. Deadlock B. Exclusive lock C. Row-level shared lock D. Shared lock"
Answer: A
Question: "112. Locks are used to lock tables, allowing other users to query rows in the table and lock the table, but not allowing insertion, updating, and deleting of rows.
A. Row shared B. Row exclusive C. Shared D. Exclusive"
Answer: C
Question: "126. Data dictionary view containing the code text of stored procedures
A. A.USER_OBJECTS
B. USER_TEXT
C. USER_SOURCE
D. USER_DESC"
Answer: C
Question: 7 、Which three actions will add a resource to an Oracle Restart configuration?
A. creating a database service using Oracle Database Configuration Assistant(DBCA. 
B. creating a disk group using the CREATE DISKGROUP SQL statement
C.  creating a database using the CREATE DATABASE SQL statement
D. creating an Oracle Database service by modifying the SERVICE NAMES parameter
E. creating an Oracle Automatic Storage Management(AM)instance with ASM Configuration 
Assistant(ASMCA. 
F ) creating a database service using DBMS SERVICE CREATE SERVICE
Answer: A,B,E
Question: 78、Which two are true about Oracle Grid Infrastructure for a Standalone Server?
A.  It requires Oracle Automatic Storage Management(ASM)components to be installed separately
B.  The CSS daemon runs from the Grid Infrastructure home
C.  It can manage database resources on the server where it is installed or on a different server.
D.  It supports volume management, file system, and automatic restart capabilities
E.  It must be installed before the Oracle database software is installed
Answer: B,D
Question: 110 Which three are true about Oracle Grid Infrastructure for a Standalone Server?
A.  It includes both Oracle Restart and Oracle Automatic Storage Management(ASM) softwarE.
B.  It creates one disk group during installation.
C.  It requires the operating system ORACLE_BASE environment variable to be predefined before 
installation.
D.  It requires Oracle ASMLib to manage Automatic Storge Management(ASM) disks.
E.  It requires Oracle ASM Filter Driver(ASMFD.  to manage Automatic Storge 
Management(ASM) disks.
F.  Automatic Storge Management(ASM) requires that O/S groups OSASM and OSDBA be 
assigned as secondary groups for its installation owner.
Answer: A,B,F
Question: Examine the description of the COUNTRIES table:
Name Null? Type
-----------------------------------------------------------------------
COUNTRY_ID NOT NULL CHAR(2)
COUNTRY_NAME VARCHAR2 (40) 
Examine the description of the DEPARTMENTS table: 
Name Null? Type
-------------------------------------------------------------------
DEPARTMENT_ID NOT NULL NUMBER(4)
DEPARTMENT_NAME NOT NULL VARCHAR2 (30)
LOCATION_ID NUMBER(4)
Examine the description of the LOCATIONS table:
Name Null? Type 
------------------------------------------------------------------------
LOCATION_ID NOT NULL NUMBER(4)
ADDRESS VARCHAR2 (140)
COUNTRY_ID CHAR (2)
Which two queries will return a list of countries with no departments?
A.  SELECT country_id, country_name
FROM countries
MINUS
SELECT l.country_id, C.country_name
FROM locations l
JOIN countries c ON l.country_id = C.country_id
JOIN departments d ON D.location_id = l.location_id;
B.  SELECT country_id, country_name
FROM countries
JOIN locations USING (country_iD. 
JOIN departments USING (location_iD. 
WHERE department_id is NULL;
C.  SELECT country_id, country_name
FROM countries
WHERE country_id NOT IN (
SELECT country_id
FROM countries
JOIN locations USING (country_iD. 
JOIN departments USING (location_iD. 
);
D.  SELECT country_id, country_name
FROM countries
INTERSECT
SELECT l.country_id, C.country_name
FROM locations l
JOIN countries c ON l.country_id = C.country_id
JOIN departments d ON D.location_id = l.location_id; 
Answer: A,C
Question: "41. Regarding the TRUNCATE and DELETE commands, which of the following statements is correct?
A. Both belong to DML statements.
B. Neither belongs to DML statements.
C. After executing the TRUNCATE command, any previously uncommitted transactions in the session are automatically committed.
D. After executing the TRUNCATE command, any previously uncommitted transactions in the session are automatically rolled back."
Answer: C
Question: "15. Connect to the root container (CDB$ROOT) as the sys user and issue the command: Create role c##r1 container=current; Which of the following statements is correct?
A. The C##R1 role is only created in the root container.
B. The C##R1 role is only created in all PDB containers.
C. The C##R1 role is created in both the root container and all PDB containers.
D. The command will result in an error."
Answer: D
Question: 106 A container database called CDB1 is OMF-enableD. PDB_FILE_NAME_CONVERT is not 
configured in CDB1. PDB1 was unplugged from CDB1 earlier in the week.
Examine this command, which will be executed in CDB1:
CREATE PLUGGABLE DATABASE pdb1USING '/u01/app/oracle/oradata/pdb1.xml' 
SOURCE_FILE_NAME_CONVERT=('/u01/app/or acle/oradata/','/u02/app/oracle/oradata/');
Which two are true? (Choose two.)
A.  PDB1 data files already exist in the correct location.
B.  DBMS_PDB.CHECK_PLUG_COMPATIBILITY must be run in CDB1 before executing the 
commanD.
C.  PDB_FILE_NAME_CONVERT must be set before executing the commanD.
D.  /u01/app/oracle/oradata/pdb1.xml does not contain the current locations of data files for PDB1. 
E.  PDB1 must be dropped from CDB1.
Answer: A,E
Question: "94. Oracle provides a tool for transferring data between Oracle databases on different hardware platforms.
A. Archive log running mode
B. RECOVER command
C. Recovery Manager (RMAN)
D. Export and Import tools."
Answer: D
Question: "95. Use the agentless installation of MySQL Enterprise Monitor to monitor MySQL servers. Which two features are available with this installation method?
A. Disk usage and disk characteristics, including disk advisor program warnings
B. Operating system memory utilization
C. CPU utilization
D. Advisor program warnings related to security
E. MySQL replication monitoring"
Answer: D,E
Question: "208. Regarding the use of ALTER TABLE to modify the definition of a table, which of the following statements is correct?
A. This command can be used to modify the name of a table.
B. This command can be used to modify the name of a column.
C. This command can be used to modify the data type of a column.
D. This command can be used to modify the precision of a column."
Answer: B,C,D
Question: "142. If table a was originally an empty table, which of the following statements is correct after executing the following statements: insert into a values(1,'abc','1'); insert into a values(2,'abc','2'); create table b as select * from a; rollback; 
A. Both table a and table b have no data 
B. Both table a and table b have two rows of data 
C. Table a has data, and table b has no data 
D. Table a has no data, and table b has data"
Answer: C
Question: "87. When creating a user in Oracle, if the DEFAULT TABLESPACE keyword is not mentioned, Oracle will allocate a tablespace to the user as the default tablespace.
A. USER
B. SYSTEM
C. SYS
D. DEFAULT"
Answer: B
Question: "207. The correct statements about TRUNCATE and DELETE are:
A. TRUNCATE belongs to DDL, while DELETE belongs to DML.
B. Both TRUNCATE and DELETE can delete specified records in a table.
C. TRUNCATE cannot delete specified records in a table, while DELETE can.
D. TRUNCATE has a higher execution efficiency than DELETE when clearing table records.
E. There is no difference between TRUNCATE and DELETE."
Answer: A,C,D
Question: You ceate a table by using this command:
CREATE TABLE rate_list (rate NUMBER(6,2));
Which two are true about executing statements?
A.  INSERT INTO rate_list VALUES (-.9) inserts the value as -.9.
B.  INSERT INTO rate_list VALUES (0.999) produces an eror.
C.  INSERT INTO rate_list VALUES (-10) produces an error.
D.  INSERT INTO rate_list VALUES (87654. 556) inserts the value as 87654.6.
E.  INSERT INTO rate_list VALUES (0.551) inserts the value as .55.
F.  INSERT INTO rate_list VALUES (-99.99) inserts the value as 99.99.
Answer: A,E
Question: 26、Which three are true about block media recovery?
A.  The target database for which one or more blocks are to be recovered must be in the OPEN 
state
B.  The data file containing the block being recovered remains online
C.  It cannot repair logical corruption
D.  It can be performed on noncorrupt blocks
E.  A block being recovered is not accessible
F.  To use it, Flashback Database must be enabled
Answer: B,D,E
Question: "53. Which statement is correct for increasing the salary of employees who earn less than 3000 yuan or less than the average salary by 10%?
A. UPDATE EMP SET SAL=SAL*1.1 WHERE SAL < 3000 OR SAL < AVG(SAL)
B. UPDATE SET SAL=SAL*1.1 FROM EMP WHERE SAL < 3000 OR SAL < AVG(SAL)
C. UPDATE SET SAL=SAL*1.1 FROM EMP WHERE SAL < 3000 OR SAL < (SELECT AVG(SAL) FROM EMP)
D. UPDATE EMP SET SAL=SAL*1.1 WHERE SAL < 3000 OR SAL < (SELECT AVG(SAL) FROM EMP)"
Answer: D
Question: The ORDERS table has a primary key constraint on the ORDER_ID column.
The ORDER_ITEMS table has a foreign key constraint on the ORDER_ID column,referencing the 
primary key of the ORDERS tablE.
The constraint is defined with on DELETE CASCADE.
There are rows in the ORDERS table with an ORDER_TOTAL less than 1000.
Which three DELETE statements execute successfully?
A.  DELETE FROM orders WHERE order_total<1000;
B.  DELETE * FROM orders WHERE order_total<1000;
C.  DELETE orders WHERE order_total<1000;
D.  DELETE FROM orders;
E.  DELETE order_id FROM orders WHERE order_total<1000;
Answer: A,C,D
Question: Which two statements are true about substitution variables?
A.  A substitution variable prefixed with & always prompts only once for a value in a session.
B.  A substitution variable can be used only in a SELECT statement.
C.  A substitution variable used to prompt for a column name must be enclosed in single quotation 
marks.
D.  A substitution variable used to prompt for a column name must be endlosed in double quotation 
marks.
E.  A substitution variable prefixed with && prompts only once for a value in a session unless it is 
set to undefined in the session.
F.  A substitution variable can be used with any clause in a SELECT statement.
Answer: E,F
Question: Examine this SQL statement:
DELETE FROM employees e
WHERE EXISTS
(SELECT 'dummy'
FROM emp_history
WHERE employee_id = E.employee_iD. 
Which two are true?
A.  The subquery is executed for every row in the EMPLOYEES tablE.
B.  The subquery is not a correlated subquery.
C.  The subquery is executed before the DELETE statement is executeD.
D.  All existing rows in the EMPLOYEEE table are deleteD.
E.  The DELETE statement executes successfully even if the subquery selects multiple rows.
Answer: A,E
Question: 58、RMAN has just been connected to a target database and the recovery catalog database
In which two cases would an automatic full resynchronization occur between this target databases 
control file and the RMAN recovery catalog?
A.  when control file metadata for archive log backups or image copies has been overwritten in the 
target databases control file due to being older than CONTROL FILE RECORD KEEP TIME
B.  when control file metadata for data file backups or image copies has been overwritten in the 
target databases control file due to being older than CONTROL FILE RECORD KEEP TIME
C.  when a backup of the current control file is created
D.  when the target is first registered
E.  when a new tablespace is added to a registered target database
Answer: C,D
Question: "78. Which clauses in the SELECT statement can contain subqueries?
A. SELECT B. GROUP BY C. WHERE D. ORDER BY"
Answer: C
Question: "69. If the server process cannot find a free block in the data buffer to add data blocks read from the data file, which process will the system start?
A. CKPT
B. DBWR
C. LGWR
D. SMON"
Answer: D
Question: Which two queries execute successfully?
A.  SELECT SYSTIMESTAMP + INTERVAL '1' DAY FROM DUAL;
B.  SELECT SYSDATE * INTERVAL '1' DAY FROM DUAL; .
C.  SELECT INTERVAL '1' DAY - SYSDATE FROM DUAL;
D.  SELECT INTERVAL '1' DAY - INTERVAL '1' MINUTE FROM DUAL;
E.  SELECT INTERVAL '1' DAY + INTERVAL '1' MONTH FROM DUAL;
Answer: A,D
Question: "209. Regarding subqueries, which of the following statements is correct?
A. Subqueries must be enclosed in parentheses.
B. Subqueries can be written in the FROM, WHERE, and HAVING clauses.
C. ALL is mainly used in multi-row subqueries, indicating that the result set should be less than any value in the subquery.
D. Subqueries can be used in the SET clause of UPDATE."
Answer: A,B,D
Question: "180. Which of the following CREATE TABLE syntaxes is valid?
A. CREATE TABLE emp9$# (emp_no NUMBER (4));
B. CREATE TABLE 9emp$# (emp_no NUMBER(4)); 
C. CREATE TABLE emp*123 (emp_no NUMBER(4)); 
D. CREATE TABLE emp9$# (emp_no NUMBER(4), date DATE. ;"
Answer: A
Question: "211. Which of the following statements is correct?
A. Starting from 12c, Oracle allows one instance to be associated with multiple databases.
B. The network interface names presented to Oracle by each node in Oracle RAC must be consistent according to their usage.
C. The size of a tablespace is the sum of the sizes of all its data files.
D. The logical structure and physical structure are associated through tablespaces and data files."
Answer: A,B,C,D
Question: "120. To create a private synonym using one's own schema, the user must have system privileges.
A. CREATE PRIVATE SYNONYM
B. CREATE PUBLIC SYNONYM
C. CREATE SYNONYM
D. CREATE ANY SYNONYM"
Answer: C
Question: "138. Which encryption algorithm is suitable for encrypting and transmitting a large amount of plaintext messages?
A. RSA
B. SHA-1
C. MD5
D. RC5"
Answer: D
Question: Choose the best answer
Examine these statements and results:
SQL> SELECT COUNT(*) FROM emp;
COUNT (*)
--------------------
14
SQL> CREATE GLOBAL TEMPORARY TABLE t_emp AS SELECT * FROM emp;
Table createD.
SQL> INSERT INTO t_emp SELECT * FROM emp;
14 rows createD.
SQL> COMMIT;
Commit completE.
SQL> INSERT INTO t_emp SELECT * FROM emp;
14 rows createD.
SQL> SELECT COUNT(*) FROM t_emp;
How many rows are retrieved by the last query?
A.  0
B.  14
C.  28
D.  42
Answer: B
Question: Which three statements are true about GLOBAL TEMPORARY TABLES?
A.  A GLOBAL TEMPORARY TABLE cannot have PUBLIC SYNONYM.
B.  A GLOBAL TEMPORARY TABLE can have multiple indexes
C.  A GLOBAL TEMPORARY TABLE can be referenced in the defining query of a view.
D.  Data Manipulation Language (DML) on GLOBAL TEMPORARY TABLES generates no REDO.
E.  A GLOBAL TEMPORARY TABLE can have only one index.
F.  A tigger can be created on a GLOBAL TEMPORARY TABLE
Answer: B,C,D
Question: Which two are true about multitable INSERT statements?
A.  The conditional INSERT FIRST statement always inserts a row into a single tablE.
B.  They always use subqueries.
C.  The unconditional INSERT ALL statement must have the same number of columns 
in both the source and target tables.
D.  They can transform a row from a source table into multiple rows in a target tablE.
E.  The conditional INSERT ALL statement inserts rows into a single table by 
aggregating source rows.
Answer: B,D
Question: "88. In Oracle database, user schema stores data dictionary tables and view objects.
A. SYSTEM
B. SYS
C. SCOTT
D. SYSDBA"
Answer: B
Question: "71. The string data "test" is stored in fields of type char(10) and varchar2(10), with actual storage lengths of:
A. 10 4
B. 4 4
C. 10 10
D. 4 10"
Answer: A
Question: "47. The table structure of MARKS is as follows: STD_ID NUMBER(4) STUDENT_NAME VARCHAR2(30) SUBJ1 NUMBER(3) SUBJ2 NUMBER(3). Is there any error in the following SQL statement: SELECT subj1+subj2 total_marks, std_id FROM marks WHERE subj1 > AVG(subj1) AND subj2 > AVG(subj2) ORDER BY total_marks; If there is an error, please indicate which option it is: A. Can be executed successfully B. There is an error in the SELECT clause C. There is an error in the WHERE clause D. There is an error in the ORDER BY clause."
Answer: C
Question: "141. Check the following SQL statement, which one is incorrect? Alter user tempuser identified by oracle default tablespace users default temporary tablespace temp quota 100M on users;
A. default tablespace users
B. default temporary tablespace temp
C. quota 100M on users
D. identified by oracle"
Answer: B
Question: 51、Which three are true about performing an Oracle Database install on Linux?
A.  It can be done after installing Grid Infrastructure for a Standalone Server
B.  It allows you to select the languages supported by the Oracle database server.
C.  The Oracle Preinstallation RPM can be used to configure the Oracle database installation 
owner the Oracle Inventory group, and an Oracle administrative privileges group.
D.  It can be done before installing Grid Infrastructure for a Standalone Server
E.  The runfixup. sh script can install missing RPMS
F.  The Oracle Preinstallation RPM must be used to configure the Oracle database installation 
owner, the Oracle Inventory group, and an Oracle administrative privileges group.
G.  The Oracle database administrator must be granted access to the root operating system account 
to run root privileged scripts
Answer: A,C,D
Question: Which three are true about scalar subquery expressions?
A.  A scalar subquery expression that returns zero rows evaluates to zero.
B.  They can be used as default values for columns in a CREATE TABLE statement.
C.  They cannot be used in GROUP BY clauses.
D.  A scalar subquery expression that returns zero rows evaluates to NULL.
E.  They cannot be used in the VALUES clause of an INSERT statement.
F.  They can be nesteD.
Answer: D,E,F
Question: You execute this command:
ALTER TABLE employees SET UNUSED (department_iD.  ;
Which two are true?
A.  The DEPARTMENT_ID column is set to null for all rows in the tablE.
B.  A query can display data from the DEPARTMENT_ID column.
C.  No updates can be made to the data in the DEPARTMENT_ID column.
D.  A new column with the name DEPARTMENT_ID can be added to the EMPLOYEES tablE.
E.  The DEPARTMENT_ID column can be recovered from the recycle bin.
F.  The storage space occupied by the DEPARTMENT_ID column is released only after a COMMIT is 
issueD.
Answer: C,D
Question: Which two statements are true regarding the UNION and UNION ALL operators?
A.  NULLS are not ignored during duplicate checkinG.
B.  The output is sorted by the UNION ALL operator.
C.  The number of columns selected in each SELECT statement must be identical.
D.  Duplicates are eliminated automatically by the UNION ALL operator.
E.  The names of columns selected in each SELECT statement must be identical.
Answer: A,C