10 exam-style questions with answers and explanations, straight from our 1,030-question bank. Tap an answer to check yourself. When you're ready, take the scored version in the free practice test.
The ITS-D exam has 45 questions and runs 0 hours 50 minutes.
These 10 free ITS-D questions are organized by exam domain, so you can see how each part of the Information Technology Specialist - Databases blueprint is tested. Reveal the answer and explanation under each question.
Domain 1: Database Design
Question 1
A training company stores SeatBooking(SessionID, SeatNumber, BuyerID). All three columns are NOT NULL. Foreign keys ensure that the sessions and buyers exist.
Seat numbers are reused across sessions. A buyer may reserve several seats in one session, but a seat can be assigned only once within that session. The primary key must enforce these rules without rejecting valid bookings. Complete its definition.
Show answer & explanation
Correct answer: C - PRIMARY KEY (SessionID, SeatNumber)
Question 2
Invoice totals for an equipment supplier can reach 75,000.00. The database must store them exactly to two decimal places and accommodate every amount from zero to 75,000.00. Which column type meets both requirements?
Show answer & explanation
Correct answer: A - DECIMAL(7,2)
Question 3
Nora belongs directly to ShipmentReaders and ShipmentEditors, inheriting their SELECT and UPDATE permissions, respectively, on Shipment. An administrator revokes her separate direct UPDATE grant, yet she can still edit shipments. She has no other grants, role memberships, ownership rights, or administrative privileges.
Nora must retain reading access and lose editing access. Other editors, whose UPDATE permission comes solely from ShipmentEditors, must continue working. The remaining access should be corrected by:
Show answer & explanation
Correct answer: C - Removing Nora from ShipmentEditors only.
Domain 2: Database Object Management using DDL
Question 4
Support staff frequently search a SQL Server rowstore Orders table by CustomerID, retrieving a small fraction of its rows. The table has a clustered index on OrderID. CustomerID is INTEGER, and many orders belong to the same customer.
The clustered layout must stay in place, and repeated CustomerID values remain valid. Select the statement that adds an index keyed for these searches. All proposed index names are unused.
Show answer & explanation
Correct answer: B - CREATE NONCLUSTERED INDEX IX_CustomerLookup ON Orders (CustomerID);
Question 5
A PostgreSQL 18 ProductQuote table has a nullable Price DECIMAL(8,2) column with CHECK (Price >= 0) and no other constraints on Price. A test INSERT supplies NULL and succeeds; the test transaction is then rolled back. All remaining prices are non-null. Zero prices and repeated prices are legitimate.
To reject future missing prices while preserving those legitimate values, what should the administrator execute?
Show answer & explanation
Correct answer: A - ALTER TABLE ProductQuote ALTER COLUMN Price SET NOT NULL;
Domain 3: Data Retrieval
Question 6
A customer-service report must list every customer alongside any open orders. A customer with only closed orders, or no orders at all, should appear with NULL in OrderID.
Customer.CustomerID and Orders.OrderID are primary keys. Orders also contains CustomerID and a non-null Status of 'Open' or 'Closed'. In PostgreSQL, the report begins:
SELECT c.CustomerID, o.OrderID
FROM Customer c
Which continuation preserves exactly the required rows?
Show answer & explanation
Correct answer: A - LEFT JOIN Orders o
ON c.CustomerID = o.CustomerID
AND o.Status = 'Open';
Question 7
A support team measures response time in SupportTicket.ResponseHours, a DECIMAL(10,2) column. Five tickets contain 0.00, 2.00, 6.00, 6.00, and NULL. Zero means an immediate response; NULL means the time was not recorded.
SELECT AVG(ResponseHours) FROM SupportTicket;
What mean does this query report, rounded to two decimal places?
Show answer & explanation
Correct answer: C - 3.50 hours
Question 8
A retailer combines transaction lines from WebSale(ProductID, Qty) and ShopSale(ProductID, Qty). Both columns contain non-null integers. Identical lines can be separate purchases and must remain separate.
WebSale contains (12,1), (12,1).
ShopSale contains (12,1), (30,2).
Choose the query that retains every purchase in one result. Row order does not matter.
Show answer & explanation
Correct answer: B - SELECT ProductID, Qty FROM WebSale
UNION ALL
SELECT ProductID, Qty FROM ShopSale;
Domain 4: Data Manipulation using DML
Question 9
An import copies StagingContact(Email VARCHAR(80), FullName VARCHAR(60)) into an empty Contact(FullName VARCHAR(60), Email VARCHAR(80)) table. The staging row is ('li@example.test', 'Li Xu'); both values fit either target column.
INSERT INTO Contact (FullName, Email)
SELECT Email, FullName FROM StagingContact;
The statement succeeds, but the name and email land in the wrong fields. With the INSERT target list unchanged, the corrected SELECT is:
Show answer & explanation
Correct answer: D - SELECT FullName, Email FROM StagingContact;
Domain 5: Troubleshooting
Question 10
A shipment import uses these PostgreSQL 18 tables:
CREATE TABLE Depots (DepotID INTEGER PRIMARY KEY);
CREATE TABLE Shipments (
ShipmentID INTEGER PRIMARY KEY,
DepotID INTEGER NOT NULL REFERENCES Depots(DepotID),
UnitCount INTEGER NOT NULL CHECK (UnitCount >= 0),
Reference VARCHAR(4) NOT NULL
);
Depots contains only IDs 17 and 22. Shipments contains only (801, 17, 6, 'AX17'). The import account has the required permissions, but this statement is rejected:
INSERT INTO Shipments (ShipmentID, DepotID, UnitCount, Reference)
VALUES (802, 33, 0, 'BX22');
Why does the insert fail?
Show answer & explanation
Correct answer: D - DepotID 33 has no matching depot row.
That's 10 of 1,030
The full bank has 1,020 more ITS-D questions with explanations.