CIW 1D0-541 CIW v5 Database Design Specialist Exam Practice Test

Page: 1 / 14
Total 128 questions
Question 1

Consider the relations shown in the exhibit. Due to restructuring, the sales department has

been eliminated and the employees working in that department have been dismissed. All ID

information is stored as integers. Which SQL statement would be used to return a relation with all

information for the employees who have been dismissed?



Answer : C


Question 2

Consider the following relation definition:

STUDENT(

Student_Number: integer NOT NULL

Name: variable length character string length 20 NOT NULL)

Primary Key Student_Number

HOUSING(

Housing_ID: integer NOT NULL

Student_Number: integer NOT NULL

Building: variable length character string length 25 NOT NULL)

Primary Key Housing_ID

Foreign Key Student_Number References

STUDENT(Student_Number)

ON DELETE NO CHECK

ON UPDATE

Which integrity constraint is violated in this relation definition?



Answer : C


Question 3

Consider the following relation definitions:

STUDENT(

Student_Number: integer NOT NULL

Name: variable length character string length 20 )

Primary Key Student_Number

HOUSING(

Housing_ID: integer NOT NULL

Student_Number: integer NOT NULL

Building: variable length character string length 25 )

Primary Key Housing_ID

Foreign Key Student_Number References STUDENT(Student_Number)

ON DELETE NO ACTION

ON UPDATE CASCADE

What are the referential constraints for the relations defined in these relation definitions?



Answer : D


Question 4

Consider the following SQL statement and the Orders relation shown in the exhibit:

What is the output of this SQL statement?



Answer : C


Question 5

Which process is used to prevent the current database operation from reading or writing a data

item while that data item is being accessed by another operation?



Answer : A


Question 6

Consider the following SQL statement and the Orders relation shown in the exhibit:

What is the output of this SQL statement?



Answer : D


Question 7

Your enterprise must decide whether to use a database management system. Which of the

following best describes the overall functionality of a DBMS?



Answer : D


Page:    1 / 14   
Total 128 questions