计算机类专业技术初级资格程序员基础知识

DB2

138 题含答案基础知识
共 138 题返回本类
1单选题1 / 138
If the following command is executed: CREATE DATABASE test What is the page size (in kilobytes) of the database?
查看答案
A. 4
2单选题2 / 138
Given the following DDL statement: CREATE TABLE sales (item CHAR(20)); If a DBA wishes to
increase the size of the ITEM column, which SQL statement needs to be used?
查看答案
D. ALTER TABLE sales ALTER COLUMN item SET DATA TYPE CHAR(40);
3单选题3 / 138
Which DB2 object can be used to improve the execution performance of qualified SELECT statements?
查看答案
D. Materialized Query Table
4单选题4 / 138
When is it appropriate to use a sequence?
查看答案
C. When you want to automatically generate a numeric value that is not tied to any specific column or table.
5单选题5 / 138
Which clause should be included in a ALTER TABLE statement to update a table definition with a new column?
查看答案
A. ADD COLUMN
7单选题7 / 138
Which action needs to be performed in order to complete the definition of an application-period temporal table?
查看答案
C. A BUSINESS_TIME period must be specified in a CREATE or ALTER of the table.
8单选题8 / 138
What functionality allows users to perform a UNION operation between a DB2 table and an Oracle view?
查看答案
D. Distributed request
9单选题9 / 138
You have a business need to query DB2 10 and DB2 9 databases and you want to write an application that can run on most platforms unchanged. Which interface would you use to achieve your goal?
查看答案
C. JDBC
10单选题10 / 138
Which DB2 object is used to provide a logical grouping of other database objects?
查看答案
C. Schema
11多选题11 / 138
What are two valid objects that can be created in DB2? (Choose two.)
查看答案
C. Trigger E. Sequence
12单选题12 / 138
Which type of temporal table can be used to store only time-sensitive data?
查看答案
D. Application-period
13单选题13 / 138
When an index is created for a table, where is the metadata for that index stored?
查看答案
B. In the system catalog.
14单选题14 / 138
Which product is used to customize execution environments for the purpose of controlling system resources so that one department or service class does not overwhelm the system?
查看答案
B. Workload manager
15单选题15 / 138
What type of mechanism is a simple token value that is used to refer to a much bigger large object (LOB)?
查看答案
A. locator
16单选题16 / 138
What type of large object (LOB) is used to store LOB data together with the formatted rows on data pages, instead of in a separate LOB storage object?
查看答案
A. inline
17单选题17 / 138
What is the purpose of the Query Tuner?
查看答案
B. To provide recommendations and analysis for tuning a single query.
18单选题18 / 138
Which tool allows users to connect to a DB2 database using a wizard?
查看答案
B. IBM Data Studio
19多选题19 / 138
Which two activities indicate the need for a data warehouse? (Choose two.)
查看答案
C. Summarize sales by region. D. Identify patterns for products sold in the last five years.
20单选题20 / 138
What is the primary function of an Online Transaction Processing (OLTP) workload?
查看答案
D. To make changes to a small number of records within a single transaction.
21单选题21 / 138
Which isolation level offers the greatest protection of data but provides the least amount of concurrency?
查看答案
C. Repeatable Read (RR)
22单选题22 / 138
What factor influences lock escalation?
查看答案
C. Number of locks
23单选题23 / 138
Which type of lock allows the lock owner and all concurrent applications to read, but not update, the locked data?
查看答案
A. Share (S)
24单选题24 / 138
Application APP_A is performing updates to table TAB1 using the cursor stability (CS) isolation level. If application APP_B wants to retrieve all rows from table TAB1 without waiting for application APP_A to finish making updates, what isolation level must application APP_B use?
查看答案
C. Uncommitted Read (UR)
25单选题25 / 138
Which statement will prevent concurrent application processes from performing anything other than read-only operations against a table named TAB1?
查看答案
B. LOCK TABLE tab1 IN SHARE MODE
26单选题26 / 138
When is an INTENT EXCLUSIVE (IX) lock required?
查看答案
A. When a transaction intends to read or change data.
27单选题27 / 138
What is the act of exchanging one lock an application holds on a resource for a more restrictive lock on the same resource known as?
查看答案
D. Lock conversion/promotion
28单选题28 / 138
What isolation level prevents dirty reads, nonrepeatable reads, and phantoms?
查看答案
C. Repeatable read (RR)
30单选题30 / 138
When a COMMIT statement is executed, what happens?
查看答案
D. The current transaction is terminated and a new transaction boundary is started.
31单选题31 / 138
Which command is used to back out a subset of database changes that have been made within a unit of work?
查看答案
D. ROLLBACK TO SAVEPOINT
32单选题32 / 138
An SQL function designed to convert temperatures from Fahrenheit to Celsius was created as follows:
 
 CREATE FUNCTION conv_temp(IN temp_f FLOAT)
  RETURNS INTEGER
  NO EXTERNAL ACTOIN
  SPECIFIC convert_ftoc
  RETURN INT((temp_f-32)/1.8)
 
