ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 250 - Professional Data Engineer discussion

Report
Export

You are migrating an application that tracks library books and information about each book, such as author or year published, from an on-premises data warehouse to BigQuery In your current relational database, the author information is kept in a separate table and joined to the book information on a common key Based on Google's recommended practice for schema design, how would you structure the data to ensure optimal speed of queries about the author of each book that has been borrowed?

A.
Keep the schema the same, maintain the different tables for the book and each of the attributes, and query as you are doing today
Answers
A.
Keep the schema the same, maintain the different tables for the book and each of the attributes, and query as you are doing today
B.
Create a table that is wide and includes a column for each attribute, including the author's first name, last name, date of birth, etc
Answers
B.
Create a table that is wide and includes a column for each attribute, including the author's first name, last name, date of birth, etc
C.
Create a table that includes information about the books and authors, but nest the author fields inside the author column
Answers
C.
Create a table that includes information about the books and authors, but nest the author fields inside the author column
D.
Keep the schema the same, create a view that joins all of the tables, and always query the view
Answers
D.
Keep the schema the same, create a view that joins all of the tables, and always query the view
Suggested answer: C
asked 18/09/2024
MOHD SAIFUL SYAHMI SAIFUDDIN
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first