Labour Day Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

Microsoft 98-364 Database Fundamentals Exam Practice Test

Note! Following 98-364 Exam is Retired now. Please select the alternative replacement for your Exam Certification.
Page: 1 / 13
Total 130 questions

Database Fundamentals Questions and Answers

Question 1

You have a Department table and an Employee table in your database.

You need to ensure that an employee can be assigned to only an existing department.

What should you apply to the Employee table?

Options:

A.

A primary key

B.

An index

C.

A foreign key

D.

A unique constraint

E.

A data type

Question 2

You need to store product quantities, and you want to minimize the amount of storage space that is used. Which data type should you use?

Options:

A.

INTEGER

B.

DOUBLE

C.

COUNT

D.

FLOAT

Question 3

You have two tables. Each table has three rows.

How many rows will be included in the Cartesian product of these two tables?

Options:

A.

0

B.

3

C.

6

D.

9

Question 4

You accept an IT internship at a local charity. The charity has two tables in their data model named Chapter and Language, as defined below:

Question # 4

You create a third table named ChapterLanguage to relate the Chapter table and the Language table.

You need to select columns from the Chapter and Language tables to create a composite primary key for the ChapterLanguage table.

Which two columns should you select? (Choose two.)

Options:

A.

ChapterId

B.

LanguageId

C.

Country

D.

Region

E.

City

F.

LanguageName

Question 5

You have the following table definition:

CREATE TABLE Product

(ID INTEGER PRIMARY KEY,

Name VARCHAR(20),

Quantity INTEGER)

The Product table contains the following data.

Question # 5

You execute the following statement:

SELECT Name FROM Product WHERE Quantity IS NOT NULL

How many rows are returned?

Options:

A.

0

B.

1

C.

2

D.

3

E.

4

Question 6

This question requires that you evaluate the underlined text to determine if it is correct.

A view can be used to ensure referential integrity.

Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the statement is incorrect, select the answer choice that makes the statement correct

Options:

A.

No change is needed.

B.

Save an extra copy of data stored in a separate table.

C.

Limit access to specific rows or columns of data in a table.

D.

Save historical data before deleting it from the base table.

Question 7

This question requires that you evaluate the underlined text to determine if it is correct.

You have two tables. Each table has three rows.

Nine rows will be included in the Cartesian product of these two tables.

Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the statement is incorrect, select the answer choice that makes the statement corrector.

Options:

A.

No change is needed

B.

Zero

C.

Three

D.

Six

Question 8

You need to list the name and price of each product, sorted by price from highest to lowest. Which statement should you use?

Question # 8

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 9

A database contains two tables named Customer and Order.

You execute the following statement:

DELETE FROM Order

WHERE CustomerID = 209

What is the result?

Options:

A.

The first order for CustomerID 209 is deleted from the Order table.

B.

All orders for CustomerID 209 are deleted from the Order table, and CustomerID 209 is deleted from the Customer table.

C.

All orders for CustomerID 209 are deleted from the Order table.

D.

CustomerID 209 is deleted from the Customer table.

Question 10

You need to populate a table named EmployeeCopy with data from an existing table named Employee.

Which statement should you use?

Question # 10

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 11

The terms "bitmap," "b-tree," and "hash" refer to which type of database structure?

Options:

A.

View

B.

Function

C.

Index

D.

Stored procedure

E.

Trigger

Question 12

Instructions: For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.

Question # 12

Options:

Question 13

You accept an IT internship at a local charity. The charity asks you to keep a record of its volunteers by using a database table named Volunteer.

The table has the following columns and rows:

Question # 13

When volunteer information changes, you must update the table.

You need to change Tia's name to Kimberly.

Which statement should you choose?

Question # 13

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 14

You have a table that contains the following data.

Question # 14

You break the table into the following two tables.

Question # 14

This process is referred to as:

Options:

A.

defragmentation

B.

normalization

C.

fragmentation

D.

denormalization

Question 15

You need to store product names that vary from three to 30 characters. You also need to minimize the amount of storage space that is used.

Which data type should you use?

Options:

A.

VARCHAR (3, 30)

B.

CHAR (3, 30)

C.

VARCHAR (30)

D.

CHAR (30)

Question 16

Instructions: For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.

Question # 16

Options:

Question 17

Which keyword can be used in a create table statement?

Options:

A.

ORDER BY

B.

DISTINCT

C.

GROUP BY

D.

UNIQUE

Question 18

You need to set up a database to provide a view of North American mammals.

Match the Structured Query Language (SQL) statements to the SQL query.

Instructions: To answer, drag the appropriate SQL statement from the column on the left to its place in the SQL query on the right Each SQL statement may be used once, more than once, or not at all. Each correct match is worth one point.

Question # 18

Options:

Question 19

You have the following table definition:

CREATE TABLE Road

(RoadID INTEGER NOT NULL,

Distance INTEGER NOT NULL)

The Road table contains the following data:

Question # 19

You execute the following statement:

INSERT INTO Road VALUES (1234, 36)

What is the result?

Options:

A.

an error stating that NULL values are not allowed

B.

a new row in the table

C.

an error stating that duplicate IDs are not allowed

D.

a syntax error

Page: 1 / 13
Total 130 questions