How can this function be used to convert average temperature (AVG_TEMP) data stored in a table called CLIMATE_INFO?
查看答案
C. SELECT conv_temp(avg_temp) FROM climate_info;
33单选题33 / 138
If a table named MY_TAB contains 100 rows and the following statement is executed:
 
 DELETE FROM 
  (SELECT * FROM my_tab
   ORDER BY col1 DESC
   FETCH FIRST 5 ROWS ONLY) AS tmp;
 
What will happen?
查看答案
A. The last 5 rows in the table will be deleted.
34单选题34 / 138
Given an EMPLOYEES table and a SALES table, a user wants to produce a list of all employees and their associated revenue, even if no revenue exists. Which SQL statement will produce the desired list?
查看答案
D. SELECT employees.name, sales.revenue FROM sales RIGHT OUTER JOIN employees ON
employees.id = sales.emp_id
35多选题35 / 138
Which two operations are allowed in the body of an SQL scalar user-defined function? (Choose two.)
查看答案
A. CALL statements. E. SQL control statements.
36单选题36 / 138
Which command will delete all rows from a table without generating log records?
查看答案
D. TRUNCATE
37单选题37 / 138
Which function can be used to obtain values from XML documents that are to be inserted into one or more tables?
查看答案
A. XMLTABLE
38单选题38 / 138
User USER1 wants to retrieve records from a table named EMPLOYEE that satisfy at least one of the following criteria:
-The employee's hire date (HIREDATE) is before 1999 and the employee's salary (SALARY) is less than $40,000.00 a year. 
-The employee has attended university
Which SQL statement will accomplish this?
查看答案
A. SELECT * FROM employee WHERE (hiredate < '1999-01-01' AND salary < 40000) OR (education =
'University')
39单选题39 / 138
Which SQL statement will retrieve the employee number (EMPNO), hire date (HIREDATE), and salary (SALARY) for each employee from a table named EMPLOYEE who was hired before 1998 and earns a salary of less than $35,000.00 per year?
查看答案
B. SELECT empno, hiredate, salary FROM employee WHERE hiredate < '1998-01-01' AND salary < 35000
40单选题40 / 138
If the following result set is desired:
 
 LASTNAME    FIRSTNAME   SALARY      JOB
 --------    ---------   ------      ---
 HAAS        CHRISTINE   152750.00   PRES
 KWAN        SALLY       98250.00    MANAGER
 PULASKI     EVA         96170.00    MANAGER
 THOMPSON    MICHAEL     94250.00    MANAGER
 HENDERSON   EILEEN      89750.00    MANAGER
 
