0% found this document useful (0 votes)
311 views16 pages

Vendor: Microsoft Exam Code: 98-364 Exam Name: Database Fundamentals Question 151 - Question 200

This document provides practice questions and answers for the Microsoft 98-364 Database Fundamentals exam. It includes 182 questions and answers on topics such as database structures, SQL statements, data modeling, and security. The document directs readers to the PassLeader website to download more exam preparation materials for 98-364, including full exam dumps, questions, and PDF and VCE practice tests.

Uploaded by

AhmadErfan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
311 views16 pages

Vendor: Microsoft Exam Code: 98-364 Exam Name: Database Fundamentals Question 151 - Question 200

This document provides practice questions and answers for the Microsoft 98-364 Database Fundamentals exam. It includes 182 questions and answers on topics such as database structures, SQL statements, data modeling, and security. The document directs readers to the PassLeader website to download more exam preparation materials for 98-364, including full exam dumps, questions, and PDF and VCE practice tests.

Uploaded by

AhmadErfan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

Free VCE and PDF Exam Dumps from PassLeader

 Vendor: Microsoft

 Exam Code: 98-364

 Exam Name: Database Fundamentals

 Question 151 -- Question 200

Visit PassLeader and Download Full Version 98-364 Exam Dumps

QUESTION 151
A view can be used to:

A. save an extra copy of data stored in a separate table.


B. limit access to specific rows or columns of data in a table.
C. ensure referential integrity.
D. save historical data before deleting it from the base table.

Answer: B

QUESTION 152
On which database structure does an update statement operate?

A. table
B. user
C. trigger
D. role

Answer: A

QUESTION 153
Which statement should you use to remove a foreign key?

A. ALTER TABLE
B. DELETE TABLE
C. DELETE FOREIGN KEY

98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html
Free VCE and PDF Exam Dumps from PassLeader
D. ALTER FOREIGN KEY

Answer: A

QUESTION 154
First normal form requires that a database excludes:

A. foreign keys.
B. composite keys.
C. duplicate rows.
D. repeating groups.

Answer: D

QUESTION 155
You execute a statement inside a transaction to delete 100 rows from a table.
The transaction fails after only 40 rows are deleted.
What is the result in the database?

A. The table will be corrupted.


B. Forty (40) rows will be deleted from the table.
C. The transaction will restart.
D. No rows will be deleted from the table.

Answer: D

QUESTION 156
You have a table that contains product IDs and product names.
You need to write an UPDATE statement to change the name of a specific product to glass.
What should you include in the update statement?

A. SET ProduetName = 'glass'


B. LET ProduetName = 'glass'
C. EXEC ProduetName = 'glass'
D. ASSIGN ProduetName = 'glass'

Answer: A

QUESTION 157
Your database contains a table named Customer.
You need to delete the record from the Customer table that has a CusromerID of 12345.
Which statement should you use?

98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html
Free VCE and PDF Exam Dumps from PassLeader

A. Option A
B. Option B
C. Option C
D. Option D

Answer: D

QUESTION 158
On which database structure does an insert statement operate?

A. role
B. trigger
C. user
D. stored procedure
E. table

Answer: E

QUESTION 159
You have a table of products with fields for ProductID, Name, and Price.
You need to write an UPDATE statement that sets the value in the InStock field to Yes for a specific
ProductID.
Which clause should you use in your update statement?

A. THAT
B. WHERE
C. GROUP BY
D. HAVING

Answer: B

98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html
Free VCE and PDF Exam Dumps from PassLeader
QUESTION 160
You have the following table definition:
- CREATE TABLE Product
- (ProductID INTEGER,
- Name VARCHAR(20))
You need to insert a new product.
The product's name is Plate and the product's ID is 12345.
Which statement should you use?

A. Option A
B. Option B
C. Option C
D. Option D

Answer: D

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

A. view
B. function
C. index
D. stored procedure
E. trigger

Answer: C

QUESTION 162
One reason to add an index is to:

A. decrease storage space.


B. increase database security.
C. improve performance of select statements.
D. improve performance of insert statements.

98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html
Free VCE and PDF Exam Dumps from PassLeader
Answer: C

QUESTION 163
You have a table that contains the following data.

You break the table into the following two tables.

This process is referred to as:

A. defragmentation.
B. normalization.
C. fragmentation.
D. denormalization.

Answer: B

QUESTION 164
You have a table that contains the following data.
Which database term is used to describe the relationship between ProductID and ProductCategory?

A. cohort
B. relationally dependent
C. deterministic
D. functionally dependent
E. compositional

