Lisa has learned that most databases implement concurrency controls. What is concurrency, and why must it be controlled?

admin2013-12-19  41

问题 Lisa has learned that most databases implement concurrency controls. What is concurrency, and why must it be controlled?

选项 A、Processes running at different levels, which can negatively affect the integrity of the database if not properly controlled.
B、The ability to deduce new information from reviewing accessible data, which can allow an inference attack to take place.
C、Processes running simultaneously, which can negatively affect the integrity of the database if not properly controlled.
D、Storing data in more than one place within a database, which can negatively affect the integrity of the database if not properly controlled.

答案C

解析 C正确。数据库通常被许多不同的应用程序同时使用,并且许多用户会同时与数据库进行交互。并发(concurrency)指不同进程(应用程序和用户)同时访问这个数据库。如果对此不进行适当控制,这些进程可能会覆盖彼此的数据或者导致死锁。并发问题的负面结果就是降低了数据库内数据的完整性。数据库的完整性可以通过并发保护机制米提供。一个并发控制被锁住,就可以防止用户访问和修改别人正在使用的数据。
A不正确。因为并发指的是进程同时运行,而不是在不同的层级上运行。当数据库被不同用户和(或)应用程序同时访问时,便会出现并发问题。如果不进行正确地控制,两个用户则可以同时访问和修改同一数据,这会给动态环境带来不利影响。
B不正确。因为当处于较低安全级别的一个主体间接猜测出或推断出较高安全级别的数据时,通过审查可访问数据而推断新信息的能力就产生了。这可以导致推理攻击(inference attack)。它与并发无关。并发涉及数据的完整性,而推理涉及数据的保密性。
D不正确。因为将数据存储在多个地方不是并发问题。当两个主体或应用程序尝试同时修改相同的数据时便会出现并发问题。
转载请注明原文地址:https://jikaoti.com/ti/qtO7FFFM
0

随机试题
最新回复(0)