Which SQL statement must be executed?
查看答案
B. SELECT lastname, firstnme, salary, job FROM employee ORDER BY 3 DESC FETCH FIRST 5
ROWS ONLY
41单选题41 / 138
Which statement about INSERT operations is true?
查看答案
B. Inserted values must satisfy the conditions of any check constraints defined on the table.
42单选题42 / 138
Which statement about application-period temporal tables is true?
查看答案
B. Is based on explicitly-supplied timestamps that define the time periods during which data is valid.
43单选题43 / 138
Which SQL statement should be used to select the minimum and maximum salaries (SALARY), by job code (JOB), from a table EMPLOYEE?
查看答案
A. SELECT job, MIN(salary), MAX(salary) FROM employee GROUP BY job;
44单选题44 / 138
In a trusted context environment, if a switch request is made with an authorization ID that is not allowed on a trusted connection, what state is the connection placed in?
查看答案
D. Unconnected
45单选题45 / 138
If a user has been granted SYSCTRL authority, which activities can they perform?
查看答案
C. Create and drop databases
46单选题46 / 138
What is the purpose of a role?
查看答案
B. To group a collection of privileges together so that they can be simultaneously granted to and revoked from multiple users.
47单选题47 / 138
Which SQL statement will give user USER1 the ability to assign a comment to a sequence named MYSEQ?
查看答案
A. GRANT ALTER ON SEQUENCE myseq TO user1
48单选题48 / 138
A column mask that is to be used for row and column access control (RCAC) was created with the DISABLE option specified. What must be done if this mask is to be used to restrict access to data stored
in a table named EMPLOYEE?
查看答案
A. The column mask must be enabled; the EMPLOYEE table must be altered to activate column access control.
49单选题49 / 138
User USER1 holds both DBADM and SECADM authority and you want to separate database
administration activities from security administration tasks. What authority must you have in order to revoke SECADM authority from user USER1 and assign it to someone else?
查看答案
C. SECADM
50单选题50 / 138
A table named EMPLOYEE was created as follows:
 
 CREATE TABLE employee
  (emp_id INTEGER NOT NULL PRIMARY KEY,
   f_name VARCHAR(30),
   l_name VARCHAR(40),
   ssn    CHAR(9) NOT NULL)
 
Which action will prevent unauthorized users from accessing SSN data?
查看答案
D. Create a view for the EMPLOYEE table that does not contain the SSN column and require
unauthorized users to use the view.
51单选题51 / 138
Which SQL statement will allow user USER1 to create a view on a table named EMPLOYEE?
查看答案
B. GRANT SELECT ON TABLE employee TO user1
52单选题52 / 138
A new user named USER1 needs to retrieve information from a database named MYDB. What
authority must be granted to user USER1?
查看答案
C. DATAACCESS authority
54单选题54 / 138
Which statement is true about an index that is used to support a UNIQUE constraint?
查看答案
C. It must be defined with the UNIQUE attribute.
55单选题55 / 138
Which statement regarding triggers is true?
查看答案
B. Triggers cannot be modified, they must be dropped and recreated with new definitions.
56单选题56 / 138
A table named STATES was created as follows:
 
 CREATE TABLE states
  (state_cd     CHAR(2) NOT NULL,
   state_desc   CHAR(20));
 CREATE UNIQUE INDEX indx1 ON states (state_cd);
 
