Q. What is the purpose of a transaction in a database?
A.
To store data permanently
B.
To ensure data integrity
C.
To create backups
D.
To optimize queries
Show solution
Solution
The purpose of a transaction in a database is to ensure data integrity by grouping a set of operations that must all succeed or fail together.
Correct Answer:
B
— To ensure data integrity
Learn More →
Q. What is the purpose of a transaction in a DBMS?
A.
To store data
B.
To ensure data integrity
C.
To create indexes
D.
To define schemas
Show solution
Solution
The purpose of a transaction in a DBMS is to ensure data integrity by grouping operations that must all succeed or fail together.
Correct Answer:
B
— To ensure data integrity
Learn More →
Q. What is the purpose of an associative entity in an ER model?
A.
To represent a many-to-many relationship
B.
To store attributes of a relationship
C.
To simplify complex relationships
D.
All of the above
Show solution
Solution
An associative entity is used to represent a many-to-many relationship and can store attributes of that relationship.
Correct Answer:
D
— All of the above
Learn More →
Q. What is the purpose of an ER diagram?
A.
To define SQL queries
B.
To visualize the database structure
C.
To enforce data integrity
D.
To optimize database performance
Show solution
Solution
An ER diagram is used to visualize the database structure and relationships between entities.
Correct Answer:
B
— To visualize the database structure
Learn More →
Q. What is the purpose of an ER model?
A.
To define the physical storage of data
B.
To provide a visual representation of data relationships
C.
To enforce data integrity constraints
D.
To optimize query performance
Show solution
Solution
The purpose of an ER model is to provide a visual representation of data relationships.
Correct Answer:
B
— To provide a visual representation of data relationships
Learn More →
Q. What is the purpose of an index in a database?
A.
To store data
B.
To speed up data retrieval
C.
To enforce data integrity
D.
To manage user access
Show solution
Solution
An index is used to speed up the retrieval of rows from a database table by providing a quick lookup mechanism.
Correct Answer:
B
— To speed up data retrieval
Learn More →
Q. What is the purpose of an index in SQL Server 2000?
A.
To enforce data integrity
B.
To speed up data retrieval
C.
To store data
D.
To create relationships
Show solution
Solution
An index is used to speed up data retrieval in SQL Server 2000.
Correct Answer:
B
— To speed up data retrieval
Learn More →
Q. What is the purpose of concurrency control in a database?
A.
To ensure data redundancy
B.
To manage simultaneous operations without conflicting
C.
To improve data integrity
D.
To simplify database queries
Show solution
Solution
Concurrency control is used to manage simultaneous operations on a database to prevent conflicts and ensure data integrity.
Correct Answer:
B
— To manage simultaneous operations without conflicting
Learn More →
Q. What is the purpose of concurrency control in a DBMS?
A.
To manage data redundancy
B.
To ensure data integrity during simultaneous transactions
C.
To optimize query performance
D.
To simplify database design
Show solution
Solution
Concurrency control ensures data integrity when multiple transactions occur simultaneously in a database.
Correct Answer:
B
— To ensure data integrity during simultaneous transactions
Learn More →
Q. What is the purpose of data normalization in a data warehouse?
A.
To reduce data redundancy
B.
To improve query performance
C.
To enhance data integrity
D.
To simplify data retrieval
Show solution
Solution
Normalization aims to reduce data redundancy and improve data integrity, although data warehouses often use denormalization for performance.
Correct Answer:
A
— To reduce data redundancy
Learn More →
Q. What is the purpose of ETL in data warehousing?
A.
Extract, Transform, Load
B.
Evaluate, Test, Launch
C.
Execute, Transfer, Log
D.
Enhance, Transfer, Load
Show solution
Solution
ETL stands for Extract, Transform, Load, which is the process of moving data from source systems into a data warehouse.
Correct Answer:
A
— Extract, Transform, Load
Learn More →
Q. What is the purpose of indexing in a database?
A.
To enforce data integrity
B.
To speed up data retrieval
C.
To normalize data
D.
To create relationships between tables
Show solution
Solution
Indexing is used to speed up data retrieval operations on a database.
Correct Answer:
B
— To speed up data retrieval
Learn More →
Q. What is the purpose of indexing in a distributed database?
A.
To increase data redundancy
B.
To speed up data retrieval
C.
To ensure data consistency
D.
To manage user permissions
Show solution
Solution
Indexing in a distributed database is used to speed up data retrieval by creating a data structure that allows for faster searches.
Correct Answer:
B
— To speed up data retrieval
Learn More →
Q. What is the purpose of indexing in distributed databases?
A.
To increase data redundancy
B.
To speed up data retrieval
C.
To ensure data consistency
D.
To simplify data entry
Show solution
Solution
Indexing in distributed databases is used to speed up data retrieval by providing a quick way to look up data without scanning the entire database.
Correct Answer:
B
— To speed up data retrieval
Learn More →
Q. What is the purpose of normalization in a database?
A.
To increase redundancy
B.
To eliminate data anomalies
C.
To improve query performance
D.
To simplify database design
Show solution
Solution
Normalization is a process that organizes data to reduce redundancy and improve data integrity by eliminating data anomalies.
Correct Answer:
B
— To eliminate data anomalies
Learn More →
Q. What is the purpose of normalization in database design?
A.
To increase redundancy
B.
To eliminate data anomalies
C.
To simplify the ER diagram
D.
To enhance query performance
Show solution
Solution
Normalization is used to eliminate data anomalies and reduce redundancy in database design.
Correct Answer:
B
— To eliminate data anomalies
Learn More →
Q. What is the purpose of normalization in databases?
A.
To increase redundancy
B.
To reduce data anomalies
C.
To improve performance
D.
To simplify queries
Show solution
Solution
The purpose of normalization in databases is to reduce data anomalies and ensure data integrity.
Correct Answer:
B
— To reduce data anomalies
Learn More →
Q. What is the purpose of the 'GROUP BY' clause in SQL?
A.
To sort the result set
B.
To aggregate data across multiple records
C.
To filter records
D.
To join multiple tables
Show solution
Solution
'GROUP BY' is used to aggregate data across multiple records, often used with aggregate functions like COUNT, SUM, AVG.
Correct Answer:
B
— To aggregate data across multiple records
Learn More →
Q. What is the purpose of the 'WITH (NOLOCK)' hint in SQL Server 2000?
A.
To lock the table
B.
To prevent deadlocks
C.
To allow dirty reads
D.
To optimize performance
Show solution
Solution
'WITH (NOLOCK)' allows dirty reads by not placing shared locks on the data.
Correct Answer:
C
— To allow dirty reads
Learn More →
Q. What is the purpose of the DataAdapter in ADO.NET when dealing with XML?
A.
To connect to a database
B.
To fill a DataSet with data from XML
C.
To execute commands against XML data
D.
To manage transactions
Show solution
Solution
The DataAdapter is used to fill a DataSet with data from XML and to update the XML data source.
Correct Answer:
B
— To fill a DataSet with data from XML
Learn More →
Q. What is the result of applying the first normal form (1NF) to a table?
A.
All attributes are atomic
B.
No transitive dependencies exist
C.
All non-key attributes are dependent on the primary key
D.
The table has no duplicate rows
Show solution
Solution
Applying the first normal form (1NF) ensures that all attributes in a table are atomic, meaning they cannot be divided further.
Correct Answer:
A
— All attributes are atomic
Learn More →
Q. What is the role of a data mart in a data warehousing environment?
A.
To store all enterprise data
B.
To provide a subset of data for specific business areas
C.
To manage data integrity
D.
To perform data cleansing
Show solution
Solution
A data mart provides a subset of data tailored for specific business areas or departments.
Correct Answer:
B
— To provide a subset of data for specific business areas
Learn More →
Q. What is the role of a database management system (DBMS)?
A.
To create hardware for data storage
B.
To manage data and provide an interface for users
C.
To perform data analysis only
D.
To ensure data is stored in a non-volatile manner
Show solution
Solution
A DBMS manages data and provides an interface for users to interact with the database.
Correct Answer:
B
— To manage data and provide an interface for users
Learn More →
Q. What is the role of a dimension table in a data warehouse?
A.
To store transactional data
B.
To provide context to fact data
C.
To manage user access
D.
To perform data cleansing
Show solution
Solution
Dimension tables provide context to the fact data, allowing users to analyze the facts in relation to various attributes.
Correct Answer:
B
— To provide context to fact data
Learn More →
Q. What is the role of a distributed transaction manager?
A.
To manage data replication
B.
To ensure ACID properties across distributed transactions
C.
To optimize query performance
D.
To handle user authentication
Show solution
Solution
A distributed transaction manager ensures that ACID properties are maintained across transactions that span multiple nodes in a distributed database.
Correct Answer:
B
— To ensure ACID properties across distributed transactions
Learn More →
Q. What is the role of a foreign key in a relational database?
A.
To uniquely identify a record
B.
To establish a relationship between two tables
C.
To enforce data integrity
D.
To improve query performance
Show solution
Solution
A foreign key is used to establish a relationship between two tables by referencing the primary key of another table.
Correct Answer:
B
— To establish a relationship between two tables
Learn More →
Q. What is the role of a transaction in a database?
A.
To group multiple operations
B.
To create a backup
C.
To optimize queries
D.
To enforce data types
Show solution
Solution
A transaction groups multiple operations into a single unit of work, ensuring all or none are executed.
Correct Answer:
A
— To group multiple operations
Learn More →
Q. What is the role of a transaction in an Object-Oriented Database?
A.
To define the structure of objects
B.
To ensure data consistency and integrity
C.
To create indexes
D.
To manage user permissions
Show solution
Solution
Transactions ensure data consistency and integrity by grouping operations that must all succeed or fail together.
Correct Answer:
B
— To ensure data consistency and integrity
Learn More →
Q. What is the role of a transaction manager in a distributed database?
A.
To manage data replication
B.
To ensure ACID properties across distributed transactions
C.
To handle user authentication
D.
To optimize query performance
Show solution
Solution
The transaction manager in a distributed database ensures that ACID properties (Atomicity, Consistency, Isolation, Durability) are maintained across distributed transactions.
Correct Answer:
B
— To ensure ACID properties across distributed transactions
Learn More →
Q. What is the role of an attribute in an ER model?
A.
To represent a relationship
B.
To define the properties of an entity
C.
To serve as a primary key
D.
To enforce data integrity
Show solution
Solution
An attribute defines the properties or characteristics of an entity in an ER model.
Correct Answer:
B
— To define the properties of an entity
Learn More →
Showing 181 to 210 of 340 (12 Pages)