98-364 : Database Fundamentals : Part 05

  1. You have a database table named SongInformation as defined below:

    98-364 Part 05 Q01 026
    98-364 Part 05 Q01 026

    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?

    98-364 Part 05 Q01 027
    98-364 Part 05 Q01 027
    • Option A
    • Option B
    • Option C
    • Option D
  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:

    98-364 Part 05 Q02 028
    98-364 Part 05 Q02 028

    When volunteer information changes, you must update the table.

    You need to change Tia’s name to Kimberly.

    Which statement should you choose?

    98-364 Part 05 Q02 029
    98-364 Part 05 Q02 029
    •  Option A
    • Option B
    • Option C
    • Option D
  3. 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

    • No change is needed
    • ORDER BY
    • UNION
    • WHERE
  4. 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?

    • TRUNCATE
    • JOIN
    • EXCEPT
    • UNION
  5. 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

    • No change is needed
    • DROP TABLE 
    • TRUNCATE TABLE
    • ALTER TABLE
  6. 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?

    • Primary key
    • Secondary key
    • Foreign key
    • Default key
  7. HOTSPOT

    The following illustration shows the structure of a clustered index in a single partition:

    98-364 Part 05 Q07 030
    98-364 Part 05 Q07 030

    Instructions: Use the drop-down menus to select the answer choice that completes each statement Each correct selection is worth one point.

    98-364 Part 05 Q07 031 Question
    98-364 Part 05 Q07 031 Question
    98-364 Part 05 Q07 031 Answer
    98-364 Part 05 Q07 031 Answer
  8. HOTSPOT

    You have the following table:

    98-364 Part 05 Q08 032
    98-364 Part 05 Q08 032

    Instructions: Use the drop-down menus to select the answer choice that completes each statement. Each correct selection is worth one point.

    98-364 Part 05 Q08 033 Question
    98-364 Part 05 Q08 033 Question
    98-364 Part 05 Q08 033 Answer
    98-364 Part 05 Q08 033 Answer
  9. 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?

    • Foreign key
    • Index key
    • Link key
    • Default key
  10. This question requires that you evaluate the underlined text to determine if it is correct.

    A view can be used to ensure referential integrity.

    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

    • No change is needed.
    • Save an extra copy of data stored in a separate table.
    • Limit access to specific rows or columns of data in a table.
    • Save historical data before deleting it from the base table.
  11. DRAG DROP

    You need to set up a database to provide a view of North American mammals.

    Match the Structured Query Language (SQL) statements to the SQL query.

    Instructions: To answer, drag the appropriate SQL statement from the column on the left to its place in the SQL query on the right Each SQL statement may be used once, more than once, or not at all. Each correct match is worth one point.

    98-364 Part 05 Q11 034 Question
    98-364 Part 05 Q11 034 Question
    98-364 Part 05 Q11 034 Answer
    98-364 Part 05 Q11 034 Answer
  12. DRAG DROP

    You have a database table that stores information about school attendance.

    You have a data set that is defined as follows:

    98-364 Part 05 Q12 035
    98-364 Part 05 Q12 035

    You have the following requirements:
    – StudentName must consist of a string of characters.
    – GradeLevel must be only a whole number.
    – DaysAbsent can have one number after the decimal.

    Match the data types to the column names.

    Instructions: To answer, drag the appropriate data type from the column on the left to its column name on the right Each data type may be used once, more than once, or not at all. Each correct match is worth one point.

    98-364 Part 05 Q12 036 Question
    98-364 Part 05 Q12 036 Question
    98-364 Part 05 Q12 036 Answer
    98-364 Part 05 Q12 036 Answer
  13. HOTSPOT

    Instructions: For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.

    98-364 Part 05 Q13 037 Question
    98-364 Part 05 Q13 037 Question
    98-364 Part 05 Q13 037 Answer
    98-364 Part 05 Q13 037 Answer
  14. This question requires that you evaluate the underlined text to determine if it is correct.

    In a database table, each column represents a unique record.

    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

    • No change is needed
    • Table
    • Index
    • Row
  15. This question requires that you evaluate the underlined text to determine if it is correct.

    You have two tables. Each table has three rows. You create a SQL query that uses a cross join. The query does not include a WHERE clause.

    Nine rows will be included in the Cartesian product of these two 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 corrector.

    • No change is needed
    • Zero
    • Three
    • Six
  16. You have two tables named Salesperson and Sales.

    You need to ensure that each record in the Sales table has a valid associated salesperson record in the Salesperson table.

    Which database object should you add to the Sales table?

    • Nonclustered index
    • Primary key
    • Foreign key
    • Clustered index
  17. DRAG DROP

    Your class project requires that you help a charity set up a website.

    The website collects information about volunteers. Each volunteer record must be uniquely identified.

    The following information is stored for each volunteer:
    Given name
    Surname
    Date of birth
    Phone number
    Photo

    You need to create a table to meet the requirements.

    Match the Structured Query Language SQL statements to the SQL query.

    Instructions: To answer, drag the appropriate SQL statement from the column on the left to its place in the SQL query on the right. Each SQL statement may be used once, more than once, or not at all. Each correct match is worth one point.

    98-364 Part 05 Q17 038 Question
    98-364 Part 05 Q17 038 Question
    98-364 Part 05 Q17 038 Answer
    98-364 Part 05 Q17 038 Answer
  18. This question requires that you evaluate the underlined text to determine if it is correct.

    Use the ALTER statement to add a new table in a database.

    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.

    • No change is needed
    • UPDATE
    • INSERT
    • CREATE
  19. You need to rename a column in a database table.

    Which data definition language (DDL) statement should you use?

    • ALTER
    • INSERT
    • CREATE
    • UPDATE
  20. DRAG DROP

    You have two database tables as defined below. The first table contains information about students. The second table contains information about courses. The two tables are related by CourseID.

    98-364 Part 05 Q20 039
    98-364 Part 05 Q20 039

    Match the CourseName to the StudentName.

    Instructions: To answer, drag the appropriate CourseName from the column on the left to its StudentName on the right. Each CourseName may be used once, more than once, or not at all. Each correct match is worth one point.

    98-364 Part 05 Q20 040 Question
    98-364 Part 05 Q20 040 Question
    98-364 Part 05 Q20 040 Answer
    98-364 Part 05 Q20 040 Answer
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments