Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Data Analyst Associate All Questions

View all questions & answers for the Certified Data Analyst Associate exam

Exam Certified Data Analyst Associate topic 1 question 24 discussion

Actual exam question from Databricks's Certified Data Analyst Associate
Question #: 24
Topic #: 1
[All Certified Data Analyst Associate Questions]

A business analyst has been asked to create a data entity/object called sales_by_employee. It should always stay up-to-date when new data are added to the sales table. The new entity should have the columns sales_person, which will be the name of the employee from the employees table, and sales, which will be all sales for that particular sales person. Both the sales table and the employees table have an employee_id column that is used to identify the sales person.
Which of the following code blocks will accomplish this task?

  • A.
  • B.
  • C.
  • D.
  • E.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
31cadd7
2 months, 2 weeks ago
Selected Answer: E
This code block creates or replaces a table named sales_by_employee by joining the sales and employees tables on the employee_id column. By using a table instead of a view, the data entity will be persistent and always stay up-to-date when new data are added to the sales table. This choice is correct as it fulfills the requirements specified in the question.
upvoted 1 times
...
csrazdan
4 months ago
Selected Answer: D
Data has to be refreshed so it has to be a View. Between B and D options for a view, D is correct because of correct syntax of view DDL
upvoted 1 times
...
barmand
4 months, 1 week ago
answer D is correct as we are calculating % rank
upvoted 1 times
...
MrWood47
10 months ago
Selected Answer: D
Answer provided is correct!
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...