Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 42 pages
Exam (elaborations)

DATABASE MANAGEMENT APPLICATIONS EXAM PRE-ASSESSMENT AND OBJECTIVE ASSESMENT

Document preview thumbnail
Preview 4 out of 42 pages

WGU D427 DATABASE MANAGEMENT APPLICATIONS EXAM PRE-ASSESSMENT AND OBJECTIVE ASSESMENT | ACCURATE CURRENTLY TESTING EXAMS | ACCURATE AND VERIFIED FOR GUARANTEED PASS | LATEST UPDATE

Content preview

WGU D427 DATABASE MANAGEMENT APPLICATIONS
EXAM PRE-ASSESSMENT AND OBJECTIVE ASSESMENT |
ACCURATE CURRENTLY TESTING EXAMS | ACCURATE
AND VERIFIED FOR GUARANTEED PASS | LATEST UPDATE
How many attributes are present in the address fragment?

-1
-2
-3
-4
3
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 as the primary key for the Patient table?

- first_name
- last_name
- birthdate
- patient_id
patient_id
3. The Exam table has the following columns:
exam_id int
exam_date date
exam_reason varchar(100)
patient_number int

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

- exam_id
- exam_date
- exam_reason
- patient_id
patient_id

,4. Which data type represents numbers with fractional values:

- varchar
- integer
- binary
- decimal
decimal
5. Which of the following is a DDL (Data Definition Language) command?

- INSERT
- SELECT
- CREATE INDEX
- UPDATE
CREATE INDEX

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

- CREATE VIEW
- CREATE TABLE
- INSERT
- ALTER INDEX
INSERT
7. Patient Table
PK patient id
first name
last name
birthdate

Exam Table
PK exam id
exam date
exam reason
FK patient id

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
);

What would happen to exams in the Exam table that are linked to a patient if that patient is
deleted?

- Those exams would remain in the database
- Those exams would be deleted also
- The Patient ID for those exams would be changed to NULL
- Nothing would happen
Those exams would be deleted also
8. Patient Table
PK patient id
first name
last name
birthdate

Exam Table
PK exam id
exam date
exam reason
FK patient id

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
);

What would happen to exams in the Exam table that are linked to a patient if that patient is
deleted.

- Those invoices would remain in the database
- Those invoices would be deleted also
- The Customer ID for those invoices would be changed to NULL
- The delete of the Customer would not be allowed
The delete of the Customer would not be allowed

, 9.
Patient Table
PK patient id
first name
last name
birthdate
Exam Table
PK exam id
exam date
exam reason
FK patient id
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 );
what would happen to exams in the Exam table that are linked to a patient if that patient is
deleted.
Those invoices would remain in the database.
Those invoices would be deleted also.
The Customer ID for those invoices would be changed to NULL.
The delete of the Customer would not be allowed.
The Customer ID for those invoices would be changed to NULL
10.
Which of the following are true about materialized view (Choose 2)?

- It is a base table.

Document information

Uploaded on
July 9, 2024
Number of pages
42
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$12.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
DrBellaPhD
5.0
(538)
Sold
81
Followers
24
Items
346
Last sold
5 months ago


Reviews from verified buyers

2 year ago

Very Informative, detailed and timely, I passed, thank you very much




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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions