Pre Assessment Flashcards
Which requirement within large, complex databases ensures users have limited access to the database?
A. Recovery
B. Performance
C. Authorization
D. Confidentiality
C. Authorization
Which design type specifies database requirements without regard to a specific database system?
A. Physical design
B. Conceptual design
C. Logical design
D. Abstract design
B. Conceptual design
What characterizes the rules of relational databases?
A. They are logical constraints that ensure the data is valid.
B. They are based on business policy and specific databases.
C. They represent data volumes and rapidly changing data structures.
D. They embody the theoretical foundation of the SQL language.
A. They are logical constraints that ensure the data is valid.
Which event will result in an error code and error description when using MySQL Server?
A. When the server or updates are incorrectly installed
B. When an SQL statement is entered to locate errors in the database
C. When an SQL statement is syntactically incorrect
D. When a Mac OS shortcut code is used on a Windows OS
C. When an SQL statement is syntactically incorrect
Which data type should be used to store whole integer values, such as age?
A. NUM
B. VARCHAR
C. DATE
D. INT
D. INT
Which text-based interface is included in the MySQL Server Download?
A. MySQL Command-Line Client
B. MySQL Workbench
C. MySQL Enterprise
D. MySQL Community
A. MySQL Command-Line Client
Which database system includes the World database during its installation?
A. MySQL
B. MongoDB
C. Oracle
D. PostgreSQL
A. MySQL
What is the standardized language of relational database systems?
A. Contextual Query Language
B. Structured Query Language
C. Select Query Language
D. Object Query Language
B. Structured Query Language
Which SQL sublanguage is used to manage database access?
A. Data Definition Language (DDL)
B. Data Query Language (DQL)
C. Data Manipulation Language (DML)
D. Data Control Language (DCL)
D. Data Control Language (DCL)
Which SQL sublanguage is used to roll back database changes?
A. Data Transaction Language (DTL)
B. Data Manipulation Language (DML)
C. Data Query Language (DQL)
D. Data Control Language (DCL)
Data Transaction Language (DTL) Data Manipulation Language (DML) Data Query Language (DQL)
Data Control Language (DCL)
Which format is used by the TIME data type in MySQL?
A. YYYY-MM-DD
B. YYYY-MM-DD hh:mm:ss
C. hh:mm:ss
D. hh:mm:ss YYYY-MM-DD
C. hh:mm:ss
Which MySQL operator is the last in the order of operator precedence?
A. -
B. OR
C. NOT
D. =
B. OR
Which operator is used to compare columns from the left and right tables in MySQL?
A. <=
B. +
C. =
D. *
C. =
Which type of join combines two tables without comparing columns?
A. SELF
B. EQUIJOIN
C. OUTER
D. CROSS
D. CROSS
Which type of join compares columns using only the = operator?
A. Equijoin
B. Non-equijoin
C. Outer join
D. Inner join
A. Equijoin
Which type of join is demonstrated by the following query?
SELECT Dog.Nickname, Kennel.Address FROM Dog, Kennel
WHERE Dog.KennelID = Kennel.ID
A. NON-EQUIJOIN
B. SELF JOIN
C. CROSS JOIN
D. EQUIJOIN
D. EQUIJOIN
What is another name for a subquery?
A. Outer query
B. Nested query
C. Correlated query
D. Search query
B. Nested query
Which operator is used to compare against a list of values when determining a match in a WHERE clause?
A. IN
B. BETWEEN
C. LIKE
D. OR
A. IN
Which wildcard character is used to represent zero or more characters when searching for a specified pattern using a LIKE operator?
A. %
B. _
C. <
D. >
A. %
Which function is considered an aggregating function in SQL?
A. TRIM
B. REPLACE
C. MIN
D. SUBSTRING
C. MIN
Which clause or function is used with aggregate functions to produce summary rows?
A. TRIM
B. REPLACE
C. ORDER BY
D. GROUP BY
D. GROUP BY
Which type of join returns only the matching values when selecting rows from two or more tables?
A. Full Join
B. Outer Join
C. Equijoin
D. Inner Join
D. Inner Join
Which join type selects only matching left and right table rows?
A. Full Join
B. Left Join
C. Right Join
D. Inner Join
D. Inner Join
Which phrase refers to the view in which data is persisted and is automatically changed as the underlying data is changed?
A. Virtual View
B. Snapshot View
C. Denormalized View
D. Materialized View
D. Materialized View