What will happen?
查看答案
B. A warning will be returned and the unique index INDX1 will become the index for the primary key.
57单选题57 / 138
When an application using a temporary table terminates or disconnects from the database
unexpectedly, what happens to the temporary table and any data stored in it?
查看答案
B. The data in the table is deleted and the table is implicitly dropped.
58单选题58 / 138
When a user-defined function (UDF) is created and no schema is specified, what schema is used to store the UDF?
查看答案
D. A schema with the userid of the UDF definer.
59单选题59 / 138
Which statement about triggers is true?
查看答案
D. A trigger performs actions in response to an event like an INSERT, UPDATE or DELETE operation on a table.
60多选题60 / 138
Which two statements are true about foreign key constraints? (Choose two.)
查看答案
C. The number and data types of foreign key constraint columns must match the parent key. E. To define a foreign key constraint there must be an associated primary key or unique key in the same or different table.
61单选题61 / 138
What is the primary purpose of a view?
查看答案
C. To combine data from multiple tables.
62单选题62 / 138
By default, a column defined as a TIMESTAMP includes which attributes?
查看答案
B. 6 fractional digits and no time zone.
63单选题63 / 138
Which is NOT a valid reason for creating an index?
查看答案
C. To order the columns of a table in ascending or descending sequence according to values in a row.
64单选题64 / 138
Which type of constraint can be used to ensure that an INTEGER column in a table will never be assigned more than one record that contains a NULL value?
查看答案
A. Unique constraint
65单选题65 / 138
Which statement is true regarding constraints?
查看答案
C. Informational constraints tell DB2 what rules the data conforms to, but the rules are not enforced.
66单选题66 / 138
By default, where is the data stored for a column defined with an XML data type?
查看答案
C. In an XML storage object that is separate from the table.
67单选题67 / 138
Which statement about BEFORE triggers is FALSE?
查看答案
D. A BEFORE trigger is fired for each row in the set of affected rows instead of executing the trigger event.
68单选题68 / 138
What is used in conjunction with a foreign key to define a relationship between two tables?
查看答案
A. Primary key
69单选题69 / 138
Which case will require a sequence to be dropped and recreated instead of being modified by the ALTER SEQUENCE statement?
查看答案
A. Change the data type of the sequence.
70单选题70 / 138
Given the following statement:
GRANT DELETE ON TABLE sales TO User1 WITH GRANT OPTION;
Which statement is correct?
查看答案
D. USER1 can remove records from the SALES table and grant the privilege to remove records from the SALES table to other users.
71单选题71 / 138
Which method for restricting data access relies on a SQL search condition that describes what set of rows a user has access to?
查看答案
D. Row and column access control
72单选题72 / 138
Which SQL statement will take the ability to create tables in a table space named MYTBSP away from user USER1?
查看答案
A. REVOKE USE OF TABLESPACE mytbsp FROM user1
73单选题73 / 138
In a trusted context environment, if a switch request is made with an authorization ID that is not allowed on a trusted connection, what state is the connection placed in?
查看答案
D. Unconnected
74单选题74 / 138
When is a mask used to limit access to data in a table?
查看答案
D. When row and column access control (RCAC) is used to protect the table.
75单选题75 / 138
What privilege is required to create a view on a table that you are not the owner of?
查看答案
B. SELECT
76单选题76 / 138
After creating several new indexes and executing RUNSTATS, user USER1 wants to re-create a
package that is stored in the database so it will take advantage of the new indexes. Which
authority/privilege must user USER1 be granted in order to re-create the package?
查看答案
A. BIND
77单选题77 / 138
Which SQL statement will give a user named USER1 the ability to run an embedded SQL application named BENEFITS that calls a package named CORPDATA.PKGA?
查看答案
B. GRANT EXECUTE ON PACKAGE corpdata.pkga TO user1
78单选题78 / 138
Which of the following privileges allow a user to update the comment on a sequence?
查看答案
A. ALTER
79单选题79 / 138
Which statement is valid about the Row and Column Access Control (RCAC) feature?
查看答案
D. A row permission's access control rule is defined by an SQL search condition; a column mask's access control rule is defined by an SQL CASEexpression.
80单选题80 / 138
Which type of table should you use if you want to define specific time periods when data is valid?
查看答案
D. Application-period temporal table
81单选题81 / 138
Which SQL statement will create a DB2 object that can be used to store numerical data as Canadian currency?
查看答案
B. CREATE DISTINCT TYPE canadian_dollar AS DECIMAL (9,3) WITH COMPARISONS
82单选题82 / 138
Which object can be enabled for compression?
查看答案
D. Temporary table
83单选题83 / 138
What is the minimum product required for DB2 connectivity across all platforms?
查看答案
C. DB2 Connect Personal Edition
84单选题84 / 138
Given the SQL statement: CREATE ALIAS total_sales FOR sales Which statement is valid?
查看答案
C. SALES can be the name of an existing alias.
85单选题85 / 138
Which DB2 object limits the user's ability to retrieve data from a table by defining a SQL statement in the object?
查看答案
A. View
86单选题86 / 138
A table named EMPLOYEES was created as follows:
 
 CREATE TABLE employees(
   emp_no       VARCHAR(4)  NOT NULL,
   emp_name     VARCHAR(50) NOT NULL,
   emp_email    VARCHAR(30) NOT NULL)
 Then,the following INSERT statements were executed:
   INSERT INTO employees VALUES ('1A2B','Joe Smith','[email protected]');
   INSERT INTO employees VALUES ('1122','Lisa Carter','');
   INSERT INTO employees VALUES ('1A2B','John Doe','[email protected]');
 If the following query is executed:
   SELECT count(*) FROM employees;
 
