100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Examen

WGU D427 Practice Test 2 with Answer Key

Puntuación
-
Vendido
-
Páginas
48
Grado
A+
Subido en
08-04-2025
Escrito en
2024/2025

WGU D427 Practice Test 2 with Answer Key

Institución
Grado











Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
Grado

Información del documento

Subido en
8 de abril de 2025
Número de páginas
48
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

D427 Practice Test 2
1. Portland, OR 97212

How many attributes are present in the address fragment?
a. 1
b. 2
c. 3
d. 4

2. The Patient table has the following columns:
first_name – varchar(20)
last_name – varchar(30)
birthdate – date
patient_id – int

Which column should be designated at the primary key for the Patient table?

a. first_name
b. last_name
c. birthdate
d. patient_id




3. The Exam table has the following columns:
exam_id – int
exam_date – date
exam_reason – varchar (100)
patient_id – int

Which column should be designated as the foreign key for the Exam table?

a. exam_id
b. exam_date
c. exam_reason
d. patient_id




4. Which data type represents numbers with fractional values:

, a. Varchar
b. Integer
c. Binary
d. Decimal


5. Which of the following is a DDL (Data Definition Language) command?

a. INSERT
b. SELECT
c. CREATE INDEX
d. UPDATE


6. Which of the following is a DML(Data Manipulation Language) command?

a. CREATE VIEW
b. CREATE TABLE
c. INSERT
d. ALTER INDEX


7.
CREATE TABLE Exam (
exam_id INT NOT NULL AUTO_INCREMENT,
exam_date DATE NOT NULL,
exam_reason VARCHAR (100),
patient_id INT NOT NULL,
PRIMARY KEY (exam_id),
FOREIGN KEY (patient_id) REFERENCES Patient (patient _id) ON DELETE CASCADE
);




Looking at the Patient and Exam tables above and the CREATE TABLE for the Exam table
with foreign key reference statement above, what would happen to exams in the Exam
table that are linked to a patient if that patient is deleted.

,a. Those exams would remain in the database.
b. Those exams would be deleted also.
c. The Patient ID for those exams would be changed to NULL.
d. Nothing would happen.



8.
CREATE TABLE Exam (
exam_id INT NOT NULL AUTO_INCREMENT,
exam_date DATE NOT NULL,
exam_reason VARCHAR (100),
patient_id INT NOT NULL,
PRIMARY KEY (exam_id),
FOREIGN KEY (patient_id) REFERENCES Patient (patient _id) ON DELETE RESTRICT
);




Looking at the Patient and Exam tables above and the CREATE TABLE for the Exam table
with foreign key reference statement above, what would happen to exams in the Exam
table that are linked to a patient if that patient 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 Exam (
exam_id INT NOT NULL AUTO_INCREMENT,
exam_date DATE NOT NULL,

, exam_reason VARCHAR (100),
patient_id INT NOT NULL,
PRIMARY KEY (exam_id),
FOREIGN KEY (patient_id) REFERENCES Patient (patient _id) ON DELETE SET TO NULL
);




Looking at the Patient and Exam tables above and the CREATE TABLE for the Exam table
with foreign key reference statement above, what would happen to exams in the Exam
table that are linked to a patient if that patient 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.



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 Student table will have the following columns:
StudentID—positive integer
$13.49
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor

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.
ACESpecials Rasmussen College
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
49
Miembro desde
4 año
Número de seguidores
37
Documentos
826
Última venta
4 semanas hace
ACESpecials Educational Materials

PS: Boost your exam performance with my comprehensive study package Deals {CHECK OUT DISCOUNTS ON MY BUNDLES, I ASLO OFFER PACKAGE DEALS TO ALL MY STUDY MATERIAL} I have developed a range of study materials that cover all aspects of Courses, from the basics to advanced topics. My materials are designed to provide clear and concise explanations of complex concepts, with plenty of helpful examples and practice problems to reinforce your learning. I've received multiple academic awards during my time at university and have been recognized for my excellence in teaching. Download my materials today and start acing your exams! “Thank you in advance for your purchase! If you find my documents to be helpful, write a review! Refer other learners so that they can also benefit from my study materials."

Lee mas Leer menos
3.5

6 reseñas

5
1
4
3
3
1
2
0
1
1

Recientemente visto por ti

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