Microsoft 70-517 - Recertification for MCSD: SharePoint Applications Exam

Question #6 (Topic: Topic 1)
You need to add an action to RunLogController to validate the users' passwords.
Which code segment should you use?
[Microsoft-70-517-5.0/Microsoft-70-517-14_2.png]
A. Option A B. Option B C. Option C D. Option D
Answer: B
Question #7 (Topic: Topic 1)
You need to make all of the rows in the table bold in the Views/RunLog/GetLog.cshtml
view.
Which code segment should you use?
A. Table > th:last-child { font-weight: bold; } B. Table+first-child{ font-weight: bold; } C. Table>tr>th:nth-child{2){font-weight: bold; } D. Table > tr { font-weight: bold; }
Answer: D
Question #8 (Topic: Topic 1)
If the canvas element is supported by the client browser, the application must display
"London 2012" in the footer as text formatted by JavaScript at the end of the
_Layout.cshtml file.
You need to modify the layout to ensure that "London 2012" is displayed as either
formatted text or as plain text, depending on what the client browser supports.
Which code segment should you add?
A. <canvas id="myFooter"> @(Request,Browser.JavaApplets ? new HtmlString("London 2012") : null) </canvas> B. <canvas id="myFooter"London 2012</canvas> C. <canvas id="myCanvas">London 2012</canvas> D. <canvas id="myCanvas"><canvas> <p>London 2012</p>
Answer: C
Question #9 (Topic: Topic 1)
You need to implement security according to the business requirements.
How should you modify RunLogController? (To answer, drag the appropriate code segment
to the correct location or locations. Each code segment may be used once, more than
once, or not at all. You may need to drag the split bar between panes or scroll to view
content.)
[Microsoft-70-517-5.0/Microsoft-70-517-16_2.png]
Answer: [Microsoft-70-517-5.0/Microsoft-70-517-17_2.png]
Question #10 (Topic: Topic 1)
You need to display the "miles" unit description after the distance in the GetLog view.
Which line of code should you use to replace line GL21? (Each correct answer presents a
complete solution. Choose all that apply.)
A. @log.Distance miles B. @Htrml.DisplayFor(model => log.Distance) miles C. @log.Distance.ToStringO @Html.TextArea ("miles") D. @Htmi.DisplayFor(model => log.Distance.ToString() + " miles")
Answer: A,B
Download Exam
Page: 2 / 44
Total 218 questions