PrepAway - Latest Free Exam Questions & Answers

You need to identify the view attribute to use when cre…

HOTSPOT
Background
You have a database named HR1 that includes a table named Employee.
You have several read-only, historical reports that contain regularly changing totals. The reports use multiple
queries to estimate payroll expenses. The queries run concurrently. Users report that the payroll estimate
reports do not always run. You must monitor the database to identify issues that prevent the reports from
running.
You plan to deploy the application to a database server that supports other applications. You must minimize the
amount of storage that the database requires.
Employee TableYou use the following Transact-SQL statements to create, configure, and populate the Employee table:

Application
You have an application that updates the Employees table. The application calls the following stored
procedures simultaneously and asynchronously:
UspA: This stored procedure updates only the EmployeeStatus column.
UspB: This stored procedure updates only the EmployeePayRate column.
The application uses views to control access to data. Views must meet the following requirements:
Allow user access to all columns in the tables that the view accesses.
Restrict updates to only the rows that the view returns.
Exhibit

Users must only be able to modify data in the Employee table by using the vwEmployee view. You must prevent
users from viewing the view definition in catalog views.
You need to identify the view attribute to use when creating vwEmployee.
In the table below, identify the attributes that you must use.
NOTE: Make only one selection in each column.
Hot Area:

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
https://msdn.microsoft.com/en-us/library/ms187956.aspx

6 Comments on “You need to identify the view attribute to use when cre…

    1. Kia says:

      For update restriction :

      CHECK OPTION
      Forces all data modification statements executed against the view to follow the criteria set within select_statement. When a row is modified through a view, the WITH CHECK OPTION makes sure the data remains visible through the view after the modification is committed.




      6



      0
  1. jml says:

    I would go for CHECK OPTION and ENCRYPTION.

    The question is about catalog views and ENCRYPTION encrypts the entries in sys.syscomments that contain the text of the CREATE VIEW statement. sys.syscomments is a catalog view.




    21



    0

Leave a Reply