Miguel Lucero
Test por , creado hace más de 1 año

CIS 3365 Test sobre CHAPTER 11: DATABASE PERFORMANCE TUNING AND QUERY OPTIMIZATION, creado por Miguel Lucero el 06/04/2017.

1237
3
0
Miguel Lucero
Creado por Miguel Lucero hace alrededor de 7 años
Cerrar

CHAPTER 11: DATABASE PERFORMANCE TUNING AND QUERY OPTIMIZATION

Pregunta 1 de 60

1

1. One of the main functions of a database system is to provide timely answers to end users.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 2 de 60

1

2. Good database performance is easy to evaluate

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 3 de 60

1

3. All factors must be checked to ensure that each system component operates at its optimum level and has sufficient resources to minimize the occurrence of bottlenecks.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 4 de 60

1

4. Good database performance starts with good database design.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 5 de 60

1

5. DBMS implementations are typically similar in complexity to two-tier client/server configurations.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 6 de 60

1

6. A data file can contain rows from a single table alone.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 7 de 60

1

7. The data cache caches system catalog data and the contents of the indexes.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 8 de 60

1

8. The SQL cache stores the end-user written SQL.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 9 de 60

1

9. To work with data, the DBMS must retrieve the data from permanent storage and place it in RAM.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 10 de 60

1

10. The purpose of an I/O operation is to move data to and from different computer components or devices.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 11 de 60

1

11. Working with data in the data cache is many times faster than working with data in the data files.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 12 de 60

1

12. Fully equivalent means that the optimized query results are always the same as the original query.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 13 de 60

1

13. The SQL execution activities are performed by the query optimizer.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 14 de 60

1

14. All transaction management commands are processed during the parsing and execution phases of query processing.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 15 de 60

1

15. An index scan is less efficient than a full table scan.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 16 de 60

1

16. Indexes do not facilitate join operations.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 17 de 60

1

17. Using index characteristics, a database designer can determine the best type of index to use.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 18 de 60

1

18. A cost-based optimizer uses a set of preset rules and points to determine the best approach to execute a query.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 19 de 60

1

19. The primary factor in determining the most efficient access plan is the I/O cost.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 20 de 60

1

20. Most current-generation relational DBMSs perform automatic query optimization at the client end.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 21 de 60

1

21. Indexes are very useful in small tables or tables with low sparsity.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 22 de 60

1

22. Character field comparisons are faster than numeric, date, and NULL comparisons

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 23 de 60

1

23. In-memory database systems are optimized to store small portions of the database in disk storage alone

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 24 de 60

1

24. DBMS performance tuning includes global tasks such as managing the DBMS processes in primary memory and managing the structures in physical storage.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 25 de 60

1

25. Maximizing disk contention is one of the general recommendations for the physical storage of databases.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 26 de 60

1

26. RAID systems use a single disk to create storage volumes.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 27 de 60

1

27. On the client side, the objective is to generate an SQL query that returns a correct answer in the least amount of time, using a minimum amount of resources at the server end. The activities required to achieve this goal are commonly referred to as tuning.

Selecciona una de las siguientes respuestas posibles:

  • a. client SQL

  • b. database SQL

  • c. SQL performance

  • d. DBMS performance

Explicación

Pregunta 28 de 60

1

28. On the server side, the database environment must be properly configured to respond to clients' requests in the fastest way possible, while making optimum use of existing resources. The activities required to achieve this goal are commonly referred to as tuning.

Selecciona una de las siguientes respuestas posibles:

  • a. client and server

  • b. database SQL

  • c. SQL performance

  • d. DBMS performance

Explicación

Pregunta 29 de 60

1

29. When moving data from permanent storage to RAM, an I/O disk operation retrieves:

Selecciona una de las siguientes respuestas posibles:

  • a. an entire table.

  • b. an entire physical disk block.

  • c. only the row containing the attribute requested.

  • d. only the attribute which was requested.

Explicación

Pregunta 30 de 60

1

30. A DBA determines the initial size of the data files that make up the database; however, as required, the data files can automatically expand in predefined increments known as .

Selecciona una de las siguientes respuestas posibles:

  • a. procedure cache

  • b. buffer cache

  • c. supplements

  • d. extends

Explicación

Pregunta 31 de 60

1

