Which action should you take?

You are a database administrator on an instance of SQL Server 2008. Your Prod database contains data relating to your company’s manufacturing processes. You are creating an application that will track how products are assembled on the manufacturing floor and the time taken during each assembly task. A portion of your data model is as follows:
(Ckick on Exhibits to view the table structures)
The AssemblyTask table must track the time it takes to complete each assembly task. Users will frequently run queries specifying time durations to identify assembly tasks that take minimal time or excessive time to complete. You want to minimize database storage where possible. However, query performance is your primary concern.
Which action should you take?
Exhibit:


A. Create a persisted computed column to store each task’s duration, and create an index on the computed column.
B. Create a dedicated column to store each task’s duration and use a DML trigger to populate the column.
C. Create a stored procedure that calculates each task’s duration.
D. Create a non-persisted computed column that includes a CLR user-defined function to store each task’s duration, and create an index on the computed column.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.