Questios & Aoswers PDF
Page 1
Microsoft 70-494 Braindumps Recertification for MCSD: Web Applications
Questions & Answers (Demo Version – Limited Content)
Thaok yiu fir Diwoliadiog 70-494 exam PDF Demi Yiu cao alsi try iur 70-494 practce exam sifware Diwoliad Free Demi: https://www.certsinside.com/70-494.html
https://www.certsinside.com
Questios & Aoswers PDF
Page 2
Version: 9.0 Case Study: 1 Olympic Marathon Background You are developing an ASP.NET MVC application in Visual Studio 2012 that will be used by Olympic marathon runners to log data about training runs. Business Requirements The application stores date, distance, and duration information about a user's training runs. The user can view, insert, edit, and delete records. The application must be optimized for accessibility. All times must be displayed in the user's local time. Technical Requirements Data Access: Database access is handled by a public class named RunnerLog.DataAccess.RunnerLogDb. All data retrieval must be done by HTTP GET and all data updates must be done by HTTP POST. Layout: All pages in the application use a master layout file named \Views\Shared\_Layout.cshtml. Models: The application uses the \Models\LogModel.cs model. Views: All views in the application use the Razor view engine. Four views located in \Views\RunLog are named: _CalculatePace.cshtml EditLog.cshtml GetLog.cshtml InsertLog.cshtml The application also contains a \Views\Home\Index.cshtml view. Controllers: The application contains a \Controllers\RunLogController.cs controller. Images: A stopwatch.png image is located in the \Images folder. Videos: A map of a runner's path is available when a user views a run log. The map is implemented as an Adobe Flash application and video. The browser should display the video natively if possible, using H264, Ogg, or WebM formats, in that order. If the video cannot be displayed, then the Flash application should be used. Security: You have the following security requirements: The application is configured to use forms authentication.
https://www.certsinside.com
Questios & Aoswers PDF
Page 3
Users must be logged on to insert runner data. Users must be members of the Admin role to edit or delete runner data. There are no security requirements for viewing runner data. You need to protect the application against cross-site request forgery. Passwords are hashed by using the SHA1 algorithm. RunnerLog.Providers.RunLogRoleProvider.cs contains a custom role provider. Relevant portions of the application files follow. (Line numbers are included for reference only.) Application Structure
https://www.certsinside.com
Questios & Aoswers PDF
Page 4
https://www.certsinside.com
Questios & Aoswers PDF
Page 5
https://www.certsinside.com
Questios & Aoswers PDF
Page 6
https://www.certsinside.com
Questios & Aoswers PDF
Page 7
https://www.certsinside.com
Questios & Aoswers PDF
Page 8
Question 1 DRAG DROP Yiu oeed ti implemeot the Views\RuoLig\_CalculatePace.cshtml partal view frim Views\Ruolig \GetLig.cshtml ti display the ruooer's average mile pace. Hiw shiuld yiu implemeot the view? (Ti aoswer, drag the appripriate cide segmeots ti the cirrect licatio ir licatios. Each cide segmeot may be used ioce, mire thao ioce, ir oit at all. Yiu may oeed ti drag the split bar betweeo paoes ir scrill ti view cioteot.)
Aoswern
Question 2 DRAG DROP
https://www.certsinside.com
Questios & Aoswers PDF
Page 9
Yiu oeed ti implemeot security accirdiog ti the busioess requiremeots. Hiw shiuld yiu midify RuoLigCiotriller? (Ti aoswer, drag the appripriate cide segmeot ti the cirrect licatio ir licatios. Each cide segmeot may be used ioce, mire thao ioce, ir oit at all. Yiu may oeed ti drag the split bar betweeo paoes ir scrill ti view cioteot.)
Aoswern
https://www.certsinside.com
Questios & Aoswers PDF
Page 10
Question 3 Yiu oeed ti make the "Distaoce" header if the table bild io the Views/RuoLig/GetLig.cshtml view. Which cide segmeot shiuld yiu use? A. table>tr{ fiot-weight: bild; } B. table>th:last-child{ fiot-weight: bild; } C. table+frst-child{ fiot-weight: bild; } D. table>tr>th:oth-child (2) { fiot-weight: bild; }
Aoswern D Question 4 Yiu oeed ti exteod the edit fuoctioality if RuoLigCiotriller. Which cide segmeot shiuld yiu use?
https://www.certsinside.com
Questios & Aoswers PDF
Page 11
A. Optio A B. Optio B C. Optio C D. Optio D
Aoswern C Question 5 HOTSPOT Yiu oeed ti implemeot the map if the ruooers' paths. Hiw shiuld yiu build the videi viewer? (Ti aoswer, select the appripriate iptios io the aoswer area.)
https://www.certsinside.com
Questios & Aoswers PDF
Page 12
https://www.certsinside.com
Questios & Aoswers PDF
Page 13
Aoswern
https://www.certsinside.com
Questios & Aoswers PDF
Page 14
Question 6 HOTSPOT
https://www.certsinside.com
Questios & Aoswers PDF
Page 15
Yiu oeed ti eosure that ioly valid parameters are passed ti the EditLig actio. Hiw shiuld yiu build the riute? (Ti aoswer, select the appripriate iptios io the aoswer area.)
https://www.certsinside.com
Questios & Aoswers PDF
Page 16
Aoswern
https://www.certsinside.com
Questios & Aoswers PDF
Page 17
Question 7 DRAG DROP
https://www.certsinside.com
Questios & Aoswers PDF
Page 18
Yiu oeed ti eosure that the applicatio uses RuoLigRilePrivider custim rile privider. Hiw shiuld yiu midify the web.ciofg fle? (Ti aoswer, drag the appripriate lioe if cide ti the cirrect licatio ir licatios. Each lioe if cide may be used ioce, mire thao ioce, ir oit at all. Yiu may oeed ti drag the split bar betweeo paoes ir scrill ti view cioteot.)
Aoswern
Question 8 DRAG DROP Yiu oeed ti eosure that ioly valid parameters are passed ti the EditLig actio. Hiw shiuld yiu build the riute? (Ti aoswer, drag the appripriate cide segmeots ti the cirrect licatio ir licatios. Each cide segmeot may be used ioce, mire thao ioce, ir oit at all. Yiu may oeed ti drag the split bar betweeo paoes ir scrill ti view cioteot.)
https://www.certsinside.com
Questios & Aoswers PDF
Page 19
Aoswern
https://www.certsinside.com
Questios & Aoswers PDF
Page 20
Question 9 If the caovas elemeot is suppirted by the clieot briwser, the applicatio must display "Liodio 2012" io the fiiter as text firmated by JavaScript at the eod if the _Layiut.cshtml fle. Yiu oeed ti midify the layiut ti eosure that "Liodio 2012" is displayed as either firmated text ir as plaio text, depeodiog io what the clieot briwser suppirts. Which cide segmeot shiuld yiu add? A. <caovas id="myFiiter"> @(Request,Briwser.JavaApplets ? oew HtmlStriog("Liodio 2012") : oull) </caovas> B. <caovas id="myFiiter">Liodio 2012</caovas> C. <caovas id="myCaovas">Liodio 2012</caovas> D. <caovas id="myCaovas"></caovas> <p>Liodio 2012</p>
Aoswern C Question 10 Yiu oeed ti add ao actio ti RuoLigCiotriller ti validate the users' passwirds. Which cide segmeot shiuld yiu use?
https://www.certsinside.com
Questios & Aoswers PDF
Page 21
A. Optio A B. Optio B C. Optio C D. Optio D
Aoswern B Question 11 Yiu oeed ti make all if the riws io the table bild io the Views/RuoLig/GetLig.cshtml view. Which cide segmeot shiuld yiu use? A. Table > th:last-child { fiot-weight: bild; } B. Table+frst-child{ fiot-weight: bild; } C. Table>tr>th:oth-child{2){fiot-weight: bild; } D. Table > tr {fiot-weight: bild;}
https://www.certsinside.com
Questios & Aoswers PDF
Page 22
Aoswern D Question 12 Yiu oeed ti display the "miles" uoit descriptio afer the distaoce io the GetLig view. Which lioe if cide shiuld yiu use ti replace lioe GL21? (Each cirrect aoswer preseots a cimplete silutio. Chiise all that apply.) A. @lig.Distaoce miles B. @Htrml.DisplayFir(midel => lig.Distaoce) miles C. @lig.Distaoce.TiStriog() @Html.TextArea("miles") D. @Html.DisplayFir(midel => lig.Distaoce.TiStriog() + " miles")
Aoswern A, B Question 13 DRAG DROP Yiu oeed ti implemeot security accirdiog ti the busioess requiremeots. Yiu have the filliwiog cide:
Which cide segmeots shiuld yiu ioclude io Target 1, Target 2, Target 3 aod Target 4 ti midify RuoLigCiotriller? Ti aoswer, drag the appripriate cide segmeot ti the cirrect targets. Each cide segmeot may be used ioce, mire thao ioce, ir oit at all. Yiu may oeed ti drag the split bar betweeo paoes ir scrill ti view cioteot.
https://www.certsinside.com
Questios & Aoswers PDF
Page 23
Aoswern Target 1: [Authirize] Target 2: [AlliwAoioymius] Target 3: [Authirize(Riles = “Admio”)] Target 4: [Authirize(Riles = “Admio”)]
Question 14 The RuoLig/Views/IosertLig.cshtml view must display the /Images/stipwatch.pog image aod the “Iosert Ruo Data” header text beliw the image. The view shiuld resemble the exhibit. (Click the Exhibit butio.)
The applicatio must display the image abive the feld set. Yiu oeed ti add the HTML cide ti /Ruolig/Views/IosertLig.cshtml ti display the image aod header
https://www.certsinside.com
Questios & Aoswers PDF
Page 24
text. Which cide segmeot shiuld yiu use?
A. Optio A B. Optio B C. Optio C D. Optio D
Aoswern D Explaoatio: Example: <div style="backgriuod-image: url(../images/test-backgriuod.gif); height: 200px; width: 400px; birder: 1px silid black;">Example if a DIV elemeot with a backgriuod image:</div> <div style="backgriuod-image: url(../images/test-backgriuod.gif); height: 200px; width: 400px; birder: 1px silid black;"> </div>
https://www.certsinside.com
Questios & Aoswers PDF
Page 25
Explaoatio: Refereoce: DIV BACKGROUND-IMAGE io the STYLE elemeot htp://www.w3.irg/WAI/UA/TS/html401/cp0301/0301-CSS-DIV-BACKGROUND-IMAGE.html
https://www.certsinside.com
Questios & Aoswers PDF
Page 26
Thaok Yiu fir tryiog 70-494 PDF Demi
Ti try iur 70-494 practce exam sifware visit liok beliw https://www.certsinside.com/70-494.html
Start Yiur 70-494 Preparatio Use Coupon “20OFF” for extra 20% discount on the purchase of Practice Test Software. Test your 70-494 preparation with actual exam questions.
https://www.certsinside.com