070-515 無料問題集「Microsoft TS: Web Applications Development with Microsoft .NET Framework 4」
You create a Web page that contains the following code. (Line numbers are included for reference only.)
01 <script>
02 function changeColor(c) {
03 message.style.color = c;
04 }
05 </script>
07 <p id="message">Welcome!</p>
08 <ul id="color">
09 <li>Black</li>
10 <li>Red</li>
11 </ul>
You need to ensure that when the user clicks an item in the list, the text color of the "Welcome!" message
will change.
Which declaration should you use?
01 <script>
02 function changeColor(c) {
03 message.style.color = c;
04 }
05 </script>
07 <p id="message">Welcome!</p>
08 <ul id="color">
09 <li>Black</li>
10 <li>Red</li>
11 </ul>
You need to ensure that when the user clicks an item in the list, the text color of the "Welcome!" message
will change.
Which declaration should you use?
正解:A
解答を投票する
You are developing an ASP.NET MVC 2 application.
A view contains a form that allows users to submit their first name.
You need to display the value that is submitted, and you must ensure that your code avoids cross-site
scripting.
Which code segment should you use?
A view contains a form that allows users to submit their first name.
You need to display the value that is submitted, and you must ensure that your code avoids cross-site
scripting.
Which code segment should you use?
正解:C
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
You work as an ASP.NET Web Application Developer for SomeCompany.
The company uses Visual Studio .NET 2010 as its application development platform.
You have recently finished the development of an ASP.NET Web application using .NET Framework 4.0.
Now, you are deploying the ASP.NET Web application to a remote server.
You are required to select a deployment method that will make sure that all Internet Information Services
(IIS) settings, in addition to the Web content, are deployed to the remote server.
Which of the following deployment methods will you select to accomplish this?
The company uses Visual Studio .NET 2010 as its application development platform.
You have recently finished the development of an ASP.NET Web application using .NET Framework 4.0.
Now, you are deploying the ASP.NET Web application to a remote server.
You are required to select a deployment method that will make sure that all Internet Information Services
(IIS) settings, in addition to the Web content, are deployed to the remote server.
Which of the following deployment methods will you select to accomplish this?
正解:D
解答を投票する
You are creating an ASP.NET Web application that uses the SqlMembershipProvider.
You plan to test locally and deploy to multiple production servers.
You need to ensure that each deployed application accesses the same production database in Microsoft
SQL Server.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
You plan to test locally and deploy to multiple production servers.
You need to ensure that each deployed application accesses the same production database in Microsoft
SQL Server.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
正解:B、C
解答を投票する
You create a Web page that contains the following code.
<script type="text/javascript">
var lastId = 0; </script> <div class="File">
Choose a file to upload:
<input id="File0" name="File0" type="file" /> </div> <input id="AddFile" type="button" value="Add a File" /> <input id="Submit" type="submit" value="Upload" />
You need to provide the following implementation.
Each time the AddFile button is clicked, a new div element is created.
The new div element is appended after the other file upload div elements and before the AddFile span.
Each new element has a unique identifier.
Which code segment should you use?
<script type="text/javascript">
var lastId = 0; </script> <div class="File">
Choose a file to upload:
<input id="File0" name="File0" type="file" /> </div> <input id="AddFile" type="button" value="Add a File" /> <input id="Submit" type="submit" value="Upload" />
You need to provide the following implementation.
Each time the AddFile button is clicked, a new div element is created.
The new div element is appended after the other file upload div elements and before the AddFile span.
Each new element has a unique identifier.
Which code segment should you use?
正解:B
解答を投票する
You use the ASP.NET Web Application template to create an application in a new Visual Studio solution.
The project uses types that are defined in a class library project.
Source code for the class library is frequently modified.
You need to ensure that classes in the Web application project always reference the most recent version of
the class library types.
What should you do?
The project uses types that are defined in a class library project.
Source code for the class library is frequently modified.
You need to ensure that classes in the Web application project always reference the most recent version of
the class library types.
What should you do?
正解:A
解答を投票する