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

DATABASE MANAGEMENT APPLICATIONS EXAM PRE-ASSESSMENT AND OBJECTIVE ASSESMENT

Rating
5.0
(1)
Sold
-
Pages
42
Grade
A+
Uploaded on
09-07-2024
Written in
2023/2024

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

Institution
Course

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.

Written for

Course

Document information

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

Subjects

$12.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Document also available in package deal

Reviews from verified buyers

Showing all reviews
1 year ago

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

5.0

1 reviews

5
1
4
0
3
0
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

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.
DrBellaPhD Boston University
Follow You need to be logged in order to follow users or courses
Sold
78
Member since
1 year
Number of followers
24
Documents
346
Last sold
1 week ago
Verified Nurse (PhD in Nursing)

I am PhD student at Johns Hopkin University. I sell all medical documents (mostly tested nursing documents). The documents are 100% authentic and have been proven. I have a variety of relevant documents please scroll through to get the best and increase your scores.

5.0

542 reviews

5
538
4
1
3
2
2
1
1
0

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT 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