SQL Server Quiz 1

SQL Server Quiz 1

University

41 Qs

quiz-placeholder

Similar activities

SOAL ASTS KONS. KEAHLIAN - PBO 11 RPL TAHUN AJARAN 2024/2025

SOAL ASTS KONS. KEAHLIAN - PBO 11 RPL TAHUN AJARAN 2024/2025

11th Grade - University

40 Qs

Kuis E-Business 2 TI 4 (POLINEMA)

Kuis E-Business 2 TI 4 (POLINEMA)

University

40 Qs

Midterm Exam ICTC1023

Midterm Exam ICTC1023

University

40 Qs

DSA QUIZ - 2 (17-06-23)

DSA QUIZ - 2 (17-06-23)

University

40 Qs

First  QUIZ of Database - Edited by: Eng. Javier Daza 2023-1

First QUIZ of Database - Edited by: Eng. Javier Daza 2023-1

University

40 Qs

Operating System Concepts

Operating System Concepts

University

37 Qs

KUIS SISTEM OPERASI

KUIS SISTEM OPERASI

University

40 Qs

network

network

University

42 Qs

SQL Server Quiz 1

SQL Server Quiz 1

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Omphile Mosingathi

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

41 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the file type associated with a primary data file in SQL Server?

.ndf

.mdf

.ldf

sql

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which file extension is used for a transaction log file in SQL Server?

.mdf

.ldf

.ndf

.log

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a database, which file contains the bulk of the data and is typically the first file created when the database is set up?

Primary data file

Transaction log file

Secondary data file

Configuration file

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of the .ldf file in SQL Server?

To store primary data

To log transactions and ensure recoverability

To store backup data

To configure database settings

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the SQL Server file structure, what is the role of a secondary data file with an .ndf extension?

To store transaction logs

To provide additional storage space for data beyond the primary file

To manage database backups

To serve as a temporary storage file

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main function of the ALTER DATABASE command in SQL Server?

To create a new database

To modify the properties of an existing database

To delete an existing database

To restore a database from a backup

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct example of how to change the name of an existing database using the ALTER DATABASE command?

ALTER DATABASE MODIFY Name = 'NewDatabaseName';

ALTER DATABASE NewDatabaseName RENAME TO 'OldDatabaseName';

ALTER DATABASE OldDatabaseName MODIFY NAME = 'NewDatabaseName';

ALTER DATABASE CHANGE NAME TO 'NewDatabaseName';

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers