WGU C170 EXAM QUESTIONS & ANSWERS
A salesperson is authorized to sell many products and a product can be sold by many
salespersons.
Which kind of binary relationship does this scenario describe?
One-to-one
One-to-many
Many-to-many
One-to-one binary - Answer -Many-to-many
Which two examples are attributes?
Choose 2 answers
A person attending a meeting
An employee number
A sales meeting
A meeting code - Answer -An employee number
A meeting code
Which delete rule sets column values in a child table to a missing value when the
matching data is deleted from the parent table?
Restrict
Cascade
Matching
Set-to-Null - Answer -Set-to-Null
Refer to the given SQL statement.
CREATE TABLE member
(
member_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
PRIMARY KEY (member_id),
last_name VARCHAR(20) NOT NULL,
first_name VARCHAR(20) NOT NULL,
suffix VARCHAR(5) NULL,
expiration DATE NULL,
email VARCHAR(100) NULL,
street VARCHAR(50) NULL,
city VARCHAR(50) NULL,
state VARCHAR(2) NULL,
zip VARCHAR(10) NULL,
phone VARCHAR(20) NULL,
, interests VARCHAR(255) NULL
);
Which action should be used to translate this data into third normal form?
Move the data from the third column into the first column.
Move the data from the third column into its own table.
Move the data from the first two columns into separate tables.
Move the data from the second column into the third column. - Answer -Move the data
from the third column into its own table.
A database manager starts to convert data that has been normalized into a form that
conforms to the relational model. A simple primary key has been established and all the
repeating groups have been deleted.
In which form is this data?
First normal form
Second normal form
Third normal form
Fourth normal form - Answer -Second normal form
Two attributes in two related tables have the exact same domain of values. The attribute
is a primary key in one table.
Which kind of key is the attribute in the other table?
Foreign
Primary
Compound
Composite - Answer -Foreign
When a product is deleted from the product table, all corresponding rows for the product
in the pricing table are deleted automatically as well.
What is this referential integrity technique called?
Foreign key constraint
Referential delete
Cascaded delete
Dynamic update - Answer -Cascaded delete
Refer to the given information.
CREATE TABLE 'test1' (
contact_id INT(10),
A salesperson is authorized to sell many products and a product can be sold by many
salespersons.
Which kind of binary relationship does this scenario describe?
One-to-one
One-to-many
Many-to-many
One-to-one binary - Answer -Many-to-many
Which two examples are attributes?
Choose 2 answers
A person attending a meeting
An employee number
A sales meeting
A meeting code - Answer -An employee number
A meeting code
Which delete rule sets column values in a child table to a missing value when the
matching data is deleted from the parent table?
Restrict
Cascade
Matching
Set-to-Null - Answer -Set-to-Null
Refer to the given SQL statement.
CREATE TABLE member
(
member_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
PRIMARY KEY (member_id),
last_name VARCHAR(20) NOT NULL,
first_name VARCHAR(20) NOT NULL,
suffix VARCHAR(5) NULL,
expiration DATE NULL,
email VARCHAR(100) NULL,
street VARCHAR(50) NULL,
city VARCHAR(50) NULL,
state VARCHAR(2) NULL,
zip VARCHAR(10) NULL,
phone VARCHAR(20) NULL,
, interests VARCHAR(255) NULL
);
Which action should be used to translate this data into third normal form?
Move the data from the third column into the first column.
Move the data from the third column into its own table.
Move the data from the first two columns into separate tables.
Move the data from the second column into the third column. - Answer -Move the data
from the third column into its own table.
A database manager starts to convert data that has been normalized into a form that
conforms to the relational model. A simple primary key has been established and all the
repeating groups have been deleted.
In which form is this data?
First normal form
Second normal form
Third normal form
Fourth normal form - Answer -Second normal form
Two attributes in two related tables have the exact same domain of values. The attribute
is a primary key in one table.
Which kind of key is the attribute in the other table?
Foreign
Primary
Compound
Composite - Answer -Foreign
When a product is deleted from the product table, all corresponding rows for the product
in the pricing table are deleted automatically as well.
What is this referential integrity technique called?
Foreign key constraint
Referential delete
Cascaded delete
Dynamic update - Answer -Cascaded delete
Refer to the given information.
CREATE TABLE 'test1' (
contact_id INT(10),