Answer: D

QUESTION 165
Which key uniquely identifies a row in a table?

98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html
Free VCE and PDF Exam Dumps from PassLeader
A. foreiqn
B. primary
C. local
D. superkey

Answer: B

QUESTION 166
Which statement creates a composite key?

A. Option A
B. Option B
C. Option C
D. Option D

Answer: D

QUESTION 167
At 3:00 P.M. (1500 hours), you create a backup of your database.
At 4:00 P.M. (1600 hours), you create a table named Customer and import data into the table.
At 5:00 P.M. (1700 hours), your server fails.
You run a script to apply only the 3:00 P.M. backup to your database.
What is the result of the script?

A. The Customer table no longer exists.


B. The Customer table is unaffected.
C. The Customer table exists but has no data.
D. The script fails.

98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html
Free VCE and PDF Exam Dumps from PassLeader

Answer: A

QUESTION 168
In which situation do you need to perform a restore on a database?

A. when data becomes corrupted in the database


B. when you need to roll back a transaction
C. when you encounter an error in your application
D. when data needs to be deleted from the database

Answer: A

QUESTION 169
Which command should you use to give a user permission to read the data in a table?

A. ALLOW SELECT
B. LET READ
C. PERMIT READ
D. GRANT SELECT

Answer: D

QUESTION 170
You need to enable a new employee to authenticate to your database.
Which command should you use?

A. ALLOW USER
B. CREATE USER
C. ADD USER
D. INSERT USER
E. ALTER USER

Answer: B

QUESTION 171
One reason to create a stored procedure is to:

A. improve performance.
B. minimize storage space.
C. bypass case sensitivity requirements.
D. give the user control of the query logic.

Answer: A

QUESTION 172
Which permission does a user need in order to run a stored procedure?

A. EXECUTE
B. ALLOW
C. CALL

98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html
Free VCE and PDF Exam Dumps from PassLeader
D. RUN

Answer: A

QUESTION 173
You have a table named Product.
You create a view that includes all the products from the Product table that are in the Furniture
category.
You execute a statement on the Product table that deletes all the products in the Furniture category.
After you execute the statement, the result set of the view is:

A. empty.
B. deleted.
C. unchanged.
D. archived.

Answer: A

QUESTION 174
In SQL, an insert statement is used to add a:

A. user to a database.
B. row of data to a table.
C. table to a database.
D. column to a table definition.

Answer: B

QUESTION 175
You have two tables. Each table has three rows.
How many rows will be included in the Cartesian product of these two tables?

A. 0
B. 3
C. 6
D. 9

Answer: D

QUESTION 176
You are writing an SQL statement to retrieve rows from a table.
Which data manipulation language (DML) command should you use?

A. READ
B. SELECT
C. OUTPUT
D. GET

Answer: B

QUESTION 177
Which constraint ensures a unique value in the ID column for each customer?

98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html
Free VCE and PDF Exam Dumps from PassLeader

A. DISTINCT
B. FOREIGN KEY
C. SEQUENTIAL
D. PRIMARY KEY

Answer: D

QUESTION 178
Which category of SQL statements is used to add, remove, and modify database structures?

A. data access language (DAL)


B. data manipulation language (DML)
C. data control language (DCL)
D. data definition language (DDL)

Answer: D

QUESTION 179
You have a Customer table and an Order table.
You join the Customer table with the Order table by using the CusromerID column.
The results include:
- All customers and their orders
- Customers who have no orders
Which type of join do these results represent?

A. complete join
B. partial join
C. inner join
D. outer join

Answer: D

QUESTION 180
Data in a database is stored in:

A. tables.
B. queries.
C. data types.
D. stored procedures.

Answer: A

QUESTION 181
You have a table named Student that contains 100 rows.
Some of the rows have a NULL value in the FirstName column.
You execute the following statement:
DELETE FROM Student
What is the result?

A. All rows in the table will be deleted.


B. All rows containing a NULL value in the FirstName column will be deleted.

98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html
Free VCE and PDF Exam Dumps from PassLeader
C. You will receive an error message.
D. All rows and the table definition will be deleted.

Answer: A

QUESTION 182
You need to establish a set of permissions that you can routinely assign to new users.
What should you create?

A. resource
B. group
C. list
D. role

Answer: D

QUESTION 183
Which database term is used to describe the process of applying a backup to a damaged or corrupt
database?

A. recover
B. restore
C. commit
D. attach

Answer: B

QUESTION 184
You need to disable User1's access to view the data in the Customer table.
Which statement should you use?

