Chapter 7 Review Questions Flashcards

1
Q

You have an address book for a small business with contact information for about 100 clients. The address book is used by two people. Which solution should you use to store the data?

A. Spreadsheet
B. Relational database
C. Word processing software
D. Non-relational database

A

Spreadsheet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A database developer is working on generating queries. If the developer needs to ensure that the output of the query has data persistence, to where should the data be written?

A. RAM
B. Cache
C. SSD
D. CP

A

SSD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following consists of columns and rows of numerical or text data?

A. Document database
B. Key/value database
C. Database dump
D. Relational database

A

Document database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Joe creates a database. What does he need to do next to make it usable?

A. Enable permissions
B. Import data
C. Run queries
D. Create forms

A

Import data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A user, Ann, is granted permissions to access a database. What is this an example of?

A. Data collection
B. Data manipulation
C. Direct/manual access
D. Data definition

A

Data definition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A medical office needs to create a solution to manage patient records. They have about 10,000 patients and eight staff, they want to include notes from medical professionals, emails to and from patients, and images such as X-ray. What should they create?

A. Spreadsheet
B. Relational database
C. Non-relational database
D. Primary key

A

Non-relational database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

You have created a relational database. Which of the following elements uniquely identifies a record in the database?

A. Primary key
B. Foreign key
C. Schema
D. Field

A

Primary key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Mary, an administrator, creates a field and designates it to hold integer data. Joe, a user, tries to enter his name into the field, but it doesn’t let him save the data. What is this an example of?

A. Schema rules
B. Primary key
C. Foreign key
D. Constraints

A

Constraints

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Rachel, a database administrator, has created a database for her website. It contains pictures of vacations that people have uploaded. In the database, pictures have associated information about who uploaded them and the date. What is this an example of?

A. Semi-structured data
B. Non-structured data
C. Structured data
D. Schema definition

A

Semi-structured data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Peter is accessing a database using a JDBC connection. Which of the following terms best describes the type of access he is using?

A. Direct/manual access
B. Programmatic access
C. User interface/utility access
D. Query/report builder

A

Direct/manual access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Oscar’s user account has been granted permissions to view a database. Nathan then uses the deny command in an attempt to deny Oscar the ability to view the database and applies it to a group to which Oscar belongs. Which of the following statements is true?

A. Oscar will still be able to view the database because a grant overrides a deny.
B. Oscar will no longer be able to view the database because a deny overrides a grant.
C. Oscar will no longer be able to view the database, because the deny cancels the grant, giving Oscar no specific permissions.
D. Oscar will still be able to view the database because granted permissions must be removed with the revoke command.

A

Oscar will no longer be able to view the database because a deny overrides a grant.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A school has a database with four tables, but it needs a fifth table. Which command is used to accomplish this task?

A. INSERT
B. UPDATE
C. CREATE
D. ALTER

A

CREATE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Michael, an administrator, needs to add a column to an existing table. Which command should he use?

A. INSERT
B. UPDATE
C. CREATE
D. ALTER

A

ALTER

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Laura, your manager, instructs you to remove a table from a database permanently. Which command should you use?

A. DELETE
B. REMOVE
C. DROP
D. ALTER

A

DROP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which of the following statements most accurately describes what a primary key refers to?

A. A schema in a database
B. A table in a schema
C. A field in a table
D. A record in a table

A

A field in a table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Kate, a database administrator, needs to add records into a database. Which command should she use?

A. CREATE
B. INSERT
C. ALTER
D. UPDATE

A

INSERT

17
Q

Henry wants to understand which of his customers has purchased part number BB8. Which command should he use?

A. QUERY
B. FIND
C. SEARCH
D. SELECT

A

SELECT

18
Q

George needs to remove a customer’s information completely from a table. Which command should he use?

A. DELETE
B. DROP
C. ALTER
D. UPDATE

A

ALTER

19
Q

Which of the following descriptions best describes the type of structure that stores values as blobs?

A. Relational database
B. Non-relational database
C. Document database
D. Key/value database

A

Key/value database

20
Q

An employee at your office just got married and changed their last name. Which command do you use to change their last name in the employee database?

A. EDIT
B. MODIFY
C. ALTER
D. UPDATE

A

UPDATE