PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which SELECT statement should you use?

You have a database that contains the tables as shown below:

You have a stored procedure named Procedure1. Procedure1 retrieves all order ids after a
specific date. The rows for Procedure1 are not sorted. Procedure1 has a single parameter
named Parameter1. Parameter1 uses the varchar type and is configured to pass the specific
date to Procedure1. A database administrator discovers that OrderDate is not being
compared correctly to Parameter1 after the data type of the column is changed to datetime.
You need to update the SELECT statement to meet the following requirements:
• The code must NOT use aliases.
• The code must NOT use object delimiters.
• The objects called in Procedure1 must be able to be resolved by all users.
• OrderDate must be compared to Parameter1 after the data type of Parameter1 is
changed to datetime.
Which SELECT statement should you use?
To answer, type the correct code in the answer area.

How should you configure the existing forest trust settings? In the table below, identify which configuration

HOTSPOT
Your network contains three Active Directory forests. The forests are configured as shown in
the following table.

A two-way forest trust exists between contoso.com and divisionl.contoso.com. A two-way
forest trust also exists between contoso.com and division2.contoso.com.
You plan to create a one-way forest trust from divisionl.contoso.com to
division2.contoso.com.
You need to ensure that any cross-forest authentication requests are sent to the domain
controllers in the appropriate forest after the trust is created.
How should you configure the existing forest trust settings?
In the table below, identify which configuration must be performed in each forest. Make only
one selection in each column. Each correct selection is worth one point.

You need to ensure that the adatum.com users can access the resources in all of the domains in the forest

Your network contains an Active Directory forest named contoso.com. The forest contains
three domains. All domain controllers run Windows Server 2012 R2.
The forest has a two-way realm trust to a Kerberos realm named adatum.com.
You discover that users in adatum.com can only access resources in the root domain of
contoso.com.
You need to ensure that the adatum.com users can access the resources in all of the
domains in the forest.
What should you do in the forest?

Which two actions should you perform?

Your network contains an Active Directory forest named contoso.com. The forest contains
two domains named contoso.com and childl.contoso.com. The domains contain three
domain controllers.
The domain controllers are configured as shown in the following table.

You need to ensure that the KDC support for claims, compound authentication, and kerberos
armoring setting is enforced in the child1.contoso.com domain.
Which two actions should you perform? (Each correct answer presents part of the solution.
Choose two.)

Which four Transact-SQL statements should you use?

DRAG DROP
You want to add a new GUID column named BookGUID to a table named dbo.Book that
already contains data.
BookGUID will have a constraint to ensure that it always has a value when new rows are
inserted into dbo.Book.
You need to ensure that the new column is assigned a GUID for existing rows.
Which four Transact-SQL statements should you use? (To answer, move the appropriate
SQL statements from the list of statements to the answer area and arrange them in the correct order.)

Which four Transact-SQL statements should you use?

DRAG DROP
You administer a Microsoft SQL Server 2012 database. You use an OrderDetail table that
has the following definition:

You need to create a non-clustered index on the SalesOrderID column in the OrderDetail
table to include only rows that contain a value in the SpecialOfferID column. Which four
Transact-SQL statements should you use?
(To answer, move the appropriate statements from the list of statements to the answer area
and arrange them in the correct order.)

Which four T-SQL statements should you use?

DRAG DROP
You use a Microsoft SQL Server 2012 database.
You need to create an indexed view within the database for a report that displays Customer
Name and the total revenue for that customer.
Which four T-SQL statements should you use? (To answer, move the appropriate SQL
statements from the list of statements to the answer area and arrange them in the correct order.)

Which four Transact-SQL statements should you use?

DRAG DROP
You create a view based on the following statement:

You grant the Select permission to User1 for this view.
You need to change the view so that it displays only the records that were processed in the
month prior to the current month. You need to ensure that after the changes, the view
functions correctly for User1.
Which four Transact-SQL statements should you use? (To answer, move the appropriate
SQL statements from the list of statements to the answer area and arrange them in the correct order.)