Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 3 fuera de 24 páginas
Examen

WGU D427 PRACTICE TEST 1 | VERIFIED STUDY SET | QUESTIONS AND ANSWERS | 2026 UPDATES 100% CORRECT

Document preview thumbnail
Vista previa 3 fuera de 24 páginas

WGU D427 PRACTICE TEST 1 | VERIFIED STUDY SET | QUESTIONS AND ANSWERS | 2026 UPDATES 100% CORRECT

Vista previa del contenido

lOMoAR cPSD| 62301842




WGU D427 PRACTICE TEST 1 | VERIFIED STUDY SET |
QUESTIONS AND ANSWERS | 2026 UPDATES 100%
CORRECT



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 as 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

, lOMoAR cPSD| 62301842




5. Which of the following is a 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 UNIQUE,
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.


Customer ID (PK) Invoice ID (PK)
Customer Last Name Date
Customer First Name
Customer ID (FK)
Street Address
City
State
Zip
8.

, lOMoAR cPSD| 62301842




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 customers would remain in the customer 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 invoices would not be allowed.



Customer ID (PK) Invoice ID (PK)
Customer Last Name Date
Customer First Name Customer ID (FK)
Street Address
City
State
Zip
9.


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 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.


a. Those invoices would remain in the database.

Información del documento

Subido en
18 de enero de 2026
Número de páginas
24
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$16.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
EduSprint
3.9
(7)
Vendido
57
Seguidores
6
Artículos
7064
Última venta
1 semana hace


Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes