Welcome to awslagi.com – Sharing AWS, Anthropic, Google Cloud, Microsoft Azure IT Exams. It's free for all!

Database Fundamentals

Understand database fundamentals for data careers.

4.8★★★★★(279 ratings)
12,115 studentsBeginner
Build an introductory understanding of databases, data storage, and relational concepts. The exam provides a foundation for working with structured information in modern business and technology environments. This certification is useful for learners starting in data-related fields. It helps you understand how databases support applications, analysis, and business operations.

What you'll learn

  • Learn database basics- Understand relational concepts- Study data storage- Explore queries and tables- Support data literacy

98-364

Lectures2
Questions82
Duration30 week
Students12,115

$20.00

Full Free Question Bank (82 Questions)

Database Fundamentals (98-364) Practice Questions & Verified Answers

Click any option to test your knowledge, or reveal the verified answer and detailed explanation below each question.

Jump to Section:
Question #1Part 1

The terms "bitmap," "b-tree," and "hash" refer to which type of database structure?

AView
BFunction
CIndex
DStored procedure
ETrigger
Question #2Part 1

One reason to add an index is to:

ADecrease storage space.
BIncrease database security.
CImprove performance of select statements.
DImprove performance of insert statements.
Question #3Part 1

You have a table that contains the following data. You break the table into the following two tables. This process is referred to as:

Adefragmentation
Bnormalization
Cfragmentation
Ddenormalization
Question #4Part 1

You have a table that contains the following data. Which database term is used to describe the relationship between ProductID and ProductCategory?

ACohort
BRelationally dependent
CDeterministic
DFunctionally dependent
ECompositional
Question #5Part 1

Which key uniquely identifies a row in a table?

Aforeiqn
Bprimary
Clocal
Dsuperkey
Question #6Part 1

Which statement creates a composite key?

AOption A
BOption B
COption C
DOption D
Question #7Part 1

At 3:00 P.M. (1500 hours), you create a backup of your database. At 4:00 P.M. (1600 hours), you create a table named Customer and import data into the table. At 5:00 P.M. (1700 hours), your server fails. You run a script to apply only the 3:00 P.M. backup to your database. What is the result of the script?

AThe Customer table no longer exists.
BThe Customer table is unaffected.
CThe Customer table exists but has no data.
DThe script fails.
Question #8Part 1

In which situation do you need to perform a restore on a database?

Awhen data becomes corrupted in the database
Bwhen you need to roll back a transaction
Cwhen you encounter an error in your application
Dwhen data needs to be deleted from the database
Question #9Part 1

Which command should you use to give a user permission to read the data in a table?

AALLOW SELECT
BLET READ
CPERMIT READ
DGRANT SELECT
Question #10Part 1

You need to enable a new employee to authenticate to your database. Which command should you use?

AALLOW USER
BCREATE USER
CADD USER
DINSERT USER
EALTER USER
Question #11Part 1

Which keyword can be used in a create table statement?

AORDER BY
BDISTINCT
CGROUP BY
DUNIQUE
Question #12Part 1

You need to store product quantities, and you want to minimize the amount of storage space that is used. Which data type should you use?

AINTEGER
BDOUBLE
CCOUNT
DFLOAT
Question #13Part 1

Which statement will result in the creation of an index?

AOption A
BOption B
COption C
DOption D
Question #14Part 1

You have the following table definition: CREATE TABLE Road - (RoadID INTEGER NOT NULL, Distance INTEGER NOT NULL) The Road table contains the following data: You execute the following statement: INSERT INTO Road VALUES (1234, 36) What is the result?

Aan error stating that NULL values are not allowed
Ba new row in the table
Can error stating that duplicate IDs are not allowed
Da syntax error
Question #15Part 1

You need to store product names that vary from three to 30 characters. You also need to minimize the amount of storage space that is used. Which data type should you use?

AVARCHAR (3, 30)
BCHAR (3, 30)
CVARCHAR (30)
DCHAR (30)
Question #16Part 1

You need to store product names that vary from three to 30 characters. You also need to minimize the amount of storage space that is used. Which data type should you use?

AVARCHAR (3, 30)
BCHAR (3, 30)
CVARCHAR (30)
DCHAR (30)
Question #17Part 1

One reason to create a stored procedure is to:

AImprove performance.
BMinimize storage space.
CBypass case sensitivity requirements.
DGive the user control of the query logic.
Question #18Part 1

Which permission does a user need in order to run a stored procedure?

AEXECUTE
BALLOW
CCALL
DRUN
Question #19Part 1

You have a table named Product. You create a view that includes all the products from the Product table that are in the Furniture category. You execute a statement on the Product table that deletes all the products in the Furniture category. After you execute the statement, the result set of the view is:

AEmpty
BDeleted
CUnchanged
DArchived
Question #20Part 1

In SQL, an insert statement is used to add a:

AUser to a database.
BRow of data to a table.
CTable to a database.
DColumn to a table definition.
Question #21Part 1

You have two tables. Each table has three rows. How many rows will be included in the Cartesian product of these two tables?

A0
B3
C6
D9
Question #22Part 1

You are writing an SQL statement to retrieve rows from a table. Which data manipulation language (DML) command should you use?

AREAD
BSELECT
COUTPUT
DGET
Question #23Part 1

Which constraint ensures a unique value in the ID column for each customer?

ADISTINCT
BFOREIGN KEY
CSEQUENTIAL
DPRIMARY KEY
Question #24Part 1

The component that holds information for a single entry in a table is called a:

AData type
BRow
CColumn
DView
Question #25Part 1

You execute the following statement: SELECT EmployeeID, FirstName, DepartmentName FROM Employee, Department - This type of operation is called a/an:

AIntersection
BOuter join
CEqui-join
DCartesian product
Question #26Part 1

Which command should you use to add a column to an existing table?

AMODIFY
BALTER
CUPDATE
DINSERT
ECHANGE
Question #27Part 1

You have the following table definition: CREATE TABLE Product - (ID INTEGER PRIMARY KEY, Name VARCHAR(20), Quantity INTEGER) The Product table contains the following data. You execute the following statement: SELECT Name FROM Product WHERE Quantity IS NOT NULL How many rows are returned?

A0
B1
C2
D3
E4
Question #28Part 1

You are writing a select statement to find every product whose name contains a specific character. Which keyword should you use in your where clause?

AFIND
BBETWEEN
CINCLUDES
DLIKE
Question #29Part 1

A database contains two tables named Customer and Order. You execute the following statement: DELETE FROM Order - WHERE CustomerID = 209 - What is the result?

AThe first order for CustomerID 209 is deleted from the Order table.
BAll orders for CustomerID 209 are deleted from the Order table, and CustomerID 209 is deleted from the Customer table.
CAll orders for CustomerID 209 are deleted from the Order table.
DCustomerID 209 is deleted from the Customer table.
Question #30Part 1

You have a table named Product. The Product table has columns for ProductDescription and ProductCategory. You need to change the ProductCategory value for all the spoons in the Product table to 43. Which statement should you use?

AOption A
BOption B
COption C
DOption D
Question #31Part 1

You have a table that contains information about all students in your school. Which SQL keyword should you use to change a student's first name in the table?

AUPDATE
BCHANGE
CSELECT
DINSERT
Question #32Part 1

You need to populate a table named EmployeeCopy with data from an existing table named Employee. Which statement should you use?

AOption A
BOption B
COption C
DOption D
Question #33Part 1

You execute the following statement: This statement is an example of a/an:

ASubquery
BUnion
COuter join
DCartesian product
Question #34Part 1

Which keyword would you use in a select statement to return rows that meet a specific condition?

AWHERE
BUNION
CORDER BY
DFROM
Question #35Part 1

You have a table named Employee that includes the following columns: EmployeeID - Smp1oyeeName - Which statement should you use to return the number of rows in the table?

AOption A
BOption B
COption C
DOption D
Question #36Part 1

The Product table contains the following data. You execute the following statement: SELECT COUNT(*) FROM Product WHERE Quantity > 18 What is the value returned by this statement?

A1
B2
C3
D4
Question #37Part 1

Which command should you use to remove a table from a database?

AREMOVE TABLE
BUPDATE TABLE
CDROP TABLE
DDELETE TABLE
Question #38Part 1

You need to store the contact information for each student in your school database. You should store each student's information in a:

AStored procedure
BFunction
CRow
DVariable
Question #39Part 1

Which category of SQL statements is used to add, remove, and modify database structures?

AData access language (DAL)
BData manipulation language (DML)
CData control language (DCL)
DData definition language (DDL)
Question #40Part 1

You have a Customer table and an Order table. You join the Customer table with the Order table by using the CusromerID column. The results include: All customers and their orders - ✑ Customers who have no orders Which type of join do these results represent?

AComplete join
BPartial join
CInner join
DOuter join
Question #41Part 1

Data in a database is stored in:

ATables
BQueries
CData types
DStored procedures
Question #42Part 1

You have a table named Student that contains 100 rows. Some of the rows have a NULL value in the FirstName column. You execute the following statement: DELETE FROM Student - What is the result?

AAll rows in the table will be deleted.
BAll rows containing a NULL value in the FirstName column will be deleted.
CYou will receive an error message.
DAll rows and the table definition will be deleted.
Question #43Part 1

You need to establish a set of permissions that you can routinely assign to new users. What should you create?

AResource
BGroup
CList
DRole
Question #44Part 1

Which database term is used to describe the process of applying a backup to a damaged or corrupt database?

ARecover
BRestore
CCommit
DAttach
Question #45Part 1

You need to disable User1's access to view the data in the Customer table. Which statement should you use?

AOption A
BOption B
COption C
DOption D
Question #46Part 1

Denormalization is performed in order to:

AReduce redundancy.
BEliminate repeating groups.
CCreate smaller tables.
DImprove query performance.
Question #47Part 1

You have a table named Product that contains one million rows. You need to search for product information in the Product table by using the product's unique ID. What will make this type of search more efficient?

AA cursor
BA subquery
CA trigger
DAn index
Question #48Part 1

You have a table named Product that contains the following data. The PrcducrID column is the primary key. The CategoryID column is a foreign key to a separate table named Category. You execute the following statement: INSERT INTO Product - VALUES (3296, 'Table', 4444) What is the result?

Aa foreign key constraint violation
Ba syntax error
Ca new row in the Product table
Da primary key constraint violation
Ea new row in the Category table
Question #49Part 1

Which two keys establish a relationship between two tables? (Choose two.)

Acandidate
Bforeign
Csuperkey
Dlocal
Eprimary
Question #50Part 1

One difference between a function and a stored procedure is that a function:

AMust be called from a trigger.
BMust return a value.
CCannot contain a transaction.
DCannot accept parameters.
Question #51Part 1

Which keyword must be included in a create view statement?

AWHERE
BORDER BY
CUPDATE
DSELECT
Question #52Part 1

You have a table named Customer. You need to add a new column named District. Which statement should you use?

AOption A
BOption B
COption C
DOption D
Question #53Part 1

You need to remove a view named EmployeeView from your database. Which statement should you use?

ADELETE VIEW EmployeeView
BDELETE EmployeeView
CDROP EmployeeView
DDROP VIEW EmployeeView
Question #54Part 1

A named group of SQL statements that can be executed in a database is called a:

ASubroutine
BFormula
CStored procedure
DMethod
Question #55Part 1

A view can be used to:

ASave an extra copy of data stored in a separate table.
BLimit access to specific rows or columns of data in a table.
CEnsure referential integrity.
DSave historical data before deleting it from the base table.
Question #56Part 1

On which database structure does an update statement operate?

ATable
BUser
CTrigger
DRole
Question #57Part 1

You delete rows in a table named Order. The corresponding rows in the OrderItem table are automatically deleted. This process is an example of a/an:

AInherited delete
BCascade delete
CFunctional delete
DWaterfall delete
EDomino delete
Question #58Part 1

You need to insert two new products into the Product table. The first product is named Book and has an ID of 125. The second product is named Movie and has an ID of 126. Which statement should you use?

AOption A
BOption B
COption C
DOption D
Question #59Part 1

Which two elements are required to define a column? (Choose two.)

AA name
BA key
CAn index
DA data type
Question #60Part 1

What defines the amount of storage space that is allocated to a value in a column?

Aformat
Bkey
Cdata type
Dvalidator
Question #61Part 2

You are creating a table to store customer data. The AccountNumber column uses values that always consist of one letter and four digits. Which data type should you use for the AccountNumber column?

ACHAR
BBYTE
CDOUBLE
DSMALLINT
Question #62Part 2

What is one difference between an update statement and a delete statement?

AAn update statement can change only one row.
BA delete statement cannot use a where clause.
CAn update statement does not remove rows from a table.
DA delete statement works only within a stored procedure.
Question #63Part 2

You have a Department table and an Employee table in your database. You need to ensure that an employee can be assigned to only an existing department. What should you apply to the Employee table?

AA primary key
BAn index
CA foreign key
DA unique constraint
EA data type
Question #64Part 2

You need to store the first name, last name, and student ID for 100 students. This information will be stored in a table as:

A100 items and three cells.
B100 rows and three columns.
Cthree rows and 100 columns.
Dthree items and 100 cells.
Question #65Part 2

