Lesson 1 Multiple Choice: B) .LDF
Lesson 1 Multiple Choice: B) .LDF
Multiple Choice
1. What kind of filename extension do Microsoft SQL Server transaction log files have?
a) .mdf
b) .ldf
c) .ndf
d) .log
3. What is a collection of programs that enables you to enter, organize, and select data from a
database?
a) flat program
b) spreadsheet group
c) DAT application
d) DBMS
4. What is a simple database that uses two-dimensional tables consisting of rows and columns?
a) flat type database
b) hierarchical database
c) relational database
d) tabled database
5. Which type of database has multiple tables with parent/child relationships and a child that can
have more than one parent?
a) flat-file database
b) hierarchical database
c) relational database
d) tabled database
6. What allows a SQL database to be accessed by multiple users at the same time?
a) database server
b) workstation
c) collector
d) computer located in the center of the building
7. What are the limitations or rules placed on a file or column to ensure that data is considered
valid for a database?
a) checker
b) validator
c) scanner
d) constraint
8. What is the primary console used to configure databases for Microsoft SQL Server?
a) DBS
b) SSMS
c) SQL Configuration Tool
d) SQL ODBC Emulator
9. Which of the following is a language element that allows you to use core statements such as
INSERT, UPDATE, and DELETE to manipulate data in any SQL Server table?
a) DML
b) DDE
c) DDL
d) DAT
10. Which of the following is a subset of T-SQL that deals with creating database objects such as
tables and stored procedures?
a) DML
b) DDE
c) DDL
d) DAT
11. What kind of statements are USE, CREATE, ALTER, and DROP?
a) DML
b) DDE
c) DDL
d) DAT
12. What statement would you use to delete a table from a SQL database?
a) DELETE
b) DEL
c) DROP
d) REMOVE
13. Which statement can you use to remove rows from a table?
a) SELECT
b) UPDATE
c) DELETE
d) STOP
14. What is the primary means of programing and managing SQL Server?
a) DOS commands
b) sqlcmd scripts
c) XQuery
d) T-SQL
15. What allows you to execute SQL commands in a command-line application?
a) DOS commands
b) sqlcmd scripts
c) XQuery
d) Transact-SQL
17. Primary data files used on a Microsoft SQL server has an __.mdf___ extension
Short Answer
19. What is the difference between the TRUNCATE and DELETE commands?
The DELETE command is used to delete rows from a table, but it does not free the space used by
those rows whereas the TRUNCATE command removes rows from a table and frees the space
used by those rows
20. Which statement would you use to change the database context? Use