100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

WGU D427 Practice Test with Answer Key 2024.

Rating
-
Sold
-
Pages
23
Grade
A+
Uploaded on
27-04-2024
Written in
2023/2024

WGU D427 Practice Test with Answer Key 2024. 1. Seattle, WA 98111 USA How many attributes are present in the address fragment? a. 1 b. 2 c. 3 d. 4 2. The Book table has the following columns: genre – varchar(20) pages – integer author_id – char(3) isbn_number – varchar(20) Which column should be designated at the primary key for the Book table? a. genre b. pages c. author_id d. isbn_number 3. The Book table has the following columns: genre – varchar(20) pages – integer author_id – char(3) isbn_number – varchar(20) Which column should be designated at the foreign key for the Book table? a. genre b. pages c. author_id d. isbn_number 4. Which data type represents numbers with fractional values: a. Integer b. Decimal c. Character d. Binary 5. Which of the following are DDL commands? a. INSERT b. SELECT c. CREATE INDEX d. UPDATE 6. Which of the following is a DML command? a. CREATE VIEW b. CREATE TABLE c. INSERT d. ALTER INDEX 7. CREATE TABLE Invoice ( invoice_id INT NOT NULL AUTO_INCREMENT, date DATE NOT NULL, customer_id INT NOT NULL, PRIMARY KEY (invoice_id), FOREIGN KEY (customer_id) REFERENCES Customer (customer_id) ON DELETE CASCADE ); Looking at the Customer and Invoice tables and the CREATE TABLE for the Invoice table with foreign key reference statement above, what would happen to invoices in the Invoice table that are linked to a customer if that customer is deleted. a. Those invoices would remain in the database. b. Those invoices would be deleted also. c. The Customer ID for those invoices would be changed to NULL. d. Nothing would happen. Invoice ID (PK) Date Customer ID (FK) Customer ID (PK) Customer Last Name Customer First Name Street Address City State Zip 8. CREATE TABLE Invoice ( invoice_id INT NOT NULL AUTO_INCREMENT, date DATE NOT NULL, customer_id INT NOT NULL, PRIMARY KEY (invoice_id), FOREIGN KEY (customer_id) REFERENCES Customer (customer_id) ON DELETE RESTRICT ); Looking at the Customer and Invoice tables and the CREATE TABLE for the Invoice table with foreign key reference statement above, what would happen to invoices in the Invoice table that are linked to a customer if that customer is deleted. a. Those invoices would remain in the database. b. Those invoices would be deleted also. c. The Customer ID for those invoices would be changed to NULL. d. The delete of the Customer would not be allowed. 9. CREATE TABLE Invoice ( invoice_id INT NOT NULL AUTO_INCREMENT, date DATE NOT NULL, customer_id INT NOT NULL, Invoice ID (PK) Date Customer ID (FK) Customer ID (PK) Customer Last Name Customer First Name Street Address City State Zip PRIMARY KEY (invoice_id), FOREIGN KEY (customer_id) REFERENCES Customer (customer_id) ON DELETE SET TO NULL ); Looking at the Customer and Invoice tables and the CREATE TABLE for the Invoice table with foreign key reference statement above, what would happen to invoices in the Invoice table that are linked to a customer if that customer is deleted. e. Those invoices would remain in the database. f. Those invoices would be deleted also. g. The Customer ID for those invoices would be changed to NULL. h. The delete of the Customer would not be allowed. 10. Which of the following are true about materialized view (Choose 2)? a. It is a base table. b. It is stored. c. It must be refreshed whenever the base table changes. d. The results are stored as a temporary table. 11. The Customer table will have the following columns: CustomerID—positive integer Invoice ID (PK) Date Customer ID (FK) Customer ID (PK) Customer Last Name Customer First Name Street Address City State Zip .

Show more Read less
Institution
WGU D427
Course
WGU D427










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
WGU D427
Course
WGU D427

Document information

Uploaded on
April 27, 2024
Number of pages
23
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
DoctorReinhad Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
2136
Member since
4 year
Number of followers
1728
Documents
6005
Last sold
5 days ago
TOP SELLER CENTER

Welcome All to this page. Here you will find ; ALL DOCUMENTS, PACKAGE DEALS, FLASHCARDS AND 100% REVISED & CORRECT STUDY MATERIALS GUARANTEED A+. NB: ALWAYS WRITE A GOOD REVIEW WHEN YOU FIND MY DOCUMENTS OF SUCCOUR TO YOU. ALSO, REFER YOUR COLLEGUES TO MY ACCOUNT. ( Refer 3 and get 1 free document). AM AVAILABLE TO SERVE YOU ANY TIME. WISHING YOU SUCCESS IN YOUR STUDIES. THANK YOU.

3.6

302 reviews

5
130
4
48
3
56
2
17
1
51

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions