Microsoft UPG:Transition MCPD.NET Frmwrk 3.5 Web Dev to 4 Web Dev - 070-523무료 덤프문제 풀어보기
You use Microsoft Visual Studio 2010 and Microsoft. NET Framework 4 to create an application. The application connects to a Microsoft SQL Server database. You use Entity SQL of the ADO.NE Entity Framework to retrieve data from the database. You need to define a custom function in the conceptual model. You also need to ensure that the function calculates a value based on properties of the object. Which two XML element types should you use? (Each correct answer presents part of the solution. Choose two.)
정답: B,D
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application connects to a Microsoft SQL Server 2008 database. The database includes a table named dbo. Documents that contains a column with large binary dat a. You are creating the Data Access Layer (DAL). You add the following code segment to query the dbo.Documents table. (Line numbers are included for reference only.)
01public void LoadDocuments(DbConnection cnx)
02{
03var cmd = cnx.CreateCommand();
04cmd.CommandText = "SELECT * FROM dbo.Documents";
05...
06cnx.Open();
08ReadDocument(reader); }
You need to ensure that data can be read as a stream. Which code segment should you insert at line 07?
01public void LoadDocuments(DbConnection cnx)
02{
03var cmd = cnx.CreateCommand();
04cmd.CommandText = "SELECT * FROM dbo.Documents";
05...
06cnx.Open();
08ReadDocument(reader); }
You need to ensure that data can be read as a stream. Which code segment should you insert at line 07?
정답: B
You are implementing an ASP. NET MVC 2 Web application. You add a controller named
CompanyController.
You need to modify the application to handle the URL path /company/info.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
CompanyController.
You need to modify the application to handle the URL path /company/info.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
정답: A,D
설명: (Fast2test 회원만 볼 수 있음)
You are designing an ASP.NET Web application.
You have the following requirements:
*Users must be allowed to save their work in progress on one computer and to continue the work on
another computer.
*Data that is submitted for processing must be valid, and invalid data must be rejected.
*Primary key constraints within the database must be enabled at all times.
*The application must store only data that is entered by the user.
You need to design data validation to support the requirements.
Which two approaches should you recommend? (Each correct answer presents part of the solution.
Choose two.)
You have the following requirements:
*Users must be allowed to save their work in progress on one computer and to continue the work on
another computer.
*Data that is submitted for processing must be valid, and invalid data must be rejected.
*Primary key constraints within the database must be enabled at all times.
*The application must store only data that is entered by the user.
You need to design data validation to support the requirements.
Which two approaches should you recommend? (Each correct answer presents part of the solution.
Choose two.)
정답: A,C
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application uses the ADO.NET Entity Framework to model entities. You need to create a database from your model. What should you do?
정답: D
You need to design a deployment solution for the rewritten Web application. Which approach should you recommend?
정답: D
You are designing an ASP.NET Web application for online image editing. Users can upload images to the
Web application and edit those images by using utilities provided by the application. Some utilities are
processor intensive and should be offloaded to a Graphics Processing Unit (GPU). Other utilities require
the use of proprietary algorithms that must be performed on the server.
You need to design a solution for minimizing bandwidth usage and Web server response times during
image processing, while providing a responsive application.
Which two approaches should you recommend? (Each correct answer presents part of the solution.
Choose two.)
Web application and edit those images by using utilities provided by the application. Some utilities are
processor intensive and should be offloaded to a Graphics Processing Unit (GPU). Other utilities require
the use of proprietary algorithms that must be performed on the server.
You need to design a solution for minimizing bandwidth usage and Web server response times during
image processing, while providing a responsive application.
Which two approaches should you recommend? (Each correct answer presents part of the solution.
Choose two.)
정답: C,D
You use Microsoft Visual Studio 2010 and Microsoft ADO.NET Framework 4 to create an application. The application connects to a Microsoft SQL Server 2008 database. You use the ADO.NET LINQ to SQL model to retrieve data from the database. You use stored procedures to return multiple result sets. You need to ensure that the result sets are returned as strongly typed values. What should you do?
정답: A
You are designing a user input form that is part of an ASP.NET Web Forms application. You need to ensure that users cannot attack the Web server by submitting invalid data. Which approach should you recommend?
정답: A
You are implementing an ASP.NET MVC 2 Web application. A controller contains the following code.
public ActionResult Edit(int id)
{
return View(SelectUserToEdit(id));
} public ActionResult Edit(Person person) { UpdateUser(person); return RedirectToAction("Index"); } The first Edit action displays the user whose details are to be edited, and the second Edit action is called when the Save button on the editing form is clicked to update the user details. An exception is thrown at run time stating that the request for action Edit is ambiguous. You need to correct this error and ensure that the controller functions as expected. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
public ActionResult Edit(int id)
{
return View(SelectUserToEdit(id));
} public ActionResult Edit(Person person) { UpdateUser(person); return RedirectToAction("Index"); } The first Edit action displays the user whose details are to be edited, and the second Edit action is called when the Save button on the editing form is clicked to update the user details. An exception is thrown at run time stating that the request for action Edit is ambiguous. You need to correct this error and ensure that the controller functions as expected. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
정답: B,D
설명: (Fast2test 회원만 볼 수 있음)