What will be the results?
查看答案
C. 2
87多选题87 / 138
Which two DB2 objects can a view be derived from? (Choose two.)
查看答案
A. View C. Table
88单选题88 / 138
Which protocol provides applications the ability to connect to and update multiple DB2 databases within the same transaction?
查看答案
B. Type-2 connect
89单选题89 / 138
Which statement about bitemporal tables is valid?
查看答案
C. When data in a bitemporal table is updated, a row is added to it's associated history table.
90单选题90 / 138
Which object can a buffer pool be assigned to?
查看答案
B. Table space
91单选题91 / 138
Which DB2 object is associated with PREVIOUS VALUE and NEXT VALUE expressions?
查看答案
C. Sequence
92单选题92 / 138
What needs to be defined in order to track changes made to a system-period temporal table over
time?
查看答案
D. A history table must be created with identical columns to the base table and then the base table altered with the ADD VERSIONING clause torelate it to the history table.
93单选题93 / 138
Which object is used to cache table and index data as it is read from disk?
查看答案
B. Buffer pool
94单选题94 / 138
Which statement about large object (LOB) locators is true?
查看答案
C. A LOB locator represents a value for a LOB resource that is stored in a database.
95单选题95 / 138
Which DB2 product is a database cluster solution for non-mainframe platforms and is best suited for Online Transaction Processing (OLTP) workloads?
查看答案
B. DB2 pureScale
96单选题96 / 138
What type of large object (LOB) is used to store LOB data together with the formatted rows on data pages, instead of in a separate LOB storage object?
查看答案
A. inline
97单选题97 / 138
Which product replaced the Control Center used in versions prior to DB2 v10?
查看答案
A. IBM Data Studio
98单选题98 / 138
Which DB2 product is NOT suitable for very large data warehouse applications?
查看答案
A. DB2 for i
100单选题100 / 138
Which tool allows users to connect to a DB2 database using a wizard?
查看答案
B. IBM Data Studio
101单选题101 / 138
A table named SALES contains a record for every sales transaction a company processes. A user wishes to see the number of transactions that are made by each salesman. Which SQL statement will produce the desired results?
查看答案
C. SELECT name, COUNT(*) AS transactions FROM sales GROUP BY name
102单选题102 / 138
Which statement about roll back operations is correct?
查看答案
A. When a ROLLBACK statement is executed, all locks held by the terminating transaction are released.
103单选题103 / 138
When a COMMIT statement is executed, what happens?
查看答案
D. The current transaction is terminated and a new transaction boundary is started.
104单选题104 / 138
Which SQL statement would be used to retrieve only salaries that are greater than $100,000.00 from a table named EMPLOYEE?
查看答案
B. SELECT salary FROM employee WHERE salary > 100000
105单选题105 / 138
Which SQL statement should be used to retrieve the minimum and maximum salaries (SALARY) for each job code (JOB), sorted by job code, from a table named EMPLOYEE?
查看答案
A. SELECT job, MIN(salary), MAX(salary) FROM employee GROUP BY job ORDER BY job;
106单选题106 / 138
If a table named MY_TAB contains 100 rows and the following statement is executed:
 
 UPDATE
  (SELECT * FROM my_tab
   ORDER BY col1 DESC
   FETCH FIRST 10 ROWS ONLY) AS temp
   SET col3 = 99;
 
