In: Computer Science
Transactions and Recovery:
1.
Which of the following best describes a dimension table in a star schema
The primary key should be a single integer surrogate key.
So option (c) is correct.
2.
Which of the following best describes a fact table in a star schema
Most attributes will likely be numeric and the primary key should be a single integer surrogate key.
So option (d) is correct.
3.
Which of the following best describes an advantage(s) of a snowflake schema
It slows down queries by forcing more joins between dimension tables.
So option (a) is correct.
4.
Which of the following best describes the atomicity property in regards to transactions
Either all actions in a transaction are executed or no actions are done.
So option (a) is correct.
5.
Which of the following statements are true
Verifying transaction consistency is the job of the semantic data controller and managing consistency of transactions operating in parallel is the job of the concurrency controller.
So option (c) is correct.
6.
Which of the following statements best describes a phantom read
One user reads a set of rows from a table. Another user inserts a row that matches the where condition read by the first user. The first user reads the same set of rows again getting the new row in addition to the rows that the user read the first time.
So option (c) is correct.