Upload
helen-thomas
View
253
Download
9
Embed Size (px)
Citation preview
Pass on Your First Try
Microsoft | 70-515 EXAMTS:Web Applications Development w/Microsoft .NET Frmwk 4 (C# and
VB)
QUESTION: 1You are developing an ASP.NET application by using Visual Studio 2010.
You need tointeractively debug the entire application. Which two actions should you
perform?(Select two.)
A. Set the Debug attribute of the compilation node of the web.config file to true.B. Add a DebuggerDisplay attribute to the code-behind file of the page that you want to
debug.C. Select the ASP.NET debugger option in the project properties.D. Define the DEBUG constant in the project settings.
Answer: A, C
http://www.testcollections.com/70-515.html
QUESTION: 2You are developing an ASP.NET MVC 2 application. A view contains a
form that allows usersto submit their first name. You need to display the value that is
submitted, and you must ensurethat your code avoids cross-site scripting.Which code segment should you use?
A. <%: Model.FirstName%>B. <%= Model.FirstName %>C. <% Response.Write(Model.FirstName)%>D. <% Response.Write(HttpUtility.HtmlDecode( Model.FirstName))%>
Answer: A
http://www.testcollections.com/70-515.html
QUESTION: 3You are deploying an ASP.NET Web application to a remote server. You
need to choose adeployment method that will ensure that all IIS settings, in addition to
the Webcontent, will deploy to the remote server.Which deployment method should you choose?
A. the XCOPY command-line toolB. the Copy Web Site toolC. the Web Deployment toolD. the Publish Web Site utility
Answer: C
http://www.testcollections.com/70-515.html
QUESTION: 4You are developing an ASP.NET Web page that will display the median
value from aSequence of integer values. You need to create an extension method to
compute themedian value. Which interface should you add the extension method to?
A. IComparer(Of T)B. IEnumerable(Of T)C. IEnumerator(Of T)D. IEqualityComparer(Of T)
Answer: B
http://www.testcollections.com/70-515.html
http://www.testcollections.com/70-515.html
With 100% Money back Guarantee