31. A(n) is a logical grouping of several data files that store data with similar characteristics.

Selecciona una de las siguientes respuestas posibles:

  • a. procedure cache

  • b. table space

  • c. data cache

  • d. listener

Explicación

Pregunta 32 de 60

1

32. A system table space, a user data table space, an index table space, and a temporary table space are examples of _____.

Selecciona una de las siguientes respuestas posibles:

  • a. procedure caches

  • b. file groups

  • c. data caches

  • d. operation modes

Explicación

Pregunta 33 de 60

1

33. The data cache is where the data read from the database data files are stored the data have been read or the data are written to the database data files.

Selecciona una de las siguientes respuestas posibles:

  • a. after; before

  • b. after; after

  • c. before; before

  • d. before; after

Explicación

Pregunta 34 de 60

1

34. To work with data, a DBMS must retrieve the data from and place them in .

Selecciona una de las siguientes respuestas posibles:

  • a. data files; procedure cache

  • b. RAM; data cache

  • c. permanent storage; RAM

  • d. temporary files; procedure cache

Explicación

Pregunta 35 de 60

1

35. The data cache or is a shared, reserved memory area that stores the most recently accessed data blocks in RAM.

Selecciona una de las siguientes respuestas posibles:

  • a. buffer cache

  • b. procedure cache

  • c. SQL cache

  • d. permanent storage

Explicación

Pregunta 36 de 60

1

36. The is a shared, reserved memory area that stores the most recently executed SQL statements or PL/SQL procedures, including triggers and functions.

Selecciona una de las siguientes respuestas posibles:

  • a. buffer cache

  • b. procedure cache

  • c. data cache

  • d. permanent storage

Explicación

Pregunta 37 de 60

1

37. The process analyzes SQL queries and finds the most efficient way to access data.

Selecciona una de las siguientes respuestas posibles:

  • a. optimizer

  • b. scheduler

  • c. listener

  • d. user

Explicación

Pregunta 38 de 60

1

38. To generate database object statistics manually, following syntax should be used in Oracle: .

Selecciona una de las siguientes respuestas posibles:

  • a. ANALYZE <TABLE/INDEX> object_name;

  • b. CREATE <TABLE/INDEX> object_name;

  • c. ANALYZE <TABLE/INDEX> object_name COMPUTE STATISTICS;

  • d. CREATE <TABLE/INDEX> object_name COMPUTE STATISTICS;

Explicación

Pregunta 39 de 60

1

39. Automatic query optimization means that the:

Selecciona una de las siguientes respuestas posibles:

  • a. optimization takes place at compilation time by the programmer.

  • b. DBMS finds the most cost-effective access path without user intervention.

  • c. optimization process is scheduled and selected by the end user or programmer.

  • d. database access strategy is defined when the program is executed.

Explicación

Pregunta 40 de 60

1

40. The DBMS the SQL query and chooses the most efficient access/execution plan.

Selecciona una de las siguientes respuestas posibles:

  • a. parses

  • b. executes

  • c. fetches

  • d. processes

Explicación

Pregunta 41 de 60

1

41. Which of the following is the first step of query processing at the DBMS server end?

Selecciona una de las siguientes respuestas posibles:

  • a. Executing

  • b. Parsing

  • c. Fetching

  • d. Delivering

Explicación

Pregunta 42 de 60

1

42. The DBMS the data and sends the result set back to the client.

Selecciona una de las siguientes respuestas posibles:

  • a. parses

  • b. executes

  • c. fetches

  • d. processes

Explicación

Pregunta 43 de 60

1

43. If there is no index, the DBMS will perform a scan.

Selecciona una de las siguientes respuestas posibles:

  • a. loop

  • b. range

  • c. row ID table access

  • d. full table

Explicación

Pregunta 44 de 60

1

44. refers to the number of different values a column could possibly have.

Selecciona una de las siguientes respuestas posibles:

  • a. Database statistics

  • b. Data sparsity

  • c. A bitmap index

  • d. Clustering

Explicación

Pregunta 45 de 60

1

45. Bitmap indexes tend to use less space than a because they use bits instead of bytes to store their data.

Selecciona una de las siguientes respuestas posibles:

  • a. hash index

  • b. sparse index

  • c. B-tree index

  • d. reverse index

