APPLICATIONS TEST (NEW 2026/2027)
PRE- ASSESSMENT TEST QUESTIONS
WITH VERIFIED ANSWERS| GRADED A+
Question:
Which SQL command is an example of data definition language (DDL)?
i,- i,- i,- i,- i,- i,- i,- i,- i,- i,-
- UPDATE
i,-
- ALTER
i,-
- SELECT
i,-
- DELETE?
i,-
Answer:
CREATE, ALTER, OR DROP
i,- i,- i,-
Question:
How would a database engine process an update that violates a RESTRICT
i,- i,- i,- i,- i,- i,- i,- i,- i,- i,- i,- i,-
referential integrity constraint?
i,- i,-
- The offending value would be set to the database default.
i,- i,- i,- i,- i,- i,- i,- i,- i,- i,-
- The update would be rejected by the database.
i,- i,- i,- i,- i,- i,- i,- i,-
,- The offending value would be changed to NULL.
i,- i,- i,- i,- i,- i,- i,- i,- i,-
- The updated value would flow to the primary key.?
i,- i,- i,- i,- i,- i,- i,- i,- i,-
Answer:
The update would be rejected by the database.
i,- i,- i,- i,- i,- i,- i,-
Question:
Which restriction applies when using a materialized view?
i,- i,- i,- i,- i,- i,- i,-
- The users of the view must provide search terms.
i,- i,- i,- i,- i,- i,- i,- i,- i,- i,-
- The underlying data must be periodically refreshed.
i,- i,- i,- i,- i,- i,- i,- i,-
- The tables referenced in the view must be indexed.
i,- i,- i,- i,- i,- i,- i,- i,- i,- i,-
- The rows in the table must be compressed.?
i,- i,- i,- i,- i,- i,- i,- i,-
Answer:
The underlying data must be periodically refreshed.
i,- i,- i,- i,- i,- i,-
Question:
Which query illustrates performing an outer join of the Movie table with a
i,- i,- i,- i,- i,- i,- i,- i,- i,- i,- i,- i,- i,-
different table? i,-
- SELECT M.Title, A.Actor FROM Movie M, Actor A
i,- i,- i,- i,- i,- i,- i,- i,-
WHERE M.ActorID = A.ID i,- i,- i,-
,- SELECT M.Title, A.Actor FROM Movie M
i,- i,- i,- i,- i,- i,-
i,- LEFT JOIN Movie MB ON M.ID, Actor A
i,- i,- i,- i,- i,- i,- i,-
- SELECT M.Title, A.Actor FROM Movie M
i,- i,- i,- i,- i,- i,-
i,- RIGHT JOIN Actor A ON M.ActorID = A.Id
i,- i,- i,- i,- i,- i,- i,-
- SELECT M.Title, A.Actor FROM Movie M
i,- i,- i,- i,- i,- i,-
i,- INNER JOIN Actor A ON M.ActorID = A.ID?
i,- i,- i,- i,- i,- i,- i,-
Answer:
SELECT M.Title, A.Actor FROM Movie M
i,- i,- i,- i,- i,-
LEFT JOIN Movie MB ON M.ID Actor A
i,- i,- i,- i,- i,- i,- i,-
Question:
San Francisco, CA 94110
i,- i,- i,-
USA
How many attributes are present in the address fragment?
i,- i,- i,- i,- i,- i,- i,- i,-
-1 i,-
-2 i,-
-3 i,-
- 4? i,-
Answer:
, 4
Question:
The Package table has the following columns:
i,- i,- i,- i,- i,- i,-
Weight—decimal
Description—optional variable length string i,- i,- i,-
LastChangedDate—date
TrackingNumber—integer
Which column should be designated the primary key for the Package
i,- i,- i,- i,- i,- i,- i,- i,- i,- i,- i,-
table?
- Weight
i,- i,-
- Description
i,-
- LastChangedDate
i,-
- TrackingNumber?
i,-
Answer:
Tracking Number i,-
Question:
Which data type will store "2022-01-10 14:22:12" as a temporal value
i,- i,- i,- i,- i,- i,- i,- i,- i,- i,- i,-
without loss of information?
i,- i,- i,-