WGU D427 Data Management Applications Pre-Assessment
66 Questions with Verified Answers
San Francisco, CA 94110
USA
How many attributes are present in the address fragment?
-1
-2
-3
- 4 - CORRECT ANSWER 4
The Package table has the following columns:
Weight—decimal
Description—optional variable length string
LastChangedDate—date
TrackingNumber—integer
Which column should be designated the primary key for the Package table?
Which SQL command is an example of data definition language (DDL)?
,- UPDATE
- ALTER
- SELECT
- DELETE - CORRECT ANSWER CREATE, ALTER, OR DROP
How would a database engine process an update that violates a RESTRICT
referential integrity constraint?
- The offending value would be set to the database default.
- The update would be rejected by the database.
- The offending value would be changed to NULL.
- The updated value would flow to the primary key. - CORRECT ANSWER The
update would be rejected by the database.
Which restriction applies when using a materialized view?
- The users of the view must provide search terms.
- The underlying data must be periodically refreshed.
- The tables referenced in the view must be indexed.
- The rows in the table must be compressed. - CORRECT ANSWER The underlying
data must be periodically refreshed.
Which query illustrates performing an outer join of the Movie table with a
different table?
- SELECT M.Title, A.Actor FROM Movie M, Actor A
WHERE M.ActorID = A.ID
- SELECT M.Title, A.Actor FROM Movie M
LEFT JOIN Movie MB ON M.ID, Actor A
- SELECT M.Title, A.Actor FROM Movie M
RIGHT JOIN Actor A ON M.ActorID = A.Id
- SELECT M.Title, A.Actor FROM Movie M
INNER JOIN Actor A ON M.ActorID = A.ID - CORRECT ANSWER SELECT M.Title,
A.Actor FROM Movie M
, LEFT JOIN Movie MB ON M.ID Actor A
Assume there are two tables, A and B.
Which rows will always be included in the result set if Table A is inner joined with
Table B?
- Only rows in Tables A and B that share the join condition
- all rows in Table B
- All rows in Table A
- Only rows in Tables A and B that do not share the join condition - CORRECT
ANSWER Only rows in Table A and B that share the join condition
1. Portland, OR 97212
How many attributes are present in the address fragment?
-1
-2
-3
- 4 - CORRECT ANSWER 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?
3. The Exam table has the following columns:
exam_id int
exam_date date
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller paulhans. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.79. You're not tied to anything after your purchase.