70-515 試験問題を無料オンラインアクセス

試験コード:70-515
試験名称:TS: Web Applications Development with Microsoft .NET Framework 4
認定資格:Microsoft
無料問題数:186
更新日:2025-09-01
評価
100%

問題 1

You are developing an ASP.NET Web application.
The application includes a Icomparer<string> implementation named CaseInsensitiveComparer that
compares strings without case sensitivity
You add the following method.(Line numbers are included for reference only.)
01 public IEnumerable<string>SortWords(string[] words)
02 {
03
04 }
You need to sort the array by word length and then by alphabetic order, ignoring case.
Which code segment should you add at line 03?

問題 2

A Web page includes the HTML shown in the following code segment.
<span id="ref">
<a name=Reference>Check out</a> the FAQ on <a href="http:// www.contoso.com">Contoso</a>'s web site for more information: <a href="http:// www.contoso.com/faq">FAQ</a>. </span> <a href="http://www.contoso.com/home">Home</a>
You need to write a JavaScript function that will dynamically format in boldface all of the hyperlinks in the ref
span.
Which code segment should you use?

問題 3

You work as an ASP.NET Web Application Developer for SomeCompany.
The company uses Visual Studio .NET 2010 as its application development platform.
You create an ASP.NET Web application using .NET Framework 4.0.
The ASP.NET application is used to track employee performance.
It uses Microsoft Windows authentication.
Employees are members of a group named Employees.
Managers are members of a group named Managers.
The root folder of the application is named Details.
The Details folder displays information about employees' performance.
The Details folder has a subfolder named MoreDetails.
You need to ensure that employees and managers can access pages stored in the Details folder.
However, only managers can access pages stored in the MoreDetails folder.
You make the following entries in the Web.config file in the Details folder.
(Line numbers are given for reference only.)
1 <authentication mode="Windows" / >
2 <authorization>
3 <allow roles="Employees, Managers" / >
4 <deny users="*" />
5 </authorization>
You make the following entries in the Web.config file in the MoreDetails folder.
(Line numbers are given for reference only.)
1 <authentication="Windows" />
2 <authorization>
3 <allow roles="Managers" />
4 <deny users="*" />
5 </authorization>
When managers try to access pages stored in the MoreDetails folder, they receive the following error message:
"An error occurred during the processing of a configuration file required to service this request."
You must ensure that managers are able to access pages stored in the MoreDetails folder. What will you do to accomplish this?

問題 4

You work as an ASP.NET Web Application Developer for SomeCompany.
The company uses Visual Studio .NET 2010 as its application development platform.
You are creating an ASP.NET Web application using .NET Framework 4.0.
The Web application comprises a class named Employee with properties named as First Name, Last
Name, and Age.
You add a Web page in which you get a list of Employee objects and display those objects in a GridView
control.
You are required to add code so that the GridView row is highlighted in red color if the age of the employee
is less than 21 years.
What will you do to accomplish this?

問題 5

You create a page in an ASP.NET Web application.
The page retrieves and displays data from a Microsoft SQL Server database.
You need to create a data source that can connect to the database.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution.
Choose two.)

コメントを追加

あなたのメールアドレスが公開されることはありません。個人情報に関する内容は隠されます *

insert code
画面にある文字を入力してください。