How many rows will be updated?
查看答案
C. 10
107单选题107 / 138
An SQL function named DEPT_INFO was created as follows:
 
 CREATE FUNCTION dept_info()
  RETURNS TABLE(dept_id INTEGER,dept_name VARCHAR(20))
  LANGUAGE SQL
  READS SQL DATA
  BEGIN ATOMIC
  RETURN
    SELECT deptno,deptname FROM department WHERE deptname LIKE 'S%';
  END
 
What is the correct way to use this function in a query?
查看答案
D. SELECT dept_id, dept_name FROM TABLE(dept_info()) AS results
108单选题108 / 138
Which type of stored procedure is not associated with an external application program?
查看答案
C. A native SQL stored procedure.
109单选题109 / 138
Which SQL statement will retrieve the department number (WORKDEPT) and average departmental
salary (SALARY) for all departments in a table named EMPLOYEE and arrange the result set in
ascending order by average departmental salary?
查看答案
D. SELECT workdept, AVG(salary) FROM employee GROUP BY workdept ORDER BY 2
110单选题110 / 138
Which statement about system-period temporal tables is true?
查看答案
C. They can be queried without a time period specification.
111单选题111 / 138
A table named DEPARTMENT contains the following data:
 
 DEPTNO     DEPTNAME          MGRNO      ADMRDEPT
 -----      --------          -----      --------
 A01        PLANNING          000020     A00
 B02        BRANCH OFFICE 1   -          E01
 C22        BRANCH OFFICE 2   -          E01
 D22        BRANCH OFFICE 3   -          E01
 E22        BRANCH OFFICE 4   -          E01
 If a user attempts to execute the following statement
 UPDATE employee SET workdept=
   (SELECT deptno FROM department WHERE admrdept LIKE 'E%')
 WHERE workdept IS NULL;
 