Explicación

Pregunta 46 de 60

1

46. Knowing the sparsity of a column helps you decide whether the use of is appropriate.

Selecciona una de las siguientes respuestas posibles:

  • a. query processing

  • b. query optimization

  • c. an index

  • d. a full table scan

Explicación

Pregunta 47 de 60

1

47. is the central activity during the parsing phase in query processing.

Selecciona una de las siguientes respuestas posibles:

  • a. Clustering

  • b. Partitioning

  • c. Query validation

  • d. Query optimization

Explicación

Pregunta 48 de 60

1

48. When setting optimizer hints, instructs the optimizer to minimize the overall execution time, that is, to minimize the time it takes to return the total number of rows in the query result set. This hint is generally used for batch mode processes.

Selecciona una de las siguientes respuestas posibles:

  • a. ALL_ROWS

  • b. FIRST_ROWS

  • c. INDEX(P_QOH_NDX)

  • d. OPTIMIZATION_ROWS

Explicación

Pregunta 49 de 60

1

49. In standard SQL, the optimizer hint FIRST_ROWS is generally used for mode processes.

Selecciona una de las siguientes respuestas posibles:

  • a. batch

  • b. interactive

  • c. transaction

  • d. real-time

Explicación

Pregunta 50 de 60

1

50. In standard SQL, the optimizer hint ALL_ROWS is generally used for mode processes.

Selecciona una de las siguientes respuestas posibles:

  • a. interactive

  • b. real-time

  • c. batch

  • d. transaction

Explicación

Pregunta 51 de 60

1

51. The LIKE conditional operator is used by the OPERAND1.

Selecciona una de las siguientes respuestas posibles:

  • a. P_PRICE

  • b. V_STATE

  • c. P_QOH

  • d. V_CONTACT

Explicación

Pregunta 52 de 60

1

52. The must be set large enough to permit as many data requests to be serviced from cache as possible.

Selecciona una de las siguientes respuestas posibles:

  • a. data cache

  • b. SQL cache

  • c. sort cache

  • d. optimizer mode

Explicación

Pregunta 53 de 60

1

53. The majority of primary memory resources will be allocated to the cache.

Selecciona una de las siguientes respuestas posibles:

  • a. data

  • b. SQL

  • c. sort

  • d. optimizer

Explicación

Pregunta 54 de 60

1

54. The cache is used as a temporary storage area for ORDER BY or GROUP BY operations, as well as for index-creation functions.

Selecciona una de las siguientes respuestas posibles:

  • a. data

  • b. SQL

  • c. sort

  • d. optimizer

Explicación

Pregunta 55 de 60

1

55. From the performance point of view, databases eliminate disk access bottlenecks.

Selecciona una de las siguientes respuestas posibles:

  • a. RAID

  • b. distributed

  • c. index-organized

  • d. in-memory

Explicación

Pregunta 56 de 60

1

56. The table space is used for transaction-recovery purposes.

Selecciona una de las siguientes respuestas posibles:

  • a. system

  • b. user data

  • c. temporary

  • d. rollback segment

Explicación

Pregunta 57 de 60

1

57. In the context of RAID levels, refers to writing the same data blocks to separate drives.

Selecciona una de las siguientes respuestas posibles:

  • a. striping

  • b. mirroring

  • c. partitioning

  • d. aggregating

Explicación

Pregunta 58 de 60

1

58. The table space is used to store the data dictionary tables.

Selecciona una de las siguientes respuestas posibles:

  • a. system

  • b. user data

  • c. temporary

  • d. rollback segment

Explicación

Pregunta 59 de 60

1

59. In the context of RAID levels, striped arrays provide:

Selecciona una de las siguientes respuestas posibles:

  • a. increased read performance and fault tolerance.

  • b. increased fault tolerance but decreased performance.

  • c. increased read performance but no fault tolerance

  • d. neither fault tolerance nor good performance.

Explicación

Pregunta 60 de 60

1

60. In RAID level 5,:

Selecciona una de las siguientes respuestas posibles:

  • a. the data and the parity data are striped across separate drives.

  • b. the data blocks are spread over separate drives and are duplicated.

  • c. the array requires a minimum of two drives and is known as a striped array.

  • d. the array requires a minimum of five drives and is known as duplexing.

Explicación