PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which three actions should you perform in sequence?

You administer a Microsoft SQL Server 2012 database.
All database traffic to the SQL Server must be encrypted by using secure socket layer (SSL) certificates or the
connection must be refused.
Network administrators have deployed server certificates to the Windows store of all Windows servers on the
network from a trusted Certificate Authority. This is the only Certificate Authority allowed to distribute certificates
on the network.
You enable the Force Encryption flag for the MSSQLServer protocols, but client computers are unable to
connect. They receive the following error message:
“A connection was successfully established with theserver, but then an error occurred during the pre-login
handshake, (provider: SSL Provider, error: 0 – The certificate chain was issued by an authority that is not
trusted.) (Microsoft SQL Server)”
You notice the following entry in the SQL Server log:
“A self-generated certificate was successfully loaded for encryption.”
You need to configure SQL Server to encrypt all client traffic across the network.
You also need to ensure that client computers are able to connect to the server by using a trusted certificate.
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.)
Select and Place:

Which code segment should you use?

You are creating an ASP.NET Web site. You create a HTTP module named CustomModule, and you register
the module in the web.config file.
The CustomModule class contains the following code.
public class CustomModule : IHttpModule
{
string footerContent = “<div>Footer Content</div>”;
public void Dispose() {}
}
You need to add code to CustomModule to append the footer content to each processed ASP.NET page.
Which code segment should you use?

Which three actions should you perform in sequence?

You administer a Microsoft SQL Server 2012 server that has multiple databases.
You need to ensure that users are unable to create stored procedures that begin with sp_.
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.)
Select and Place:

You need to display the Error.aspx page if an unhandled error occurs on any page within the site

You are implementing an ASP.NET Web site.
The root directory of the site contains a page named Error.aspx.
You need to display the Error.aspx page if an unhandled error occurs on any page within the site.
You also must ensure that the original URL in the browser is not changed.
What should you do?

The instance is currently running on Node

You administer a single Microsoft SQL Server instance on a two-node failover cluster that has nodes named
Node A and Node B. The instance is currently running on Node A.
You want to patch both Node A and Node B by using the most recent SQL Server Service Pack.
You need to ensure that the following requirements are met:
Both nodes receive the update.
Downtime is minimized.
No data is lost.
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.)
Select and Place:

Which code segment should you use?

You are implementing an ASP.NET Web site.
The site uses a component that must be dynamically configured before it can be used within site pages.
You create a static method named SiteHelper.Configure that configures the component.
You need to add a code segment to the Global.asax file that invokes the SiteHelper.Configure method the first
time, and only the first time, that any page in thesite is requested.
Which code segment should you use?

Which three actions should you perform in sequence?

You administer a Microsoft SQL Server 2012 database.
The database uses SQL Server Agent jobs to perform regular FULL and LOG backups. The database uses the
FULL recovery model.
You plan to perform a bulk import of a very large text file.
You need to ensure that the following requirements are met during the bulk operation:
The database transaction log is minimally affected.
The database is online and all user transactions are recoverable. All transactions are fully recoverable prior to
the import.
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.)
Select and Place:

Which two actions should you perform?

You create a Visual Studio 2010 solution that includes a WCF service project and an ASP.NET project.
The service includes a method named GetPeople that takes no arguments and returns an array of Person
objects.
The ASP.NET application uses a proxy class to access the service.
You use the Add Service Reference wizard to generate the class.
After you create the proxy, you move the service endpoint to a different port.
You need to configure the client to use the new service address.
In addition, you must change the implementation so that calls to the client proxy will return a List<Person>
instead of an array.
Which two actions should you perform? (Each correctanswer presents part of the solution. Choose two.)

Which three actions should you perform in sequence?

You administer a Microsoft SQL Server 2012 database.
The database is backed up according to the following schedule:
· Daily full backup at 23:00 hours.
· Differential backups on the hour, except at 23:00hours. · Log backups every 10 minutes from the hour,
except on the hour.
The database uses the Full recovery model.
A developer accidentally drops a number of tables and stored procedures from the database between 22:40
hours and 23:10 hours. You perform a database restore at 23:30 hours to recover the dropped table.
You need to restore the database by using the minimum amount of administrative effort. You also need to
ensure minimal data loss.
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.)
Select and Place:

Which configuration should you use in web.config?

You use the ASP.NET Web Site template to create a Web site that will be deployed to multiple locations.
Each location will specify its SMTP configuration settings in a separate file named smtp.config in theroot folder
of the Web site.
You need to ensure that the configuration settings that are specified in the smtp.config file will be applied to the
Web site.
Which configuration should you use in web.config?