WGU C170 EXAM SCRIPT VERIFIED
QUESTIONS WITH ACCURATE ANSWERS
●● 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 two columns are created as something other than variable-length
strings in this statement?
, Choose 2 answers
member_id
last name
suffix
expiration
email
city
Answer: member_id
expiration
●● Employee_ID Employee_Name Office_Address
12342 Jacob 54123 Main Street
12346 Michael 354 Center Avenue
12846 Ethan 54123 Main Street
12887 Joshua 54123 Main Street
12894 Daniel 354 Center Avenue
13097 Alexander 354 Center Avenue
13112 Anthony 54123 Main Street
13411 William 354 Center Avenue
13987 Christopher 354 Center Avenue
QUESTIONS WITH ACCURATE ANSWERS
●● 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 two columns are created as something other than variable-length
strings in this statement?
, Choose 2 answers
member_id
last name
suffix
expiration
city
Answer: member_id
expiration
●● Employee_ID Employee_Name Office_Address
12342 Jacob 54123 Main Street
12346 Michael 354 Center Avenue
12846 Ethan 54123 Main Street
12887 Joshua 54123 Main Street
12894 Daniel 354 Center Avenue
13097 Alexander 354 Center Avenue
13112 Anthony 54123 Main Street
13411 William 354 Center Avenue
13987 Christopher 354 Center Avenue