What will happen?
查看答案
B. The statement will fail because the result set produced by the subquery will contain more than one row.
112单选题112 / 138
Which statement about UPDATE processing is FALSE?
查看答案
C. When the UPDATE statement modifies parent key columns, the value of corresponding foreign key columns are also modified.
113单选题113 / 138
Given the following statements:
 
 CREATE TABLE employee(empid INTEGER,info XML);
 INSERT INTO employee VALUES(1,
 '<employeesinfo>
    <name>Joe Smith</name>
    <department name="DB2">
     <team>Development</team>
    </department>
  </employeeinfo>');
 If the following XQuery statement is executed:
  XQUERY
  for $info in deb2-fn:xmlcolumn('EMPLOYEE.INFO')/employeeinfo
  return $info/name
 
What will be the result?
查看答案
B. <name>Joe Smith</name>
114单选题114 / 138
A table named STATES has the following columns: STATE_CD, REGION_CD, and STATE_NAME.
Which SQL statement will return the number of states in each region, ordered by number of states?
查看答案
D. SELECT region_cd, COUNT(*) FROM states GROUP BY region_cd ORDER BY COUNT(*);
115单选题115 / 138
When a user-defined function (UDF) is created and no schema is specified, what schema is used to store the UDF?
查看答案
D. A schema with the userid of the UDF definer.
116单选题116 / 138
What is a function of a table check constraint?
查看答案
B. To provide a method of ensuring a column's values are within a specific range.
117单选题117 / 138
Which statement about foreign keys is true?
查看答案
C. A foreign key can be defined on a column or a set of columns in a table.
118单选题118 / 138
Which type of table is best suited for recording results from application data manipulation that is not required to be persistent?
查看答案
D. Temporary Table
119单选题119 / 138
Which statement regarding referential integrity constraints is true?
查看答案
D. Primary keys and foreign keys are used to define relationships.
120单选题120 / 138
Which database object provides an alternative way of describing data that exists in one or more base tables?
查看答案
B. View
121单选题121 / 138
The WITH CHECK OPTION clause of the CREATE VIEW statement allows you to do which of the
following?
查看答案
C. Ensure that any inserted or updated rows conform to the definition of the view.
122单选题122 / 138
Which type of constraint can be used to tell the DB2 Optimizer that a parent-child relationship exists between two tables, but that the relationship is not enforced?
查看答案
D. Informational
123单选题123 / 138
Which event will NOT cause a trigger to be fired?
查看答案
B. Execution of LOAD REPLACE operation.
124单选题124 / 138
What is the primary purpose for using the INCLUDE clause with a CREATE UNIQUE INDEX
statement?
查看答案
D. To improve performance of some queries by allowing index-only access.
125单选题125 / 138
What are INSTEAD OF triggers used for?
查看答案
B. To perform insert, update, and delete operations against complex views.
126单选题126 / 138
User USER1 wants to store part numbers and part descriptions in a table named PARTS; user
USER1 also wants to ensure that any comparisons of part descriptions that are made will be done so in binary, regardless of the database collating sequence used. Which statement should user USER1 execute to create the desired table?
查看答案
D. CREATE TABLE parts (part_no INTEGER, desc VARCHAR(200) FOR BIT DATA)
127单选题127 / 138
What mechanism is typically used to automatically update other tables, generate or transform values for inserted or updated rows, and perform tasks such as issuing alerts?
查看答案
A. Trigger
128单选题128 / 138
Which data type should be used to store data in a column that represents money and accurately returns a two position scale?
查看答案
D. DECIMAL
129单选题129 / 138
User USER1 wants to define a required relationship between two tables named TAB1 and TAB2 in such a way that whenever a record is deleted from table TAB1, any related records are deleted from table TAB2. What must user USER1 do to accomplish this?
查看答案
A. 1) Create a primary key on table TAB1; 2) Create a foreign key on table TAB2 that references the primary key on table TAB1 and adheres to the ON DELETE CASCADE rule.
130单选题130 / 138
Which statement about a deadlock is true?
查看答案
A. The victim will be rolled back.
131单选题131 / 138
What takes place when a process accesses a data object on which it already holds a lock, and the access mode requires a more restrictive lock than the one currently held?
查看答案
D. Lock conversion
132单选题132 / 138
What is the act of releasing a large number of row-level locks that an application holds on a single table to acquire a table-level lock known as?
查看答案
C. Lock escalation
133单选题133 / 138
When is an INTENT EXCLUSIVE (IX) lock required?
查看答案
A. When a transaction intends to read or change data.
134单选题134 / 138
The EXCLUSIVE MODE option of the LOCK TABLE statement is used to prevent which of the
following?
查看答案
A. Concurrent application processes from performing any operations on the table.
135单选题135 / 138
What factor influences lock conversion/promotion?
查看答案
C. Lock mode needed
136单选题136 / 138
Application APP_A is performing updates to table TAB1 using the read stability (RS) isolation level. Which isolation level will allow application APP_B to retrieve all rows from table TAB1 immediately, rather than have to wait until application APP_A has finished making updates?
查看答案
D. Uncommitted Read (UR)
137单选题137 / 138
If no isolation level is specified, what is the default isolation level used?
查看答案
A. Cursor Stability (CS)
138单选题138 / 138
What isolation level prevents dirty reads, nonrepeatable reads, and phantoms?
查看答案
C. Repeatable read (RR)
← 上一卷下一卷 →