A. Option A
B. Option B
C. Option C
D. Option D

98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html
Free VCE and PDF Exam Dumps from PassLeader
Answer: C

QUESTION 185
Denormalization is performed in order to:

A. reduce redundancy.
B. eliminate repeating groups.
C. create smaller tables.
D. improve query performance.

Answer: D

QUESTION 186
You have a table named Product that contains one million rows.
You need to search for product information in the Product table by using the product's unique ID.
What will make this type of search more efficient?

A. a cursor
B. a subquery
C. a trigger
D. an index

Answer: D

QUESTION 187
You have a table named Product that contains the following data.
The PrcducrID column is the primary key.
The CategoryID column is a foreign key to a separate table named Category.
You execute the following statement:
- INSERT INTO Product
- VALUES (3296, 'Table', 4444)
What is the result?

A. a foreign key constraint violation


B. a syntax error
C. a new row in the Product table
D. a primary key constraint violation
E. a new row in the Category table

Answer: D

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

98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html
Free VCE and PDF Exam Dumps from PassLeader

A. Option A
B. Option B
C. Option C
D. Option D

Answer: A

QUESTION 189
You delete rows in a table named Order.
The corresponding rows in the OrderItem table are automatically deleted.
This process is an example of a/an:

A. inherited delete.
B. cascade delete.
C. functional delete.
D. waterfall delete.
E. domino delete.

Answer: B

QUESTION 190
Which statement deletes the rows where the employee's phone number is not entered?

98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html
Free VCE and PDF Exam Dumps from PassLeader

A. Option A
B. Option B
C. Option C
D. Option D

Answer: A

QUESTION 191
You need to insert two new products into the Product table.
The first product is named Book and has an ID of 125.
The second product is named Movie and has an ID of 126.
Which statement should you use?

98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html
Free VCE and PDF Exam Dumps from PassLeader

A. Option A
B. Option B
C. Option C
D. Option D

Answer: B

QUESTION 192
You have a table named Employee that includes four columns.
You execute the following statement:
- SELECT *
- FROM Employee
Which columns are returned?

A. all columns
B. only the last column
C. only the first column
D. only the first and last columns

Answer: A

QUESTION 193
Which two elements are required to define a column? (Choose two.)

A. a name
98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html
Free VCE and PDF Exam Dumps from PassLeader
B. a key
C. an index
D. a data type

Answer: AD

QUESTION 194
What defines the amount of storage space that is allocated to a value in a column?

A. format
B. key
C. data type
D. validator

Answer: C

QUESTION 195
You are creating a table to store customer data.
The AccountNumber column uses values that always consist of one letter and four digits.
Which data type should you use for the AccountNumber column?

A. CHAR
B. BYTE
C. DOUBLE
D. SMALLINT

Answer: A

QUESTION 196
What is one difference between an update statement and a delete statement?

A. An update statement can change only one row.


B. A delete statement cannot use a where clause.
C. An update statement does not remove rows from a table.
D. A delete statement works only within a stored procedure.

Answer: C

QUESTION 197
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?

A. a primary key
B. an index
C. a foreign key
D. a unique constraint
E. a data type

Answer: C

QUESTION 198
98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html
Free VCE and PDF Exam Dumps from PassLeader
You need to store the first name, last name, and student ID for 100 students.
This information will be stored in a table as:

A. 100 items and three cells.


B. 100 rows and three columns.
C. three rows and 100 columns.
D. three items and 100 cells.

Answer: B

QUESTION 199
What are three valid data manipulation language (DML) commands? (Choose three.)

A. INSERT
B. COMMIT
C. DELETE
D. OUTPUT
E. UPDATE

Answer: ACE
Explanation:
http://en.wikipedia.org/wiki/Data_manipulation_language
Data manipulation languages have their functional capability organized by the initial word in a
statement, which is almost always a verb.
In the case of SQL, these verbs are:
SELECT ... FROM ... WHERE ...
INSERT INTO ... VALUES ...
UPDATE ... SET ... WHERE ...
DELETE FROM ... WHERE ...

QUESTION 200
You assign User1 a set of permissions that include the WITH GRANT OPTION.
The WITH GRANT OPTION enables User1 to:

A. request a log of permission use.


B. delegate permissions to other users.
C. create new database users.
D. view other users' permissions.

Answer: C

Visit PassLeader and Download Full Version 98-364 Exam Dumps

98-364 Exam Dumps 98-364 Exam Questions 98-364 PDF Dumps 98-364 VCE Dumps
http://www.passleader.com/98-364.html

You might also like