文档介绍:2022年软考-数据库系统工程师考试名师点拨押题密卷(含答案详解)
1. 单选题
要从数据库中删除people表及其所有数据,以下语句正确的是(  )。
问题1选项
table peoplestem is to provide users with an(  )view of the data. That is, the system hides certain details of how the data are stored and maintained. For the system to be usable, it must retrieve data(  )。 The need for efficiency has led designers to use complex data(  )to represent data in the database. Since many database-system users are not computer trained, developers hide the complexity from users through several levels of abstraction, to simplify users' interactions with the system. Physical level is the lowest level of abstraction that describes(  )the data are actually stored. Logical level is the next-higher level of abstraction that describes(  )data are stored in the database, and what relationships exist among those data. View level is the highest level of abstraction that describes only part of the entire database.
问题1选项
问题2选项
问题3选项
问题4选项
问题5选项
【答案】第1题:A
第2题:D
第3题:B
第4题:A
第5题:B
【解析】数据库系统是相互关联的数据和一组允许用户访问和修改这些数据的程序的集合。数据库系统的主要目的是向用户提供数据的抽象视图。也就是说,系统隐藏了数据存储和维护的某些细节。为了使系统可用,必须高效地检索数据。对效率的需求导致设计人员使用复杂的数据结构来表示数据库中的数据。由于许多数据库系统用户不是经过计算机训练的,因此开发人员通过几个抽象层次向用户隐藏复杂性,以简化用户与系统的交互。物理层是描述数据实际存储方式的最低抽象层。逻辑层是描述数据库中存储的数据以及这些数据之间存在什么关系的下一个更高抽象级别,视图级别是只描述整个数据库的一部分的最高抽象级别。
7. 单选题
数据库系统在运行过程中可能会发生CPU故障,这属于(  )。在此类故障的恢复过程中,需要根据日志进行的操作为(  ) 。
问题1选项
问题2选项
+REDO
+UNDO+REDO
【答案】第1题:B
第2题:C
【解析】数据库系统在运行过程中可能会发生CPU故障,这属于系统故障。在此类故障的恢复过程中,需要根据日志进行的操作为undo+redo。
8. 单选题
分布式数据库CAP理论中的A指的是(  )。
问题1选项
【答案】B
【解析】CAP原则又称CAP定理,指