PrepAway - Latest Free Exam Questions & Answers

Category: 70-515 (v.3)

Exam 70-515: TS: Web Applications Development with Microsoft .NET Framework 4 (update October 26th, 2015)

<?xml version="1.0" standalone="yes"?

You are developing an ASP.NET web page. The page must display data from XML file named
Inventory.xml. Inventory.xml contains data in the following format.
<?xml version=”1.0″ standalone=”yes”?>
<inventory>
<vehicle Make=”BMW” Model=”M3″ Year=”2005″ Price=”30000″ instock=”Yes”>
<Ratings>….</Ratings>
</Vechicle>
….
</Inventory>

You need to display Vehicle elements that have the inStock attribute set to YES. Wich two controls
should you add to the page? (Each control presents part of the solution.Choose two.)

You need to ensure that all uploaded files are saved to the server within one call to a single event handler

You are creating an ASP.NET web page that contains several FileUpload controls. The page will be
posted to the server after one or more image files are selected for upload. You need to ensure that
all uploaded files are saved to the server within one call to a single event handler. What should you
do?

Which code segment should you add?

You are developing an ASP.NET MVC 2 Web Application that displays daily blog posts. Visitors access
a blog post page by using a Web address to pass in the year, month, and day -for
example,contoso.com/2010/07/20. The application must register the appropriate route to use the
Display action of the blog controller. Only page visits with a four digit year, two-digit month and twodigit dat can be passed to the action.You need to ensure that the route is registered correctly. Which
code segment should you add?

You need to ensure that the application shows the Order and Customer entities and hides all other entities

You are deloping an ASP.NET Dynamic Data Web application. The application uses entities from a
global library named Entities. The Application_Start event contains the following code segment:
DefaultModel.RegisterContect(typeof)(
Entities.MyDBDataContext), new ContextConfiguration() {
ScaffoldAllTables = false });
You need to ensure that the application shows the Order and Customer entities and hides all other
entities. What should you do?


Page 24 of 26« First...10...2223242526