You assign User1 a set of permissions that include the WITH GRANT OPTION. The WITH GRANT OPTION enables User1 to:

Arequest a log of permission use.
Bdelegate permissions to other users.
Ccreate new database users.
Dview other users' permissions.
Question #66Part 2

Which type of index changes the order in which the data is stored in a table?

Anon-sequential
Bsequential
Cnon-clustered
Dclustered
Question #67Part 2

Which statement should you use to remove a foreign key?

AALTER TABLE
BDELETE TABLE
CDELETE FOREIGN KEY
DALTER FOREIGN KEY
Question #68Part 2

First normal form requires that a database excludes:

AForeign keys
BComposite keys
CDuplicate rows
DRepeating groups
Question #69Part 2

You execute a statement inside a transaction to delete 100 rows from a table. The transaction fails after only 40 rows are deleted. What is the result in the database?

AThe table will be corrupted.
BForty (40) rows will be deleted from the table.
CThe transaction will restart.
DNo rows will be deleted from the table.
Question #70Part 2

You have a table that contains product IDs and product names. You need to write an UPDATE statement to change the name of a specific product to glass. What should you include in the update statement?

ASET ProduetName = 'glass'
BLET ProduetName = 'glass'
CEXEC ProduetName = 'glass'
DASSIGN ProduetName = 'glass'
Question #71Part 2

Your database contains a table named Customer. You need to delete the record from the Customer table that has a CusromerID of 12345. Which statement should you use?

AOption A
BOption B
COption C
DOption D
Question #72Part 2

On which database structure does an insert statement operate?

ARole
BTrigger
CUser
DStored procedure
ETable
Question #73Part 2

You have a table of products with fields for ProductID, Name, and Price. You need to write an UPDATE statement that sets the value in the InStock field to Yes for a specific ProductID. Which clause should you use in your update statement?

ATHAT
BWHERE
CGROUP BY
DHAVING
Question #74Part 2

You have the following table definition: CREATE TABLE Product - (ProductID INTEGER, Name VARCHAR(20)) You need to insert a new product. The product's name is Plate and the product's ID is 12345. Which statement should you use?

AOption A
BOption B
COption C
DOption D
Question #75Part 2

You have the database table named Cars as defined below: You have the following Structured Query Language (SQL) statement: How many rows are returned by the SQL statement?

A4
B5
C6
D7
Question #76Part 2

You have a database table named SongInformation as defined below: You need to create a Structured Query Language (SQL) query to retrieve only the names of songs that sold more than 1000 compact discs (CDs). Which query should you use?

AOption A
BOption B
COption C
DOption D
Question #77Part 2

You accept an IT internship at a local charity. The charity asks you to keep a record of its volunteers by using a database table named Volunteer. The table has the following columns and rows: When volunteer information changes, you must update the table. You need to change Tia's name to Kimberly. Which statement should you choose?

AOption A
BOption B
COption C
DOption D
Question #78Part 2

This question requires that you evaluate the underlined text to determine if it is correct. Use the FROM keyword in a SELECT statement to return rows that meet a specific condition. Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the statement is incorrect, select the answer choice that makes the statement correct

ANo change is needed
BORDER BY
CUNION
DWHERE
Question #79Part 2

You need to combine the results of two queries into a single result that contains all of the rows from both queries. Which Structured Query Language (SQL) statement should you use?

ATRUNCATE
BJOIN
CEXCEPT
DUNION
Question #80Part 2

This question requires that you evaluate the underlined text to determine if it is correct. The CREATE TABLE command removes one or more table definitions and all data, indexes, triggers, constraints, and permission specifications for those tables. Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the statement is incorrect, select the answer choice that makes the statement correct

ANo change is needed
BDROP TABLE
CTRUNCATE TABLE
DALTER TABLE
Question #81Part 2

You accept an IT internship at a local charity. The charity wants you to help them with compliance and auditing requirements. You need to ensure that a column or combination of columns uniquely identifies each row of a table. Which constraint should you define?

APrimary key
BSecondary key
CForeign key
DDefault key
Question #82Part 2

While attending college, you accept an IT internship at a local charity. The charity needs to report on data that is related and exists in two tables. You need to establish a relationship between the data that is in the two tables. Which constraint should you define?

AForeign key
BIndex key
CLink key
DDefault key

📢 Unlock Full Access to Success!

"The content displayed here is a promotional preview and contains only 50% of the actual exam database. To access the complete set of updated questions, please upgrade to the Full Version."

👉 Click the button and follow the instructions to secure your full access immediately!