PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which permission or permissions should you assign to UserC?

You administer a Microsoft SQL Server 2012 database. The database has a table named
Customers owned by UserA and another table named Orders owned by UserB. You also
have a stored procedure named GetCustomerOrderInfo owned by UserB.
GetCustomerOrderInfo selects data from both tables.
You create a new user named UserC.
You need to ensure that UserC can call the GetCustomerOrderInfo stored procedure. You
also need to assign only the minimum required permissions to UserC.
Which permission or permissions should you assign to UserC? Choose all that apply.

Which Transact-SQL statement should you use?

You administer a Microsoft SQL Server 2012 database named ContosoDB. The database
contains a table named Suppliers and a column named IsActive in the Purchases schema
You create a new user named ContosoUser in ContosoDB. ContosoUser has no
permissions to the Suppliers table.
You need to ensure that ContosoUser can delete rows that are not active from Suppliers.
You also need to grant ContosoUser only the minimum required permissions.
Which Transact-SQL statement should you use?

You need to define and reuse the flat file connection in all project packages

You are using SQL Server Data Tools to develop a SQL Server Integration Services (SSIS)
project.
The first package that you create in this project contains a package connection that
accesses a flat file. Additional packages in the project must also access this file.
You need to define and reuse the flat file connection in all project packages.
What should you do?

Which three actions should you perform in sequence?

DRAG DROP
A Data Flow task in a SQL Server Integration Services (SSIS) package produces run-time
errors.
You need to edit the package to log specific error messages.
Which three actions should you perform in sequence? (To answer, move the appropriate
actions from the list of actions to the answer area and arrange them in the correct order.)

You need to achieve this goal by using the minimum amount of administrative effort

You administer a Microsoft SQL Server 2012 database that has multiple tables in the Sales
schema.
Some users must be prevented from deleting records in any of the tables in the Sales
schema.
You need to manage users who are prevented from deleting records in the Sales schema.
You need to achieve this goal by using the minimum amount of administrative effort.
What should you do?

Which SQL statement or statements should you use?

You are the lead database administrator (DBA) of a Microsoft SQL Server 2012
environment.
All DBAs are members of the DOMAIN\JrDBAs Active Directory group. You grant
DOMAIN\JrDBAs access to the SQL Server.
You need to create a server role named SpecialDBARole that can perform the following
functions:
• View all databases.
• View the server state.

• Assign GRANT, DENY, and REVOKE permissions on logins.
You need to add DOMAIN\JrDBAs to the server role. You also need to provide the least
level of privileges necessary.
Which SQL statement or statements should you use? Choose all that apply.