PrepAway - Latest Free Exam Questions & Answers

Category: 70-515 (v.2)

Exam 70-515: TS: Web Applications Development with Microsoft .NET Framework 4 (update January 25th, 2014)

Which function in JavaScript will insert images from URLs into the target?

DRAG DROP
There is an ASP.NET Web site PassGuideWS.
There is an ASP.NET Web application PassGuideApp.
There is an web page PassGuidePage.
PassGuidePage includes the HTML code <div id=”target”> </div>.

There is a JavaScript array containing list of URLs to pictures. They array is named
picturesArray.
Which function in JavaScript will insert images from URLs into the target?

Which code is needed?

DRAG DROP
Exhibit:

There is an ASP.NET Web site PassGuideWS.
There is an ASP.NET Web application PassGuideApp.
There is an web page PassGuidePage.
PassGuidePage includes the HTML code being displayed in the exhibit.
A new div element, with an unique identifier, must created whenever a user click the
AddEmployee button. This new element must be appended before the the AddFile span and
after the other file upload div elements.
Which code is needed?

How can this event be coded?

DRAG DROP
There is an ASP.NET Web site PassGuideWS.
There is an ASP.NET Web application PassGuideApp.
There is an web page PassGuidePage.
There is an ASP.NET control PassGuideC.
PassGuideC uses a table element, that has a class attribute PGEval, to display data.
PassGuideC exposes the client-side onrowselected event which is fired when check box in
a table row is selected.
How can this event be coded?

What should you call to prevent the attacks in this scenario?

DRAG DROP
There is an ASP.NET Web site PassGuideWS.
There is an ASP.NET Web application PassGuideApp.
There is an ASP.NET page PassGuidePage.aspx.
There is a concern for cross-site scripting attacks. They must not be allowed to occur.
PassGuidePage.aspx shows text that has been typed by an end user.
What should you call to prevent the attacks in this scenario?

How can you ensure that an incorrect credit card number cannot be submitted on PassGuidePage?

DRAG DROP
There is an ASP.NET Web site PassGuideWS.
There is an ASP.NET Web application PassGuideApp.
There is an ASP.NET page PassGuidePage.
PassGuidePage handles purchases through credit card.
PassGuidePage has an input control named PassGuideCC and a button named
PassGuideB.
You have written a function CheckCC that, using special algorithms, checks if the credit
card number is valid.
CheckCC is written in JavaScript.
How can you ensure that an incorrect credit card number cannot be submitted on
PassGuidePage? Select three.

If you can make PassGuideShoppingC always to work?

There is an ASP.NET Web site PassGuideWS.
There is an ASP.NET page PassGuidePage.aspx.
PassGuidePage.aspx has a user control PassGuideShoppingC.
PassGuideShoppingC works fine with ViewState enabled, but not always with ViewState
disabled.
If you can make PassGuideShoppingC always to work? Select the best answers. Select
two.

Note: PassGuideShoppingC is used among different programmers within your company.


Page 3 of 1212345...10...Last »